/* Beauty Academy Europe — светлая тёплая тема. Заголовки Onest, Unbounded только в логотипе первого экрана. */

:root {
  color-scheme: only light;
  --ground: #f7f3ee;
  --panel: #efe8df;
  --ink: #1f1c19;
  --grey: #4f463e;
  --line: #ddd3c7;
  --line-light: #e3dbd1;
  --taupe: #8a7a6b;
  --accent: #ad8b5e;
  --on-accent: var(--ink);
  --serif: "Unbounded", system-ui, sans-serif;
  --head: "Unbounded", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font: 400 18px/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.1; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.top {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  color: var(--ink);
}
.top-glass {
  position: fixed; inset: 0 0 auto; z-index: 9; height: var(--top-h, 108px); pointer-events: none;
  background: var(--glass, var(--ground));
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s ease, background-color 1s cubic-bezier(.45, 0, .25, 1);
}
.is-scrolled .top-glass { opacity: 1; }
.top__logo { text-decoration: none; }
.top__nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.lang { display: flex; gap: 2px; }
.lang button {
  background: none; border: 0; color: var(--grey); cursor: pointer;
  font: 400 13px var(--text); letter-spacing: .1em; padding: 6px 7px;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer; text-align: center;
  font: 400 13px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase;
  padding: 18px 32px; border: 1px solid currentColor;
  transition: background .2s, color .2s;
}
.btn--light { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost { background: none; color: var(--ink); }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn--dark:hover { background: #3a342e; }
.btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px var(--pad) 48px;
  background: var(--ground);
}
.hero__lamp {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 32% at 68% -4%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(ellipse 60% 70% at 66% 10%, rgba(255,255,255,.45), transparent 70%);
  opacity: 0;
  animation: lamp-on 1.4s .2s steps(1) forwards, lamp-glow 1.2s 1.4s ease-out forwards;
}
.hero__lamp::after {
  content: ""; position: absolute; top: -10%; left: 46%; width: 44%; height: 120%;
  background: conic-gradient(from 164deg at 50% -19%, rgba(255,255,255,0), rgba(255,255,255,.9) 9deg, rgba(255,255,255,.9) 23deg, rgba(255,255,255,0) 32deg);
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.33) 60%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.33) 60%, transparent 85%);
  transform: rotate(14deg); transform-origin: 50% 0;
}
@keyframes lamp-on { 0% { opacity: 0; } 18% { opacity: .5; } 26% { opacity: .1; } 40% { opacity: .8; } 50% { opacity: .3; } 62% { opacity: .85; } }
@keyframes lamp-glow { to { opacity: 1; } }

.strand { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .strand { z-index: 0; pointer-events: none; }
.strand use { fill: none; stroke: var(--taupe); }
.strand__hair use {
  stroke-width: 1.2; stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw 2.6s .9s cubic-bezier(.6,0,.2,1) forwards;
}
.strand__hair use:nth-child(1) { opacity: .9; }
.strand__hair use:nth-child(2) { animation-delay: 1.05s; opacity: .6; }
.strand__hair use:nth-child(3) { animation-delay: 1.2s; opacity: .4; }
.strand__hair use:nth-child(4) { animation-delay: 1.35s; opacity: .25; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.strand__gloss use {
  stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: 0;
  stroke-dasharray: 70 1930; stroke-dashoffset: 70;
  animation: gloss 7s 3.6s cubic-bezier(.45,0,.25,1) infinite;
}
.strand__gloss--core use { stroke-width: 1.6; stroke-dasharray: 40 1960; }
.is-off, .is-off * { animation-play-state: paused !important; }
.strand__gloss use:nth-child(2) { animation-delay: 3.8s; }
.strand__gloss use:nth-child(3) { animation-delay: 4s; }
.strand__gloss use:nth-child(4) { animation-delay: 4.2s; }
@keyframes gloss {
  0% { stroke-dashoffset: 70; opacity: 0; }
  8% { opacity: .9; }
  55% { stroke-dashoffset: -1000; opacity: .9; }
  60%, 100% { stroke-dashoffset: -1000; opacity: 0; }
}

.spot { position: relative; isolation: isolate; }
.spot-light {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 1520px; height: 1520px; margin: -760px 0 0 -760px;
  background: radial-gradient(circle closest-side,
    rgba(255,255,255,.5) 0%, rgba(255,255,255,.38) 14%, rgba(255,255,255,.24) 30%,
    rgba(255,255,255,.12) 48%, rgba(255,255,255,.04) 68%, rgba(255,255,255,0) 100%);
  opacity: 0; transition: opacity .6s ease;
  will-change: transform;
}
.spot-light.is-on { opacity: 1; }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__kicker {
  position: relative; margin: 0 0 22px;
  font-size: 14px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--grey);
}
.hero__title {
  -webkit-user-select: none; user-select: none;
  position: relative;
  font-weight: 300; font-size: min(13.6vw, 160px, calc((100vw - 2 * var(--pad)) / 6.9));
  line-height: .95; letter-spacing: .01em; text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: .9em; }
.hero__foot {
  position: relative; z-index: 3; margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: end; justify-content: space-between;
}
.hero__lead {
  margin: 0; max-width: 34ch; font-size: 21px; line-height: 1.5;
  text-shadow: 0 0 8px var(--ground), 0 0 18px var(--ground), 0 0 32px var(--ground);
}

section:not(.hero) { padding: clamp(72px, 10vw, 140px) var(--pad); }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(34px, 5.2vw, 76px); font-weight: 400; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; }
.section-head p { margin: 0; max-width: 56ch; color: var(--grey); }

.course-list { list-style: none; margin: 0; padding: 0; position: relative; }
.course-list::before {
  content: ""; position: absolute; top: 0; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad));
  height: 1px; background: var(--ink);
}
.course { border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--pad)); }
.course__row {
  --muted: var(--grey); --off: #cfc3b5;
  position: relative; display: grid; gap: 16px 40px; align-items: start; cursor: pointer;
  grid-template-columns: 8rem minmax(0, 1fr) 10rem 12rem;
  padding: 32px var(--pad);
  transition: background .25s, color .25s;
}
.course__row:hover { background: rgba(247,243,238,.55); }
.course__row:has(:checked) { background: var(--ground); color: var(--ink); --off: #ddd3c7; }
.course__row:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.course__pick { position: absolute; opacity: 0; pointer-events: none; }
.course__date { margin: 0; font: 300 24px/1.1 var(--head); }
.course__date small { display: block; margin-top: 8px; font: 400 14px var(--text); color: var(--muted); }
.course__name { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; }
.course__desc { margin: 10px 0 0; color: var(--muted); max-width: 60ch; font-size: 17px; }
.course__price { margin: 0; }
.course__price b { display: block; font: 300 24px var(--head); }
.course__price span { color: var(--muted); font-size: 14px; font-weight: 400; }
.seats { font-size: 14px; font-weight: 400; color: var(--muted); display: grid; gap: 6px; }
.comb {
  display: flex; gap: 3px; width: max-content;
  padding-top: 4px; border-top: 2px solid currentColor; color: var(--ink);
}
.comb i {
  width: 2px; height: 20px;
  background: linear-gradient(to bottom, currentColor calc(var(--f) * 100%), var(--off) 0);
}
.comb i:nth-child(10n) { height: 26px; }
.course--full .course__row { cursor: default; }
.course--full .course__row:hover { background: none; }
.course--full .course__name, .course--full .course__date, .course--full .course__price { opacity: .4; }

.checkout {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between;
  margin: 32px calc(-1 * var(--pad)) 0; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom));
  background: rgba(247,243,238,.9); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border-top: 1px solid var(--line);
}
.checkout::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(239,232,223,0), rgba(239,232,223,.75));
}
.checkout__info { display: grid; gap: 2px; min-width: 0; }
.checkout__label { color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.checkout__name { font: 400 21px/1.25 var(--head); }
.checkout__meta { color: var(--grey); font-size: 14px; font-weight: 400; }
.checkout__btn { padding: 18px 34px; }
.checkout__short { display: none; }
.courses__note { margin: 24px 0 0; color: var(--grey); font-size: 15px; font-weight: 400; }

.light { background: var(--ground); color: var(--ink); --line: var(--line-light); }

.about {
  background: var(--ground); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
}
.about h2 { font-size: clamp(32px, 4.6vw, 66px); font-weight: 400; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; }
.about__role { margin: 16px 0 32px; color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.about__text { max-width: 60ch; }
.about__sub { margin: 40px 0 12px; color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.schools { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.schools li { display: grid; grid-template-columns: 14rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.schools strong { font-weight: 400; }
.schools span { color: var(--grey); }

.about__mark { align-self: start; }
.about__num {
  display: block; font: 200 clamp(150px, 21vw, 320px)/.8 var(--head); letter-spacing: -.02em;
  background: linear-gradient(105deg, var(--ink) 0 38%, var(--accent) 46%, var(--ink) 54% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s 1s ease-in-out infinite;
}
@keyframes sheen { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.about__numlabel { display: block; margin-top: 22px; color: var(--grey); font-size: 14px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }

.trainer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.trainer {
  display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.trainer__name { margin: 0; font: 200 clamp(30px, 5.3vw, 76px)/1.05 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.trainer__role { margin: 0; color: var(--grey); }
.trainer--soon .trainer__name { color: transparent; -webkit-text-stroke: 1px rgba(31,28,25,.4); }

.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { counter-increment: step; padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--grey); }

.contact__title { font-size: clamp(34px, 5.2vw, 76px); font-weight: 400; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; }
.contact__text { max-width: 52ch; margin: 24px 0 32px; color: var(--grey); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__list { margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact__list dt { color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.contact__list dd { margin: 6px 0 0; font-size: 18px; }
.contact__next { margin-top: 48px; color: var(--grey); }
.foot { padding: 24px var(--pad); border-top: 1px solid var(--line); color: var(--grey); font-size: 14px; font-weight: 400; }

.pay {
  color-scheme: light;
  border: 0; padding: 0; max-width: 880px; width: calc(100% - 32px);
  background: #fff; color: #1a1a1a; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.pay::backdrop { background: rgba(31,28,25,.55); }
.pay__box { display: grid; grid-template-columns: 1fr 1fr; }
.pay__summary { padding: 40px; background: #f6f6f6; }
.pay__merchant { margin: 0 0 32px; font-weight: 600; font-size: 15px; }
.pay__title { font: 500 17px/1.4 system-ui, sans-serif; color: #555; }
.pay__amount { margin: 8px 0; font-size: 36px; font-weight: 600; }
.pay__hint { margin: 0; color: #666; font-size: 14px; }
.pay__fields { padding: 40px; display: grid; gap: 14px; font-size: 14px; }
.pay__fields label { display: grid; gap: 6px; color: #444; }
.pay__fields input:not([type="radio"]):not([type="checkbox"]) {
  font: 16px system-ui, sans-serif; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px;
}
.pay__fields input:focus { outline: 2px solid #635bff; outline-offset: 0; }
.pay__demo { margin: 0; padding: 8px 12px; background: #fff4d6; border-radius: 6px; color: #6b4e00; }
.pay__methods { border: 1px solid #ccc; border-radius: 6px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.pay__methods legend { padding: 0 4px; color: #444; }
.pay__methods label, .pay__check { display: flex !important; align-items: center; gap: 6px; }
.pay__company { display: grid; gap: 14px; }
.pay__error { margin: 0; color: #c0123c; min-height: 1em; }
.pay__submit {
  width: 100%; border-radius: 6px; background: #635bff; border-color: #635bff; color: #fff;
  font: 600 16px system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; padding: 15px 28px;
}
.pay__submit:hover { background: #4f46e5; }
.pay__close { background: none; border: 0; color: #666; cursor: pointer; font-size: 14px; text-decoration: underline; }
.pay__by { margin: 0; text-align: center; color: #999; font-size: 13px; }

@media (max-width: 1100px) {
  .course__row { grid-template-columns: 7rem minmax(0, 1fr) 11rem; }
  .course__row .seats { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .top { gap: 12px; }
  .top__nav { display: none; }
  .section-head, .about, .pay__box { grid-template-columns: 1fr; }
  .course__row { grid-template-columns: 1fr; padding: 28px var(--pad); }
  .course__row .seats { grid-column: auto; }
  .checkout { flex-wrap: nowrap; gap: 14px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .checkout::before { height: 32px; }
  .checkout__label, .checkout__meta { display: none; }
  .checkout__name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .checkout__btn { flex: none; padding: 15px 16px; font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
  .checkout__long { display: none; }
  .checkout__short { display: inline; }
  .contact__list { grid-template-columns: 1fr; }
  .trainer { grid-template-columns: 1fr; gap: 4px; }
  .step-list { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .about__mark { position: static; }
  .schools li { grid-template-columns: 1fr; gap: 2px; }
  .pay__summary, .pay__fields { padding: 24px; }
  .hero__title span:nth-child(2) { padding-left: .4em; }
  .hero__kicker { margin-bottom: 16px; font-size: 13px; letter-spacing: .12em; }
  .hero__lead { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strand__hair use { animation: none; stroke-dashoffset: 0; }
  .strand__gloss { display: none; }
  .hero__lamp { animation: none; opacity: 1; }
  .about__num { animation: none; }
}

.top__img { display: block; height: 72px; width: auto; filter: invert(.88); }
.foot__logo { display: block; height: 96px; width: auto; margin: 24px 0 8px; filter: invert(.88); }

.top__burger {
  display: none; position: relative; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.top__burger i {
  position: absolute; left: 9px; width: 26px; height: 1.5px; background: currentColor;
  transition: transform .3s ease, opacity .2s ease;
}
.top__burger i:nth-child(1) { top: 14px; }
.top__burger i:nth-child(2) { top: 21px; }
.top__burger i:nth-child(3) { top: 28px; }
.top__burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top__burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.top__burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang--menu { display: none; gap: 8px; margin: 32px 0 24px; }
.lang--menu button { font-size: 15px; padding: 10px 14px; border: 1px solid rgba(31,28,25,.2); }
.lang--menu button[aria-pressed="true"] { border-color: var(--ink); text-decoration: none; }
.menu {
  position: fixed; inset: 0; z-index: 9; background: var(--ground);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--top-h, 96px) + 16px) var(--pad) 40px;
}
.menu__nav { display: grid; }
.menu__nav a {
  font: 200 clamp(32px, 9.5vw, 54px)/1.15 var(--head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--line-light);
}
.menu__cta { text-align: center; }
.menu-open { overflow: hidden; }

.hero__next {
  position: relative; z-index: 3; align-self: flex-start; margin: 36px 0 8px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  padding: 14px 0 0; border-top: 1px solid #c9bdb0; text-decoration: none; font-size: 15px; font-weight: 400;
  text-shadow: 0 0 8px var(--ground), 0 0 16px var(--ground);
  transition: border-color .2s;
}
.hero__next:hover { border-color: var(--accent); }
.hero__next-label { color: var(--grey); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero__next > span:last-child { color: var(--grey); }

.waitlist { color: var(--ink); font-size: 14px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.contact__list a, .foot__links a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.course--full .seats { opacity: 1; }

.faq__list { border-top: 1px solid currentColor; max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0; font: 400 clamp(18px, 1.9vw, 23px)/1.35 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.3em; line-height: 1; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: var(--grey); }

.foot__legal {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start;
  padding: 32px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.foot__legal p { margin: 0 0 4px; }
.foot__company { color: var(--ink); }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot__pay { max-width: 30ch; }

@media (max-width: 860px) {
  .top__burger { display: block; }
  .top > .lang { display: none; }
  .lang--menu { display: flex; }
  .top__img { height: 60px; }
  .review-list, .foot__legal { grid-template-columns: 1fr; }
}

.reviews__stage { display: grid; grid-template-columns: minmax(80px, 200px) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); align-items: start; }
.reviews__mark {
  font: 300 clamp(150px, 19vw, 300px)/.7 var(--serif); -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px currentColor; opacity: .45; user-select: none;
  margin-top: -.08em;
}
.review-list { list-style: none; margin: 0; padding: 0; display: grid; }
.review-list { gap: 48px; }
.reviews--js .review-list { gap: 0; }
.reviews--js .review { grid-area: 1 / 1; }
.review { transition: opacity .5s ease, transform .5s ease; }
.review blockquote { margin: 0; max-width: 24ch; font: 400 clamp(30px, 3.7vw, 54px)/1.18 var(--serif); }
.review__who { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.review__who::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.reviews--js .review:not(.is-active) { opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s .3s; }
.reviews__nav { grid-column: 2; display: flex; align-items: center; gap: 18px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.reviews__arrow {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: none; color: inherit; border: 1px solid currentColor; font: 300 18px var(--text);
  transition: background .2s, color .2s;
}
.reviews__arrow:hover { background: var(--ink); color: var(--ground); }
.reviews__count { font: 400 14px var(--head); letter-spacing: .14em; min-width: 5.5em; }
.reviews__bars { display: flex; align-items: flex-end; gap: 6px; margin-right: auto; height: 24px; }
.reviews__bars button { width: 2px; height: 14px; padding: 0; border: 0; cursor: pointer; color: inherit; background: currentColor; opacity: .3; transition: height .3s, opacity .3s; }
.reviews__bars button[aria-current="true"] { height: 24px; opacity: 1; }
@media (max-width: 860px) {
  .reviews__stage { grid-template-columns: 1fr; }
  .reviews__mark { font-size: 120px; height: .55em; margin-top: 0; }
  .reviews__nav { grid-column: 1; }
  .review blockquote { max-width: none; }
}

.course__trainer { margin: 14px 0 0; font-size: 15px; font-weight: 400; color: var(--muted); }
.course__trainer b { font-weight: 500; color: var(--ink); }

.course__more {
  grid-column: 2 / -1; display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.course__row:has(:checked) .course__more { display: grid; animation: more-in .35s ease; }
@keyframes more-in { from { opacity: 0; transform: translateY(-6px); } }
.hours__total { margin: 0 0 10px; font: 400 18px var(--head); }
.hours__bar { display: flex; gap: 3px; height: 10px; }
.hours__bar i { display: block; }
.hours__p { background: currentColor; }
.hours__t { border: 1px solid currentColor; }
.hours__legend { display: flex; gap: 20px; margin: 10px 0 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.hours__key { display: inline-flex; align-items: center; gap: 8px; }
.hours__key::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; }
.hours__key--p::before { background: currentColor; }
.course__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 400; }
.course__inc li { display: flex; gap: 10px; }
.course__inc li::before { content: "✓"; font-weight: 600; }

.proof {
  margin: 40px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: baseline;
  max-width: 820px;
}
.proof::before { content: "“"; grid-row: span 2; font: 400 72px/.6 var(--serif); color: var(--accent); }
.proof blockquote { margin: 0; font: 400 clamp(21px, 2.1vw, 27px)/1.35 var(--serif); }
.proof figcaption { color: var(--grey); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 860px) {
  .course__more { grid-column: auto; grid-template-columns: 1fr; }
}

@media (hover: none), (max-width: 860px) {
  html { background: var(--ground); }
  body::after { transform: translateZ(0); }
  .hero { isolation: isolate; }
  .hero__lamp, .hero .strand { transform: translateZ(0); }
  .top-glass { transition: background-color 1s cubic-bezier(.45, 0, .25, 1); }
}

.top-edge {
  position: fixed; top: 0; left: 0; right: 0; height: 12px; z-index: 101;
  background: var(--glass, var(--ground));
  opacity: 0; transition: opacity .5s ease, background-color 1s cubic-bezier(.45, 0, .25, 1);
}
.is-scrolled .top-edge { opacity: 1; }
.menu-open .top-edge { opacity: 1; background: var(--ground); transition: none; }
@media (hover: none), (max-width: 860px) {
  .top-edge { transition: background-color 1s cubic-bezier(.45, 0, .25, 1); }
}

/* ===== Дополнения v2: рамки под фото, иконки, появление, подпись в подвале ===== */



.photo { position: relative; overflow: hidden; background: linear-gradient(165deg, #ebe3d8, #e1d6c8); }
.photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 55% at 30% 0%, rgba(255,255,255,.6), transparent 70%); }
.photo::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7a6b' stroke-width='.9' stroke-linejoin='round'%3E%3Cpath d='M3 7.5h4l1.6-2.5h6.8L17 7.5h4v11H3z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.photo--arch { border-radius: 999px 999px 0 0; }
.about__photo { margin-top: 48px; aspect-ratio: 3 / 4; max-width: 380px; }
.step__photo { height: clamp(220px, 23vw, 330px); margin-bottom: 28px; }

.step__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.step__num::before { content: counter(step); display: block; font: 200 72px/1 var(--head); }
.step__icon { flex: none; width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }

.foot { container-type: inline-size; }
.foot__mark {
  margin: clamp(32px, 6vw, 72px) 0 0; color: var(--ink); white-space: nowrap; user-select: none;
  font-weight: 300; font-size: 7.4vw; font-size: calc(100cqw / 11.9); line-height: .8; letter-spacing: .01em; text-transform: uppercase;
}

.js-reveal :is(.section-head, .about__mark, .about__body > *, .trainer, .step, .faq__list, .reviews__stage, .contact > *, .proof) {
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.js-reveal :is(.section-head, .about__mark, .about__body > *, .trainer, .step, .faq__list, .reviews__stage, .contact > *, .proof):not(.is-in) {
  opacity: 0; transform: translateY(18px);
}
.js-reveal .step:nth-child(2), .js-reveal .trainer:nth-child(2) { transition-delay: .12s; }
.js-reveal .step:nth-child(3), .js-reveal .trainer:nth-child(3) { transition-delay: .24s; }
.js-reveal .step:nth-child(4) { transition-delay: .36s; }
.comb { transition: clip-path 1.4s cubic-bezier(.6,0,.2,1) .2s; }
.js-reveal .course-list:not(.is-in) .comb { clip-path: inset(0 100% 0 0); }

@media (max-width: 860px) {
  .step__head { margin-bottom: 16px; }
  .step__num::before { font-size: 48px; }
  .step__photo { height: auto; aspect-ratio: 16 / 9; margin-bottom: 20px; }
  .about__photo { margin-top: 32px; max-width: 320px; }
}

/* Отель для учеников (5.11.2026) */
.hotel { border-top: 1px solid var(--line); }
.hotel .section-head { margin-bottom: 32px; }
html, body { overflow-x: clip; }

/* 5.11.2026 · Типографика без шаблонов: заголовки Onest, без капса и меток-«бровей».
   Unbounded остаётся только в логотипе первого экрана — одна яркая деталь. */
.section-head h2, .about h2, .contact__title {
  font-family: var(--text); font-weight: 600; text-transform: none;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.025em;
}
.course__name, .step h3, .trainer__name { font-family: var(--text); font-weight: 600; letter-spacing: -.01em; }
.course__price b { font: 600 28px/1.1 var(--text); letter-spacing: -.02em; }
.top__nav, .hero__kicker, .about__role, .about__sub, .about__numlabel, .checkout__label,
.review__who, .contact__list dt, .proof figcaption, .hero__next-label, .checkout__btn, .btn {
  text-transform: none; letter-spacing: 0;
}
.top__nav { font-size: 15px; font-weight: 500; }
.hero__kicker, .about__numlabel { font-size: 16px; font-weight: 500; }
.about__role { font-size: 18px; font-weight: 500; color: var(--ink); }
.about__sub { font-size: 15px; font-weight: 600; color: var(--ink); }
.btn { font-size: 16px; font-weight: 600; }

/* Детали курса: доля практики, сертификат, цена за час, мало мест */
.course__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.course__facts span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.course__hour { display: block; margin-top: 4px; }
.seats--low { color: var(--ink); font-weight: 600; }

/* Длинные @ники в отзыве переносятся, а не вылезают за экран на телефоне */
.review { min-width: 0; }
.review blockquote { overflow-wrap: anywhere; }

/* Варианты курса: два «билета» в одной карточке, цена меняется по выбору */
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0 4px; }
.variant {
  position: relative; display: grid; gap: 4px; padding: 16px 18px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.variant:hover { border-color: var(--ink); }
.variant.is-on { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.variant__name { font-weight: 600; font-size: 17px; }
.variant__meta { font-size: 14px; line-height: 1.4; opacity: .75; }
.variant__price { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.variant__badge {
  position: absolute; top: -10px; right: 14px; padding: 2px 10px; border-radius: 999px;
  font: 600 12px/1.6 var(--text); font-style: normal; background: var(--accent); color: var(--ink);
}
.variant:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.course--variants .course__price b { display: none; }
.course--variants .course__price span:first-of-type { font-size: 16px; color: var(--ink); font-weight: 500; }
.course__facts:empty { display: none; }

/* Фото в рамках: ч/б, как весь сайт; заглушка-камера прячется, когда фото есть */
.photo__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.photo:has(.photo__img)::after { display: none; }

/* Пока вариант не выбран, строка с предоплатой скрыта */
.course--unpicked .course__price { display: none; }

/* ===== Подвал (11.11.2026): логотип и реквизиты в одну сетку, внизу бегущая надпись крупными буквами ===== */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: 32px; align-items: start; padding: clamp(40px, 6vw, 72px) var(--pad) 0; overflow: hidden; }
.foot__logo { margin: 0; height: 84px; }
.foot__legal { margin: 0; padding: 0 0 32px; border-bottom: 0; }
.foot__copy { grid-column: 1 / -1; padding: 20px 0; border-top: 1px solid var(--line); }
.foot__mark {
  grid-column: 1 / -1; margin: 0 calc(-1 * var(--pad)); padding: clamp(8px, 2vw, 24px) 0 clamp(16px, 3vw, 40px);
  font-size: clamp(64px, 13vw, 220px); line-height: .9; overflow: hidden;
}
.foot__track { display: flex; width: max-content; animation: foot-run 60s linear infinite; }
.foot__group { display: flex; align-items: center; flex: none; margin: 0; }
.foot__group span { padding: 0 .3em; }
.foot__group i { flex: none; width: .14em; height: .14em; border-radius: 50%; background: var(--accent); }
.foot__track.is-off { animation-play-state: paused; }
@keyframes foot-run { to { transform: translateX(-50%); } }
@media (max-width: 860px) {
  .foot { grid-template-columns: 1fr; row-gap: 28px; }
  .foot__logo { height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .foot__track { animation: none; } }

/* Подстраницы (регламент, политика, 404): логотип справа, чтобы не наезжал на текст */
.top--right { justify-content: flex-end; }
.top--right { background: var(--ground); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.top--right .top__img { height: 56px; }
html:has(.top--right) { scroll-padding-top: 110px; }

/* Страницы документов: регламент, политика */
.doc { max-width: 760px; padding: 128px var(--pad) 80px; line-height: 1.65; }
.doc h1 { font: 600 clamp(34px, 5vw, 56px)/1.05 var(--text); letter-spacing: -.025em; margin: 8px 0 12px; }
.doc h2 { font: 600 clamp(20px, 2.4vw, 26px)/1.2 var(--text); letter-spacing: -.01em; margin: 40px 0 12px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin: 0 0 8px; }
.doc__draft { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--grey); font-size: 15px; }
.doc__date { color: var(--grey); }
.doc mark { background: #f3e3a8; color: var(--ink); padding: 0 .2em; }
.doc a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.doc__back { margin-top: 40px; }

/* Тренеры: маленький портрет слева от имени (11.11.2026). Пустая рамка, пока нет одобренного фото */
.trainer { grid-template-columns: clamp(72px, 9vw, 120px) minmax(0, 1fr) 16rem; align-items: center; }
.trainer__photo { aspect-ratio: 4 / 5; border-radius: 12px; }
.trainer__photo::after { transform: scale(.6); }
@media (max-width: 860px) {
  .trainer { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .trainer__photo { grid-row: span 2; }
}

/* Совместимость: то же, что :has(), но через класс из JS */
.course__row.is-on { background: var(--ground); color: var(--ink); --off: #ddd3c7; }
.course__row.is-on .course__more { display: grid; animation: more-in .35s ease; }
/* Фокус фото на лицах: точка задаётся в разметке через --fx / --fy */
.photo__img { object-position: var(--fx, 50%) var(--fy, 50%); }
/* Палец: ссылки в подвале и «напишите, чтобы записаться» ниже 44px — расширяем зону нажатия без смены вида */
@media (hover: none), (max-width: 860px) {
  footer a, .waitlist { position: relative; }
  footer a::after, .waitlist::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
}
/* Телевизоры и 4K-мониторы с масштабом 100%: увеличиваем всё пропорционально */
@media (min-width: 2400px) { body { zoom: 1.5; } }
@media (min-width: 3200px) { body { zoom: 2; } }
/* Работы тренера в карточке курса */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 4px; max-width: 520px; }
.works img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
/* Работы тренера v2: крупная лента + галерея */
.works { grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 8px; max-width: 760px; }
.works__item { position: relative; display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #ddd3c7; cursor: zoom-in; aspect-ratio: 4 / 5; }
.works__item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .works__item:hover img { transform: scale(1.05); } }
.works__item:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.works__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,16,14,.55); color: #fff; font: 500 clamp(20px, 3vw, 30px)/1 var(--head); letter-spacing: -.01em; }
@media (max-width: 560px) { .works { grid-template-columns: repeat(4, 1fr); gap: 6px; } .works__item { border-radius: 8px; } }
.lb { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgb(14,12,11); padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 560px) { .lb { padding: 64px 8px; } .lb__nav { top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); transform: none; } }
/* Анонс без даты (Эшфорт): без огромных «Дата/Цена wkrótce» и пустой шкалы мест */
.course__row--tbd .course__date { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; color: var(--grey); }
.course__row--tbd .course__price { display: none; }
.course__row--tbd .seats > :not(.waitlist) { display: none; }
.course__row--tbd .waitlist { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
@media (hover: hover) { .course__row--tbd .waitlist:hover { background: var(--ink); color: var(--ground); } }
.course__row--tbd .seats { font-size: 0; display: block; }
.course__row--tbd .waitlist { font-size: 15px; width: auto; }
.course__row--tbd .course__name, .course__row--tbd .course__desc { color: var(--ink); opacity: 1; }
.course__row--tbd .waitlist { white-space: nowrap; } @media (min-width: 861px) { .course__row--tbd .seats { justify-self: end; } }
/* Работы: ПК — сетка 4 плитки, остальное в галерее; телефон — свайп-лента со всеми работами */
.works__item:nth-child(n+5) { display: none; }
@media (max-width: 860px) {
  .works { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); max-width: none; }
  .works::-webkit-scrollbar { display: none; }
  .works__item, .works__item:nth-child(n+5) { display: block; flex: 0 0 42%; scroll-snap-align: start; }
  .works__more { display: none; }
}
/* ПК v3: все работы одной тонкой лентой, без «+N» */
@media (min-width: 861px) {
  .works { grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 760px; margin: 22px 0 6px; }
  .works__item:nth-child(n+5) { display: block; }
  .works__more { display: none; }
  .works__item { border-radius: 6px; }
}
/* ПК v4: коллаж работ справа от текста (одна крупная + две), ссылка «Все работы» */
.works__all { display: none; }
@media (min-width: 861px) {
  .course__main.has-works { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 400px); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
  .course__main.has-works > * { grid-column: 1; }
  .course__main.has-works > .works { grid-column: 2; grid-row: 1 / span 4; }
  .course__main.has-works > .variants, .course__main.has-works > .course__more { grid-column: 1 / -1; }
  .works { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr auto; gap: 8px; max-width: none; margin: 4px 0 0; }
  .works__item { aspect-ratio: auto; border-radius: 10px; }
  .works__item:nth-child(1) { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
  .works__item:nth-child(n+4) { display: none; }
  .works .works__all { display: block; grid-column: 1 / -1; aspect-ratio: auto; background: none; padding: 6px 0; text-align: left; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; cursor: pointer; border-radius: 0; }
}
@media (max-width: 860px) { .works .works__all { display: none; } }
@media (min-width: 861px) {
  .course__main.has-works { grid-template-columns: minmax(0, 1fr) clamp(240px, 22vw, 340px); }
  .works__item:nth-child(2), .works__item:nth-child(3) { position: relative; min-height: 0; }
  .works__item:nth-child(2) img, .works__item:nth-child(3) img { position: absolute; inset: 0; }
}
/* Карточки с вариантами: колонки цены нет, поэтому места и коллаж занимают всю ширину */
@media (min-width: 1101px) {
  .course__row:has(.course__main.has-works) { grid-template-columns: 8rem minmax(0, 1fr) 13rem; }
  .course__main.has-works { grid-template-columns: minmax(0, 1fr) clamp(260px, 28vw, 520px); }
}
/* ПК v5: варианты под текстом слева, коллаж справа на всю высоту карточки */
@media (min-width: 861px) {
  .course__main.has-works { grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 440px); grid-auto-flow: row dense; }
  .course__main.has-works > .variants { grid-column: 1; margin-top: 8px; }
  .course__main.has-works > .works { grid-row: 1 / span 6; align-self: start; }
  .course__main.has-works > .course__more { grid-column: 1 / -1; }
}
@media (min-width: 861px) { .course__main.has-works > .variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (min-width: 861px) and (max-width: 1399px) { .course__main.has-works { grid-template-columns: minmax(0, 1fr) clamp(200px, 20vw, 260px); column-gap: 28px; } }
/* Блок мест v2: крупная цифра, подпись, гребень снизу */
.seats:has(.seats__n) { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.seats__n { order: 0; display: block; font: 300 clamp(44px, 4.2vw, 64px)/.9 var(--head); letter-spacing: -.03em; color: var(--ink); }
.seats__l { order: 1; display: block; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--grey); white-space: nowrap; }
.seats:has(.seats__n) .comb { order: 2; margin-top: 16px; }
.seats--low .seats__n { color: #9a3b2a; }
/* Курсы с вариантами: цена и предоплата уже в карточке варианта и в нижней панели — колонку справа оставляем под места */
.course__row:has(.variants) > .course__price { display: none; }
/* Малые группы: квадрат точек, одна точка = одно место (5×5 для 25), заполняет колонку */
.seats--v3 .comb { display: none; }
.dots { order: 2; display: grid; grid-template-columns: repeat(var(--cols, 5), 14px); gap: 10px; margin-top: 22px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dots i.on { background: var(--ink); }
.seats--low .dots i { border-color: #9a3b2a; } .seats--low .dots i.on { background: #9a3b2a; }
/* Смена варианта: только мягкая смена цвета карточек и короткое проявление цифр */
.variant { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
@keyframes swap-in { from { opacity: 0; } to { opacity: 1; } }
.is-swap .seats__n, .is-swap .seats__l, .is-swap .course__date { animation: swap-in .25s ease both; }
@media (prefers-reduced-motion: reduce) { .variant { transition: none; } .is-swap * { animation: none !important; } }
/* Смена цифры мест: старая уезжает вверх, новая въезжает снизу */
.roll { position: relative; display: block; overflow: hidden; order: 0; }
.roll .seats__n { animation: none; }
.roll__old { position: absolute; left: 0; top: 0; animation: roll-out .35s cubic-bezier(.4,0,.2,1) both !important; }
.roll__new { animation: roll-in .35s cubic-bezier(.4,0,.2,1) both !important; }
@keyframes roll-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes roll-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.pay__note { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--grey); }
@media (min-width: 861px) { .course__main.has-works > .variants { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } .course__main.has-works > .variants:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 861px) { .course__main.has-works > .variants:has(> :nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); } .course__main.has-works > .variants:has(> :nth-child(5)) > * { grid-column: span 2; } .course__main.has-works > .variants:has(> :nth-child(5)) > :nth-child(n+4) { grid-column: span 3; } }
/* Анонс с коллажем (Росси): своя колонка под кнопку, кнопка не наезжает на фото */
@media (min-width: 1101px) {
  .course__row--tbd:has(.course__main.has-works) { grid-template-columns: 8rem minmax(0, 1fr) 13rem; }
}
@media (min-width: 861px) {
  .course__row--tbd:has(.course__main.has-works) .seats { justify-self: stretch; }
  .course__row--tbd:has(.course__main.has-works) .waitlist { white-space: normal; width: 100%; justify-content: center; text-align: center; padding: 10px 16px; line-height: 1.3; }
}
.course__row { scroll-margin-top: 96px; }
.course__ig { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; } .trainer__ig { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--grey); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 860px) { .step { padding-right: 0; } }
