/* =========================================================
   S-парк · Новогодние корпоративы
   ========================================================= */
:root {
  --bg: #0c0610;
  --bg-2: #150a1b;
  --plum: #2a0f33;
  --plum-2: #3c1446;
  --card: rgba(30, 13, 38, .78);
  --line: rgba(255, 214, 140, .16);
  --text: #f6eee6;
  --muted: #bfaebf;
  --gold: #f4c04e;
  --gold-2: #ffe29a;
  --gold-3: #c8871d;
  --red: #c4142f;
  --brand: #ffcc00;
  --gold-grad: linear-gradient(180deg, #fff1bf 0%, #ffd463 38%, #e79d1f 70%, #ffcf5a 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --font-head: 'Unbounded', 'Arial Black', sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.s { color: var(--brand); }

.eyebrow {
  margin: 0 0 14px;
  font: 700 13px/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section { position: relative; padding: 72px 0; }
.section__title {
  margin: 0 0 18px;
  font: 800 clamp(30px, 4.2vw, 52px)/1.08 var(--font-head);
  letter-spacing: -.01em;
  text-transform: uppercase;
  max-width: 880px;
}
.section__lead { margin: 0 0 36px; max-width: 700px; color: var(--muted); font-size: 19px; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 800 15px/1.1 var(--font); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.btn--gold {
  background: var(--gold-grad);
  color: #2a1204;
  box-shadow: 0 10px 30px -8px rgba(244, 170, 40, .65), inset 0 -2px 0 rgba(120, 60, 0, .35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(244, 170, 40, .8), inset 0 -2px 0 rgba(120, 60, 0, .35); }
.btn--gold:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.btn--outline:hover { background: #fff; color: #1a0a1f; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(22, 6, 30, .96), rgba(16, 5, 22, .9));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .3s, background-color .3s;
}
.header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 192, 78, .55) 30%, rgba(244, 192, 78, .55) 70%, transparent);
}
.header.is-scrolled { box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9); }
.header__inner { max-width: 1760px; height: 100%; display: flex; align-items: center; gap: 28px; }
.header__logo { flex: none; transition: transform .3s; }
.header__logo:hover { transform: rotate(-4deg) scale(1.05); }
.header__logo img { width: 96px; height: auto; filter: drop-shadow(0 4px 12px rgba(255, 140, 0, .35)); }
.header__nav {
  display: flex; gap: 4px; margin: 0 auto; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.header__nav a {
  position: relative; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; color: rgba(246, 238, 230, .82);
  transition: color .25s, background-color .25s;
}
.header__nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .25s;
}
.header__nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header__nav a.is-active { color: #2a1204; background: var(--gold-grad); box-shadow: 0 6px 18px -6px rgba(244, 170, 40, .7); }
.header__nav a:hover::after { transform: translateX(-50%) scale(1); }
.header__nav a.is-active::after { display: none; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone {
  display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center;
  text-align: left; text-decoration: none; line-height: 1.2;
}
.header__phone-ic {
  grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 50%;
  color: var(--gold); background: rgba(244, 192, 78, .12); border: 1px solid rgba(244, 192, 78, .35);
  transition: background-color .25s, color .25s;
}
.header__phone:hover .header__phone-ic { background: var(--gold); color: #2a1204; }
.header__phone span { font-weight: 800; font-size: 17px; }
.header__phone small { font-size: 11px; color: var(--muted); }
.header__cta { white-space: nowrap; }
.header__burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(244, 192, 78, .35); border-radius: 50%; background: rgba(255, 255, 255, .05); padding: 0 12px; cursor: pointer; }
.header__burger span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 6px; padding: 28px 20px 40px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(90, 20, 100, .55), transparent 70%), #0e0514;
  overflow-y: auto; animation: fade .25s ease;
}
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06);
  font: 800 18px/1 var(--font-head); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
}
.mobile-nav a::after { content: '→'; color: var(--gold); font-family: var(--font); }
.mobile-nav a.is-active { border-color: rgba(244, 192, 78, .6); color: var(--gold-2); }
.mobile-nav .mobile-nav__phone { margin-top: auto; justify-content: center; background: var(--gold-grad); color: #2a1204; border: 0; font-size: 17px; }
.mobile-nav .mobile-nav__phone::after { display: none; }
body.menu-open { overflow: hidden; }
/* backdrop-filter создаёт контейнер для fixed-потомков — отключаем, пока меню открыто */
body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(18, 5, 24); }

/* ---------- Hero ---------- */
/* Первый экран = ровно высота окна: фото заполняет экран под шапкой,
   заголовок ложится на нижнюю часть кадра, форма — справа на дымку */
.hero {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh;
  min-height: 640px; max-height: 1200px;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute; z-index: -2; inset: var(--header-h) 0 0 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 6, 16, .9) 24%, rgba(12, 6, 16, .3) 42%, rgba(12, 6, 16, 0) 58%),
    linear-gradient(90deg, rgba(12, 6, 16, 0) 68%, rgba(20, 6, 26, .55) 100%),
    url(../img/hero.webp) 15% top / cover no-repeat;
}
/* плавный переход в следующий блок */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 6, 16, 0) 0%, rgba(12, 6, 16, .75) 55%, var(--bg) 100%);
}
.hero__confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__inner {
  position: relative; height: 100%; max-width: 1760px;
  display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px;
  padding-top: calc(var(--header-h) + 20px); padding-bottom: clamp(24px, 4.5vh, 56px);
}
.hero__text { position: relative; align-self: end; max-width: 1100px; }
/* мягкая тёмная подложка под текстом, чтобы он не спорил с фото */
.hero__text::before {
  content: ''; position: absolute; inset: -90px -160px -70px -220px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(12, 6, 16, .8), rgba(12, 6, 16, .5) 55%, rgba(12, 6, 16, 0));
}
.hero__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  margin-top: clamp(14px, 2.4vh, 26px); padding-top: clamp(14px, 2.2vh, 22px);
  border-top: 1px solid; border-image: linear-gradient(90deg, rgba(244, 192, 78, .65), rgba(244, 192, 78, 0) 85%) 1;
}
.hero__price { display: flex; align-items: baseline; gap: 10px; margin: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero__price span { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero__price b {
  font: 900 clamp(30px, min(2.9vw, 4.8vh), 48px)/1 var(--font-head);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(244, 170, 40, .35));
}
.lead-form.hero__form { align-self: center; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__dates {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(12px, 2vh, 20px);
  padding: 9px 18px; border-radius: 999px;
  background: rgba(196, 20, 47, .9); box-shadow: 0 10px 30px -10px rgba(196, 20, 47, .8);
  font: 800 14px/1 var(--font); text-transform: uppercase; letter-spacing: .1em;
}
.hero__dates i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }
.hero__title { margin: 0; font-family: var(--font-head); text-transform: uppercase; line-height: .98; }
.hero__title-top {
  display: block; font-weight: 800; font-size: clamp(24px, min(2.9vw, 4.6vh), 44px);
  color: #fff4e3; text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.hero__title-gold {
  display: block; margin-top: 8px;
  font-weight: 900; font-size: clamp(34px, min(4.1vw, 6.6vh), 64px); font-style: italic; letter-spacing: -.02em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(90, 30, 0, .55)) drop-shadow(0 10px 30px rgba(244, 170, 40, .35));
  padding-right: .1em;
}
.hero__sub { margin: 0; font-size: clamp(16px, min(1.45vw, 2.4vh), 21px); line-height: 1.3; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.hero__sub b { font-weight: 800; }

.price-badge {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 14px 26px 14px 22px; border-radius: 18px;
  background: rgba(20, 8, 26, .7); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(244, 192, 78, .7);
  box-shadow: 0 0 0 6px rgba(244, 192, 78, .08), 0 20px 40px -20px #000;
  transform: rotate(-2deg);
}
.price-badge__from, .price-badge__per { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
.price-badge__num {
  font: 900 clamp(30px, 3vw, 42px)/1 var(--font-head);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Формы ---------- */
.lead-form {
  position: relative;
  padding: 30px 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(52, 18, 64, .92), rgba(22, 8, 30, .94));
  border: 1px solid rgba(244, 192, 78, .35);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}
.lead-form__title { margin: 0 0 6px; font: 800 22px/1.15 var(--font-head); text-transform: uppercase; }
.lead-form__note { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.lead-form__error { margin: 0 0 12px; color: #ff8b9a; font-size: 14px; font-weight: 600; }

/* Галочки согласий */
.consents { display: grid; gap: 8px; margin: 4px 0 14px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; line-height: 1.4; color: #d9cbd6; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.check__box {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(8, 3, 12, .55);
  transition: background-color .2s, border-color .2s;
}
.check input:checked + .check__box {
  border-color: transparent;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%232a1204' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check input:focus-visible + .check__box { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #ff6b81; animation: shake .35s; }
.check a { color: var(--gold-2); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field__label, .date-pick legend { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1.5px solid rgba(255, 255, 255, .14);
  background: rgba(8, 3, 12, .55); color: var(--text); font-size: 17px;
  transition: border-color .2s, background-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--plum); }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(8, 3, 12, .75); }
.field input.is-invalid { border-color: #ff6b81; }
.field-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }

.date-pick { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-pick legend { padding: 0; margin-bottom: 8px; }
.date-pick__opt { position: relative; cursor: pointer; }
.date-pick__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.date-pick__opt span {
  display: grid; justify-items: center; padding: 10px 6px 9px;
  border-radius: var(--radius-sm); border: 1.5px solid rgba(255, 255, 255, .16);
  background: rgba(8, 3, 12, .45);
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; line-height: 1.15;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.date-pick__opt b { font: 900 30px/1 var(--font-head); }
.date-pick__opt small { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.date-pick__opt:hover span { border-color: rgba(244, 192, 78, .6); }
.date-pick__opt input:checked + span {
  background: var(--gold-grad); color: #2a1204; border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(244, 170, 40, .9);
}
.date-pick__opt input:checked + span small { color: #6b3a07; }
.date-pick__opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.date-pick.is-invalid .date-pick__opt span { border-color: #ff6b81; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.stepper { display: grid; grid-template-columns: 48px 1fr 48px; height: 52px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(8, 3, 12, .55); overflow: hidden; }
.stepper input { height: 100%; border: 0; background: none; text-align: center; font-weight: 800; font-size: 18px; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--gold); }
.stepper__btn { border: 0; background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 22px; font-weight: 700; color: var(--gold); transition: background .2s; }
.stepper__btn:hover { background: rgba(244, 192, 78, .18); }
.stepper--sm { height: 44px; grid-template-columns: 40px 64px 40px; }


/* ---------- Программа ---------- */
.program { overflow: hidden; margin-top: -1px; background: radial-gradient(1100px 600px at 50% 38%, rgba(120, 30, 120, .2), transparent 70%), var(--bg); }
.program > .container { position: relative; z-index: 1; }
.program .eyebrow, .program .section__title, .program .section__lead { text-align: center; margin-left: auto; margin-right: auto; }

.features { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.features .feature { grid-column: span 3; }
.features .feature:nth-child(n+5) { grid-column: span 4; }
.feature {
  display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(244, 192, 78, .45); }
.feature img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }
.feature b { font-size: 18px; }
.feature span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Ведущий + тайминг: один общий блок */
.evening {
  position: relative; display: grid; grid-template-columns: minmax(260px, 30%) 1fr 1fr;
  border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 30% 0%, rgba(196, 20, 47, .22), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(244, 192, 78, .1), transparent 60%),
    linear-gradient(140deg, #2c0d2c 0%, #1c0a24 55%, #150719 100%);
  border: 1px solid rgba(244, 192, 78, .22);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.evening__photo { position: relative; min-height: 100%; }
.evening__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.evening__photo img { -webkit-mask: linear-gradient(90deg, #000 55%, transparent 100%); mask: linear-gradient(90deg, #000 55%, transparent 100%); }
.evening__host { padding: 48px 40px 48px 36px; align-self: center; }
.evening__host .eyebrow { margin: 0 0 12px; text-align: left; }
.evening__name { margin: 0 0 18px; font: 900 clamp(28px, 2.8vw, 40px)/1 var(--font-head); text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.evening__host > p { margin: 0 0 22px; color: #e5d8e0; font-size: 16px; }
.evening__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.evening__list li { position: relative; padding-left: 26px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.evening__list li::before { content: '★'; position: absolute; left: 0; color: var(--gold); }
.evening__timing { position: relative; padding: 44px 40px; background: rgba(6, 2, 10, .28); }
.evening__timing::before { content: ''; position: absolute; left: 0; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(transparent, rgba(244, 192, 78, .45), transparent); }
.evening__title { margin: 0 0 24px; font: 800 20px/1.2 var(--font-head); text-transform: uppercase; }
.evening__title small { display: block; margin-top: 6px; font: 600 13px var(--font); color: var(--muted); text-transform: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 64px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(244, 192, 78, .1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 30px; padding: 0 0 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 59px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #1c0a24; border: 2px solid var(--gold); }
.timeline li.is-host::before { background: var(--gold); }
.timeline li.is-accent::before { background: var(--red); border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(196, 20, 47, .3); }
.timeline time { font-weight: 800; font-size: 16px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-size: 16px; line-height: 1.3; }
.timeline span { color: var(--muted); font-size: 13px; }

/* ---------- Пакеты ---------- */
.packages { background: linear-gradient(180deg, var(--bg) 0%, #1a0820 50%, var(--bg) 100%); }
.packages .eyebrow, .packages .section__title, .packages .section__lead { text-align: center; margin-left: auto; margin-right: auto; }
.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; padding-top: 14px; }
.pk {
  container-type: inline-size;
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 26px; border-radius: 26px;
  background: linear-gradient(170deg, rgba(48, 16, 58, .85), rgba(22, 8, 30, .9));
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.pk:hover { border-color: rgba(244, 192, 78, .45); }
.pk--hit {
  background: linear-gradient(170deg, #4a1530 0%, #2a0c33 55%, #1b0a22 100%);
  border: 1.5px solid rgba(244, 192, 78, .8);
  box-shadow: 0 0 0 6px rgba(244, 192, 78, .07), 0 40px 90px -30px rgba(244, 170, 40, .4);
  margin: -14px 0;
}
.pk__ribbon {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 8px 18px; border-radius: 999px; background: var(--red); color: #fff;
  font: 800 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 20px -8px rgba(196, 20, 47, .9);
}
.pk__emblem { height: 130px; width: auto; max-width: 80%; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); transition: transform .4s; }
.pk:hover .pk__emblem { transform: translateY(-4px) rotate(-2deg); }
.pk__name { margin: 0; text-align: center; font: 900 clamp(20px, 1.9vw, 28px)/1 var(--font-head); text-transform: uppercase; }
.pk:last-child .pk__name { font-size: clamp(16px, 1.45vw, 22px); font-size: min(26px, calc((100cqi - 52px) / 12.2)); letter-spacing: -.01em; }
.pk--hit .pk__name { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pk__price { margin: 10px 0 20px; text-align: center; color: var(--muted); font-weight: 600; min-height: 50px; }
.pk__price b { color: var(--text); font: 800 26px/1.2 var(--font-head); }
.pk__price small { display: block; font-size: 13px; color: var(--muted); }
.pk:last-child .pk__price b { font-size: 20px; display: block; }

.pk__food {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; margin: 0 0 18px; padding: 14px 16px;
  border-radius: 16px; border: 1px dashed rgba(244, 192, 78, .45); background: rgba(244, 192, 78, .08);
  text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.pk__food:hover { background: rgba(244, 192, 78, .14); border-color: var(--gold); border-style: solid; }
.pk__food--static { cursor: default; }
.pk__food--static:hover { background: rgba(244, 192, 78, .08); border-color: rgba(244, 192, 78, .45); border-style: dashed; }
.pk__food-text { font-size: 16px; line-height: 1.35; }
.pk__food-text b { color: var(--gold-2); }
.pk__food-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.pk__food-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; transition: transform .2s;
  background: var(--gold-grad); color: #2a1204; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.pk__food-btn::after { content: '→'; transition: transform .2s; }
.pk__food:hover .pk__food-btn::after { transform: translateX(3px); }

.pk__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.pk__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.4; }
.pk__list li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px;
  background: rgba(244, 192, 78, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23f4c04e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pk__list small { color: var(--muted); }

.gift { display: flex; gap: 12px; margin: 0 0 20px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(196, 20, 47, .38), rgba(196, 20, 47, .12)); border: 1px solid rgba(255, 120, 140, .35); }
.gift__ic { width: 46px; height: 46px; object-fit: contain; flex: none; animation: wiggle 3.5s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
.gift__title { margin: 0 0 8px; font-weight: 800; font-size: 14px; line-height: 1.3; }
.gift__calc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.gift__calc label { font-size: 13px; color: var(--muted); font-weight: 600; }
.gift__result { font-weight: 800; color: var(--gold-2); font-size: 14px; }
.gift__bottles { margin: 8px 0 0; color: #e9d6df; font-size: 12px; line-height: 1.4; }
.stepper--xs { height: 34px; grid-template-columns: 30px 40px 30px; border-radius: 10px; }
.stepper--xs input { font-size: 15px; }
.stepper--xs .stepper__btn { font-size: 18px; }

.pk__cta { margin-top: auto; }

.pk-strip {
  display: grid; grid-template-columns: auto 220px 1fr; align-items: center; gap: 24px;
  margin-top: 36px; padding: 20px 28px; border-radius: 22px;
  background: linear-gradient(100deg, rgba(74, 21, 48, .7), rgba(30, 10, 38, .7));
  border: 1px solid rgba(244, 192, 78, .25);
}
.pk-strip__ic { width: 64px; height: 64px; object-fit: contain; }
.pk-strip__title { margin: 0; font: 800 17px/1.25 var(--font-head); text-transform: uppercase; }
.pk-strip__list { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pk-strip__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.pk-strip__list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.pk-strip__list b { color: var(--text); }

/* Модалка с составом меню */
.modal--menu { padding: 24px; }
.menu-box {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  display: flex; flex-direction: column; padding: 34px 36px 0;
  border-radius: 28px; background: linear-gradient(160deg, #3a1236, #1a0822 70%);
  border: 1.5px solid rgba(244, 192, 78, .55); box-shadow: var(--shadow);
  animation: pop .4s cubic-bezier(.2, 1.2, .4, 1);
}
.menu-box__title { margin: 0 0 18px; font: 900 clamp(24px, 3vw, 34px)/1.1 var(--font-head); text-transform: uppercase; }
.menu-tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.menu-tabs__btn { white-space: nowrap; border: 0; background: none; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.menu-tabs__btn[aria-selected="true"] { background: var(--gold-grad); color: #2a1204; }
.menu-box__body { overflow-y: auto; margin: 0 -14px; padding: 0 14px 20px; columns: 2; column-gap: 28px; }
.menu-box__body::-webkit-scrollbar { width: 6px; }
.menu-box__body::-webkit-scrollbar-thumb { background: rgba(244, 192, 78, .4); border-radius: 3px; }
.mg { break-inside: avoid; margin-bottom: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(6, 2, 10, .4); border: 1px solid var(--line); }
.mg h4 { margin: 0 0 6px; font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mg__item { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mg__item:last-child { border-bottom: 0; padding-bottom: 0; }
.mg__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.mg__row em { font-style: normal; color: var(--gold-2); white-space: nowrap; }
.mg__item p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mg__item.is-extra .mg__row span::after { content: 'только в «Антистрессе»'; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(196, 20, 47, .8); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.menu-box__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -36px; padding: 18px 36px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); border-radius: 0 0 28px 28px; }
.menu-box__note { margin: 0; color: var(--muted); font-size: 13px; }
.menu-box .modal__close { top: 14px; right: 16px; }

/* ---------- Музыка ---------- */
.music { background: radial-gradient(900px 600px at 15% 50%, rgba(196, 20, 47, .18), transparent 70%), var(--bg); }
.music__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.music__photo { position: relative; }
.music__photo img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.music__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; border: 1.5px solid rgba(244, 192, 78, .5); z-index: -1; }
.music__sticker {
  position: absolute; top: -18px; right: 26px;
  padding: 10px 20px; border-radius: 999px; background: var(--red); color: #fff;
  font: 900 18px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 10px 30px -8px rgba(196, 20, 47, .9);
  transform: rotate(4deg);
}
.music__sticker::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #fff; vertical-align: middle; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.music__lead { font-size: 20px; color: #fff; margin: 0 0 28px; }
.music__body > p:not(.eyebrow):not(.music__lead) { color: var(--muted); margin: 0 0 30px; }
.music__facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.music__facts li { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.music__facts b { display: block; font: 900 30px/1 var(--font-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.music__facts span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Финальная форма ---------- */
.final {
  position: relative; padding: 56px 0 80px;
  background:
    radial-gradient(800px 400px at 80% 60%, rgba(244, 170, 40, .08), transparent 70%),
    radial-gradient(900px 500px at 15% 40%, rgba(196, 20, 47, .12), transparent 70%),
    var(--bg);
}
.final__card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(244, 192, 78, .16), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(196, 20, 47, .32), transparent 60%),
    linear-gradient(140deg, #331039 0%, #1d0924 55%, #14061a 100%);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.final__card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 226, 154, .9), rgba(244, 192, 78, .15) 35%, rgba(196, 20, 47, .4) 65%, rgba(255, 226, 154, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* мерцающие огоньки */
.final__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 226, 154, .35) 1px, transparent 1.6px);
  background-size: 34px 34px;
  -webkit-mask: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  mask: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  opacity: .5;
}
.final__bg i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px 3px rgba(255, 210, 110, .7); animation: twinkle 3.2s ease-in-out infinite; }
.final__bg i:nth-child(1) { top: 12%; left: 46%; }
.final__bg i:nth-child(2) { top: 30%; left: 58%; animation-delay: .6s; width: 4px; height: 4px; }
.final__bg i:nth-child(3) { top: 78%; left: 52%; animation-delay: 1.2s; }
.final__bg i:nth-child(4) { top: 8%; left: 88%; animation-delay: 1.8s; width: 4px; height: 4px; }
.final__bg i:nth-child(5) { top: 60%; left: 6%; animation-delay: 2.3s; width: 5px; height: 5px; }
.final__bg i:nth-child(6) { top: 90%; left: 92%; animation-delay: .9s; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

.final__inner { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; padding: 64px; }
.final__text { position: relative; display: flex; flex-direction: column; }
.final__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; margin: 0 0 22px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(244, 192, 78, .3);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-2);
}
.final__badge span { padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff; }
.final .section__title { margin-bottom: 20px; }
.final__gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.final .section__lead { color: #ece2ea; margin-bottom: 24px; }
.final__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 12px; }
.final__list li {
  position: relative; padding-left: 38px; font-weight: 600; color: #f3e9ef;
}
.final__list li::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(244, 192, 78, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23f4c04e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(244, 192, 78, .4);
}
.final .lead-form { position: relative; z-index: 1; background: linear-gradient(160deg, rgba(62, 20, 72, .9), rgba(24, 8, 32, .95)); }

/* ---------- Подвал ---------- */
.footer { background: #07030a; border-top: 1px solid var(--line); padding: 40px 0 22px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.footer__brand img { width: 110px; height: auto; margin-bottom: 10px; }
.footer__brand p { margin: 0; color: var(--muted); }
.footer__col { display: grid; gap: 6px; align-content: start; font-style: normal; }
.footer__col b { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 4px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .4); font-size: 13px; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 2, 8, .8); backdrop-filter: blur(6px); animation: fade .25s; }
.modal__box {
  position: relative; width: min(480px, 100%); padding: 40px 32px 32px; text-align: center;
  border-radius: 26px; background: linear-gradient(160deg, #4a1530, #1f0a28);
  border: 1.5px solid rgba(244, 192, 78, .6); box-shadow: var(--shadow);
  animation: pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.modal__icon { width: 120px; margin: -96px auto 10px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .6)); animation: wiggle 2.4s ease-in-out infinite; }
.modal__title { margin: 0 0 12px; font: 800 24px/1.2 var(--font-head); text-transform: uppercase; }
.modal__text { margin: 0 0 24px; color: var(--muted); }
.modal__text b { color: var(--gold-2); }
.modal__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__close:hover { color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1240px) {
  .header__nav { display: none; }
  .header__right { margin-left: auto; }
  .header__burger { display: block; }
}

@media (max-width: 1100px) {
  .header__inner { gap: 16px; }
  .header__right { margin-left: auto; }
  .header__burger { display: block; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features .feature, .features .feature:nth-child(n+5) { grid-column: auto; }
  .features .feature:last-child { grid-column: 1 / -1; }
  .evening { grid-template-columns: 300px 1fr; }
  .evening__timing { grid-column: 1 / -1; padding: 36px 40px 40px; }
  .evening__timing::before { left: 40px; right: 40px; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(244, 192, 78, .45), transparent); }
  .timeline { columns: 2; column-gap: 40px; }
  .timeline::before { display: none; }
  .timeline li { break-inside: avoid; }
  .pk-strip { grid-template-columns: auto 1fr; }
  .pk-strip__list { grid-column: 1 / -1; grid-template-columns: 1fr; border-left: 0; padding: 0; }
  .menu-box__body { columns: 1; }
  .pk-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 34px; }
  .pk--hit { order: -1; margin: 0; }
  .pk-strip { max-width: 560px; margin-left: auto; margin-right: auto; }
  .music__inner { grid-template-columns: 1fr; gap: 50px; }
  .final__inner { grid-template-columns: 1fr; gap: 10px; padding: 48px 40px 40px; }
  }

@media (max-width: 900px) {
  .hero { --img-h: calc(100vw * 620 / 940); height: auto; min-height: 0; max-height: none; }
  .hero__bg { inset: var(--header-h) 0 auto 0; height: var(--img-h); background-position: left top; background-image: linear-gradient(0deg, var(--bg) 0%, rgba(12, 6, 16, 0) 35%), url(../img/hero-mobile.webp); background-size: cover; background-repeat: no-repeat; }
  .container.hero__inner { display: block; height: auto; padding-top: calc(var(--header-h) + var(--img-h) - 70px); padding-bottom: 50px; }
  .lead-form.hero__form { max-width: 520px; margin-top: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section__lead { font-size: 17px; margin-bottom: 34px; }
  .header__logo img { width: 74px; }
  .header__phone small, .header__cta, .header__phone-ic { display: none; }
  .header__phone span { font-size: 15px; }
  .hero__dates { font-size: 12px; padding: 8px 14px; }
  .hero__price { padding-left: 0; border-left: 0; }
  .price-badge { padding: 12px 18px; }
  .lead-form { padding: 24px 18px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .features { gap: 12px; margin-bottom: 36px; }
  .feature { padding: 16px; }
  .feature img { width: 60px; height: 60px; }
  .feature b { font-size: 16px; }
  .feature span { font-size: 14px; }
  .evening { grid-template-columns: 1fr; border-radius: 24px; }
  .evening__photo { min-height: 0; aspect-ratio: 1; }
  .evening__photo img { -webkit-mask: linear-gradient(0deg, transparent 0%, #000 45%); mask: linear-gradient(0deg, transparent 0%, #000 45%); }
  .evening__host { padding: 0 20px 28px; margin-top: -40px; position: relative; }
  .evening__timing { padding: 28px 20px 30px; }
  .evening__timing::before { left: 20px; right: 20px; }
  .timeline { columns: 1; }
  .timeline::before { display: block; left: 58px; }
  .timeline li { grid-template-columns: 46px 1fr; gap: 28px; }
  .timeline li::before { left: 53px; }
  .menu-box { padding: 26px 18px 0; border-radius: 22px; }
  .menu-box__foot { margin: 0 -18px; padding: 14px 18px; flex-direction: column; align-items: stretch; text-align: center; }
  .modal--menu { padding: 10px; }
  .menu-tabs__btn { padding: 9px 12px; font-size: 11px; letter-spacing: .02em; }
  .pk__food-text { font-size: 14px; }
  .pk-strip { padding: 18px; gap: 14px; }
  .pk-strip__ic { width: 48px; height: 48px; }
  .pk { padding: 26px 18px 20px; }
  .pk__emblem { height: 120px; }
  .music__facts { grid-template-columns: 1fr; }
  .music__facts li { display: flex; align-items: center; gap: 14px; }
  .music__facts b { margin: 0; min-width: 76px; }
  .music__photo::before { inset: 12px -8px -12px 8px; }
  .final { padding: 40px 0 56px; }
  .final__card { border-radius: 26px; }
  .final__inner { padding: 34px 18px 18px; }
  .final__badge { font-size: 11px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Широкие экраны: сдвигаем группу правее, ближе к центру контента */
@media (min-width: 1600px) {
  .hero__bg {
    left: calc((100vw - 1600px) * .3 + 40px);
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(12, 6, 16, 0) 180px),
      linear-gradient(0deg, var(--bg) 0%, rgba(12, 6, 16, .9) 24%, rgba(12, 6, 16, .3) 42%, rgba(12, 6, 16, 0) 58%),
      linear-gradient(90deg, rgba(12, 6, 16, 0) 68%, rgba(20, 6, 26, .55) 100%),
      url(../img/hero.webp) left top / cover no-repeat;
  }
}

/* Невысокие экраны ноутбуков: ужимаем форму, чтобы первый экран влезал целиком */
@media (min-width: 901px) and (max-height: 820px) {
  .lead-form.hero__form { padding: 22px 22px 18px; }
  .hero__form .lead-form__title { font-size: 19px; }
  .hero__form .lead-form__note { display: none; }
  .hero__form .lead-form__title { margin-bottom: 14px; }
  .hero__form .field { margin-bottom: 10px; gap: 4px; }
  .hero__form .field input, .hero__form .stepper { height: 46px; }
  .hero__form .date-pick { margin-bottom: 10px; }
  .hero__form .date-pick__opt span { padding: 7px 6px; }
  .hero__form .date-pick__opt b { font-size: 24px; }
  .hero__form .btn { --h: 50px; }
  .hero__form .consents { margin-bottom: 10px; gap: 6px; }
  .hero__form .check { font-size: 12px; }
  .price-badge { padding: 10px 20px 10px 18px; }
  .price-badge__num { font-size: 30px; }
}

/* ---------- Cookie-баннер ---------- */
.cookie {
  position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  display: grid; gap: 10px; padding: 14px 16px;
  border-radius: 18px; background: rgba(28, 10, 36, .97); border: 1px solid rgba(244, 192, 78, .35);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .8); font-size: 13px; line-height: 1.45;
  animation: pop .4s ease;
}
.cookie p { margin: 0; color: #e3d6df; }
.cookie a { color: var(--gold-2); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btns .btn { flex: 1 1 auto; --h: 36px; font-size: 12px; padding: 0 14px; }
@media (max-width: 640px) { .cookie { left: 10px; bottom: 10px; width: calc(100% - 20px); } }

.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold-2); }

/* ---------- Страницы документов ---------- */
.doc-page .header { position: sticky; }
.doc-page .header__right { margin-left: auto; }
.doc { padding: 60px 0 90px; }
.doc .container { max-width: 860px; }
.doc__back { display: inline-block; margin-bottom: 28px; color: var(--gold-2); text-decoration: none; font-weight: 700; }
.doc h1 { margin: 0 0 10px; font: 800 clamp(26px, 3.4vw, 40px)/1.15 var(--font-head); text-transform: uppercase; }
.doc__date { margin: 0 0 36px; color: var(--muted); }
.doc h2 { margin: 40px 0 14px; font: 800 20px/1.3 var(--font-head); text-transform: uppercase; color: var(--gold-2); scroll-margin-top: 100px; }
.doc p, .doc li { color: #e2d6df; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .todo { background: rgba(196, 20, 47, .35); padding: 0 4px; border-radius: 4px; }

/* Широкие мониторы: контент шире, чтобы по бокам не оставалось пустоты (на ноутбуках 14\" ничего не меняется) */
@media (min-width: 1700px) {
  .container { max-width: 1480px; }
  .section__title { font-size: clamp(40px, 3.2vw, 60px); max-width: 1000px; }
  .section__lead { font-size: 20px; max-width: 800px; }
  .features { gap: 22px; }
  .feature { padding: 28px 28px 30px; }
  .feature img { width: 100px; height: 100px; }
  .feature b { font-size: 20px; }
  .feature span { font-size: 16px; }
  .pk { padding: 34px 32px 30px; }
  .pk__list li { font-size: 16px; }
  .evening__host { padding: 56px 48px 56px 40px; }
  .evening__host > p { font-size: 17px; }
  .timeline b { font-size: 17px; }
  .music__inner { gap: 90px; }
}
@media (min-width: 2200px) {
  .container { max-width: 1720px; }
  .header__inner, .hero__inner { max-width: 2000px; }
}
