@font-face {
  font-family: "RDD Manrope";
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "RDD Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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;
}

@font-face {
  font-family: "RDD Unbounded";
  src: url("/assets/fonts/unbounded-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #08070a;
  --ink: #fbf7f4;
  --muted: #d4c9c2;
  --soft: #b9aea8;
  --line: rgba(251, 247, 244, 0.24);
  --panel: rgba(18, 15, 18, 0.78);
  --red: #ff2d55;
  --green: #32ff8b;
  --stage: #171015;
  --display: "RDD Unbounded", "RDD Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "RDD Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "RDD Manrope", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 45, 85, 0.12), transparent 34%),
    linear-gradient(180deg, #070609 0%, #120b10 56%, #070609 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 62%, rgba(255, 45, 85, 0.13)),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(251, 247, 244, 0.035) 79px);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 38svh;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 45, 85, 0.18), transparent 64%);
  pointer-events: none;
}

body.legal-body {
  background: #08070a;
  -webkit-font-smoothing: antialiased;
  text-shadow: none;
}

body.legal-body::before,
body.legal-body::after {
  display: none;
}

.legal-body *,
.legal-body *::before,
.legal-body *::after {
  filter: none !important;
  text-shadow: none !important;
}

section[id] {
  scroll-margin-top: 92px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
}

.skip:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 118px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  min-width: 84px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(251, 247, 244, 0.03);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 12px;
  text-align: center;
  overflow-wrap: anywhere;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.nav a:hover,
.footer a:hover,
.footer button:hover,
.menu-toggle:hover {
  color: var(--green);
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(251, 247, 244, 0.04);
}

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(251, 247, 244, 0.16);
}

.nav-social .nav-icon-link {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(0, 255, 123, 0.13), transparent 56%),
    rgba(251, 247, 244, 0.025);
  color: var(--ink);
}

.nav-social .nav-icon-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

.nav-social .nav-icon-link .nav-max-svg {
  width: 36px;
  height: 24px;
}

.nav-social .nav-icon-link:hover,
.nav-social .nav-icon-link:focus-visible {
  border-color: rgba(0, 255, 123, 0.76);
  background:
    radial-gradient(circle at 50% 0, rgba(0, 255, 123, 0.26), transparent 60%),
    rgba(0, 255, 123, 0.045);
  color: var(--green);
}

.nav-social .nav-icon-link:hover svg,
.nav-social .nav-icon-link:focus-visible svg {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 7;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(50, 255, 139, 0.88), rgba(50, 255, 139, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::after {
  content: "Дальше";
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 7;
  color: rgba(244, 239, 230, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.08), rgba(8, 7, 10, 0.6)),
    var(--stage);
}

.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 7, 10, 0.96) 0, rgba(8, 7, 10, 0.72) 30%, rgba(8, 7, 10, 0.08) 62%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.12), rgba(8, 7, 10, 0.36));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(43vw, 620px);
  min-height: calc(100svh - 72px);
  margin-right: auto;
  display: grid;
  align-content: center;
  gap: 30px;
  padding: clamp(28px, 6vw, 78px);
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.42), rgba(8, 7, 10, 0.92)),
    rgba(8, 7, 10, 0.72);
  border-right: 1px solid var(--line);
}

.label {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
}

h1 {
  font-size: clamp(70px, 6.2vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 18ch;
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
}

.hero-place {
  max-width: 24ch;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.2;
}

.hero-promo {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(251, 247, 244, 0.14);
  padding: 7px 10px;
  background:
    linear-gradient(90deg, rgba(50, 255, 139, 0.08), rgba(255, 45, 85, 0.055)),
    rgba(251, 247, 244, 0.018);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.15;
}

.hero-promo::before {
  content: "Акция";
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 16px 24px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.76);
  perspective: 900px;
}

.route-strip a {
  min-height: 96px;
  display: grid;
  align-content: end;
  gap: 14px;
  border-right: 1px solid var(--line);
  padding: 18px clamp(16px, 3vw, 40px);
  font-size: 28px;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  transform-origin: 50% 100%;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.route-strip a:last-child {
  border-right: 0;
}

.route-strip a:hover {
  background: rgba(255, 45, 85, 0.14);
  color: var(--green);
  transform: rotateX(4deg) translateY(-2px);
}

.route-strip span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  opacity: 0.76;
}

.section {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 0.54fr);
  border-bottom: 1px solid var(--line);
}

section[id] {
  scroll-margin-top: 92px;
}

.section-title {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 6vw, 78px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.11), transparent 44%),
    rgba(8, 7, 10, 0.22);
}

.section-title h2 {
  max-width: 10ch;
  font-size: 74px;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-copy {
  max-width: 25ch;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.22;
}

.studio-stage {
  min-width: 0;
  min-height: 78svh;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 40%),
    rgba(8, 7, 10, 0.24);
  perspective: 1100px;
}

.studio-stage article {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 22px;
  background: rgba(18, 15, 18, 0.36);
  transform-style: preserve-3d;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.studio-stage article:hover {
  border-color: rgba(50, 255, 139, 0.42);
  background: rgba(50, 255, 139, 0.07);
  transform: rotateX(3deg) rotateY(-3deg) translateY(-2px);
}

.studio-stage span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.78;
}

.studio-stage h3 {
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.studio-stage p {
  max-width: 20ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.split {
  min-height: 62svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
  border-bottom: 1px solid var(--line);
}

.split > div:first-child,
.teacher-name,
.start > div:first-child {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 6vw, 78px);
  border-right: 1px solid var(--line);
}

.split h2,
.teacher h2,
.start h2 {
  max-width: 9ch;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 45, 85, 0.08), rgba(8, 7, 10, 0.2));
}

.fit-list p {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
}

.fit-list p:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.fit-list p:nth-child(even) {
  padding-left: 22px;
}

.format-visual {
  min-height: 56svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.48);
}

.format-photo-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  isolation: isolate;
}

.format-photo-card:last-child {
  border-right: 0;
}

.format-photo-card picture,
.format-photo-card img {
  width: 100%;
  height: 100%;
}

.format-photo-card picture {
  display: block;
  overflow: hidden;
}

.format-photo-card img {
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.format-photo-card:hover img {
  filter: saturate(1) contrast(1.1);
  transform: scale(1.045);
}

.format-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.12) 0%, rgba(8, 7, 10, 0.48) 42%, rgba(8, 7, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(255, 45, 85, 0.22), transparent 46%);
  pointer-events: none;
}

.format-photo-card div {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: 2;
  display: grid;
  gap: 12px;
}

.format-photo-card span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.format-photo-card h2 {
  max-width: 9ch;
  color: var(--ink);
  font-size: 64px;
  line-height: 0.9;
  text-transform: uppercase;
}

.format-photo-card p {
  max-width: 18ch;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.format-photo-card-group img {
  object-position: center;
}

.format-photo-card-private img {
  object-position: 58% center;
}

.promos {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(50, 255, 139, 0.06), transparent 58%),
    rgba(8, 7, 10, 0.22);
}

.promos-head {
  display: grid;
  align-content: center;
  gap: 24px;
  border-right: 1px solid var(--line);
  padding: clamp(28px, 6vw, 78px);
}

.promos-head h2 {
  max-width: 9ch;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.9;
  text-transform: uppercase;
}

.promos-head p:last-child {
  max-width: 22ch;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.18;
}

.promo-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-content: center;
  padding: clamp(24px, 5vw, 64px);
}

.promo-card {
  min-height: 250px;
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.045), transparent 46%),
    rgba(18, 15, 18, 0.66);
}

.promo-card:not(.promo-card-main) {
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.028), transparent 48%),
    rgba(13, 11, 14, 0.72);
}

.promo-card-main {
  grid-row: span 2;
  min-height: 500px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.34), transparent 52%),
    linear-gradient(180deg, rgba(50, 255, 139, 0.08), transparent 66%),
    rgba(24, 11, 18, 0.86);
}

.promo-card span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.promo-card h3 {
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.promo-card-main h3 {
  max-width: 100%;
  font-size: clamp(32px, 3vw, 42px);
}

.promo-card:not(.promo-card-main) h3 {
  max-width: 100%;
  font-family: var(--sans);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.04;
  text-transform: none;
}

.promo-card p {
  max-width: 28ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.promo-card-main p {
  max-width: 31ch;
}

.promo-note {
  max-width: 38ch;
  display: block;
  color: rgba(244, 239, 230, 0.58);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.promo-card .button {
  width: max-content;
  min-height: 50px;
  padding: 12px 16px;
  font-size: 12px;
}

.promo-legal {
  grid-column: 1 / -1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 12px 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.promo-legal:hover,
.promo-legal:focus-visible {
  border-color: rgba(251, 247, 244, 0.42);
  background: rgba(251, 247, 244, 0.04);
  color: var(--ink);
}

.teacher {
  min-height: 70svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 0.46fr);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 50%, rgba(255, 45, 85, 0.15), transparent 32%),
    rgba(8, 7, 10, 0.12);
}

.teacher-panel {
  display: grid;
  grid-template-columns: clamp(180px, 18vw, 260px) minmax(0, 1fr);
  align-items: center;
  align-content: center;
  justify-items: start;
  gap: 26px;
  padding: clamp(28px, 6vw, 78px);
}

.teacher-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.9) contrast(1.06);
}

.teacher-content {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 24px;
}

.teacher-content p {
  max-width: 16ch;
  color: var(--ink);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.teacher-facts {
  display: grid;
  gap: 10px;
  max-width: 44ch;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.teacher-facts li {
  min-height: 44px;
  display: grid;
  align-items: center;
  border-left: 2px solid rgba(50, 255, 139, 0.72);
  padding-left: 14px;
  line-height: 1.25;
}

.pricing {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 45, 85, 0.1), transparent 58%),
    rgba(8, 7, 10, 0.24);
}

.pricing-head {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 6vw, 78px);
  border-right: 1px solid var(--line);
}

.pricing-head h2 {
  max-width: min(100%, 11ch);
  font-size: clamp(34px, 3vw, 46px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-wrap: balance;
}

.pricing-subtitle {
  max-width: 20ch;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.16;
}

.pricing-terms {
  max-width: 34ch;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.35;
}

.pricing-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: clamp(24px, 5vw, 64px);
  perspective: 1200px;
}

.price-card {
  min-height: 248px;
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.1), transparent 46%),
    rgba(18, 15, 18, 0.62);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.price-card:hover {
  border-color: rgba(50, 255, 139, 0.46);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.12), transparent 48%),
    rgba(18, 15, 18, 0.72);
  transform: rotateX(2deg) rotateY(-2deg) translateY(-3px);
}

.price-card-trial {
  grid-row: span 2;
  min-height: 496px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.34), transparent 52%),
    linear-gradient(180deg, rgba(50, 255, 139, 0.1), transparent 62%),
    rgba(27, 13, 20, 0.82);
}

.pricing-groups {
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 45, 85, 0.07), transparent 62%),
    rgba(8, 7, 10, 0.22);
}

.pricing-groups .price-card-trial {
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 45, 85, 0.16), transparent 62%),
    rgba(16, 20, 17, 0.82);
}

.pricing-groups .price-card-recommended {
  grid-row: span 2;
  min-height: 496px;
}

.pricing-groups .price-card-best {
  border-color: rgba(50, 255, 139, 0.78);
  background:
    radial-gradient(circle at 24% 22%, rgba(50, 255, 139, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 45, 85, 0.16), transparent 48%),
    rgba(13, 16, 14, 0.84);
}

.pricing-groups .price-card-popular {
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.13), transparent 46%),
    rgba(18, 15, 18, 0.7);
}

.pricing-groups .price-card-starter,
.pricing-groups .price-card-single {
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.045), transparent 46%),
    rgba(18, 15, 18, 0.56);
}

.pricing-groups .price-card-single h3 {
  font-size: clamp(28px, 2.7vw, 38px);
}

.price-card > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.price-card h3 {
  color: var(--ink);
  max-width: 100%;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
}

.price-card-word h3 {
  max-width: 9ch;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 0.96;
  white-space: normal;
}

.price-card p {
  max-width: 22ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.18;
}

.price-card small {
  max-width: 28ch;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.28;
}

.price-card .price-meta {
  display: grid;
  gap: 5px;
  max-width: 30ch;
  color: var(--soft);
}

.price-card .price-meta span {
  display: block;
  color: var(--soft);
  font-family: var(--sans);
  font-size: inherit;
  line-height: 1.22;
  text-transform: none;
}

.price-card .price-meta span + span {
  color: var(--muted);
}

.price-card a {
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.3);
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card:not(.price-card-trial) a {
  border-color: rgba(251, 247, 244, 0.18);
  background: rgba(251, 247, 244, 0.018);
  color: var(--soft);
}

.price-card-trial a,
.price-card-recommended a {
  border-color: var(--green);
  background: var(--green);
  color: var(--bg);
}

.price-card a:hover,
.price-card a:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: var(--bg);
}

.reviews-proof {
  min-height: auto;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.09), transparent 44%),
    rgba(8, 7, 10, 0.2);
}

.reviews-proof .section-title h2 {
  max-width: 11ch;
  font-size: clamp(38px, 4vw, 60px);
}

.reviews-panel {
  align-self: center;
  justify-self: stretch;
  min-width: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  margin: clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 15% 10%, rgba(50, 255, 139, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 45, 85, 0.09), transparent 52%),
    rgba(18, 15, 18, 0.62);
}

.reviews-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: rgba(251, 247, 244, 0.06);
}

.reviews-score-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  min-height: clamp(92px, 8vw, 118px);
  padding: clamp(16px, 2.4vw, 24px);
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.05), transparent 54%),
    rgba(8, 7, 10, 0.62);
}

.reviews-score-card-yandex {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 45, 85, 0.11), transparent 30%),
    linear-gradient(135deg, rgba(251, 247, 244, 0.04), transparent 54%),
    rgba(8, 7, 10, 0.62);
}

.source-logo {
  width: clamp(66px, 5.8vw, 78px);
  height: clamp(66px, 5.8vw, 78px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 244, 0.24);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.14), transparent 52%),
    rgba(8, 7, 10, 0.56);
  color: var(--ink);
  line-height: 1;
}

.source-logo svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.source-logo-zoon svg {
  width: 58px;
}

.source-logo-zoon svg text {
  fill: currentColor;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1px;
}

.source-logo-yandex {
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.08), transparent 52%),
    rgba(8, 7, 10, 0.56);
}

.source-logo-yandex svg {
  width: 52px;
  height: 52px;
  display: block;
  filter: drop-shadow(0 0 16px rgba(255, 45, 85, 0.24));
}

.reviews-summary span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.reviews-summary strong {
  display: block;
  margin-top: 0;
  color: var(--green);
  font-family: var(--sans);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.reviews-link,
.review-card a,
.reviews-score-action,
.reviews-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.28);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.reviews-link:hover,
.reviews-link:focus-visible,
.review-card a:hover,
.review-card a:focus-visible,
.reviews-score-action:hover,
.reviews-score-action:focus-visible,
.reviews-actions a:hover,
.reviews-actions a:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: 0;
}

.reviews-score-action {
  min-height: 40px;
  padding: 10px 12px;
  color: var(--ink);
  border-color: rgba(251, 247, 244, 0.22);
  background: rgba(8, 7, 10, 0.42);
  font-weight: 800;
  opacity: 0.86;
  position: relative;
  z-index: 2;
}

.reviews-carousel {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
}

.reviews-track {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-height: 300px;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: clamp(14px, 2vw, 18px);
  border-right: 1px solid var(--line);
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(251, 247, 244, 0.036), rgba(255, 45, 85, 0.034)),
    rgba(8, 7, 10, 0.24);
  scroll-snap-align: start;
}

.review-card:last-child {
  border-right: 0;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 4px;
}

.review-card-head span {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.review-source {
  width: max-content;
  margin: 0;
  border: 1px solid rgba(50, 255, 139, 0.54);
  padding: 7px 10px;
  color: var(--green);
  background: rgba(50, 255, 139, 0.07);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.review-card h3 {
  color: var(--ink);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 0.98;
}

.review-card p,
.review-card blockquote {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.28;
}

.review-card blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--green);
  color: var(--ink);
}

.review-card-zoon-link {
  background:
    radial-gradient(circle at 20% 18%, rgba(50, 255, 139, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 45, 85, 0.08), transparent 50%),
    rgba(8, 7, 10, 0.3);
}

.review-card-map-link {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 45, 85, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(251, 247, 244, 0.04), transparent 50%),
    rgba(8, 7, 10, 0.3);
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: clamp(14px, 2vw, 20px);
  background: rgba(8, 7, 10, 0.42);
}

@media (min-width: 1600px) {
  .reviews-track {
    grid-auto-columns: calc(100% / 3);
  }
}

.reviews-arrow {
  width: 56px;
  min-height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.46);
  color: var(--soft);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.reviews-arrow-next {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.reviews-arrow svg {
  width: 24px;
  height: 24px;
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
  color: var(--green);
  background: rgba(50, 255, 139, 0.08);
  outline: 0;
}

.reviews-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.directions {
  min-height: auto;
  grid-template-columns: 1fr;
}

.directions .section-title {
  min-height: 300px;
  align-content: end;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.directions .section-title h2 {
  max-width: 12ch;
}

.directions .section-copy {
  max-width: 26ch;
}

.directions {
  overflow: hidden;
}

.dance-list {
  width: 100%;
  min-width: 0;
  min-height: 74svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.18), rgba(255, 45, 85, 0.06)),
    rgba(8, 7, 10, 0.24);
}

.dance-list article {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  min-height: 74svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: end;
  gap: 20px;
  padding: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
  overflow: hidden;
  contain: paint;
  background: rgba(18, 15, 18, 0.48);
  transition: flex 420ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (min-width: 981px) {
  .dance-list:hover article {
    flex: 0.72 1 0;
  }

  .dance-list article:hover,
  .dance-list article:focus-within {
    flex: 2.35 1 0;
  }

  .dance-list:hover article:not(:hover):not(:focus-within) .dance-copy {
    gap: 6px;
  }

  .dance-list:hover article:not(:hover):not(:focus-within) h3 {
    max-width: 6ch;
    font-size: 30px;
  }

  .dance-list:hover article:not(:hover):not(:focus-within) p,
  .dance-list:hover article:not(:hover):not(:focus-within) a {
    opacity: 0;
    pointer-events: none;
  }

  .dance-list article:hover h3,
  .dance-list article:focus-within h3 {
    max-width: 9ch;
    font-size: clamp(48px, 4.6vw, 62px);
  }
}

.dance-list article:last-child {
  border-right: 0;
}

.dance-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.14) 0%, rgba(8, 7, 10, 0.46) 42%, rgba(8, 7, 10, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 7, 10, 0.86), rgba(8, 7, 10, 0.16) 44%, rgba(8, 7, 10, 0.62));
  pointer-events: none;
}

.dance-list article:hover,
.dance-list article:focus-within {
  background: rgba(255, 45, 85, 0.1);
  border-color: rgba(255, 45, 85, 0.42);
}

.dance-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
}

.dance-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.06);
  transform: scale(1.02);
  transition: transform 620ms ease, filter 620ms ease;
}

.dance-list article:hover .dance-photo img,
.dance-list article:focus-within .dance-photo img {
  filter: saturate(1.04) contrast(1.1);
  transform: scale(1.07);
}

.dance-card-bachata .dance-photo img {
  object-position: 58% center;
}

.dance-card-salsa .dance-photo img {
  object-position: 54% center;
}

.dance-card-tango .dance-photo img {
  object-position: 56% center;
}

.dance-card-ballroom .dance-photo img {
  object-position: 62% center;
}

.dance-list span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.78;
}

.dance-copy {
  min-width: 0;
  max-width: 100%;
  align-self: end;
  display: grid;
  gap: 10px;
}

.dance-list h3 {
  max-width: 100%;
  font-size: clamp(31px, 2.8vw, 42px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.dance-list p {
  max-width: 31ch;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.22;
  text-wrap: pretty;
}

.dance-list a {
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.36);
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.78;
  transition: border-color 150ms ease, color 150ms ease, opacity 150ms ease, background 150ms ease;
}

.dance-list a:hover,
.dance-list a:focus-visible {
  border-color: var(--green);
  color: var(--green);
  opacity: 1;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: clamp(24px, 5vw, 64px);
  background: rgba(8, 7, 10, 0.3);
}

.format-grid article {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.16), transparent 45%),
    rgba(18, 15, 18, 0.58);
}

.format-grid span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.format-grid p {
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
}

.start {
  min-height: 62svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 45, 85, 0.1), transparent 46%),
    rgba(8, 7, 10, 0.16);
}

.start ol {
  counter-reset: steps;
  align-self: center;
  display: grid;
  gap: 0;
  margin: 0;
  padding: clamp(24px, 5vw, 64px);
  list-style: none;
}

.start li {
  min-height: 118px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.start li:first-child {
  border-top: 1px solid var(--line);
}

.start span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.contacts {
  min-height: 70svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.52fr);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 44%),
    rgba(8, 7, 10, 0.18);
}

.contacts-head {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 6vw, 78px);
  border-right: 1px solid var(--line);
}

.contacts h2 {
  max-width: min(100%, 12ch);
  font-size: clamp(44px, 4vw, 58px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: clamp(24px, 5vw, 64px);
}

.contacts-body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(24px, 5vw, 64px);
}

.contacts-body .contacts-grid {
  padding: 0;
}

.contacts-grid article {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 22px;
  background: rgba(18, 15, 18, 0.46);
}

.contacts-grid span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.contacts-grid p,
.contacts-grid a {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.contacts-grid a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.contacts-grid a[href^="mailto:"] {
  font-size: 21px;
}

.contacts-grid a:hover {
  color: var(--green);
}

.contacts-social-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(18, 15, 18, 0.38);
}

.contacts-social-row a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.contacts-social-row a:last-child {
  border-right: 0;
}

.contacts-social-row svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  fill: currentColor;
}

.contacts-social-row a:hover,
.contacts-social-row a:focus-visible {
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 48%),
    rgba(251, 247, 244, 0.03);
  color: var(--green);
  outline: 0;
}

.yandex-map-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 45, 85, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 45, 85, 0.08), transparent 34%),
    #0c090d;
}

.map-toolbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.92);
}

.map-toolbar span,
.map-toolbar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-toolbar span {
  color: var(--green);
}

.map-toolbar a {
  color: var(--ink);
}

.map-toolbar a:hover {
  color: var(--green);
}

.yandex-map-live {
  min-height: 560px;
}

.yandex-map-view,
.map-loading {
  position: absolute;
  inset: 60px 0 0;
}

.yandex-map-view {
  z-index: 1;
  min-height: 500px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.14), transparent 42%),
    #0c090d;
}

.yandex-map-view [class*="ground-pane"] {
  filter: saturate(0.5) hue-rotate(318deg) brightness(0.68) contrast(1.12);
}

.yandex-map-view [class*="copyright"],
.yandex-map-view [class*="controls-pane"],
.yandex-map-view [class*="places-pane"] {
  filter: saturate(0.92) contrast(1.02);
}

.yandex-map-marker {
  position: relative;
  z-index: 4;
  width: max-content;
  min-width: 164px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(251, 247, 244, 0.28);
  padding: 12px 14px 12px 46px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.28), rgba(8, 7, 10, 0.88)),
    rgba(8, 7, 10, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -108%);
}

.yandex-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 20px;
  height: 20px;
  border-right: 1px solid rgba(251, 247, 244, 0.28);
  border-bottom: 1px solid rgba(251, 247, 244, 0.28);
  background: rgba(23, 16, 21, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.yandex-map-marker strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.yandex-map-marker small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
}

.yandex-map-pin {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 5px solid var(--red);
  border-radius: 50% 50% 50% 0;
  background: rgba(8, 7, 10, 0.92);
  transform: translateY(-58%) rotate(-45deg);
}

.yandex-map-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}

.map-loading {
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at 58% 45%, rgba(255, 45, 85, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 45, 85, 0.1), transparent 48%),
    #0c090d;
  color: var(--ink);
  text-align: center;
}

.map-loading span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-loading p {
  color: var(--muted);
  font-size: 18px;
}

.yandex-map-card.is-loaded .map-loading {
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.map-noscript-link {
  position: absolute;
  inset: 60px 0 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #0c090d;
  color: var(--green);
  font-family: var(--mono);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.entry {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.entry .section-title h2 {
  max-width: 12ch;
  overflow-wrap: normal;
  text-wrap: balance;
}

.form-shell {
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 22%, rgba(50, 255, 139, 0.08), transparent 28%),
    rgba(8, 7, 10, 0.28);
}

form {
  align-self: center;
  display: grid;
  gap: 18px;
  width: min(100%, 620px);
  border: 1px solid var(--line);
  padding: clamp(18px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.12), transparent 34%),
    rgba(8, 7, 10, 0.82);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.34);
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  color: var(--ink);
}

.field-label span {
  color: var(--green);
}

input,
select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  background: #0d0a0e;
  color: var(--ink);
  padding: 11px 13px;
  transition: border-color 150ms ease, background 150ms ease;
}

input:hover,
select:hover,
input:focus,
select:focus {
  border-color: rgba(251, 247, 244, 0.42);
  background: #110d12;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: rgba(255, 47, 94, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 47, 94, 0.28);
}

.consent {
  grid-template-columns: 36px 1fr;
  align-items: start;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-transform: none;
}

.consent input {
  width: 32px;
  height: 32px;
  min-height: 32px;
  margin-top: 2px;
  accent-color: var(--green);
}

.consent a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-warning {
  margin: -4px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 47, 94, 0.7);
  background: rgba(255, 47, 94, 0.14);
  color: #fff7f8;
  font-size: 15px;
  line-height: 1.45;
}

.consent.is-error {
  color: #fff7f8;
}

.consent.is-error input {
  outline: 3px solid rgba(255, 47, 94, 0.58);
  outline-offset: 3px;
}

.form-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.form-note {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.35;
}

.form-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 18px 28px;
  padding: 24px clamp(16px, 4vw, 56px) 30px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-main {
  justify-content: flex-end;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  gap: 4px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer a,
.footer button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.16);
  padding: 0 12px;
  background: rgba(251, 247, 244, 0.025);
  color: var(--ink);
}

.footer-legal a,
.footer-legal button {
  justify-content: center;
  color: var(--muted);
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--green);
}

.footer button {
  font: inherit;
  cursor: pointer;
}

.footer small {
  max-width: 48ch;
  color: rgba(244, 239, 230, 0.48);
  line-height: 1.35;
}

.cookie-panel {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 80;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.cookie-card {
  width: min(100%, 640px);
  border: 1px solid rgba(251, 247, 244, 0.26);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.14), transparent 38%),
    rgba(8, 7, 10, 0.96);
  box-shadow: 0 24px 120px rgba(0, 0, 0, 0.56);
  pointer-events: auto;
}

.cookie-head {
  display: grid;
  gap: 6px;
}

.cookie-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-head p:last-child,
.cookie-note {
  max-width: 56ch;
  color: var(--muted);
  font-size: 13px;
}

.cookie-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
}

.cookie-options[hidden] {
  display: none;
}

.cookie-option {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
  background: rgba(18, 15, 18, 0.82);
  color: var(--muted);
  text-transform: none;
}

.cookie-option input {
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--green);
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.05;
  text-transform: uppercase;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cookie-note {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
}

.cookie-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-panel[data-mode="banner"] .cookie-card {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 6px;
  padding: 8px 10px;
  border-color: rgba(251, 247, 244, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.08), transparent 42%),
    rgba(8, 7, 10, 0.84);
  box-shadow: 0 14px 64px rgba(0, 0, 0, 0.36);
}

.cookie-panel[data-mode="banner"] .cookie-head {
  gap: 3px;
}

.cookie-panel[data-mode="banner"] .cookie-head .label {
  display: none;
}

.cookie-panel[data-mode="banner"] .cookie-head h2 {
  display: none;
}

.cookie-panel[data-mode="banner"] .cookie-head p {
  max-width: 62ch;
  color: rgba(244, 239, 230, 0.64);
  font-size: 10.5px;
  line-height: 1.25;
}

.cookie-panel[data-mode="banner"] .cookie-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0;
  gap: 8px;
}

.cookie-panel[data-mode="banner"] .cookie-actions .button {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.cookie-panel[data-mode="banner"] .cookie-actions .button[data-cookie-settings] {
  min-width: 136px;
}

.cookie-panel .button:focus-visible {
  outline-color: rgba(251, 247, 244, 0.5);
  outline-offset: 2px;
}

.cookie-panel[data-mode="banner"] .cookie-note {
  display: none;
}

.cookie-panel[data-page="legal"][data-mode="banner"] {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  max-width: none;
  justify-content: center;
  padding: 0 20px 24px;
  pointer-events: auto;
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-card {
  width: min(100%, 430px);
  gap: 6px;
  border-color: rgba(251, 247, 244, 0.16);
  padding: 8px 10px;
  background: rgba(8, 7, 10, 0.92);
  box-shadow: 0 14px 70px rgba(0, 0, 0, 0.42);
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-head {
  display: none;
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-head p {
  max-width: 36ch;
  font-size: 11px;
  line-height: 1.22;
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-actions .button {
  min-height: 40px;
  padding: 8px 6px;
  font-size: 10px;
}

.cookie-panel[data-page="legal"][data-mode="banner"] .cookie-note {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: section-rise both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  min-height: calc(100svh - 146px);
  padding: clamp(40px, 7vw, 104px) 20px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.legal-page h1 {
  margin: 0 0 42px;
  max-width: 18ch;
  color: #f4efe6;
  font-family: var(--sans);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
  overflow-wrap: anywhere;
}

.legal-meta {
  margin: -24px 0 38px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.legal-page article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.legal-page section {
  min-width: 0;
  border: 1px solid rgba(251, 247, 244, 0.09);
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.014), transparent 54%),
    rgba(18, 15, 18, 0.36);
  padding: 26px;
}

.legal-page h2 {
  font-family: var(--sans);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.legal-page p {
  margin-top: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-page li + li {
  margin-top: 7px;
}

.legal-page a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.legal-page [aria-current="page"],
.footer [aria-current="page"] {
  color: var(--green);
}

.not-found-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 45, 85, 0.18), transparent 34%),
    linear-gradient(120deg, #070609 0%, #150910 58%, #070609 100%);
}

.not-found {
  min-height: calc(100svh - 78px);
}

.not-found-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.45fr) minmax(0, 0.55fr);
  min-height: calc(100svh - 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.not-found-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(251, 247, 244, 0.13) 44% 44.08%, transparent 44.08%),
    repeating-linear-gradient(90deg, transparent 0 82px, rgba(251, 247, 244, 0.035) 83px),
    repeating-linear-gradient(180deg, transparent 0 92px, rgba(251, 247, 244, 0.026) 93px);
}

.not-found-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: clamp(18px, 2.4vw, 28px);
  min-width: 0;
  padding: clamp(32px, 6vw, 82px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 7, 10, 0.28), rgba(8, 7, 10, 0.9)),
    linear-gradient(135deg, rgba(255, 45, 85, 0.1), transparent 48%),
    rgba(8, 7, 10, 0.66);
}

.not-found-code {
  color: rgba(251, 247, 244, 0.18);
  font-family: var(--display);
  font-size: clamp(118px, 16vw, 240px);
  font-weight: 800;
  line-height: 0.76;
  text-transform: uppercase;
}

.not-found h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.96;
  text-transform: uppercase;
}

.not-found-text {
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.34;
}

.not-found-actions {
  max-width: 760px;
}

.not-found-media {
  position: relative;
  z-index: 2;
  min-height: 520px;
  background: var(--stage);
}

.not-found-media picture,
.not-found-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.not-found-media img {
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.08) brightness(0.7);
}

.not-found-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 10, 0.86), rgba(8, 7, 10, 0.14) 42%, rgba(8, 7, 10, 0.42)),
    linear-gradient(180deg, rgba(8, 7, 10, 0.08), rgba(8, 7, 10, 0.74));
}

.not-found-footer {
  background: rgba(8, 7, 10, 0.94);
}

@media (max-width: 1100px) {
  .hero,
  .section,
  .entry,
  .split,
  .format-visual,
  .promos,
  .teacher,
  .pricing,
  .start,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-media {
    order: 2;
    position: relative;
    min-height: 58svh;
  }

  .hero-media picture,
  .hero-media img {
    width: 100%;
  }

  .hero-content {
    order: 1;
    width: auto;
    min-height: auto;
    margin-left: 0;
  }

  .hero-content,
  .section-title,
  .split > div:first-child,
  .teacher-name,
  .start > div:first-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  h1 {
    font-size: 78px;
  }

  .hero-lead {
    max-width: 22ch;
    font-size: 30px;
  }

  .section-title h2,
  .split h2,
  .teacher h2,
  .start h2,
  .contacts h2 {
    font-size: 56px;
  }

  .pricing-head h2 {
    max-width: 100%;
    font-size: clamp(34px, 4.2vw, 46px);
  }

  .contacts h2 {
    font-size: clamp(38px, 5vw, 52px);
  }

  .studio-stage {
    min-height: auto;
  }

  .studio-stage article {
    min-height: 160px;
  }

  .studio-stage h3 {
    font-size: 28px;
  }

  .fit-list p {
    min-height: 140px;
    font-size: 30px;
  }

  .teacher {
    min-height: auto;
  }

  .format-visual {
    min-height: auto;
  }

  .format-photo-card {
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .format-photo-card h2 {
    font-size: 46px;
  }

  .promos {
    min-height: auto;
  }

  .promos-head {
    border-right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .promos-head h2 {
    max-width: 11ch;
    font-size: 56px;
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .dance-list {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dance-list article {
    min-height: 520px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .dance-list h3 {
    font-size: 42px;
  }

  .dance-list article:hover,
  .dance-list article:focus-within {
    flex-basis: auto;
  }

  .teacher-content p {
    font-size: 30px;
  }

  .pricing {
    min-height: auto;
  }

  .pricing-head {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .start li {
    font-size: 30px;
  }

  .format-grid p {
    font-size: 24px;
  }

  .format-grid article {
    min-height: 170px;
  }

  .contacts {
    min-height: auto;
  }

  .contacts-head {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .contacts-body {
    padding: clamp(20px, 4vw, 40px);
  }

  .contacts-grid article {
    min-height: 150px;
  }
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 92px;
  }

  .topbar {
    position: sticky;
    min-height: 76px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px;
    align-items: center;
    gap: 0;
    padding: 10px 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .topbar::before {
    content: "";
    width: 100%;
    min-width: 0;
    min-height: 48px;
    order: 1;
  }

  .brand {
    order: 2;
    justify-self: center;
    align-self: center;
    min-width: 164px;
    min-height: 54px;
    font-size: 15px;
  }

  .menu-toggle {
    order: 3;
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px 14px;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(18, 10, 16, 0.98), rgba(8, 7, 10, 0.995)),
      #08070a;
    backdrop-filter: none;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.68);
  }

  .topbar.is-menu-open {
    background: #08070a;
    backdrop-filter: none;
  }

  .topbar.is-menu-open .nav {
    display: grid;
  }

  .nav a {
    min-height: 50px;
    border-color: var(--line);
    padding: 0 8px;
    background: rgba(251, 247, 244, 0.025);
    font-size: 13px;
  }

  .nav-social {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .nav-social .nav-icon-link {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .actions {
    width: min(100%, 560px);
  }

  .actions .button {
    flex: 1 1 220px;
  }
}

@media (min-width: 740px) and (max-width: 1100px) {
  .promos,
  .pricing,
  .contacts,
  .section.format,
  .entry,
  .start {
    grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  }

  .promos-head,
  .pricing-head,
  .contacts-head,
  .section.format .section-title,
  .entry .section-title,
  .start > div:first-child {
    border-right: 1px solid var(--line);
    border-top: 0;
    padding: 30px 22px;
  }

  .promos-head h2,
  .pricing-head h2,
  .contacts h2,
  .section.format h2,
  .entry h2,
  .start h2 {
    max-width: 9ch;
    font-size: clamp(28px, 3.2vw, 34px);
    overflow-wrap: anywhere;
  }

  .pricing-groups .pricing-head h2 {
    max-width: 100%;
    font-size: clamp(26px, 3.1vw, 32px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .promos-head p:last-child,
  .pricing-subtitle,
  .section-copy {
    font-size: 18px;
  }

  .promo-grid,
  .pricing-grid,
  .contacts-body,
  .format-grid,
  .form-shell,
  .start ol {
    padding: 22px;
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .promo-card {
    min-height: 180px;
    padding: 18px;
  }

  .promo-card-main {
    grid-column: auto;
    grid-row: span 2;
    min-height: 360px;
  }

  .promo-card h3 {
    font-size: 22px;
  }

  .promo-card-main h3 {
    font-size: 24px;
    max-width: 100%;
  }

  .promo-card:not(.promo-card-main) h3 {
    max-width: 100%;
    font-family: var(--sans);
    font-size: 22px;
    line-height: 1.05;
    text-transform: none;
  }

  .promo-card p {
    font-size: 16px;
  }

  .price-card {
    min-height: 190px;
    padding: 18px;
  }

  .price-card-trial {
    min-height: 380px;
  }

  .price-card h3 {
    font-size: clamp(28px, 4.2vw, 40px);
  }

  .price-card-word h3 {
    font-size: 36px;
  }

  .price-card p {
    font-size: 16px;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .contacts-grid article {
    min-height: 118px;
    padding: 16px;
  }

  .contacts-grid p,
  .contacts-grid a {
    font-size: 19px;
  }

  .yandex-map-card,
  .yandex-map-view,
  .map-loading {
    min-height: 350px;
  }

  .format-grid article {
    min-height: 130px;
    padding: 16px;
  }

  .format-grid p,
  .start li {
    font-size: 22px;
  }

  .start li {
    min-height: 88px;
  }

  form {
    gap: 14px;
    padding: 20px;
  }
}

@media (max-width: 700px) {
  .route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .route-strip a {
    min-height: 62px;
    gap: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    font-size: 18px;
  }

  .route-strip a:last-child {
    grid-column: 1 / -1;
  }

  .route-strip span {
    display: none;
  }

  .studio-stage h3 {
    font-size: 23px;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .route-strip a {
    min-height: 68px;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    padding: 14px clamp(16px, 3vw, 28px);
    font-size: clamp(18px, 2.1vw, 22px);
  }

  .route-strip a:nth-child(2n) {
    border-right: 0;
  }

  .route-strip a:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .route-strip span {
    display: none;
  }
}

@media (max-width: 360px) and (max-height: 620px) {
  .hero-promo {
    display: none;
  }
}

@media (min-width: 701px) and (max-height: 740px) {
  .hero-promo {
    display: none;
  }
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 92px;
  }

  .topbar {
    grid-template-columns: minmax(68px, 1fr) minmax(0, 190px) minmax(68px, 1fr);
    justify-content: stretch;
    align-items: center;
    gap: 0;
    padding: 10px 8px;
  }

  .topbar::before {
    display: block;
    content: "";
    width: 68px;
    min-height: 48px;
    justify-self: start;
  }

  .brand {
    width: min(48vw, 190px);
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
  }

  .menu-toggle {
    position: static;
    min-width: 68px;
    min-height: 48px;
    padding: 0 10px;
    font-size: 11px;
    transform: none;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav a {
    min-height: 52px;
    font-size: 14px;
    padding: 0 6px;
  }

  .nav > a:last-of-type {
    grid-column: 1 / -1;
  }

  .brand {
    width: min(48vw, 190px);
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 1;
    min-height: auto;
    gap: 14px;
    padding: 24px 16px 22px;
  }

  .hero-media {
    order: 2;
    min-height: 32svh;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(8, 7, 10, 0.06), rgba(8, 7, 10, 0.42)),
      linear-gradient(90deg, rgba(8, 7, 10, 0.48), rgba(8, 7, 10, 0.08));
  }

  .section-title,
  .split > div:first-child,
  .teacher-name,
  .teacher-panel,
  .promos-head,
  .pricing-head,
  .start > div:first-child,
  .contacts-head,
  .dance-list article,
  form {
    padding: 24px 16px;
  }

  .promos-head {
    gap: 12px;
    padding: 20px 16px;
  }

  .promos-head h2 {
    max-width: 8ch;
    font-size: 46px;
  }

  .promos-head p:last-child {
    max-width: 20ch;
    font-size: 18px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-lead {
    font-size: 27px;
  }

  .hero-place {
    font-size: 16px;
  }

  .hero-promo {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    flex-wrap: wrap;
    font-size: 11px;
    text-align: center;
  }

  .section,
  .split {
    min-height: auto;
  }

  .section-title h2,
  .split h2,
  .teacher h2,
  .start h2,
  .contacts h2 {
    font-size: 42px;
  }

  .contacts h2 {
    font-size: 36px;
  }

  .pricing-head h2 {
    max-width: 100%;
    font-size: 33px;
    line-height: 1;
  }

  .section-copy {
    font-size: 18px;
  }

  .studio-stage,
  .fit-list,
  .pricing-grid,
  .dance-list,
  .route-strip {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .dance-list {
    padding: 0;
  }

  .studio-stage,
  .fit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .route-strip a {
    min-height: 54px;
    gap: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    font-size: 18px;
  }

  .route-strip a:last-child {
    grid-column: 1 / -1;
  }

  .route-strip span,
  .dance-list > article > span,
  .studio-stage span {
    display: none;
  }

  .studio-stage article {
    min-height: 104px;
    padding: 16px;
  }

  .studio-stage h3 {
    font-size: 21px;
  }

  .studio-stage p {
    font-size: 15px;
  }

  .fit-list p {
    min-height: 76px;
    border: 1px solid var(--line) !important;
    margin: -1px 0 0 -1px;
    padding: 14px !important;
    font-size: 20px;
  }

  .teacher-panel {
    grid-template-columns: 1fr;
  }

  .teacher-photo {
    max-width: min(100%, 360px);
    aspect-ratio: 4 / 5;
  }

  .teacher-photo img {
    object-position: 50% 38%;
  }

  .teacher-content p {
    font-size: 26px;
    max-width: 18ch;
  }

  .teacher-facts {
    gap: 8px;
  }

  .teacher-facts li {
    min-height: 40px;
    font-size: 14px;
  }

  .format-photo-card {
    min-height: 360px;
  }

  .format-photo-card h2 {
    font-size: 34px;
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .promo-card,
  .promo-card-main {
    min-height: 130px;
    gap: 10px;
    padding: 16px;
  }

  .promo-card-main {
    min-height: 176px;
  }

  .promo-card:not(.promo-card-main) {
    min-height: 116px;
    align-content: center;
    background: rgba(12, 10, 13, 0.74);
  }

  .promo-card h3 {
    max-width: 14ch;
    font-size: 28px;
  }

  .promo-card:not(.promo-card-main) h3 {
    max-width: 100%;
    font-family: var(--sans);
    font-size: 22px;
    line-height: 1.05;
    text-transform: none;
  }

  .promo-card p {
    max-width: 100%;
    font-size: 15px;
  }

  .promo-note {
    max-width: 100%;
    font-size: 12px;
  }

  .promo-card .button {
    width: 100%;
    min-height: 48px;
  }

  .promo-card:not(.promo-card-main) .button {
    width: auto;
    justify-self: start;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .promo-legal {
    justify-content: flex-start;
    min-height: 48px;
  }

  .price-card,
  .price-card-trial {
    min-height: 124px;
    gap: 10px;
    padding: 13px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .price-card-trial {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 148px;
  }

  .pricing-groups .price-card-recommended {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 176px;
  }

  .price-card h3 {
    font-size: clamp(24px, 7vw, 32px);
    white-space: nowrap;
    text-wrap: auto;
  }

  .pricing-groups .price-card h3 {
    font-size: clamp(23px, 6.6vw, 30px);
    white-space: nowrap;
    text-wrap: auto;
  }

  .price-card-word h3 {
    max-width: none;
    font-size: 28px;
  }

  .price-card p {
    font-size: 13px;
  }

  .price-card small {
    font-size: 12px;
  }

  .price-card a {
    width: 100%;
    min-height: 44px;
    padding: 9px 8px;
    font-size: 10px;
  }

  .price-card:not(.price-card-trial) a {
    min-height: 44px;
    border-color: transparent;
    background: transparent;
    color: rgba(244, 239, 230, 0.62);
  }

  .start ol {
    padding: 10px 16px;
  }

  .start li {
    min-height: 70px;
    grid-template-columns: 48px minmax(0, 1fr);
    font-size: 20px;
  }

  .actions .button,
  form .button {
    width: 100%;
  }

  .dance-list article {
    min-height: 420px;
    padding: 20px 16px;
  }

  .dance-list article::after {
    background:
      linear-gradient(180deg, rgba(8, 7, 10, 0.08) 0%, rgba(8, 7, 10, 0.76) 62%, rgba(8, 7, 10, 0.92) 100%),
      linear-gradient(90deg, rgba(8, 7, 10, 0.72), rgba(8, 7, 10, 0.12));
  }

  .dance-list a {
    width: 100%;
    align-self: end;
    justify-self: stretch;
    opacity: 1;
    border-color: rgba(251, 247, 244, 0.56);
    background: rgba(8, 7, 10, 0.34);
  }

  .dance-list h3 {
    font-size: 30px;
  }

  .dance-list p {
    font-size: 16px;
  }

  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .contacts-body {
    padding: 16px;
  }

  .contacts-body .contacts-grid {
    padding: 0;
  }

  .contacts-grid article {
    min-height: 86px;
    padding: 14px;
  }

  .contacts-grid p,
  .contacts-grid a {
    font-size: 20px;
  }

  .yandex-map-card {
    min-height: 430px;
  }

  .yandex-map-view,
  .map-loading {
    min-height: 360px;
  }

  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .map-toolbar a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
  }

  .yandex-map-view,
  .map-loading {
    inset: 112px 0 0;
  }

  .yandex-map-marker {
    min-width: 142px;
    padding: 10px 12px 10px 40px;
    transform: translate(-50%, -104%);
  }

  .yandex-map-marker strong,
  .yandex-map-marker small {
    font-size: 12px;
  }

  .yandex-map-pin {
    left: 12px;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }

  .format-grid article {
    min-height: 90px;
    padding: 14px;
  }

  .format-grid p {
    font-size: 17px;
    line-height: 1.08;
  }

  .form-shell {
    padding: 10px 16px 14px;
  }

  form {
    width: auto;
    gap: 12px;
    padding: 16px;
  }

  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px 22px;
  }

  .footer-main {
    justify-content: flex-start;
  }

  .footer-legal {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer a,
  .footer button {
    flex: 1 1 148px;
  }

  .footer-legal a,
  .footer-legal button {
    justify-content: center;
    min-height: 44px;
    color: var(--muted);
  }

  .footer small {
    max-width: 100%;
  }

  .cookie-panel {
    left: 6px;
    right: 6px;
    bottom: 5px;
  }

  .cookie-card {
    max-height: min(68svh, 520px);
    overflow: auto;
    padding: 12px;
  }

  .cookie-panel[data-mode="banner"] .cookie-card {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    padding: 6px 8px;
  }

  .cookie-options {
    grid-template-columns: 1fr;
  }

  .cookie-head h2 {
    font-size: 20px;
  }

  .cookie-panel[data-mode="banner"] .cookie-head {
    padding-right: 0;
  }

  .cookie-panel[data-mode="banner"] .cookie-head h2 {
    display: none;
  }

  .cookie-head p:last-child {
    font-size: 12px;
    line-height: 1.3;
  }

  .cookie-panel[data-mode="banner"] .cookie-head p {
    max-width: 100%;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-panel[data-mode="banner"] .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
  }

  .cookie-panel[data-mode="banner"] .cookie-actions .button:first-child {
    grid-column: auto;
  }

  .cookie-actions .button {
    min-height: 40px;
    padding: 8px 8px;
    font-size: 10.5px;
    width: 100%;
  }

  .cookie-panel[data-mode="settings"] .cookie-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .cookie-panel[data-mode="banner"] .cookie-note {
    display: none;
  }

  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-card {
    padding: 6px 8px;
  }

  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-head {
    padding-right: 96px;
  }

  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-head p {
    font-size: 10px;
    line-height: 1.18;
  }

  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-actions .button,
  .cookie-panel[data-page="legal"][data-mode="banner"] .cookie-actions .button:first-child {
    grid-column: auto;
    min-height: 44px;
    padding: 7px 4px;
    font-size: 9px;
  }

  .legal-page h1 {
    font-size: 36px;
  }

  .legal-page article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-page section {
    padding: 18px;
  }
}

@media (max-width: 900px) {
  .not-found {
    min-height: auto;
  }

  .not-found-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .not-found-stage::before {
    background:
      repeating-linear-gradient(90deg, transparent 0 74px, rgba(251, 247, 244, 0.036) 75px),
      repeating-linear-gradient(180deg, transparent 0 88px, rgba(251, 247, 244, 0.025) 89px);
  }

  .not-found-copy {
    min-height: calc(62svh - 76px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: clamp(28px, 7vw, 48px) 20px;
  }

  .not-found-code {
    font-size: clamp(88px, 30vw, 132px);
  }

  .not-found h1 {
    max-width: 9ch;
    font-size: clamp(36px, 12vw, 56px);
  }

  .not-found-text {
    max-width: 28ch;
    font-size: 17px;
  }

  .not-found-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .not-found-actions .button {
    width: 100%;
  }

  .not-found-dance-link {
    display: none;
  }

  .not-found-media {
    min-height: clamp(260px, 54svh, 460px);
  }

  .not-found-media::after {
    background:
      linear-gradient(180deg, rgba(8, 7, 10, 0.5), rgba(8, 7, 10, 0.1) 38%, rgba(8, 7, 10, 0.68)),
      linear-gradient(90deg, rgba(8, 7, 10, 0.22), rgba(8, 7, 10, 0.18));
  }
}

@media (max-width: 430px) {
  .studio-stage {
    grid-template-columns: 1fr;
  }

  .studio-stage article {
    min-height: 86px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 6px;
    padding: 14px 16px;
  }

  .studio-stage h3 {
    font-size: 20px;
    line-height: 1.02;
  }

  .studio-stage p {
    font-size: 14px;
    line-height: 1.15;
  }

  .format-grid article {
    min-height: 78px;
  }

  .not-found-copy {
    gap: 16px;
  }

  .not-found h1 {
    font-size: 42px;
  }

  .not-found-text {
    font-size: 16px;
  }

  .not-found-footer {
    padding-top: 24px;
  }
}

@media (max-width: 360px) {
  .brand {
    min-width: 148px;
    font-size: 13px;
  }

  .menu-toggle {
    right: 6px;
    min-width: 62px;
    padding: 0 8px;
    font-size: 10px;
  }

  .nav {
    gap: 8px 12px;
    font-size: 11px;
  }

  h1 {
    font-size: 48px;
  }

  .legal-page h1 {
    font-size: 32px;
  }

  .section-title h2,
  .split h2,
  .teacher h2,
  .start h2,
  .contacts h2 {
    font-size: 38px;
  }

  .pricing-head h2 {
    font-size: 30px;
  }

  .contacts h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes section-rise {
  from {
    opacity: 0.86;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* v3 conversion pass: compact teachers, schedule, FAQ and stronger group-pricing entry. */
.hero-offer {
  width: min(100%, 430px);
  display: grid;
  gap: 6px;
  border: 1px solid rgba(251, 247, 244, 0.16);
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgba(255, 45, 85, 0.22), rgba(50, 255, 139, 0.055)),
    rgba(8, 7, 10, 0.54);
}

.hero-offer strong {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-offer span {
  max-width: 28ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.18;
}

.teachers-strip {
  min-height: 62svh;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.1), transparent 48%),
    rgba(8, 7, 10, 0.2);
}

.teachers-strip .section-title h2 {
  max-width: 8ch;
}

.teacher-row {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: stretch;
  border-left: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.teacher-row::-webkit-scrollbar {
  display: none;
}

.teacher-mini {
  min-width: 0;
  min-height: 360px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(251, 247, 244, 0.035), rgba(255, 45, 85, 0.045)),
    rgba(18, 15, 18, 0.56);
}

.teacher-mini:last-child {
  border-right: 0;
}

.teacher-mini picture {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(251, 247, 244, 0.18);
  background: rgba(251, 247, 244, 0.04);
}

.teacher-mini picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7, 5, 8, 0.34)),
    linear-gradient(135deg, rgba(255, 45, 85, 0.12), transparent 44%);
}

.teacher-mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 34%;
  filter: saturate(0.9) contrast(1.05);
}

.teacher-mini-roman img {
  object-position: 54% 30%;
  filter: saturate(0.72) contrast(1.08) brightness(0.88);
}

.teacher-mini-ivan img {
  object-position: 50% 28%;
  filter: saturate(0.82) contrast(1.08) brightness(0.9);
}

.teacher-mini-lilia img {
  object-position: 50% 24%;
  filter: saturate(0.86) contrast(1.06) brightness(0.92);
}

.teacher-avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 244, 0.18);
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 45, 85, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), rgba(255, 45, 85, 0.06)),
    rgba(251, 247, 244, 0.035);
  color: rgba(251, 247, 244, 0.88);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
}

.teacher-mini > div:last-child {
  display: grid;
  gap: 10px;
}

.teacher-mini span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
}

.teacher-mini h3 {
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.teacher-mini p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
}

.teacher-mini a {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.24);
  padding: 9px 11px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.teacher-mini a:hover,
.teacher-mini a:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.schedule {
  position: relative;
  min-height: auto;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.07), transparent 44%),
    rgba(8, 7, 10, 0.22);
}

.schedule .section-title {
  align-content: start;
  padding-top: clamp(44px, 6vw, 86px);
}

.schedule .section-title h2 {
  max-width: 100%;
  font-size: clamp(28px, 2.65vw, 38px);
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.schedule-track {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1px) / 2);
  gap: 1px;
  align-content: start;
  align-items: start;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: default;
  touch-action: pan-y;
  user-select: auto;
}

.schedule-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1180px) and (min-width: 621px) {
  .schedule-track {
    grid-auto-columns: 100%;
  }
}

.teacher-row.is-dragging {
  cursor: grabbing;
}

.schedule-arrows {
  position: absolute;
  z-index: 8;
  top: clamp(18px, 3vw, 42px);
  right: clamp(18px, 3vw, 42px);
  display: inline-flex;
  gap: 8px;
}

.schedule-arrows[hidden] {
  display: none;
}

.schedule-arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 244, 0.28);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.1), transparent 48%),
    rgba(8, 7, 10, 0.82);
  color: var(--soft);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.schedule-arrow svg {
  width: 24px;
  height: 24px;
}

.schedule-arrow:hover,
.schedule-arrow:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: 0;
}

.schedule-arrow:disabled {
  opacity: 0.32;
  cursor: default;
  pointer-events: none;
}

.schedule-day {
  min-width: 0;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(251, 247, 244, 0.04), rgba(255, 45, 85, 0.035)),
    rgba(18, 15, 18, 0.58);
  scroll-snap-align: start;
}

.lesson-row.is-hidden-past,
.lesson-row.is-hidden-by-collapse {
  display: none;
}

.schedule-day header {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
}

.schedule-day header span {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-day-badge {
  width: max-content;
  border: 1px solid rgba(50, 255, 139, 0.58);
  padding: 5px 8px;
  color: var(--green);
  background: rgba(50, 255, 139, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-day-badge[hidden] {
  display: none;
}

.schedule-day.is-today {
  border-color: rgba(50, 255, 139, 0.44);
  background:
    linear-gradient(180deg, rgba(50, 255, 139, 0.05), rgba(255, 45, 85, 0.035)),
    rgba(18, 15, 18, 0.62);
}

.schedule-day header time {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.lesson-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(251, 247, 244, 0.16);
}

.lesson-row:last-child {
  border-bottom: 0;
}

.lesson-row time {
  grid-row: 1 / 3;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
}

.lesson-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.08;
}

.lesson-row span {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.lesson-row a {
  grid-column: 3;
  grid-row: 1 / 3;
  width: max-content;
  min-width: 64px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 244, 0.24);
  padding: 8px 9px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.lesson-row a::before {
  content: "Запись";
  font-size: 10px;
}

.lesson-row.is-soon {
  opacity: 0.58;
  background: rgba(251, 247, 244, 0.018);
}

.lesson-row.is-soon a {
  border-color: rgba(251, 247, 244, 0.18);
  color: rgba(251, 247, 244, 0.72);
}

.lesson-row.is-soon a::before {
  content: "Уточнить";
}

.lesson-row.is-past {
  opacity: 0.28;
  background: rgba(251, 247, 244, 0.01);
}

.lesson-row.is-past a {
  pointer-events: none;
  border-color: rgba(251, 247, 244, 0.14);
  color: rgba(251, 247, 244, 0.56);
}

.lesson-row.is-past a::before {
  content: "Прошло";
}

.lesson-row a:hover,
.lesson-row a:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.schedule-more {
  min-height: 52px;
  border: 0;
  border-top: 1px solid rgba(251, 247, 244, 0.18);
  padding: 12px 16px;
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 48%),
    rgba(251, 247, 244, 0.018);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.schedule-more:hover,
.schedule-more:focus-visible {
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.16), transparent 48%),
    rgba(251, 247, 244, 0.04);
  outline: 1px solid rgba(50, 255, 139, 0.55);
  outline-offset: -1px;
}

.schedule-empty-state {
  min-height: clamp(172px, 17vw, 240px);
  display: grid;
  align-content: center;
  gap: 10px;
  border-top: 1px solid rgba(251, 247, 244, 0.16);
  padding: 22px 16px;
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.08), transparent 46%),
    rgba(251, 247, 244, 0.012);
}

.schedule-empty-note {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
}

.schedule-empty-copy {
  max-width: 28ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.schedule-empty-button {
  width: min(100%, 280px);
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(50, 255, 139, 0.58);
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.16), transparent 50%),
    rgba(8, 7, 10, 0.74);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.schedule-empty-button:hover,
.schedule-empty-button:focus-visible {
  border-color: var(--green);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.24), transparent 50%),
    rgba(8, 7, 10, 0.86);
  outline: 0;
}

.price-card-recommended {
  border-color: rgba(50, 255, 139, 0.58);
  background:
    linear-gradient(135deg, rgba(50, 255, 139, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(255, 45, 85, 0.1), transparent 60%),
    rgba(18, 15, 18, 0.7);
}

.pricing-private {
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.1), transparent 42%),
    rgba(8, 7, 10, 0.22);
}

.faq {
  min-height: auto;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
}

.faq-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  padding: clamp(20px, 4vw, 52px);
}

.faq-grid article {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(251, 247, 244, 0.035), transparent 48%),
    rgba(18, 15, 18, 0.48);
}

.faq-grid h3 {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.05;
}

.faq-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.28;
}

@media (min-width: 1120px) {
  .lesson-row {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
  }

  .lesson-row span {
    grid-column: 2;
  }

  .lesson-row a {
    grid-column: 3;
  }
}

@media (max-width: 1100px) {
  .teachers-strip,
  .schedule,
  .reviews-proof,
  .faq {
    grid-template-columns: 1fr;
  }

  .teachers-strip .section-title,
  .schedule .section-title,
  .reviews-proof .section-title,
  .faq .section-title {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .teacher-row {
    border-left: 0;
  }

  .reviews-track {
    grid-auto-columns: 100%;
  }
}

@media (min-width: 740px) and (max-width: 1100px) {
  .route-strip a {
    min-height: 74px;
    gap: 8px;
    padding: 14px 12px;
    font-size: clamp(16px, 2.2vw, 22px);
  }

  .teachers-strip,
  .schedule,
  .reviews-proof,
  .faq {
    grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  }

  .teachers-strip .section-title,
  .schedule .section-title,
  .reviews-proof .section-title,
  .faq .section-title {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 30px 22px;
  }

  .teachers-strip .section-title h2,
  .schedule .section-title h2,
  .reviews-proof .section-title h2,
  .faq .section-title h2 {
    font-size: clamp(28px, 3.2vw, 34px);
  }

  .schedule .section-title h2 {
    font-size: clamp(22px, 2.45vw, 26px);
    line-height: 0.96;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .teacher-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .teacher-mini {
    min-height: 260px;
    padding: 16px;
  }

  .teacher-mini picture,
  .teacher-avatar {
    aspect-ratio: 16 / 10;
  }

  .schedule-track {
    grid-auto-columns: 100%;
    padding: 0;
  }

  .reviews-panel {
    margin: 22px;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px;
  }

  .faq-grid article {
    min-height: 132px;
    padding: 16px;
  }
}

@media (max-width: 620px) {
  .section-title > *,
  .promos-head > *,
  .pricing-head > *,
  .contacts-head > * {
    min-width: 0;
    max-width: 100%;
  }

  .section-title h2,
  .promos-head h2,
  .pricing-head h2,
  .contacts-head h2 {
    overflow-wrap: anywhere;
  }

  .hero-offer {
    width: 100%;
    gap: 4px;
    padding: 10px 12px;
  }

  .hero-offer strong {
    font-size: clamp(30px, 11vw, 44px);
  }

  .hero-offer span {
    font-size: 13px;
  }

  .teacher-row {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(251, 247, 244, 0.22) transparent;
  }

  .teacher-mini {
    min-height: 372px;
    border-right: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .teacher-mini picture,
  .teacher-avatar {
    aspect-ratio: 4 / 4.7;
  }

  .teacher-mini h3 {
    font-size: 22px;
  }

  .teacher-mini a {
    width: 100%;
  }

  .schedule-track {
    display: flex;
    padding: 0;
  }

  .schedule-arrows {
    top: 10px;
    right: 10px;
  }

  .schedule-arrow {
    width: 46px;
    height: 46px;
  }

  .schedule-day {
    flex: 0 0 100%;
    border-top: 0;
    border-bottom: 0;
  }

  .schedule-day header {
    min-height: 68px;
    padding: 13px 14px;
  }

  .schedule-day header span {
    font-size: 22px;
  }

  .lesson-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 4px 8px;
    padding: 9px 11px;
  }

  .lesson-row strong {
    font-size: 16px;
  }

  .lesson-row a {
    width: max-content;
    min-width: 60px;
    padding: 7px 8px;
  }

  .lesson-row a::before {
    font-size: 9px;
  }

  .schedule-empty-state {
    min-height: 192px;
    padding: 20px 14px;
  }

  .schedule-empty-button {
    width: 100%;
    min-height: 52px;
  }

  .schedule .section-title h2 {
    font-size: clamp(32px, 10vw, 40px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .faq-grid article {
    min-height: 102px;
    padding: 16px;
  }

  .faq-grid h3 {
    font-size: 20px;
  }

  .faq-grid p {
    font-size: 15px;
  }

  .reviews-panel {
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
  }

  .source-logo {
    width: 58px;
    height: 58px;
  }

  .source-logo-zoon svg {
    width: 50px;
  }

  .source-logo-yandex svg {
    width: 46px;
    height: 46px;
  }

  .reviews-summary strong {
    font-size: clamp(30px, 10vw, 40px);
  }

  .reviews-score-card {
    padding: 18px;
  }

  .reviews-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-track {
    grid-auto-columns: 100%;
  }

  .reviews-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 268px;
    padding-right: 64px;
  }

  .review-card-head {
    padding-right: 88px;
  }

  .reviews-arrow {
    position: absolute;
    z-index: 2;
    top: 10px;
    width: 44px;
    height: 44px;
    min-height: 0;
    border: 1px solid rgba(251, 247, 244, 0.22);
    background: rgba(8, 7, 10, 0.72);
  }

  .reviews-arrow-prev {
    right: 62px;
  }

  .reviews-arrow-next {
    right: 12px;
  }

  .contacts-social-row {
    grid-template-columns: 1fr;
  }

  .contacts-social-row a {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contacts-social-row a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .hero-offer strong {
    font-size: 30px;
  }

  .teacher-row {
    grid-auto-columns: minmax(240px, 86vw);
  }

  .teacher-mini {
    min-height: 350px;
    padding: 14px;
  }

  .schedule-track {
    display: flex;
  }

  .lesson-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .lesson-row a {
    grid-column: 3;
    grid-row: 1 / 3;
    width: max-content;
    min-width: 56px;
    min-height: 44px;
    padding: 6px 6px;
  }

  .lesson-row a::before {
    font-size: 8px;
  }
}
