/* Воронка: sticky CTA, промо на главной */

.hs-body[data-hs-conversion-pad] {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

.hs-nav__cta {
  color: #c4b5fd !important;
  font-weight: 700;
}

.hs-nav__cta:hover,
.hs-nav__cta:focus-visible {
  color: #e9d5ff !important;
}

/* —— Sticky bar —— */
.hs-conversion-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 10, 18, 0.92);
  border-top: 1px solid rgba(139, 92, 246, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.hs-conversion-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hs-conversion-sticky__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-conversion-sticky__copy {
  min-width: 0;
}

.hs-conversion-sticky__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #f2f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-conversion-sticky__meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(219, 230, 255, 0.72);
}

.hs-conversion-sticky__meta strong {
  color: #a5f3fc;
  font-weight: 800;
}

.hs-conversion-sticky__dot {
  margin: 0 4px;
}

.hs-conversion-sticky__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* —— Home promo banner —— */
.hs-home-promo-banner {
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  background-color: var(--hs-home-section-bg, #050508);
}

.hs-home-promo-banner__link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.hs-home-promo-banner__link:focus-visible .hs-home-promo-banner__panel {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 6px rgba(123, 86, 255, 0.55);
}

.hs-home-promo-banner__panel {
  --hs-promo-purple: #5f34f9;
  --hs-promo-purple-deep: #4524d0;
  --hs-promo-purple-light: #7b58fb;
  --hs-promo-navy: #1c1448;
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(240px, 32vw, 380px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(22px, 2.8vw, 34px);
  background:
    radial-gradient(circle at 78% 88%, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(118deg, var(--hs-promo-purple-deep) 0%, var(--hs-promo-purple) 52%, var(--hs-promo-purple-light) 100%);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(95, 52, 249, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hs-home-promo-banner__link:hover .hs-home-promo-banner__panel {
    box-shadow:
      0 32px 72px rgba(95, 52, 249, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .hs-home-promo-banner__link:hover .hs-home-promo-banner__card {
    box-shadow:
      0 28px 54px rgba(8, 6, 22, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  }

  .hs-home-promo-banner__link:hover .hs-home-promo-banner__figure {
    transform: scale(1.03) translateY(-2px);
  }
}

.hs-home-promo-banner__stripe {
  position: absolute;
  top: clamp(10px, 1.6vw, 16px);
  bottom: clamp(10px, 1.6vw, 16px);
  left: clamp(12px, 1.8vw, 20px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 12%, 118px);
  border-radius: clamp(14px, 1.8vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #2a1f5f 0%, var(--hs-promo-navy) 100%);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.hs-home-promo-banner__countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 0.7vw, 8px);
  width: 100%;
  padding: clamp(8px, 1.2vw, 12px) clamp(4px, 0.6vw, 8px);
  text-align: center;
}

.hs-home-promo-banner__countdown-label {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(8px, 0.95vw, 10px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hs-home-promo-banner__countdown-units {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(3px, 0.5vw, 6px);
  width: 100%;
}

.hs-home-promo-banner__countdown-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px;
  padding: clamp(2px, 0.4vw, 4px) clamp(4px, 0.6vw, 6px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hs-home-promo-banner__countdown-value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hs-home-promo-banner__countdown-name {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(8px, 0.9vw, 10px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hs-home-promo-banner__shine {
  position: absolute;
  inset: -40% auto auto -20%;
  z-index: 1;
  width: 52%;
  height: 140%;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 34%,
    transparent 62%
  );
  transform: rotate(-8deg);
  pointer-events: none;
}

.hs-home-promo-banner__glow {
  position: absolute;
  right: 8%;
  bottom: -18%;
  z-index: 1;
  width: clamp(180px, 28vw, 320px);
  height: clamp(120px, 18vw, 220px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.hs-home-promo-banner__card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 8px);
  width: min(calc(100% - 40px), clamp(280px, 42vw, 520px));
  padding:
    clamp(24px, 3.2vw, 40px)
    clamp(26px, 3.6vw, 48px)
    clamp(26px, 3.2vw, 38px);
  border-radius: clamp(20px, 2.4vw, 28px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 22px 48px rgba(8, 6, 22, 0.22),
    0 0 0 1px rgba(95, 52, 249, 0.08) inset;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.hs-home-promo-banner__caption {
  margin: 0;
  max-width: 16ch;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(17px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  color: #121018;
}

.hs-home-promo-banner__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0.5vw, 6px);
  margin-top: clamp(2px, 0.6vw, 6px);
}

.hs-home-promo-banner__old-price {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(13px, 1.45vw, 17px);
  font-weight: 600;
  line-height: 1;
  color: #a3a3ad;
}

.hs-home-promo-banner__old-price s {
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(163, 163, 173, 0.85);
}

.hs-home-promo-banner__price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.08em;
  margin: 0;
  line-height: 0.92;
}

.hs-home-promo-banner__price-num {
  font-family: "Russo One", sans-serif;
  font-size: clamp(52px, 8.4vw, 104px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #0f0d16;
}

.hs-home-promo-banner__price-cur {
  margin-bottom: 0.08em;
  font-family: "Russo One", sans-serif;
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 400;
  color: #0f0d16;
}

.hs-home-promo-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(8px, 1.2vw, 14px);
  min-width: clamp(168px, 24vw, 228px);
  padding: clamp(10px, 1.2vw, 13px) clamp(24px, 3.2vw, 36px);
  border-radius: 999px;
  background: #5f34f9;
  box-shadow:
    0 8px 22px rgba(95, 52, 249, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(12px, 1.35vw, 15px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hs-home-promo-banner__link:hover .hs-home-promo-banner__cta {
    background: #542cdd;
    box-shadow:
      0 10px 26px rgba(95, 52, 249, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
}

.hs-home-promo-banner__badge {
  position: absolute;
  right: clamp(-20px, -2.6vw, -12px);
  bottom: clamp(-12px, -1.6vw, -6px);
  left: auto;
  top: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(74px, 10vw, 112px);
  padding: clamp(9px, 1.1vw, 13px) clamp(15px, 1.9vw, 24px);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d4d 0%, #e81818 100%);
  font-family: "Russo One", sans-serif;
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  transform: rotate(-24deg);
  box-shadow:
    0 10px 22px rgba(232, 24, 24, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hs-home-promo-banner__hero {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(180px, 32vw, 420px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hs-home-promo-banner__hero-glow {
  position: absolute;
  right: 12%;
  bottom: 8%;
  width: 62%;
  height: 72%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 72%);
  filter: blur(8px);
}

.hs-home-promo-banner__figure {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: calc(100% + 16px);
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  user-select: none;
  filter:
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
  transition: transform 0.32s ease;
}

/* —— Home final CTA —— */
.hs-home-conversion-final {
  padding: clamp(32px, 5vw, 56px) 0 clamp(46px, 8vh, 96px);
  background-color: var(--hs-home-section-bg, #050508);
}

.hs-home-conversion-final__panel {
  position: relative;
  text-align: center;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 20px;
  border: 1px solid rgba(95, 52, 249, 0.32);
  background: radial-gradient(circle at top, rgba(95, 52, 249, 0.14), rgba(8, 10, 18, 0.92));
  box-shadow:
    0 4px 20px rgba(95, 52, 249, 0.32),
    0 0 0 0 rgba(95, 52, 249, 0.4);
  animation: hs-home-final-panel-glow 2.8s ease-out infinite;
}

.hs-home-conversion-final__panel.reveal.visible,
.hs-home-conversion-final__panel.reveal.visible:hover,
.hs-home-conversion-final__panel.reveal.visible:focus-within {
  transform: translateY(0);
}

@keyframes hs-home-final-panel-glow {
  0% {
    box-shadow:
      0 4px 20px rgba(95, 52, 249, 0.32),
      0 0 0 0 rgba(95, 52, 249, 0.35);
  }

  70% {
    box-shadow:
      0 4px 28px rgba(95, 52, 249, 0.42),
      0 0 0 12px rgba(95, 52, 249, 0);
  }

  100% {
    box-shadow:
      0 4px 20px rgba(95, 52, 249, 0.32),
      0 0 0 0 rgba(95, 52, 249, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-home-conversion-final__panel {
    animation: none;
    box-shadow: 0 4px 20px rgba(95, 52, 249, 0.32);
  }
}

.hs-home-conversion-final__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: #f2f6ff;
}

.hs-home-conversion-final__lead {
  margin: 0 auto 20px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(219, 230, 255, 0.78);
}

.hs-home-conversion-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

/* —— Guest modal —— */
.hs-coach-order-modal__guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hs-coach-order-modal__guest-register {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

@media (max-width: 640px) {
  .hs-home-promo-banner__panel {
    min-height: clamp(200px, 56vw, 280px);
    padding: clamp(14px, 3.5vw, 20px);
    border-radius: 18px;
  }

  .hs-home-promo-banner__stripe {
    left: 8px;
    width: clamp(44px, 12vw, 56px);
    top: 8px;
    bottom: 8px;
    border-radius: 12px;
  }

  .hs-home-promo-banner__countdown {
    gap: 4px;
    padding: 6px 3px;
  }

  .hs-home-promo-banner__countdown-label {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .hs-home-promo-banner__countdown-value {
    font-size: 11px;
  }

  .hs-home-promo-banner__countdown-name {
    font-size: 7px;
  }

  .hs-home-promo-banner__countdown-unit:last-child {
    display: none;
  }

  .hs-home-promo-banner__card {
    width: min(calc(100% - 24px), 260px);
    padding: 18px 18px 20px;
    border-radius: 18px;
  }

  .hs-home-promo-banner__caption {
    font-size: 15px;
  }

  .hs-home-promo-banner__price-num {
    font-size: clamp(40px, 11vw, 52px);
  }

  .hs-home-promo-banner__price-cur {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hs-home-promo-banner__cta {
    min-width: 148px;
    padding: 9px 20px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hs-home-promo-banner__badge {
    min-width: 58px;
    padding: 6px 12px;
    font-size: 15px;
    right: -12px;
    bottom: -8px;
  }

  .hs-home-promo-banner__hero {
    width: clamp(112px, 34vw, 148px);
  }

  .hs-conversion-sticky__title {
    font-size: 13px;
  }

  .hs-conversion-sticky__btn {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 14px;
  }
}
