/* ═══════════════════════════════════════
   HERO SECONDARY — hero-secondary.css (v10)
   daphone-landing-page

   2026-04-20 v10 변경 (v9 → v10):
     ★ min-height: 100vh 추가
        → HERO 섹션과 동일한 높이 체계 구성
        → 섹션 하나만으로도 안정적인 세로 중앙정렬 보장
        → 중복 섹션으로 땜빵하던 방식 제거
     ★ padding-block 유지 (콘텐츠와 경계 사이 여유)
     ★ grid + place-items: center 유지 (중앙정렬)

   v9 유지:
     - Ken Burns 제거 (모바일 블러 방지)
     - will-change 제거
═══════════════════════════════════════ */

.hero-secondary {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ★ v10: HERO 와 동일한 높이 체계 */
  display: grid;
  place-items: center;
  padding-block: 80px;
  padding-inline: 9%;
  overflow: hidden;
  background: #000;
  box-sizing: border-box;
}

/* ── 배경 이미지 (정적) ── */
.hero-secondary__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/hero/hero-secondary-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── 검정 반투명 오버레이 ── */
.hero-secondary__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

/* ── 텍스트 컨테이너 ── */
.hero-secondary__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════
   스크롤 진입 애니메이션 (fade-up)
═══════════════════════════════════════ */
.hero-secondary__headline,
.hero-secondary__lead {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-secondary.is-active .hero-secondary__headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.hero-secondary.is-active .hero-secondary__lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

/* ── headline ── */
.hero-secondary__headline {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-secondary__headline em {
  font-style: normal;
  color: var(--gold, #c9a84c);
  position: relative;
}

/* ── lead ── */
.hero-secondary__lead {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════
   반응형
═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-secondary {
    padding-inline: 7%;
  }
}

@media (max-width: 900px) {
  .hero-secondary {
    min-height: 90vh; /* 모바일 살짝 축소 */
    padding-block: 60px;
    padding-inline: 7%;
  }
  .hero-secondary__headline {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  .hero-secondary__lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .hero-secondary {
    min-height: 80vh;
    padding-block: 48px;
    padding-inline: 5%;
  }
  .hero-secondary__headline {
    font-size: 1.25rem;
    line-height: 1.45;
  }
  .hero-secondary__lead {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* ═══════════════════════════════════════
   접근성 (prefers-reduced-motion)
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-secondary__headline,
  .hero-secondary__lead {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
