/* Наш клуб - сайт. Цвета взяты из логотипа. */
:root {
  --cream: #F7EDE4;      /* фон логотипа - один в один */
  --cream-2: #EFE1D3;
  --navy: #0A2B4E;       /* монограмма */
  --night: #061B33;
  --gold: #B39468;       /* кольцо и звезда */
  --gold-hi: #E3C48E;    /* золото на тёмном */
  --ink: #16243A;
  --muted: #6B6F7A;
  --line: rgba(10, 43, 78, .14);

  --f: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.55 var(--f); overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- кнопки и подписи ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 2px;
  font: 600 13px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn-wide { width: 100%; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { box-shadow: 0 10px 28px -10px rgba(10, 43, 78, .6); }
.btn-gold { background: var(--gold-hi); color: var(--night); }
.btn-gold:hover { box-shadow: 0 0 0 6px rgba(227, 196, 142, .18), 0 12px 32px -8px rgba(227, 196, 142, .6); }

.eyebrow {
  margin: 0 0 14px; font: 500 12px/1.6 var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.eyebrow-light { color: var(--gold-hi); }
.link-under {
  font: 600 12px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.sec-title {
  font: 800 clamp(34px, 6vw, 76px)/.95 var(--f); letter-spacing: -.035em; color: var(--navy); text-transform: uppercase;
}

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 6px var(--gut); background: rgba(247, 237, 228, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.is-scrolled { border-color: var(--line); }
.top-nav { display: flex; gap: 26px; }
.top-nav a, .top-link {
  font: 500 11px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: none; border: 0; padding: 6px 0;
}
.top-nav a:hover, .top-link:hover { color: var(--gold); }
.top-logo img { height: 74px; width: auto; transition: height .3s var(--ease); }
.top.is-scrolled .top-logo img { height: 56px; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }

/* ---------- первый экран: точь-в-точь как у GAZU ---------- */
.hero {
  --ink-hero: #131518;
  position: relative; min-height: min(calc(100svh - 86px), 860px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px var(--gut) 34px; overflow: hidden;
  background: linear-gradient(180deg, #E7E6E3 0%, #DAD9D6 100%); color: var(--ink-hero);
}
.hero-eyebrow, .hero-side {
  position: relative; z-index: 3; margin: 0;
  font: 500 11px/1.75 'Jost', var(--f); letter-spacing: .28em; text-transform: uppercase;
}
.hero-eyebrow::after, .hero-side::after { content: ''; display: block; width: 34px; height: 1px; background: currentColor; margin-top: 12px; }
.hero-side { text-align: right; }
.hero-side::after { margin-left: auto; }

.hero-stage { position: static; flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-word {
  position: relative; z-index: 1; margin: 0; text-align: center; white-space: nowrap; user-select: none;
  font: 500 clamp(80px, 15.8vw, 270px)/.8 'Jost', var(--f); letter-spacing: -.02em; color: var(--ink-hero);
}
.hw-line { display: inline-block; opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) forwards; }
.hw-line + .hw-line { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* человек поверх букв, без рамки */
.hero-people {
  position: absolute; z-index: 2; left: 50%; bottom: 4%; top: 7%;
  width: min(36vw, 520px); transform: translateX(-50%); pointer-events: none;
}
.hero-people img {
  position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none;
  transform: translateX(-46%); opacity: 0;
  transition: opacity .4s ease, transform .4s ease;
  filter: grayscale(1) contrast(1.04) drop-shadow(0 18px 18px rgba(0, 0, 0, .12));
}
.hero-people img.is-on { opacity: 1; transform: translateX(-50%); transition: opacity .7s ease .45s, transform 1s var(--ease) .45s; }

.hero-bottom { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.btn-ink { background: var(--ink-hero); color: #F3F2EF; min-height: 46px; padding: 0 26px; font-size: 11px; }
.hero .link-under { font: 500 11px/1 'Jost', var(--f); letter-spacing: .2em; }
.hero-dots { position: absolute; right: 0; bottom: 118px; display: flex; gap: 8px; }
.hero-dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.hero-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(19, 21, 24, .25); transition: background .3s, transform .3s; }
.hero-dot.is-on::before { background: var(--ink-hero); transform: scale(1.4); }

/* шапка над серым экраном - тоже серая, дальше - кремовая */
.top.on-hero { background: rgba(231, 230, 227, .92); color: #131518; }
.top-link { display: inline-flex; align-items: center; gap: 7px; }
.tl-short { display: none; }
.top-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }

/* ---------- три двери ---------- */
.doors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(227, 196, 142, .18); color: var(--cream);
}
.door {
  display: flex; gap: 22px; align-items: flex-start; padding: 40px var(--gut) 44px;
  background: var(--night); transition: background .35s;
}
.door:hover { background: var(--navy); }
.door-ico { flex: none; width: 64px; height: 64px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.door:hover .door-ico { transform: rotate(-8deg) scale(1.08); }
.door h2 { font: 800 20px/1.1 var(--f); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.door p { margin: 0 0 16px; font-size: 14px; color: rgba(247, 237, 228, .72); }
.door-link { font: 600 11px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold-hi); }
.door-link span { display: inline-block; transition: transform .3s var(--ease); }
.door:hover .door-link span { transform: translateX(6px); }

/* фото в карточках - как MEN / WOMEN / KIDS у GAZU */
.door-pic { flex: none; width: 92px; height: 118px; object-fit: cover; filter: grayscale(1); transition: transform .5s var(--ease); }
.door:hover .door-pic { transform: scale(1.04); }

/* ---------- жизнь клуба ---------- */
.life { padding: 96px 0 24px; }
.life-strip { scroll-padding-inline: var(--gut); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px; scrollbar-width: none; }
.life-strip::-webkit-scrollbar { display: none; }
.life-card { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.life-card img { height: clamp(320px, 38vw, 520px); width: auto; aspect-ratio: 2 / 3; object-fit: cover; filter: grayscale(1); transition: filter .5s; }
.life-card:hover img { filter: grayscale(1) contrast(1.1); }
.life-card figcaption a { color: var(--gold); text-decoration: none; }
.life-card figcaption { margin-top: 10px; font: 500 11px/1 'Jost', var(--f); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }

/* ---------- небо ---------- */
.sky {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: radial-gradient(120% 90% at 75% 20%, #12365e 0%, var(--night) 60%); color: var(--cream);
  overflow: hidden; cursor: crosshair; touch-action: manipulation;
}
#sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-text { position: relative; z-index: 2; max-width: 560px; padding: 80px var(--gut); pointer-events: none; }
.sky-text a, .sky-text button { pointer-events: auto; }
.sky-title { font: 800 clamp(38px, 6.4vw, 84px)/.95 var(--f); letter-spacing: -.035em; text-transform: uppercase; }
.sky-sub { font-size: 18px; color: rgba(247, 237, 228, .78); max-width: 420px; margin: 22px 0 18px; }
.sky-count { margin: 0; font: 500 12px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.sky-count #sky-n { font-size: 28px; font-weight: 800; letter-spacing: 0; margin-right: 4px; }
.sky-done { margin-top: 24px; animation: rise .8s var(--ease) both; }
.sky-done p { font-size: 17px; margin: 0 0 18px; }

/* ---------- строка доверия ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px var(--gut); background: var(--cream-2); }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item svg { flex: none; width: 32px; height: 32px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; font: 600 12px/1.3 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- форматы ---------- */
.rubrics { padding: 96px 0 80px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 var(--gut); margin-bottom: 34px; }
.strip-arrows { display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; border: 1px solid var(--navy); background: none; border-radius: 50%; font-size: 18px; transition: background .25s, color .25s; }
.arrow:hover { background: var(--navy); color: var(--cream); }
.strip {
  scroll-padding-inline: var(--gut); align-items: flex-start; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.rubric {
  flex: 0 0 min(300px, 78vw); scroll-snap-align: start; height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px; background: #fff8f1; border: 1px solid var(--line);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.rubric:hover { background: var(--navy); color: var(--cream); transform: translateY(-6px); }
.rubric-star { width: 18px; height: 18px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transition: transform .5s var(--ease); }
.rubric:hover .rubric-star { transform: rotate(90deg) scale(1.3); background: var(--gold-hi); }
.rubric h3 { font: 800 21px/1.1 var(--f); letter-spacing: -.01em; margin: 24px 0 10px; }
.rubric p { margin: 0; font-size: 14px; opacity: .75; }

/* большие карточки с фото в «В нашем клубе» */
.rubric-photo { flex-basis: min(380px, 84vw); padding: 0; justify-content: flex-start; overflow: hidden; }
.rubric-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.rubric-photo:hover img { transform: scale(1.03); }
.rubric-body { padding: 20px 24px 24px; }
.rubric-body h3 { margin: 0 0 8px; }
.book-credits { margin: 12px 0 16px !important; font-size: 13px !important; line-height: 1.55; }
.rubric:hover .btn-navy { background: var(--gold-hi); color: var(--night); }
.rubric-btn { margin-top: 14px; }

/* ---------- тест ---------- */
.quiz { padding: 0 var(--gut) 96px; }
.quiz-card {
  max-width: 980px; margin: 0 auto; padding: clamp(28px, 5vw, 64px);
  background: var(--navy); color: var(--cream); position: relative; overflow: hidden;
}
.quiz-card::before {
  content: ''; position: absolute; right: -200px; bottom: -220px; width: 360px; height: 360px;
  border: 1.5px solid var(--gold); border-radius: 50%; opacity: .5;
}
.quiz-card > * { position: relative; }
.quiz-card .sec-title { color: var(--cream); margin-bottom: 28px; }
.quiz-q { font: 600 20px/1.35 var(--f); margin: 0 0 18px; max-width: 640px; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-progress i { width: 28px; height: 3px; background: rgba(247, 237, 228, .2); }
.quiz-progress i.on { background: var(--gold-hi); }
.quiz-opts { display: grid; gap: 10px; max-width: 640px; }
.quiz-opt {
  text-align: left; padding: 16px 20px; background: rgba(247, 237, 228, .06);
  border: 1px solid rgba(227, 196, 142, .35); color: var(--cream); font-size: 16px;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.quiz-opt:hover { background: rgba(227, 196, 142, .14); border-color: var(--gold-hi); transform: translateX(6px); }
.quiz-result { animation: rise .7s var(--ease) both; max-width: 640px; }
.quiz-result h3 { font: 800 clamp(28px, 4.4vw, 46px)/1 var(--f); text-transform: uppercase; letter-spacing: -.02em; color: var(--gold-hi); margin: 0 0 14px; }
.quiz-result p { font-size: 17px; margin: 0 0 24px; color: rgba(247, 237, 228, .85); }
.quiz-again { background: none; border: 0; margin-left: 18px; color: var(--gold-hi); font: 600 12px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- города ---------- */
.cities { padding: 0 var(--gut) 96px; }
.city-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.city {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); overflow: hidden;
  font: 800 clamp(26px, 5vw, 58px)/1 var(--f); letter-spacing: -.03em; text-transform: uppercase; color: var(--navy);
  transition: color .4s, padding-left .4s var(--ease);
}
.city::before {
  content: ''; position: absolute; inset: 0; background: var(--navy);
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1;
}
.city { z-index: 0; }
.city:hover, .city.is-lit { color: var(--cream); padding-left: 18px; }
.city:hover::before, .city.is-lit::before { transform: none; }
.city-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--gold); margin-right: 18px; transition: background .3s, box-shadow .3s; }
.city:hover .city-dot, .city.is-lit .city-dot { background: var(--gold-hi); box-shadow: 0 0 18px 4px rgba(227, 196, 142, .7); }
.cities-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; margin-top: 26px; }
.cities-note { margin: 0; color: var(--muted); font-size: 17px; }
.msg-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.msg-btn svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 680px) { .msg-btns, .msg-btn { width: 100%; } }

/* ---------- лидеры ---------- */
.leaders { padding: 80px 0 70px; background: var(--night); color: #F3F2EF; }
.sec-title-light { color: #F3F2EF; }
.arrow-light { border-color: rgba(243, 242, 239, .5); color: #F3F2EF; }
.arrow-light:hover { background: #F3F2EF; color: var(--night); }
.lead-strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 10px; scrollbar-width: none; }
.lead-strip::-webkit-scrollbar { display: none; }
.lead {
  flex: 0 0 min(440px, 86vw); scroll-snap-align: start;
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center;
}
.lead-pic { position: relative; height: 210px; background: linear-gradient(180deg, #E7E6E3, #D3D2CF); overflow: hidden; }
.lead-pic img { position: absolute; left: 50%; top: 5%; height: 190%; width: auto; max-width: none; transform: translateX(-50%); filter: grayscale(1); transition: transform .5s var(--ease); }
.lead:hover .lead-pic img { transform: translateX(-50%) scale(1.04); }
.lead h3 { font: 500 17px/1.2 'Jost', var(--f); letter-spacing: .14em; text-transform: uppercase; }
.lead-city { margin: 6px 0 10px; font: 500 11px/1 'Jost', var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.lead-role { margin: 0 0 8px; font-size: 13px; color: rgba(243, 242, 239, .6); }
.lead-text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(243, 242, 239, .88); }
@media (max-width: 680px) { .lead { grid-template-columns: 120px 1fr; gap: 16px; } .lead-pic { height: 180px; } }

/* ---------- тарифы ---------- */
.tariffs { padding: 96px var(--gut); background: var(--cream-2); }
.tariff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.tariff {
  position: relative; display: flex; flex-direction: column; padding: 36px;
  background: var(--cream); border: 1px solid var(--line);
}
.tariff h3 { font: 800 26px/1 var(--f); text-transform: uppercase; color: var(--navy); }
.price { margin: 16px 0 22px; color: var(--navy); font-size: 18px; }
.price b { font: 900 64px/1 var(--f); letter-spacing: -.04em; }
.price span { font-size: 14px; color: var(--muted); }
.tariff ul { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.tariff li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tariff li::before {
  content: ''; position: absolute; left: 0; top: 15px; width: 11px; height: 11px; background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.tariff-gold { background: var(--night); color: var(--cream); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 30px 60px -30px rgba(10, 43, 78, .7); }
.tariff-gold h3, .tariff-gold .price { color: var(--cream); }
.tariff-gold .price span { color: rgba(247, 237, 228, .6); }
.tariff-gold li { border-color: rgba(227, 196, 142, .2); }
.tariff-gold li::before { background: var(--gold-hi); }
.tariff-gold::after {
  content: ''; position: absolute; inset: -1px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(227, 196, 142, .22) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 40% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.tariff-tag {
  position: absolute; top: 0; right: 28px; transform: translateY(-50%); margin: 0;
  padding: 7px 12px; background: var(--gold-hi); color: var(--night);
  font: 600 10px/1 var(--f); letter-spacing: .16em; text-transform: uppercase;
}
.tariff-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

.consult {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: center;
  margin-top: 40px; padding: 36px; background: var(--navy); color: var(--cream);
}
.consult h3 { font: 800 clamp(26px, 3.6vw, 40px)/1 var(--f); text-transform: uppercase; letter-spacing: -.02em; }
.consult-price { margin: 14px 0 0; color: var(--gold-hi); font-size: 18px; }
.consult-price b { font: 900 46px/1 var(--f); }
.consult-pick > p { margin: 0 0 12px; color: rgba(247, 237, 228, .75); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  padding: 11px 16px; background: none; border: 1px solid rgba(227, 196, 142, .45); color: var(--cream);
  font-size: 14px; border-radius: 40px; transition: background .2s, color .2s;
}
.chip.is-on { background: var(--gold-hi); color: var(--night); border-color: var(--gold-hi); }

/* ---------- шаги ---------- */
.steps { padding: 96px var(--gut); }
.step-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step-list li { padding-top: 22px; border-top: 2px solid var(--navy); }
.step-n { display: block; font: 900 46px/1 var(--f); color: var(--gold); margin-bottom: 12px; }
.step-list h3 { font: 800 18px/1.15 var(--f); text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.step-list p { margin: 0; color: var(--muted); font-size: 15px; }

.install { display: flex; gap: 24px; align-items: center; margin-top: 56px; padding: 26px; border: 1px solid var(--line); background: #fff8f1; }
.install img { flex: none; border-radius: 22px; box-shadow: 0 12px 30px -12px rgba(10, 43, 78, .4); }
.install h3 { font: 800 20px/1.1 var(--f); text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.install p { margin: 0 0 14px; color: var(--muted); }

/* ---------- приглашённый гость: сцена с прожектором ---------- */
.guest { position: relative; overflow: hidden; padding: 100px var(--gut); background: var(--night); color: var(--cream); }
.guest-spot {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(40% 55% at 30% 0%, rgba(227, 196, 142, .28), transparent 70%),
              radial-gradient(35% 45% at 80% 100%, rgba(227, 196, 142, .12), transparent 70%);
}
.guest-inner { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.guest-pic { position: relative; margin: 0; }
.guest-pic::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--gold-hi); }
.guest-pic img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.05); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.on-air {
  position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(6, 27, 51, .85); border: 1px solid var(--gold-hi);
  font: 600 11px/1 'Jost', var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi);
}
.on-air i { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); animation: onair 1.6s infinite; }
@keyframes onair { 70% { box-shadow: 0 0 0 10px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.guest-title { margin: 0 0 18px; font: 800 clamp(34px, 4.4vw, 60px)/.95 var(--f); letter-spacing: -.035em; text-transform: uppercase; }
.guest-title, .guest-copy .eyebrow { text-shadow: 0 0 40px rgba(227, 196, 142, .15); }
.guest-text { margin: 0 0 22px; font-size: 19px; color: rgba(247, 237, 228, .85); }
.guest-perks { list-style: none; margin: 0 0 28px; padding: 0; }
.guest-perks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(227, 196, 142, .18); font-size: 16px; }
.guest-perks li::before {
  content: ''; position: absolute; left: 0; top: 15px; width: 13px; height: 13px; background: var(--gold-hi);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.guest-call { margin: 0 0 12px; font: 500 12px/1 'Jost', var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); }
@media (max-width: 980px) { .guest-inner { grid-template-columns: 1fr; } }

/* ---------- отзывы ---------- */
.reviews { position: relative; overflow: hidden; padding: 90px var(--gut); background: var(--night); color: #fff; }
.rv-bg { position: absolute; inset: -40px; background: url('../img/gallery/14-bolshaya-kompaniya.jpg') center / cover; filter: blur(18px) brightness(.35); transform: scale(1.1); }
.rv-stage { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; align-items: center; }
.rv-phone {
  width: 280px; height: 560px; border-radius: 46px; padding: 14px; background: #0b0b0d;
  box-shadow: 0 0 0 2px #3a3b3f, 0 0 0 5px #111, 0 40px 80px -20px rgba(0, 0, 0, .7);
}
.rv-screen { height: 100%; border-radius: 34px; background: #dfe3ea; padding: 60px 14px; display: flex; flex-direction: column; gap: 12px; filter: blur(2.5px); opacity: .85; }
.rv-line { display: block; height: 30px; width: 72%; border-radius: 12px; background: #fff; }
.rv-line.r { align-self: flex-end; background: #a9c8f5; }
.rv-line.s { width: 48%; }
.rv-side { position: relative; z-index: 2; margin-left: -110px; min-width: 0; }
.rv-title { display: flex; align-items: center; gap: 16px; margin: 0 0 18px 130px; font: 800 clamp(34px, 5vw, 56px)/1 var(--f); text-transform: uppercase; letter-spacing: -.01em; }
.rv-title::after { content: ''; flex: 1; height: 2px; background: var(--gold-hi); }
.rv-strip { display: flex; gap: 16px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 40px 14px 0; scrollbar-width: none; }
.rv-strip::-webkit-scrollbar { display: none; }
.rv-bubble {
  position: relative; flex: 0 0 min(500px, 80vw); scroll-snap-align: start; margin-left: 8px;
  padding: 18px 22px; background: #fff; color: #111;
  border-radius: 18px 18px 18px 4px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
}
.rv-bubble::before { content: ''; position: absolute; left: -7px; bottom: 0; width: 14px; height: 14px; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.rv-bubble p { margin: 0; font-size: 16px; line-height: 1.5; white-space: pre-line; max-height: 300px; overflow-y: auto; }
.rv-hint { font: 500 11px/1 'Jost', var(--f); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
/* перетаскивание мышкой для всех лент */
.is-dragging { cursor: grabbing !important; scroll-snap-type: none !important; user-select: none; }
.strip, .life-strip, .lead-strip, .rv-strip { cursor: grab; }
.rv-nav { display: flex; align-items: center; gap: 14px; margin: 22px 0 0 130px; }
.rv-count { font: 500 12px/1 'Jost', var(--f); letter-spacing: .2em; min-width: 64px; text-align: center; }
@media (max-width: 760px) {
  .rv-stage { grid-template-columns: 1fr; }
  .rv-phone { width: 200px; height: 400px; border-radius: 36px; margin: 0 auto; }
  .rv-side { margin: -230px 0 0; }
  .rv-title { margin-left: 0; }
  .rv-nav { margin-left: 0; justify-content: center; }
}

/* ---------- подвал ---------- */
.foot { padding: 60px var(--gut) 120px; text-align: center; border-top: 1px solid var(--line); }
.foot-logo { width: 190px; margin: 0 auto; }
.foot-line { margin: 18px 0 26px; font: 500 12px/1 var(--f); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.foot-social { margin: 0 0 28px; }
.foot-social p { margin: 0 0 12px; font: 500 12px/1 'Jost', var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--navy); color: var(--navy); text-decoration: none; font: 600 12px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s; }
.social-btn svg { width: 22px; height: 22px; fill: currentColor; }
.social-btn:hover { background: var(--navy); color: var(--cream); }
.foot-docs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; }
.foot-docs a { color: var(--muted); }
.foot-pdf { margin-top: 12px; font-size: 12px; }
.foot-req { margin: 20px auto 0; max-width: 640px; font-size: 12px; color: var(--muted); }
.foot-req a { color: var(--muted); }
.foot-small { margin: 24px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- липкая кнопка ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 237, 228, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-cta.is-on { transform: none; }

/* ---------- окошко ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(6, 27, 51, .6); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(460px, 100%); padding: 34px 28px 28px; background: var(--cream); animation: rise .4s var(--ease) both; }
.modal-box h3 { font: 800 22px/1.15 var(--f); text-transform: uppercase; color: var(--navy); margin-bottom: 12px; padding-right: 24px; }
.modal-box p { margin: 0 0 12px; }
.modal-box ol { padding-left: 20px; margin: 0; }
.modal-box li { margin-bottom: 8px; }
.modal-box { max-height: calc(100svh - 32px); overflow-y: auto; }
.book-pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 4px 0 16px; filter: grayscale(1); }
.book-lead { font-weight: 600; color: var(--navy); }
.book-words { font-style: italic; color: var(--muted); }
.book-authors { margin: 16px 0 20px; padding: 14px 16px; background: #fff8f1; border: 1px solid var(--line); }
.book-authors p { margin: 0 0 4px; font: 500 11px/1.4 'Jost', var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.book-authors ul { list-style: none; margin: 0 0 12px; padding: 0; columns: 2; font-size: 14px; }
.book-authors ul:last-child { margin-bottom: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.agree a { color: var(--navy); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.pay-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.modal-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; background: none; border: 0; font-size: 28px; color: var(--navy); }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .top { grid-template-columns: auto 1fr; }
  .top-logo img { height: 58px; }
  .top.is-scrolled .top-logo img { height: 48px; }
  .doors { grid-template-columns: 1fr; }
  .door { padding-top: 28px; padding-bottom: 28px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .consult { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero { min-height: 680px; padding-top: 20px; }
  .hero-word { font-size: 31vw; line-height: .9; }
  .hw-line { display: block; }
  .hero-stage { padding: 20px 0 60px; }
  .hero-people { top: 15%; bottom: 112px; width: 70vw; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-cta { gap: 16px; }
  .hero-cta .btn { flex: 1; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .hero-side { display: none; }
  .hero-dots { position: static; justify-content: center; order: -1; }
  .top-actions { gap: 16px; }
  .tl-long { display: none; }
  .tl-short { display: inline; }
  /* «Приобрести книгу» - под подписью, чтобы карточка не расширялась и промежутки в ленте были равными */
  .life-card figcaption a { display: block; margin-top: 8px; }
  .life-card figcaption .cap-sep { display: none; }
  .tariff-row { grid-template-columns: 1fr; gap: 28px; }
  .tariff, .consult { padding: 28px 22px; }
  .step-list { grid-template-columns: 1fr; }
  .install { flex-direction: column; align-items: flex-start; }
  .trust { grid-template-columns: 1fr; gap: 16px; }
  .strip-arrows { display: none; }
  .sky { min-height: 600px; align-items: flex-end; }
  .sticky-cta { display: block; }
  .rubrics, .tariffs, .steps { padding-top: 72px; padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .hw-line { opacity: 1; transform: none; }
}

/* окно «Живые встречи клуба» */
.meet-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.meet-row { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line, rgba(0,0,0,.1)); border-radius: 12px; }
.meet-day { text-align: center; line-height: 1; }
.meet-day b { display: block; font-size: 28px; font-weight: 600; }
.meet-day span { font-size: 12px; color: var(--muted); }
.meet-t { margin: 0 0 4px; font-weight: 600; }
.meet-w { margin: 0; font-size: 14px; color: var(--muted); }
.meet-open { margin: 0 0 14px; }
.leader-note { font-weight: 600; }

.btn[hidden], .leader-note[hidden] { display: none !important; }

/* окна после оплаты */
.ob-dots { display: flex; gap: 6px; margin: -4px 0 16px; }
.ob-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.ob-dots i.on { background: var(--gold, #b8955a); }
.ob-msg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; }
.ob-msg .msg-btn { width: 100%; }
.ob-state { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.ob-state.ok { color: #1f7a3e; font-weight: 600; }
.ob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.modal-x[hidden] { display: none; }
@media (max-width: 380px) { .ob-msg, .ob-row { grid-template-columns: 1fr; } }
