/* ============================================================
   Всё о банном венике · семинар · Казань
   Тёмная тёплая «парная»: обугленный дуб, пар, дубовый лист, латунь
   ============================================================ */
:root {
  --ground: #17120e;
  --ground-2: #201811;
  --ground-3: #2a2018;
  --steam: #efe6d6;
  --steam-70: rgba(239, 230, 214, .7);
  --steam-45: rgba(239, 230, 214, .45);
  --steam-12: rgba(239, 230, 214, .12);
  --steam-06: rgba(239, 230, 214, .06);
  --leaf: #8fbf4a;
  --leaf-deep: #4f7a2b;
  --brass: #e0a83a;
  --brass-deep: #b9822a;
  --ember: #d0563a;
  --wa: #4fd07a;
  --tg: #4fb3e8;

  /* запасные — только узкие: широкий Helvetica раздувал первый экран на iPhone */
  --font-display: "Alumni Sans", "Arial Narrow", "HelveticaNeue-CondensedBlack", "Helvetica Neue Condensed", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --gutter: 20px;
  --top-h: 56px;
  --dock-h: 64px;
  --radius: 22px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--steam);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

#fx {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .95;
}
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
.h1, .h2, .step h3, .card h3, .price__n, .cd__num, .marks b, .step__n {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.h1 {
  font-weight: 900;
  font-size: clamp(4.2rem, 21.5vw, 12rem);
  line-height: .84;
  text-wrap: balance;
}
.h1__line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.h1__line > span { display: block; }
.h1__line--accent { color: var(--brass); }
.no-display-font .h1 { font-size: clamp(2.6rem, 15vw, 7rem); } /* класс ставит main.js, если Alumni Sans не загрузился */
.h2 {
  font-weight: 800;
  font-size: clamp(2.7rem, 12vw, 5.6rem);
  line-height: .9;
  text-wrap: balance;
}
.h2 .accent { color: var(--brass); }
.kicker {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--leaf);
  margin-bottom: .5rem;
}
.eyebrow {
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steam-70);
}
.lead { font-size: 1.06rem; line-height: 1.5; color: var(--steam-70); max-width: 34rem; }
.hand { font-family: var(--font-hand); font-weight: 600; font-size: 1.45rem; color: var(--brass); line-height: 1.1; }
.sec__head { padding: 0 var(--gutter); margin-bottom: 1.6rem; }
.sec__head .lead { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 58px; padding: 0 1.6rem; border-radius: 16px;
  font-weight: 600; font-size: 1.05rem;
  transition: transform .18s ease, filter .18s ease;
}
.btn:active { transform: scale(.97); }
.btn--brass {
  background: linear-gradient(180deg, #ecb650, var(--brass) 55%, var(--brass-deep));
  color: #1a130c;
  box-shadow: 0 10px 30px -10px rgba(224, 168, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--brass:hover { filter: brightness(1.06); }

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--top-h);
  display: flex; align-items: center; gap: .8rem;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(23, 18, 14, .92), rgba(23, 18, 14, .6) 70%, rgba(23, 18, 14, 0));
  font-size: .85rem;
}
.top__brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; letter-spacing: .01em; }
.top__mark { width: 22px; height: 22px; color: var(--leaf); }
.top__meta { margin-left: auto; color: var(--steam-70); white-space: nowrap; }
.top__call { display: none; }
@media (min-width: 720px) {
  .top { height: 64px; }
  .top__call {
    display: inline-flex; align-items: center; height: 38px; padding: 0 1rem; border-radius: 10px;
    border: 1px solid var(--steam-12); font-weight: 600; margin-left: .6rem;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--top-h) + 3.2rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.broom { position: absolute; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); will-change: transform; }
.broom--main {
  width: 78vw; max-width: 520px; height: auto;
  right: -16vw; top: 4%;
  transform-origin: 50% 90%;
}
.broom--pair {
  width: 46vw; max-width: 320px; height: auto;
  left: -18vw; bottom: 26%;
  opacity: .28;
  filter: blur(1.5px) drop-shadow(0 20px 30px rgba(0, 0, 0, .5));
}
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 18, 14, .15) 0%, rgba(23, 18, 14, 0) 22%, rgba(23, 18, 14, .55) 55%, rgba(23, 18, 14, .96) 78%),
    radial-gradient(60% 40% at 50% 100%, rgba(224, 168, 58, .12), transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.hero__lead { max-width: 30rem; }
.facts {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  padding: .9rem 0; border-top: 1px solid var(--steam-12); border-bottom: 1px solid var(--steam-12);
}
.facts li { display: grid; gap: .1rem; }
.facts b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.facts li > span { font-size: .78rem; color: var(--steam-45); text-transform: uppercase; letter-spacing: .06em; }
.hero__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__hand { transform: rotate(-4deg); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 14px; width: 22px; height: 34px; margin-left: -11px;
  border: 1.5px solid var(--steam-45); border-radius: 12px; opacity: .8;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--brass); animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1 } 60% { transform: translateY(10px); opacity: .2 } }

@media (min-width: 900px) {
  .hero { padding: calc(var(--top-h) + 4rem) 5vw 5rem; justify-content: center; min-height: 100vh; }
  .hero__inner { max-width: 640px; }
  .broom--main { width: 40vw; max-width: 620px; right: 4vw; top: 8%; }
  .broom--pair { width: 20vw; left: 50vw; bottom: 2%; opacity: .22; }
  .hero__art::after { background: linear-gradient(90deg, rgba(23, 18, 14, .9) 25%, rgba(23, 18, 14, .35) 55%, rgba(23, 18, 14, .05) 100%); }
  .h1 { font-size: clamp(6rem, 9.4vw, 10.5rem); }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--steam-12); border-bottom: 1px solid var(--steam-12);
  padding: .9rem 0; margin: 0 0 4.5rem;
  background: var(--ground-2);
}
.marquee__track {
  display: flex; align-items: center; gap: 1.4rem; width: max-content;
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--steam-70);
  animation: marquee 28s linear infinite;
}
.marquee__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- who: sticky stack ---------- */
.who { padding: 0 0 5rem; }
.stack { display: grid; gap: 1rem; padding: 0 var(--gutter); }
.card {
  position: sticky; top: calc(var(--top-h) + 14px);
  min-height: min(66svh, 560px);
  display: grid; grid-template-rows: auto auto auto 1fr; gap: .9rem;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: var(--radius);
  background: var(--ground-2);
  border: 1px solid var(--steam-12);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, .8);
  transform-origin: 50% 0%;
  overflow: hidden;
}
.card--2 { background: #1c1a12; }
.card--3 { background: #1a1512; }
.card__tag {
  justify-self: start;
  font-family: var(--font-hand); font-size: 1.35rem; font-weight: 600; color: var(--leaf);
}
.card h3 { font-weight: 800; font-size: clamp(2rem, 8.6vw, 3.2rem); line-height: .92; text-wrap: balance; }
.card p { color: var(--steam-70); font-size: 1rem; }
.card__img {
  align-self: end; width: 100%; height: 190px; object-fit: cover; border-radius: 14px;
  margin-top: .4rem;
}
@media (min-width: 900px) {
  .stack { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 0 auto; }
  .card { position: relative; top: auto; min-height: 560px; }
  .card__img { height: 230px; }
}

.voices { margin: 2.4rem 0 0; }
.voices__label { padding: 0 var(--gutter); font-family: var(--font-hand); font-weight: 600; font-size: 1.35rem; color: var(--leaf); margin-bottom: .6rem; }
.voices__strip { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.voices__strip::-webkit-scrollbar { display: none; }
.voice { flex: none; width: min(74vw, 320px); margin: 0; padding: 1rem 1.1rem 1rem; border-radius: 16px; background: var(--ground-3); border: 1px solid var(--steam-12); scroll-snap-align: start; display: grid; gap: .6rem; align-content: space-between; }
.voice p { font-size: 1.08rem; line-height: 1.3; color: var(--steam); text-wrap: balance; }
.voice cite { font-style: normal; font-size: .78rem; color: var(--steam-45); text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 900px) {
  .voices { max-width: var(--max-w); margin: 3rem auto 0; }
  .voices__label, .voices__strip { padding-left: 0; padding-right: 0; }
  .voice { width: 300px; }
}
.stats { margin: 2.2rem var(--gutter) 0; display: grid; gap: 0; border-top: 1px solid var(--steam-12); }
.stats li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--steam-12); }
.stats b { font-family: var(--font-display); font-weight: 900; font-size: 3.2rem; line-height: .9; color: var(--brass); letter-spacing: .01em; min-width: 4.2rem; }
.stats li > span { color: var(--steam-70); font-size: .95rem; line-height: 1.35; }
.countdown__hint { color: var(--steam-45); font-size: .88rem; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--max-w); margin: 3rem auto 0; border-top: 0; }
  .stats li { grid-template-columns: 1fr; gap: .4rem; border-top: 1px solid var(--steam-12); border-bottom: 0; padding-top: 1.2rem; }
  .stats b { font-size: 4rem; }
}

/* ---------- program: pinned horizontal ---------- */
.program { position: relative; padding: 0 0 5rem; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.program__head { padding: calc(var(--top-h) + .5rem) var(--gutter) 1.2rem; }
.program__bar { height: 3px; margin-top: 1rem; background: var(--steam-12); border-radius: 2px; overflow: hidden; }
.program__bar i { display: block; height: 100%; width: 100%; background: var(--leaf); transform-origin: 0 50%; transform: scaleX(0); }
.program__viewport { overflow: hidden; }
.program__track { display: flex; gap: 14px; padding: 0 var(--gutter); width: max-content; }
.step {
  position: relative; flex: none;
  width: min(80vw, 380px); min-height: 440px;
  padding: 1.2rem 1.2rem 1.2rem;
  border-radius: var(--radius);
  background: var(--ground-2);
  border: 1px solid var(--steam-12);
  display: grid; grid-template-rows: auto auto 1fr; gap: .6rem;
  overflow: hidden;
}
.step__n {
  font-weight: 900; font-size: 5.4rem; line-height: .8; color: var(--steam-06);
  position: absolute; right: .8rem; top: .6rem;
}
.step h3 { font-weight: 800; font-size: 2.6rem; line-height: .9; }
.step ul { display: grid; gap: .35rem; align-content: start; }
.step li { position: relative; padding-left: 1.1rem; color: var(--steam-70); font-size: .98rem; }
.step li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.step__img {
  position: absolute; right: -8%; bottom: -6%; width: 62%; height: auto; opacity: .9;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55));
  pointer-events: none;
}
.step__img--photo { width: 100%; height: 150px; object-fit: cover; position: static; opacity: 1; filter: none; border-radius: 12px; align-self: end; }
@media (min-width: 900px) {
  .program__head { max-width: var(--max-w); margin: 0 auto; width: 100%; padding-left: 5vw; }
  .program__track { padding: 0 5vw; gap: 20px; }
  .step { width: 400px; min-height: 480px; }
}

/* ---------- masters ---------- */
.masters { padding: 2rem 0 5rem; display: grid; gap: 1.6rem; }
.masters__photo {
  margin: 0 var(--gutter);
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3.6;
}
.masters__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.masters__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 18, 14, 0) 55%, rgba(23, 18, 14, .75) 100%);
}
.masters__text { padding: 0 var(--gutter); display: grid; gap: 1rem; }
.marks { display: flex; gap: 1.4rem; flex-wrap: wrap; padding-top: .6rem; border-top: 1px solid var(--steam-12); }
.marks li { display: grid; gap: .1rem; }
.marks b { font-weight: 800; font-size: 2rem; line-height: 1; color: var(--brass); }
.marks li > span { font-size: .78rem; color: var(--steam-45); text-transform: uppercase; letter-spacing: .06em; }
.masters__strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--gutter) 6px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.masters__strip::-webkit-scrollbar { display: none; }
.masters__strip img {
  flex: none; width: 64vw; max-width: 300px; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px; scroll-snap-align: start;
}
@media (min-width: 900px) {
  .masters { grid-template-columns: 1fr 1fr; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 4rem 5vw 6rem; column-gap: 3rem; }
  .masters__photo { margin: 0; aspect-ratio: 1 / 1; }
  .masters__text { padding: 0; }
  .masters__strip { grid-column: 1 / -1; padding: 0; }
  .masters__strip img { width: 25%; max-width: none; flex: 1; }
}

/* ---------- live video ---------- */
.live { padding: 0 0 5rem; }
.live__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 var(--gutter); align-items: start; }
.clip { margin: 0; display: grid; gap: .6rem; }
.clip video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px;
  background: var(--ground-3); border: 1px solid var(--steam-12);
}
.clip figcaption { font-family: var(--font-hand); font-weight: 600; font-size: 1.15rem; color: var(--steam-70); line-height: 1.15; }
.clip--offset { margin-top: 3.2rem; }
@media (min-width: 900px) {
  .live__grid { max-width: 760px; margin: 0 auto; gap: 24px; }
  .clip figcaption { font-size: 1.4rem; }
}

/* ---------- get ---------- */
.get { padding: 0 0 5rem; }
.get__list { padding: 0 var(--gutter); display: grid; gap: 0; counter-reset: get; }
.get__list li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .8rem; align-items: baseline;
  padding: 1.1rem 0; border-top: 1px solid var(--steam-12);
  counter-increment: get;
}
.get__list li::before {
  content: counter(get, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--leaf); grid-row: 1 / 3;
}
.get__list b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: .95; letter-spacing: .01em; }
.get__list span { grid-column: 2; color: var(--steam-70); font-size: .97rem; }
.price {
  margin: 1.4rem var(--gutter) 0; padding: 1.4rem 1.3rem;
  border-radius: var(--radius); background: var(--ground-2); border: 1px solid var(--steam-12);
  display: grid; gap: .3rem;
  position: relative; overflow: hidden;
}
.price::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 168, 58, .22), transparent 70%);
}
.price__n { font-weight: 900; font-size: clamp(4.6rem, 22vw, 7rem); line-height: .85; color: var(--brass); font-variant-numeric: tabular-nums; }
.price__note { font-size: .82rem; color: var(--steam-45); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) {
  .get { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw 6rem; }
  .get__list { grid-template-columns: 1fr 1fr; gap: 0 3rem; padding: 0; }
  .price { margin: 2rem 0 0; grid-template-columns: auto 1fr; align-items: end; gap: 1.6rem; }
}

/* ---------- faq ---------- */
.faq { padding: 0 0 5rem; }
.faq__list { padding: 0 var(--gutter); display: grid; gap: 8px; }
.faq__item { border-radius: 18px; background: var(--ground-2); border: 1px solid var(--steam-12); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; position: relative;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: 1; letter-spacing: .01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(45deg); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 1.1rem 1.1rem; color: var(--steam-70); font-size: .98rem; }
@media (min-width: 900px) {
  .faq { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw 6rem; }
  .faq__list { grid-template-columns: 1fr 1fr; padding: 0; gap: 12px; }
  .faq__item summary { font-size: 1.7rem; }
}

/* ---------- seats + countdown ---------- */
.seats { padding: 0 0 5rem; }
.rail {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  padding: 0 var(--gutter);
}
.slot {
  position: relative; aspect-ratio: 3 / 4; border-radius: 14px;
  background: var(--ground-2); border: 1px solid var(--steam-12);
  display: grid; place-items: center;
}
.slot svg { width: 58%; height: auto; color: var(--leaf); opacity: .9; }
.slot--taken svg { opacity: .22; filter: grayscale(1); }
.slot__stamp {
  position: absolute; inset: auto; padding: .02em .3em;
  font-family: var(--font-hand); font-weight: 700; font-size: .98rem; line-height: 1.1;
  color: var(--ember); border: 2px solid var(--ember); border-radius: 6px;
  transform: rotate(-14deg);
  text-transform: uppercase; letter-spacing: .02em;
}
.seats__note { padding: 1.4rem var(--gutter) 0; color: var(--steam-70); max-width: 34rem; }
.countdown { margin: 2rem var(--gutter) 0; padding: 1.4rem 1.2rem 1.2rem; border-radius: var(--radius); background: var(--ground-2); border: 1px solid var(--steam-12); display: grid; gap: .8rem; }
.countdown__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steam-45); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cd { display: grid; gap: .2rem; justify-items: center; }
.cd__num { display: flex; font-weight: 800; font-size: clamp(2.8rem, 13vw, 4.6rem); line-height: 1; height: 1em; color: var(--steam); }
.cd__digit { position: relative; width: .5em; height: 1em; overflow: hidden; }
.cd__strip { position: absolute; left: 0; top: 0; display: grid; }
.cd__strip span { display: block; height: 1em; line-height: 1; text-align: center; }
.cd span.cd__label, .cd > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steam-45); }
.countdown__date { font-size: 1.35rem; }
.countdown__past { color: var(--steam-70); }
@media (min-width: 900px) {
  .seats { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw 6rem; }
  .rail { grid-template-columns: repeat(10, 1fr); padding: 0; }
  .seats__note { padding-left: 0; }
  .countdown { margin: 2rem 0 0; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 2rem; }
  .countdown__grid { gap: 14px; }
}

/* ---------- book ---------- */
.book { padding: 0 0 4rem; }
.contacts { display: grid; gap: 10px; padding: 0 var(--gutter); }
.contact {
  display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: .9rem;
  min-height: 74px; padding: .8rem 1rem .8rem 1rem;
  border-radius: 18px; background: var(--ground-2); border: 1px solid var(--steam-12);
  border-left: 4px solid var(--c, var(--brass));
  transition: background .18s ease; /* без transform: CSS-переход сбивает GSAP, карточки застревали на y:30 */
}
.contact:active { transform: scale(.98); }
.contact svg { width: 30px; height: 30px; color: var(--c, var(--brass)); justify-self: center; }
.contact span { display: grid; gap: .1rem; }
.contact b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; }
.contact small { font-size: .85rem; color: var(--steam-45); }
.contact--tel { --c: var(--brass); background: linear-gradient(180deg, #2a2114, var(--ground-2)); }
.contact--wa { --c: var(--wa); }
.contact--tg { --c: var(--tg); }
.book__note { padding: 1.6rem var(--gutter) 0; color: var(--steam-70); font-size: 1rem; line-height: 1.45; max-width: 40rem; }
.book__note b { color: var(--steam); font-weight: 600; }
@media (min-width: 900px) {
  .book { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw 6rem; }
  .contacts { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .contact { grid-template-columns: 1fr; min-height: 150px; align-content: end; }
  .contact svg { justify-self: start; width: 36px; height: 36px; }
  .book__note { padding-left: 0; }
}

.foot {
  display: grid; gap: .3rem; padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--steam-12); color: var(--steam-45); font-size: .82rem;
}
@media (min-width: 900px) {
  .foot { max-width: var(--max-w); margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
}

/* ---------- dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(23, 18, 14, 0), rgba(23, 18, 14, .96) 30%);
  transform: translateY(110%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
body.has-dock .dock { transform: translateY(0); }
.dock__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 52px; border-radius: 14px;
  background: var(--ground-3); border: 1px solid var(--steam-12);
  font-weight: 600; font-size: .98rem;
}
.dock__btn svg { width: 22px; height: 22px; }
.dock__btn--tel { background: linear-gradient(180deg, #ecb650, var(--brass) 55%, var(--brass-deep)); color: #1a130c; border-color: transparent; }
.dock__btn--wa { color: var(--wa); }
.dock__btn--tg { color: var(--tg); }
@media (min-width: 900px) {
  .dock { left: auto; right: 24px; bottom: 24px; width: 380px; padding: 8px; border-radius: 20px; background: rgba(32, 24, 17, .92); border: 1px solid var(--steam-12); backdrop-filter: blur(10px); transform: translateY(calc(100% + 40px)); }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__scroll span { animation: none; }
  .program__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .step { scroll-snap-align: start; }
  html { scroll-behavior: auto; }
}
