/* ===================================
   New Design Hero Block — block.css
   Стили для фронтенда (frontend).
   Переменные дизайн-системы подключены
   глобально через style_new.css, здесь
   они дублируются как fallback.
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */

.wp-block-lazyblock-new-design-hero-block .hero {
  text-align: center;
  padding: 110px 0 30px;
  position: relative;
}

/* ===================================
   EYEBROW
   =================================== */

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 500;
}

.wp-block-lazyblock-new-design-hero-block .hero-eyebrow {
  margin-bottom: 36px;
}

.wp-block-lazyblock-new-design-hero-block .hero-eyebrow::before,
.wp-block-lazyblock-new-design-hero-block .hero-eyebrow::after,
.wp-block-lazyblock-new-design-hero-block .eyebrow::before,
.wp-block-lazyblock-new-design-hero-block .eyebrow::after {
  content: '';
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* ===================================
   HERO HEADING
   =================================== */

.wp-block-lazyblock-new-design-hero-block .hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.015em;
}

.wp-block-lazyblock-new-design-hero-block .hero h1 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  background: linear-gradient(180deg, var(--purple-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

/* ===================================
   HERO LEDE (SUBTITLE)
   =================================== */

.wp-block-lazyblock-new-design-hero-block .hero .lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ===================================
   HERO CTAs
   =================================== */

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary, .btn-primary:visited {
  color: var(--bg-deep);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(212, 175, 55, 0.45);
}

.btn-secondary, .btn-secondary:visited {
  color: var(--text-primary);
  background: transparent;
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-arrow {
  font-size: 14px;
  transition: transform 0.25s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===================================
   FEATURES (IN HERO)
   =================================== */

.features--in-hero {
  max-width: 1000px;
  margin: 8px auto 0;
  padding: 36px 0;
  border-top: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.feature-glyph {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
}

.feature-source {
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.feature-source a, .feature-source a:visited {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.feature-source a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ===================================
   LIGHT THEME OVERRIDES — HERO
   =================================== */

[data-theme="light"] .wp-block-lazyblock-new-design-hero-block .hero h1 {
  background: linear-gradient(180deg, #3a2d18 0%, var(--gold) 70%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .wp-block-lazyblock-new-design-hero-block .hero h1 em {
  background: linear-gradient(180deg, var(--purple) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .btn-primary, [data-theme="light"] .btn-primary:visited {
  color: #faf6ef;
  box-shadow: 0 6px 22px rgba(176, 131, 34, 0.28);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(176, 131, 34, 0.4);
}

[data-theme="light"] .btn-secondary:hover {
  color: #faf6ef;
}

/* ===================================
   HERO APPEARANCE ANIMATION
   =================================== */

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wp-block-lazyblock-new-design-hero-block .hero-eyebrow {
  animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wp-block-lazyblock-new-design-hero-block .hero h1 {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.15s;
}

.wp-block-lazyblock-new-design-hero-block .hero .lede {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}

.wp-block-lazyblock-new-design-hero-block .hero-ctas {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.45s;
}

.wp-block-lazyblock-new-design-hero-block .features--in-hero {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s;
}

/* ===================================
   RESPONSIVE — FEATURES GRID
   =================================== */

@media (max-width: 900px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .features-row {
    grid-template-columns: 1fr;
  }
  
  .wp-block-lazyblock-new-design-hero-block .hero {
    padding: 60px 0 30px;
  }
}
