/* ===== VARIABLES ===== */
:root {
  --black: #000;
  --white: #fff;
  --gold: #e0a25e;
  --radius: 45px;
  --gap: 16px;
  --wrap-max: 1846px;
  --pad-side: 37px;
  --heading-gap: 20px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  line-height: 1.13;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
hr { border: 0; }

/* ===== WRAP (container) ===== */
.wrap {
  width: min(var(--wrap-max), calc(100% - var(--pad-side) * 2));
  margin-inline: auto;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, #000 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 68px var(--pad-side) 84px;
  flex: 1;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero__logo {
  color: var(--white);
  font-size: clamp(42px, 3.4vw, 65px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero__nav { display: flex; gap: 28px; }
.hero__social {
  color: var(--white);
  font-size: clamp(18px, 1.6vw, 30px);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero__bottom { margin-top: auto; }
.hero__title {
  color: var(--white);
  font-size: clamp(36px, 3.4vw, 65px);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 870px;
  margin-bottom: var(--heading-gap);
}
.hero__sub {
  color: rgba(255,255,255,.7);
  font-size: clamp(22px, 2.6vw, 50px);
  letter-spacing: -0.02em;
  max-width: 670px;
}

/* ===== STEP SECTIONS (no card background) ===== */
.step { padding: 64px 0 32px; }
.step#basic-fit,
.step#premium-fit {
  padding-bottom: 64px;
}
.step__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--heading-gap);
}
.heading {
  font-size: clamp(30px, 3.4vw, 65px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step__num {
  margin-left: auto;
  flex-shrink: 0;
  font-size: clamp(34px, 3.2vw, 64px);
  font-weight: 400;
  color: rgba(0,0,0,.2);
}
.step__sub {
  margin-top: 10px;
  font-size: clamp(22px, 2.6vw, 50px);
  opacity: .7;
  letter-spacing: -0.02em;
}
.step__sub--wide { max-width: 780px; }

/* ===== DOTS (три перекрывающихся кружка рядом с заголовком) ===== */
.dots {
  display: flex;
  flex-shrink: 0;
  margin-left: 6px;
}
.dots span {
  width: clamp(22px, 2.5vw, 47px);
  height: clamp(22px, 2.5vw, 47px);
  border-radius: 50%;
  background: var(--gold);
  margin-left: -10px;
}
.dots span:first-child { margin-left: 0; }
.dots span:nth-child(1) { opacity: 1; }
.dots span:nth-child(2) { opacity: .5; }
.dots span:nth-child(3) { opacity: .2; }

/* ===== CARDS (generic) ===== */
.card {
  border-radius: var(--radius);
  padding: calc(clamp(20px, 2.6vw, 50px) + 12px) clamp(20px, 2.6vw, 50px) calc((clamp(20px, 2.6vw, 50px) + 12px) * 2);
  margin-bottom: var(--gap);
}

/* Card: black */
.card--black {
  background: var(--black);
  color: var(--white);
}

/* Card: gold */
.card--gold {
  background: var(--gold);
  color: var(--black);
  position: relative;
  z-index: 2;
}

/* Card: bonus (black, overlaps gold above) */
.card--bonus {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--gap) * -8);
  padding-top: calc(clamp(20px, 2.6vw, 50px) + clamp(60px, 6vw, 120px) + 12px);
}

/* Card: outlined */
.card--outline {
  border: 1px solid rgba(0,0,0,.35);
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Card: gradient (CTA disclaimer) */
.card--gradient {
  background: #000;
  color: var(--white);
  margin-bottom: 40px;
}

/* ===== TARIFF ===== */
.tariff-price {
  font-size: clamp(40px, 7vw, 135px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--heading-gap);
}
.tariff-desc {
  margin-top: 0;
  font-size: clamp(18px, 2.6vw, 50px);
  opacity: .7;
  max-width: 900px;
}
.tariff-line {
  border-top: 1px solid rgba(255,255,255,.6);
  margin: 24px 0;
}

/* ===== BENEFITS GRID ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 30px;
}
.benefit img {
  width: clamp(120px, 22vw, 424px);
  height: auto;
  margin-bottom: 8px;
}
.benefit p {
  font-size: clamp(18px, 2.6vw, 50px);
  line-height: 1.2;
}
.hl { color: var(--gold); }

/* ===== BULLETS ===== */
.bullets { display: grid; gap: 32px; margin-top: 14px; }
.bullets li {
  position: relative;
  padding-left: 34px;
  font-size: clamp(18px, 2.6vw, 50px);
  line-height: 1.2;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: .45em;
  width: 18px; height: 18px;
  border-radius: 50%;
}
/* dot variants */
.bullets--gold li::before { background: var(--gold); }
.bullets--black li::before { background: var(--black); }
.bullets--white li { color: var(--white); }
.bullets--white li::before { background: var(--gold); }

/* Перенос строк только на desktop для точной типографики */
.desktop-break { display: none; }
@media (min-width: 769px) {
  .desktop-break { display: inline; }
}

/* ===== TWO-COL GRID ===== */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 34px;
}

/* ===== BONUS HEADING ===== */
.bonus-heading {
  font-size: clamp(30px, 3.4vw, 65px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--heading-gap);
}

/* Единый ритм после заголовков карточек */
.card > .heading {
  margin-bottom: var(--heading-gap);
}

/* ===== VOICE MESSAGE SECTION ===== */
.voice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 52px 0 36px;
  min-height: clamp(260px, 26vw, 430px);
  overflow: visible;
  position: relative;
}
.voice__left { flex: 1; min-width: 0; position: relative; z-index: 1; }
.voice__text {
  font-size: clamp(22px, 2.6vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 640px;
}
.voice__player {
  display: flex;
  align-items: center;
  gap: 18px;
}
.voice__circle {
  width: clamp(48px, 4.3vw, 82px);
  height: clamp(48px, 4.3vw, 82px);
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice__play {
  position: relative;
  width: clamp(20px, 2vw, 34px);
  height: clamp(24px, 2.3vw, 40px);
  background: var(--black);
  border-radius: clamp(3px, .3vw, 6px);
  clip-path: polygon(16% 8%, 92% 50%, 16% 92%);
  transform: translateX(1px);
}
.voice__bars {
  display: flex;
  align-items: center;
  gap: clamp(5px, .55vw, 10px);
  height: clamp(34px, 3vw, 58px);
  min-width: 210px;
}
.voice__bars span {
  width: clamp(3px, .28vw, 5px);
  border-radius: 99px;
  background: rgba(0,0,0,.5);
  height: clamp(22px, 1.9vw, 34px);
  animation: voice-wave 1.9s ease-in-out infinite;
}

/* Волновой паттерн по примеру типовых equalizer-реализаций */
.voice__bars span:nth-child(6n + 1) { height: clamp(24px, 2vw, 36px); animation-delay: 0s; }
.voice__bars span:nth-child(6n + 2) { height: clamp(30px, 2.4vw, 44px); animation-delay: .12s; }
.voice__bars span:nth-child(6n + 3) { height: clamp(36px, 3vw, 56px); animation-delay: .24s; }
.voice__bars span:nth-child(6n + 4) { height: clamp(30px, 2.4vw, 44px); animation-delay: .36s; }
.voice__bars span:nth-child(6n + 5) { height: clamp(26px, 2.1vw, 38px); animation-delay: .48s; }
.voice__bars span:nth-child(6n + 6) { height: clamp(32px, 2.6vw, 48px); animation-delay: .6s; }

@keyframes voice-wave {
  0%, 100% { transform: scaleY(.84); opacity: .65; }
  50% { transform: scaleY(1.08); opacity: .95; }
}

@media (prefers-reduced-motion: reduce) {
  .voice__bars span { animation: none; }
}
.voice__mic {
  width: clamp(290px, 38vw, 745px);
  transform: rotate(-21deg);
  opacity: .7;
  position: absolute;
  right: -170px;
  top: -130px;
  margin: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== SUPER BONUS MIC ===== */
.super-bonus__mic {
  position: absolute;
  right: -60px;
  bottom: -180px;
  width: clamp(220px, 28vw, 540px);
  transform: rotate(-21deg);
  opacity: .7;
  pointer-events: none;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  min-width: clamp(220px, 20vw, 380px);
  min-height: clamp(56px, 5.6vw, 108px);
  border-radius: 19px;
  background: var(--gold);
  color: var(--black);
  font-size: clamp(24px, 2.6vw, 50px);
  font-weight: 500;
  text-decoration: none;
  margin-top: 20px;
  margin-bottom: 60px;
  border: 1px solid transparent;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}

.cta-btn__label {
  text-decoration: none;
}

.cta-btn__arrow {
  width: clamp(33px, 3.2vw, 57px);
  height: clamp(23px, 2.3vw, 40px);
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(0);
  transition: transform .24s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.cta-btn:hover .cta-btn__arrow,
.cta-btn:focus-visible .cta-btn__arrow {
  transform: translateX(3px);
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  font-size: clamp(18px, 2.6vw, 50px);
  line-height: 1.23;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1200px) {
  :root { --radius: 30px; }
  .voice__mic { right: -120px; }
  .super-bonus__mic { right: -40px; }
}

@media (max-width: 992px) {
  .two-col,
  .benefits {
    grid-template-columns: 1fr;
  }
  .voice {
    flex-direction: column;
    min-height: clamp(250px, 52vw, 370px);
    padding: 40px 0 28px;
    padding-right: clamp(110px, 26vw, 210px);
    overflow: visible;
  }
  .voice__mic {
    width: clamp(218px, 55vw, 360px);
    position: absolute;
    right: -92px;
    top: 8px;
    margin: 0;
    z-index: 0;
    pointer-events: none;
  }
  .super-bonus__mic {
    position: static;
    width: clamp(160px, 40vw, 280px);
    margin-top: 20px;
  }
  .card--bonus {
    padding-top: calc(clamp(20px, 2.6vw, 50px) + 52px);
  }
  .bullets { gap: 28px; }
}

@media (max-width: 768px) {
  :root {
    --radius: 16px;
    --gap: 10px;
    --pad-side: 10px;
    --heading-gap: 16px;
  }
  .hero {
    height: 100vh;
    min-height: 100vh;
  }
  .hero__inner { padding: 40px 16px 48px; }
  .hero__nav { gap: 14px; }
  .step { padding: 40px 0 24px; }
  .step#basic-fit,
  .step#premium-fit {
    padding-bottom: 48px;
  }
  .dots span { margin-left: -6px; }
  .bullets { gap: 22px; }
  .bullets li { padding-left: 22px; }
  .bullets li::before { width: 10px; height: 10px; }
  .voice {
    padding-right: clamp(94px, 24vw, 160px);
    overflow: visible;
  }
  .voice__mic {
    width: clamp(196px, 52vw, 318px);
    right: -86px;
    top: 14px;
  }
  .voice__bars span { max-height: 34px; }
  .voice__bars { min-width: 0; }
  .card--bonus {
    margin-top: calc(var(--gap) * -3);
    padding-top: calc(clamp(20px, 2.6vw, 50px) + 40px);
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
  }
  .hero__title { max-width: 280px; }
  .hero__sub { max-width: 260px; }
  .bullets { gap: 18px; }
  .voice {
    min-height: clamp(220px, 60vw, 300px);
    padding-top: 30px;
    padding-bottom: 22px;
    padding-right: clamp(88px, 26vw, 130px);
    overflow: visible;
  }
  .voice__mic {
    width: clamp(178px, 56vw, 260px);
    right: -78px;
    top: 18px;
  }
  .card--bonus {
    padding-top: calc(clamp(20px, 2.6vw, 50px) + 28px);
  }
}

@media (min-width: 993px) {
  .voice {
    min-height: clamp(320px, 28vw, 520px);
  }

  .voice__mic {
    width: clamp(320px, 36vw, 680px);
    right: -165px;
    top: -120px;
  }

  #basic-bonus {
    position: relative;
    z-index: 1;
  }

  .voice[data-section="voice-basic"] {
    min-height: clamp(360px, 32vw, 560px);
    z-index: 2;
  }

  .voice[data-section="voice-basic"] .voice__mic {
    width: clamp(350px, 42vw, 760px);
    top: -160px;
    right: -220px;
    z-index: 2;
  }

  .voice[data-section="voice-premium"] .voice__mic {
    width: clamp(300px, 34vw, 620px);
    top: -92px;
    right: -148px;
  }

  #premium-tariff {
    position: relative;
    z-index: 3;
    margin-top: -90px;
  }
}

@media (min-width: 1600px) {
  .voice__mic {
    width: clamp(420px, 31vw, 740px);
    right: -185px;
    top: -128px;
  }

  .voice[data-section="voice-basic"] .voice__mic {
    width: clamp(460px, 35vw, 820px);
    right: -236px;
    top: -174px;
  }

  .voice[data-section="voice-premium"] .voice__mic {
    width: clamp(360px, 29vw, 640px);
    right: -162px;
    top: -102px;
  }
}
