/* ============================================================
   ПЕРВЫЙ ЭКРАН (HERO): <section class="hero"> — заголовок, видео-фон, кнопки CTA, блок с преимуществами (.hf).
   ============================================================ */

.hero-video {
    width: 100%;
    max-width: 480px;
    height: 480px;
    border-radius: 50%;
    object-fit: cover;
    
    /* Показываем 70% центра, остальное плавно исчезает */
    mask-image: radial-gradient(circle, black 100%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 100%, transparent 80%);
}

.hero-video {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .hero-video {
        display: none !important;
    }
}

.hero {
  position: relative;
  padding: 48px var(--container-px) 64px;
  overflow: hidden;
  opacity: 0;
  animation: heroIn 1.4s cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-bg1 {
  position: absolute;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 184, 48, 0.16), transparent 70%);
  top: -140px;
  right: -140px;
  animation: pulseGold 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg2 {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.09), transparent 70%);
  bottom: -90px;
  left: -90px;
  animation: pulseGold 12s ease-in-out infinite 3s;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 184, 48, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseGold 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(42px, 12vw, 84px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-brand2 {
  display: block;
  color: #fff;
}

.hero-brand {
  background: linear-gradient(135deg, #FFB830, #FF8C00, #FF3B3B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-tagline {
  font-size: clamp(15px, 3vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin-bottom: 26px;
  max-width: 520px;
  font-weight: 500;
}

.hero-tagline strong {
  color: var(--gold);
}

.hero-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-phone {
  font-size: clamp(19px, 4vw, 24px);
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.hero-phone:hover {
  text-shadow: 0 0 20px rgba(255, 184, 48, 0.5);
}

.hero-contact-sub {
  font-size: 12px;
  color: var(--text-dim);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
  flex: 1;
  min-width: 170px;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.015);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.hf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 16, 32, 0.82), rgba(10, 8, 18, 0.85));
  border: 1px solid rgba(255, 184, 48, 0.15);
}

.hf-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 184, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
}

.hf-text {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .hero {
    padding: 56px var(--container-px) 80px;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: stretch;
  }
  .hero-tagline {
    margin-left: 0;
  }
  .hero-emoji {
    display: block;
    margin: 0;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;
    width: 100%;
  }
  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 26px;
    margin-right: -60px;
  }
}

