/* ============================================================
   ШУМ — студия танца, Хабаровск (намвам.рф)
   Брендинг по аватарке: brush-лого + жёлтый #FFFD00 / чёрный
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #111113;
  --card: #17171a;
  --card-2: #1d1d21;
  --line: rgba(255, 253, 0, .16);
  --text: #f7f6f0;
  --muted: #a3a196;
  --yellow: #fffd00;
  --yellow-2: #fff64d;
  --ink: #0e0e10;            /* чёрный текст на жёлтом */
  --grad: linear-gradient(96deg, #fffd00 0%, #ffe95c 100%);
  --shadow: 0 18px 48px rgba(0, 0, 0, .55);
  --glow-y: 0 0 24px rgba(255, 253, 0, .28);
  --r: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11, 11, 13, .80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { color: var(--muted); font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.nav > a:not(.nav-cta):hover { color: var(--text); text-decoration: none; }
.nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--yellow); transition: right .28s ease; border-radius: 2px;
}
.nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  color: var(--ink) !important; background: var(--yellow);
  padding: 9px 18px; border-radius: 999px; font-weight: 800 !important;
  box-shadow: var(--glow-y); transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 0 34px rgba(255, 253, 0, .5); }

.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Герой: тёмный, концертное фото на фоне ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, .80) 0%, rgba(11, 11, 13, .60) 40%, rgba(11, 11, 13, .86) 76%, var(--bg) 100%),
    url("images/hero_bg.jpg?v=20261001b") center 32% / cover no-repeat,
    var(--bg);
  color: var(--text);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center;
  padding: 140px 22px 110px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow-2);
  border: 1.5px solid rgba(255, 253, 0, .40); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 24px;
  background: rgba(11, 11, 13, .45);
}
.hero-logo { width: min(430px, 78vw); height: auto; margin: 0 0 6px -6px; }
.hero-sub { font-size: clamp(1.05rem, 2.1vw, 1.28rem); color: #d8d6ca; margin-bottom: 26px; max-width: 560px; }
.hero-sub b { color: var(--yellow); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  font-size: .86rem; font-weight: 800; color: var(--text);
  border: 1.5px solid rgba(247, 246, 240, .30); border-radius: 999px; padding: 7px 15px;
  background: rgba(13, 13, 16, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer; border: 0;
}
.btn:hover { text-decoration: none; }
.hero .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: var(--glow-y); }
.hero .btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 44px rgba(255, 253, 0, .45); }
.hero .btn-primary:active { transform: scale(.97); }
.hero .btn-ghost { color: var(--text); border: 2px solid rgba(247, 246, 240, .55); background: rgba(11, 11, 13, .35); }
.hero .btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .10); }

.hero-photo {
  position: relative; margin: 0; transform: rotate(1.6deg);
  border: 4px solid rgba(247, 246, 240, .92); border-radius: 20px; overflow: hidden;
  box-shadow: 14px 16px 0 rgba(0, 0, 0, .82), var(--shadow);
  background: var(--ink);
}
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 13, .88));
  color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 26px 16px 12px; text-align: center;
}
.hero-sticker {
  position: absolute; top: 18px; left: -14px; z-index: 70;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  font-size: .82rem; font-weight: 900; letter-spacing: .02em;
  padding: 8px 16px; transform: rotate(-4deg);
  box-shadow: 4px 5px 0 rgba(14, 14, 16, .9);
}
.hero-sticker b { white-space: nowrap; }

/* ---------- TikTok-лента видео в герое: интерфейс как в тик-токе ---------- */
.hero-tt { position: relative; max-width: 380px; margin: 0 auto; width: 100%; }
.tt-glow {
  position: absolute; inset: -8% -18%;
  background-size: cover; background-position: center;
  filter: blur(64px) saturate(1.25); opacity: .17;
  border-radius: 48px; pointer-events: none;
  transition: background-image .8s ease, opacity .8s ease;
}
.tt-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(58% 58% at 62% 46%, rgba(255, 253, 0, .15), transparent 72%);
}
.tt-wrap { position: relative; width: fit-content; margin: 0 auto; }
.tt-card {
  position: relative;
  height: clamp(540px, 64vh, 660px);
  aspect-ratio: 9 / 16;
  border: 4px solid rgba(247, 246, 240, .92); border-radius: 26px;
  background: var(--ink); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 6px 16px rgba(0, 0, 0, .4);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.tt-screen { position: absolute; inset: 0; }
.tt-slide {
  position: absolute; inset: 0; margin: 0; background: #000;
  transform: translateY(101%);
  transition: transform .52s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.tt-slide:first-child { transform: translateY(0); }
.tt-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, .52), transparent 24%),
    linear-gradient(0deg, rgba(10, 10, 12, .78), transparent 44%);
}
/* верхние табы как в тик-токе */
.tt-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; justify-content: center; align-items: baseline; gap: 22px;
  padding: 14px 16px 12px; pointer-events: none;
}
.tt-tab {
  font-size: .86rem; font-weight: 800; letter-spacing: .02em;
  color: rgba(255, 255, 255, .72);
  padding-bottom: 5px; border-bottom: 2.5px solid transparent;
}
.tt-tab.is-active { color: var(--yellow); border-bottom-color: var(--yellow); }
/* описание снизу слева: юзер, подпись, звук */
.tt-info {
  position: absolute; left: 14px; right: 76px; bottom: 26px; z-index: 5;
  display: flex; flex-direction: column; gap: 5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.tt-user { font-size: .95rem; font-weight: 900; color: #fff; }
.tt-cap { font-size: .82rem; line-height: 1.38; color: rgba(255, 255, 255, .95); font-weight: 500; }
.tt-tag { font-weight: 800; color: var(--yellow); }
.tt-music { display: flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: .74rem; color: rgba(255, 255, 255, .92); }
.tt-music svg { width: 13px; height: 13px; flex: none; }
/* правая панель действий: лайк / комментарии / поделиться */
.tt-rail {
  position: absolute; right: 10px; bottom: 26px; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.tt-act {
  background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #fff; font-family: inherit;
}
.tt-ic { display: flex; }
.tt-ic svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); transition: transform .2s ease; }
.tt-num { font-size: .7rem; font-weight: 800; text-shadow: 0 1px 5px rgba(0, 0, 0, .6); }
.tt-act:hover .tt-ic { transform: scale(1.12); }
.tt-like.is-liked { color: var(--yellow); }
.tt-act.is-pop .tt-ic { animation: tt-pop .5s ease; }
@keyframes tt-pop { 0% { transform: scale(.7); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
/* большое сердечко по двойному тапу */
.tt-heart {
  position: absolute; z-index: 9; width: 78px; height: 78px;
  color: var(--yellow); opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}
.tt-heart svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); }
.tt-heart.is-boom { animation: tt-boom .85s ease-out forwards; }
@keyframes tt-boom {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; }
  22% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  48% { transform: translate(-50%, -50%) scale(.98); opacity: 1; }
  100% { transform: translate(-50%, -66%) scale(1.25); opacity: 0; }
}
/* полоса прогресса видео */
.tt-bar {
  position: absolute; left: 14px; right: 14px; bottom: 9px; height: 3px; z-index: 7;
  border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden;
}
.tt-bar i { display: block; height: 100%; width: 0; border-radius: inherit;
  background: var(--yellow); transition: width .18s linear; }
/* стрелки листания справа от телефона (как в тик-токе на десктопе) */
.tt-navs {
  position: absolute; top: 50%; right: -58px; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 5;
}
.tt-nav {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(247, 246, 240, .55);
  background: rgba(14, 14, 16, .55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease, transform .2s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: inherit;
}
.tt-nav svg { width: 20px; height: 20px; }
.tt-nav:hover { border-color: var(--yellow); color: var(--yellow); transform: scale(1.07); }
.tt-nav:active { transform: scale(.94); }
.tt-hint { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .03em; }
/* стикер над верхним углом телефона, чтобы не закрывать табы «Подписки | Для вас» */
.hero-tt .hero-sticker { top: -26px; left: -12px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: linear-gradient(180deg, transparent, var(--bg)); }

/* ---------- Секции ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* плавный переход между соседними секциями (без двойных рамок) */
.section-fade { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.kicker {
  color: var(--yellow); font-weight: 800; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px;
}
.h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.12; margin-bottom: 14px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); max-width: 660px; margin-bottom: 44px; font-size: 1.05rem; }
.lead a { font-weight: 700; }

/* ---------- Направления ---------- */
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.style-card {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.style-card::before {
  content: ""; position: absolute; inset: -40% 55% 55% -40%;
  background: radial-gradient(circle, rgba(255, 253, 0, .14), transparent 70%);
  transition: opacity .3s ease; opacity: .45; pointer-events: none;
}
.style-card:hover { transform: translateY(-6px); border-color: rgba(255, 253, 0, .55); box-shadow: var(--glow-y), var(--shadow); }
.style-card:hover::before { opacity: 1; }
.style-card h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 8px; color: var(--yellow-2); }
.style-card p { color: var(--muted); font-size: .92rem; }
.style-card.kids { border-color: rgba(255, 253, 0, .45); }
.style-card.kids h3 { color: var(--yellow); }

/* ---------- Расписание ---------- */
.sched { display: grid; gap: 26px; }
.sched-hall { min-width: 0; } /* грид-item не раздувается под широкую сетку — скролл внутри sched-scroll */
.sched-hall h3 {
  font-size: .9rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow);
  display: inline-block; padding: 7px 18px; border-radius: 10px 10px 0 0;
  margin-bottom: -1px;
}
.sched-scroll { overflow-x: auto; padding-bottom: 6px; }
.sched-grid {
  display: grid; grid-template-columns: repeat(7, minmax(138px, 1fr)); gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 0 var(--r) var(--r) var(--r);
  padding: 14px; min-width: 980px;
}
.sched-day {
  background: var(--bg); border: 1px solid rgba(255, 253, 0, .10);
  border-radius: 12px; padding: 12px 12px 14px; min-height: 168px;
}
.sched-day h4 {
  font-size: .8rem; font-weight: 900; letter-spacing: .14em; color: var(--yellow);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 253, 0, .25);
}
.sched-day ul { list-style: none; display: grid; gap: 8px; }
.sched-day li { font-size: .8rem; color: #d9d7cc; line-height: 1.35; }
.sched-day li b {
  display: block; color: var(--yellow); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.sched-note { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.sched-note a { font-weight: 700; }

/* ---------- Цены ---------- */
.prices-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.price-card {
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255, 253, 0, .55); box-shadow: var(--glow-y), var(--shadow); }
.price-card h3 { font-size: 1rem; font-weight: 800; color: var(--yellow-2); letter-spacing: .04em; text-transform: uppercase; }
.price { font-size: 2.05rem; font-weight: 900; color: var(--text); line-height: 1; }
.price span { font-size: 1.15rem; color: var(--yellow); font-weight: 700; margin-left: 2px; }
.price-card ul { list-style: none; display: grid; gap: 7px; margin-top: auto; }
.price-card li { color: var(--muted); font-size: .9rem; padding-left: 18px; position: relative; }
.price-card li::before { content: "⚡"; position: absolute; left: 0; top: 0; font-size: .72rem; color: var(--yellow); }
.price-card.best { border-color: rgba(255, 253, 0, .65); background: linear-gradient(165deg, #1c1c14, #232312); box-shadow: var(--glow-y); }
.price-card.best .price { color: var(--yellow-2); }
.best-tag {
  position: absolute; top: -13px; right: 16px;
  background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 13px;
  box-shadow: var(--glow-y);
}
.prices-note { margin-top: 30px; color: var(--muted); font-size: .95rem; }
.prices-note b { color: var(--yellow-2); }

/* ---------- О студии ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.about-copy p { color: #cfcdbf; margin-bottom: 16px; }
.about-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.about-facts li {
  background: rgba(255, 253, 0, .06); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.about-facts b { display: block; color: var(--yellow-2); font-size: .95rem; }
.about-facts span { color: var(--muted); font-size: .84rem; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.ph { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph:hover img { transform: scale(1.05); }
.ph-main { grid-column: 1 / -1; }

/* ---------- Афиша ---------- */
.afisha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.af-card {
  position: relative; overflow: hidden; border-radius: var(--r);
  padding: 24px 22px 20px; min-height: 290px;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.af-card:hover { transform: translateY(-6px); border-color: rgba(255, 253, 0, .55); box-shadow: var(--glow-y), var(--shadow); }
.af-tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink);
  border-radius: 999px; padding: 6px 13px; margin-bottom: 16px;
}
.af-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.04;
  text-transform: uppercase; letter-spacing: .01em;
  color: var(--yellow); margin-bottom: 4px;
}
.af-who { font-weight: 800; color: var(--text); font-size: .95rem; margin-bottom: 10px; }
.af-note { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.af-when { margin-top: auto; font-size: .95rem; line-height: 1.45; }
.af-when b { display: block; color: var(--yellow-2); font-weight: 900; font-variant-numeric: tabular-nums; }
.af-when span { display: block; color: var(--muted); font-size: .88rem; }

/* инверсные жёлтые афиши */
.af-yellow { background: linear-gradient(165deg, #fffd00, #f3ec28); border-color: rgba(255, 253, 0, .7); }
.af-yellow:hover { border-color: #fffd00; box-shadow: 0 0 44px rgba(255, 253, 0, .35), var(--shadow); }
.af-yellow .af-tag { background: var(--ink); color: var(--yellow); }
.af-yellow h3 { color: var(--ink); }
.af-yellow .af-who { color: rgba(14, 14, 16, .85); }
.af-yellow .af-note { color: rgba(14, 14, 16, .72); }
.af-yellow .af-when b { color: var(--ink); }
.af-yellow .af-when span { color: rgba(14, 14, 16, .65); }

/* афиша кастинга K.O.N. — чистый чёрный, без фото */
.af-kon {
  background: var(--ink);
  border-color: rgba(255, 253, 0, .35);
}
.afisha-note { margin-top: 26px; color: var(--muted); font-size: .95rem; }
.afisha-note a { color: var(--yellow); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Карусель афиш ---------- */
.poster-slider { margin: 6px 0 8px; }
.ps-track {
  position: relative;
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 20px;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.ps-track::-webkit-scrollbar { display: none; }
.ps-track:focus-visible { box-shadow: 0 0 0 2px rgba(255, 253, 0, .45); border-radius: 14px; }
.ps-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ps-track.is-dragging .ps-slide { pointer-events: none; }
.ps-slide {
  flex: 0 0 auto; width: clamp(235px, 26vw, 315px);
  margin: 0; scroll-snap-align: start;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ps-slide img {
  width: 100%; height: auto; display: block;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.ps-slide:hover { transform: translateY(-6px); border-color: rgba(255, 253, 0, .55); box-shadow: var(--glow-y), var(--shadow); }
.ps-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 2px; }
.ps-btn {
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  background: var(--card); border: 1.5px solid rgba(255, 253, 0, .45);
  color: var(--yellow); font-size: 1.15rem; font-weight: 900; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, border-color .2s ease;
}
.ps-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-y); border-color: var(--yellow); }
.ps-btn:active { transform: scale(.94); }
.ps-btn:disabled { opacity: .32; cursor: default; box-shadow: none; transform: none; }
.ps-dots { display: flex; align-items: center; gap: 8px; }
.ps-dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(247, 246, 240, .22);
  transition: background .25s ease, width .25s ease, box-shadow .25s ease;
}
.ps-dot:hover { background: rgba(247, 246, 240, .45); }
.ps-dot.is-active { background: var(--yellow); width: 26px; box-shadow: var(--glow-y); }
.ps-hint { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 12px; }

/* ---------- Наши соцсети: живая лента Reels/TikTok ---------- */
.section-social { position: relative; overflow: hidden; padding: 104px 0 116px; }
.social-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(58% 44% at 16% 10%, rgba(255, 253, 0, .075), transparent 70%),
  radial-gradient(50% 40% at 86% 28%, rgba(254, 44, 85, .07), transparent 70%),
  radial-gradient(46% 38% at 58% 92%, rgba(37, 244, 238, .05), transparent 70%);
}
.social-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247, 246, 240, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 240, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 42%, #000 25%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 42%, #000 25%, transparent 100%);
}

/* последовательное появление: кикер → заголовок → лид → карточки → кнопки */
.soc-kicker, .social-title, .social-lead, .social-actions {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s ease var(--sd, .1s), transform .65s cubic-bezier(.2, .9, .3, 1) var(--sd, .1s);
}
.soc-kicker { --sd: .05s; }
.social-title {
  --sd: .16s;
  font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 900; line-height: 1.02;
  text-transform: uppercase; letter-spacing: .015em; margin: 4px 0 12px;
}
.social-title span {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 253, 0, .38), 0 0 64px rgba(255, 253, 0, .22);
}
.social-lead { --sd: .32s; color: var(--muted); max-width: 620px; font-size: 1.05rem; margin-bottom: 8px; }
.social-actions { --sd: 1.5s; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 30px; }
#social.is-on .soc-kicker, #social.is-on .social-title,
#social.is-on .social-lead, #social.is-on .social-actions { opacity: 1; transform: none; }

/* --- лента карточек --- */
.social-tape { display: flex; justify-content: center; align-items: center; padding: 46px 0 26px; }
.reel {
  position: relative; flex: 0 0 auto;
  width: clamp(150px, 16.5vw, 216px); aspect-ratio: 9 / 16;
  /* пружинное появление из-за верхних краёв экрана */
  opacity: 0; pointer-events: none;
  transform: translate(var(--fx, 0vw), -64vh) rotate(calc(var(--rot, 0deg) * -2.4)) scale(.84);
  transition:
    transform 1.05s cubic-bezier(.16, 1.28, .32, 1) var(--d, .5s),
    opacity .55s ease var(--d, .5s);
}
#social.is-on .reel { opacity: 1; transform: none; pointer-events: auto; }
.reel:nth-child(1) { z-index: 3; }
.reel:nth-child(2) { z-index: 5; }
.reel:nth-child(3) { z-index: 7; }
.reel:nth-child(4) { z-index: 6; }
.reel:nth-child(5) { z-index: 4; }
.reel:nth-child(6) { z-index: 2; }
.reel + .reel { margin-left: clamp(-58px, -4vw, -18px); }

.reel-dis, .reel-par, .reel-in { width: 100%; height: 100%; }
.reel-dis, .reel-par { will-change: transform, opacity; }
.reel-in { animation: reelFloat var(--float-d, 4.4s) ease-in-out calc(var(--i, 0) * -.7s) infinite; }
@keyframes reelFloat {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(6px); }
}

.reel-card {
  position: relative; width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--card); border: 1px solid rgba(255, 253, 0, .20);
  transform: rotate(var(--rot, 0deg));
  box-shadow: var(--shadow);
  transition:
    transform .38s cubic-bezier(.2, 1.35, .4, 1),
    box-shadow .38s ease, border-color .38s ease, opacity .38s ease;
}
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 13, .38) 0%, transparent 26%, transparent 56%, rgba(11, 11, 13, .82) 100%);
}
.reel-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(14, 14, 16, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 253, 0, .35); border-radius: 999px; padding: 4px 9px;
}
.reel[data-plat="tt"] .reel-tag { border-color: rgba(37, 244, 238, .55); }
.reel[data-plat="ig"] .reel-tag { border-color: rgba(238, 42, 123, .6); }
.reel-ui { position: absolute; left: 12px; right: 12px; bottom: 10px; min-width: 0; }
.reel-user { display: flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 800; color: #fff; }
.reel-user::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px; flex: 0 0 auto;
  background: var(--yellow); box-shadow: 0 0 8px rgba(255, 253, 0, .8);
}
.reel-cap {
  display: block; margin-top: 3px;
  font-size: .64rem; line-height: 1.35; color: rgba(247, 246, 240, .88);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reel-music {
  display: block; margin-top: 4px;
  font-size: .58rem; color: rgba(247, 246, 240, .62);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* hover: карточка растёт, видео играет (JS), соседи отъезжают (JS) и притухают */
@media (hover: hover) {
  .reel:hover .reel-card {
    transform: rotate(var(--rot, 0deg)) scale(1.05);
    border-color: rgba(255, 253, 0, .62);
    box-shadow:
      0 28px 74px rgba(0, 0, 0, .62),
      0 0 46px rgba(255, 253, 0, .22),
      0 0 0 1px rgba(255, 253, 0, .30);
  }
  .social-tape.has-hover .reel:not(:hover) .reel-card {
    opacity: .68; transform: rotate(var(--rot, 0deg)) scale(.98);
  }
}

/* --- кнопки соцсетей --- */
.soc-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; color: #fff;
  transition: transform .28s cubic-bezier(.2, 1.3, .4, 1), box-shadow .28s ease, border-color .28s ease, filter .28s ease;
}
.soc-btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.05); }
.soc-btn:active { transform: translateY(-1px) scale(.98); }
.soc-ico { width: 24px; height: 24px; flex: 0 0 auto; }
.soc-txt { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.soc-txt b { font-size: 1.02rem; letter-spacing: .01em; }
.soc-txt small { font-size: .72rem; font-weight: 600; opacity: .82; letter-spacing: .05em; }
.soc-go { font-size: 1.15rem; line-height: 1; transition: transform .28s ease; }
.soc-btn:hover .soc-go { transform: translateX(5px); }
.soc-insta {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  box-shadow: 0 10px 36px rgba(238, 42, 123, .35);
}
.soc-insta:hover { box-shadow: 0 16px 48px rgba(238, 42, 123, .55), 0 0 30px rgba(249, 206, 52, .25); }
.soc-tt {
  background: #131316; border: 1px solid rgba(247, 246, 240, .18);
  box-shadow: 0 10px 36px rgba(37, 244, 238, .14);
}
.soc-tt:hover {
  border-color: rgba(37, 244, 238, .55);
  box-shadow: 0 16px 48px rgba(37, 244, 238, .30), 0 0 34px rgba(254, 44, 85, .30);
}

/* --- мобильная лента: горизонтальный свайп --- */
@media (max-width: 760px) {
  .section-social { padding: 76px 0 84px; }
  .social-tape {
    justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 36px 22px 28px; margin: 0 -22px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .social-tape::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 64vw; scroll-snap-align: center; }
  .reel + .reel { margin-left: 16px; }
  .reel:nth-child(n) { z-index: auto; }
  /* появление короче и снизу-вверх не ломает свайп */
  .reel { transform: translate(0, -46vh) rotate(calc(var(--rot, 0deg) * -2)) scale(.9); }
  .social-actions { margin-top: 22px; }
  .social-actions .soc-btn { flex: 1 1 100%; justify-content: center; }
}
@media (hover: none) {
  .reel-card, .reel:hover .reel-card { transform: rotate(var(--rot, 0deg)); }
}

/* ---------- Контакты ---------- */
/* форма убрана — в секции только контакты, колонка сужена */
.contact-grid { max-width: 640px; }
.ci-block { margin-bottom: 26px; }
.ci-block h3 { font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.ci-block p { color: #d9d7cc; }
.ci-block a { color: var(--yellow); }

.feedback-form {
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  position: relative; overflow: hidden;
}
.feedback-form::before {
  content: ""; position: absolute; inset: -45% 40% 60% -45%;
  background: radial-gradient(circle, rgba(255, 253, 0, .10), transparent 70%);
  pointer-events: none;
}
.ff-field { margin-bottom: 16px; position: relative; }
.ff-field label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; color: var(--muted); margin-bottom: 7px; }
.ff-input {
  width: 100%; background: rgba(11, 11, 13, .65); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  font: inherit; font-size: .98rem; resize: vertical; min-height: 52px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ff-input::placeholder { color: #6d6b60; }
.ff-input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 253, 0, .18); }
.ff-input.is-error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }
.ff-input-email { max-width: 460px; }
.ff-hint { color: var(--muted); font-size: .82rem; margin-bottom: 14px; }
.ff-honey { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.ff-submit {
  width: 100%; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink);
  font: inherit; font-weight: 900; font-size: 1.02rem; letter-spacing: .02em;
  padding: 16px 30px; border-radius: 999px;
  box-shadow: var(--glow-y);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.ff-submit:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 0 42px rgba(255, 253, 0, .5); }
.ff-submit:active { transform: scale(.97); }
.ff-submit.is-busy { animation: ffPulse 1.1s ease-in-out infinite; pointer-events: none; filter: saturate(.85); }
@keyframes ffPulse { 0%, 100% { box-shadow: 0 0 18px rgba(255, 253, 0, .30); } 50% { box-shadow: 0 0 44px rgba(255, 253, 0, .68); } }
.ff-result { margin-top: 16px; min-height: 24px; font-weight: 600; color: var(--yellow-2); display: none; }
.ff-result.is-error { color: #fca5a5; }
.ff-result.is-visible { display: block; animation: ffPop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes ffPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.feedback-form.is-sent .ff-field, .feedback-form.is-sent .ff-hint,
.feedback-form.is-sent .ff-submit { display: none; }
.ff-thanks { display: none; text-align: center; padding: 34px 10px; }
.ff-thanks.is-visible { display: block; animation: ffPop .5s cubic-bezier(.2, .9, .3, 1.4); }
.ff-thanks svg { width: 74px; height: 74px; margin: 0 auto 14px; display: block;
  filter: drop-shadow(0 0 18px rgba(255, 253, 0, .55)); }
.ff-thanks p { font-size: 1.12rem; font-weight: 700; color: var(--text); }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-logo { height: 40px; width: auto; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-links a { color: var(--yellow-2); }

/* ---------- Reveal-анимации ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-photo.reveal { transform: rotate(1.6deg) translateY(26px); }
.hero-photo.reveal.is-visible { transform: rotate(1.6deg); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .prices-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .afisha-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 130px 22px 96px; }
  .hero-tt { max-width: 400px; }
  .tt-card { height: clamp(500px, 62vh, 620px); }
  .tt-navs { right: -54px; }
}
@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .ps-slide { width: min(72vw, 300px); }
  .ps-controls { gap: 14px; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prices-grid { grid-template-columns: 1fr; }
  .price-card.best { order: -1; }
  .about-facts { grid-template-columns: 1fr; }
  .afisha-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(13, 13, 15, .97); border-bottom: 1px solid var(--line);
    padding: 14px 22px 20px;
    transform: translateY(-130%); transition: transform .32s ease;
  }
  .nav.is-open { transform: none; }
  .nav > a { padding: 12px 4px; font-size: 1.02rem; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .footer-inner { justify-content: center; text-align: center; }
  .hero-sticker { left: 6px; top: -16px; font-size: .74rem; z-index: 70; }
  /* тик-ток лента — ниже текстового блока, отдельным «экраном» */
  .hero-inner { gap: 40px; padding: 92px 20px 48px; }
  .hero-tt { margin-top: 60px; }   /* лента ещё ниже — отдельный «экран тик-тока» */
  .tt-head { padding-top: 42px; }   /* табы ниже — стикер над углом карточки */
  .hero-badge { margin-bottom: 10px; font-size: .68rem; padding: 6px 12px; }
  .hero-logo { width: min(200px, 52vw); margin-bottom: 0; }
  .hero-sub { font-size: 1rem; margin-bottom: 12px; }
  .hero-chips { gap: 7px; margin-bottom: 14px; }
  .chip { font-size: .76rem; padding: 5px 12px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { padding: 12px 24px; }
  .hero-tt { max-width: 350px; }
  .tt-card { height: clamp(460px, 60vh, 560px); border-width: 3px; }
  .tt-navs { display: none; }   /* на телефоне лента листается свайпом */
  .tt-cap { font-size: .76rem; }
  .tt-ic svg { width: 25px; height: 25px; }
  .tt-hint { font-size: .74rem; padding: 0 18px; margin-top: 14px; }
}
@media (max-width: 480px) {
  .styles-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .feedback-form { padding: 22px; }
  .ff-input-email { min-height: 0; }
  .hero-logo { width: min(190px, 50vw); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo.reveal { transform: rotate(1.6deg); }
  .tt-slide { transition: none; }
  .tt-glow { transition: none; }
  .ff-submit.is-busy { animation: none; }
  .ph img, .style-card, .price-card, .btn, .ff-submit, .ps-slide, .ps-btn { transition: none; }
  /* соцлента: всё видно сразу, без пружин и парения */
  .soc-kicker, .social-title, .social-lead, .social-actions, .reel { opacity: 1; transform: none; transition: none; }
  .reel-card { transform: rotate(var(--rot, 0deg)); }
  .reel-in { animation: none; }
}

