/* Halloween-распродажа Small Talks. Тема поверх promotions-page.css, всё под .hw */
.hw {
  --hw-orange: #ff9901;
  --hw-orange-deep: #e07d00;
  --hw-dark: #170b24;
  --hw-dark-2: #241038;
  --hw-ghost: #f7f3ff;
}

/* ---------- Герой ---------- */
.hw .summer-promo-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(23, 11, 36, 0.72) 0%, rgba(23, 11, 36, 0.58) 45%, rgba(23, 11, 36, 0.85) 100%),
    url("../assets/img/action/halloween-bg.jpg") center / cover no-repeat;
  color: var(--hw-ghost);
  overflow: hidden;
}
.hw .summer-promo-hero__grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hw .summer-promo-hero__content {
  max-width: 760px;
}
.hw .summer-promo-hero__actions {
  justify-content: center;
}
.hw .summer-promo-hero__title,
.hw .summer-promo-hero__lead {
  color: var(--hw-ghost);
}
.hw .summer-promo-hero__title {
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hw .summer-promo-hero__lead {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Надписи-леттеринг */
.hw-hero__lettering {
  margin: 0 auto 18px;
  max-width: 680px;
}
.hw-hero__offer-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}
.hw-hero__from-st {
  display: block;
  width: 62%;
  max-width: 420px;
  height: auto;
  margin: 10px auto 0;
}
.hw-hero__offer-img--mobile {
  display: none;
}
@media (max-width: 600px) {
  .hw-hero__offer-img--desktop {
    display: none;
  }
  .hw-hero__offer-img--mobile {
    display: block;
    max-width: 320px;
    margin: 0 auto;
  }
  .hw-hero__from-st {
    width: 78%;
  }
}

/* Приведение-декор */
.hw-hero__ghost {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 150px;
  height: auto;
  opacity: 0.92;
  animation: hw-float 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hw-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hw-hero__ghost { animation: none; }
}
@media (max-width: 900px) {
  .hw-hero__ghost { width: 96px; top: 3%; right: 3%; }
}
.hw .hw-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--hw-orange);
  color: #2a1400;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hw .hw-hero__deadline {
  margin-top: 6px;
  font-weight: 700;
  color: var(--hw-orange);
}

/* ---------- Таймер обратного отсчёта ---------- */
.hw-timer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 6px;
}
.hw-timer__cell {
  min-width: 72px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 153, 1, 0.45);
  text-align: center;
}
.hw-timer__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--hw-orange);
  font-variant-numeric: tabular-nums;
}
.hw-timer__label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 255, 0.72);
}
.hw-timer--dark .hw-timer__cell {
  background: rgba(23, 11, 36, 0.06);
  border-color: rgba(224, 125, 0, 0.5);
}
.hw-timer--dark .hw-timer__num {
  color: var(--hw-orange-deep);
}
.hw-timer--dark .hw-timer__label {
  color: var(--color-text-muted);
}
.hw-timer__expired {
  font-weight: 700;
  color: var(--hw-orange-deep);
}

/* ---------- Акцентные заголовки секций ---------- */
.hw .summer-promo-section__title .hw-emoji {
  margin-right: 8px;
}
.hw .hw-accent {
  color: var(--hw-orange-deep);
  font-weight: 800;
  text-align: center;
}

/* ---------- Боль ---------- */
.hw .summer-promo-why__highlight {
  border-left: 4px solid var(--hw-orange);
  padding-left: 16px;
}

/* ---------- Тарифы ---------- */
.hw .summer-promo-tariff__price {
  color: var(--hw-orange-deep);
}
.hw .hw-tariff__old {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--hw-orange);
}
.hw .summer-promo-tariff--hot {
  border-color: var(--hw-orange);
  box-shadow: 0 10px 30px rgba(255, 153, 1, 0.22);
}
.hw .hw-tariff__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--hw-orange);
  color: #2a1400;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.hw .summer-promo-tariff {
  position: relative;
}
.hw .hw-tariff__per {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ---------- Блок срочности ---------- */
.hw .hw-urgency {
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(255, 153, 1, 0.25), transparent 60%),
    var(--hw-dark-2);
  color: var(--hw-ghost);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
}
.hw .hw-urgency .summer-promo-section__title,
.hw .hw-urgency p {
  color: var(--hw-ghost);
}
.hw .hw-urgency .hw-timer {
  justify-content: center;
}
.hw .hw-urgency__list {
  list-style: none;
  margin: 18px auto 24px;
  padding: 0;
  max-width: 520px;
  text-align: left;
  display: grid;
  gap: 10px;
}
.hw .hw-urgency__list li {
  padding-left: 4px;
}

/* ---------- Пробное занятие ---------- */
.hw .hw-trial__list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0;
  list-style: none;
  counter-reset: hw-step;
}
.hw .hw-trial__list li {
  position: relative;
  padding: 16px 18px 16px 58px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}
.hw .hw-trial__list li::before {
  counter-increment: hw-step;
  content: counter(hw-step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hw-orange);
  color: #2a1400;
  font-weight: 800;
}
.hw .hw-trial__messengers {
  text-align: center;
  font-weight: 600;
}

/* ---------- Общий CTA-ряд ---------- */
.hw .hw-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 560px) {
  .hw-timer__cell {
    min-width: 64px;
    flex: 1 1 64px;
  }
  .hw-timer__num {
    font-size: 1.6rem;
  }
}

/* ---------- Хэллоуин-декор: летучие мыши и тыквы ---------- */
.hw-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.hw-bat {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 30px;
  line-height: 1;
  opacity: 0.9;
  transform: translate(-300px, -300px);
  will-change: transform;
}
.hw-bat__wing {
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transform-origin: center;
  animation: hw-flap 0.34s ease-in-out infinite;
}
@keyframes hw-flap {
  0%, 100% { transform: scaleY(1) rotate(-7deg); }
  50% { transform: scaleY(0.68) rotate(7deg); }
}
.hw-pumpkin {
  position: fixed;
  bottom: 18px;
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  animation: hw-bounce 1.7s ease-in-out infinite;
}
.hw-pumpkin--l { left: 16px; }
.hw-pumpkin--r { right: 16px; animation-delay: 0.55s; }
@keyframes hw-bounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@media (max-width: 600px) {
  .hw-pumpkin { font-size: 32px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-bat { display: none; }
  .hw-pumpkin { animation: none; }
}

/* ---------- Тарифы: на десктопе 2 карточки по центру (не 3 слева) ---------- */
@media (min-width: 768px) {
  .hw .summer-promo-tariffs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}

/* ---------- Три слогана: карточки с иконками в ровный ряд ---------- */
.hw .summer-promo-feature.hw-feature {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid rgba(255, 153, 1, 0.3);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(23, 11, 36, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hw .summer-promo-feature.hw-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(255, 153, 1, 0.22);
}
.hw .hw-feature__icon {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 0 12px;
}
.hw .hw-feature .summer-promo-feature__title {
  padding-left: 0;
}
.hw .hw-feature .summer-promo-feature__title::before {
  content: none;
}
.hw .hw-feature .summer-promo-feature__text {
  padding-left: 0;
}
@media (min-width: 768px) {
  .hw .summer-promo-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}
