/* ═══════════════════════════════════════
   DA 다폰 — service.css
   Color: Black / Gold #F0C000 / White
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #F0C000;
  --gold-dark:  #c9a000;
  --black:      #000000;
  --black2:     #0a0a0a;
  --black3:     #111111;
  --black4:     #1a1a1a;
  --white:      #ffffff;
  --gray1:      #eeeeee;
  --gray2:      #aaaaaa;
  --gray3:      #666666;
  --font-ko: 'Noto Sans KR', sans-serif;
  --font-en: 'Bebas Neue', sans-serif;
  --transition: 0.25s ease;
  --nav-h: 64px;
  --bottom-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ko);
  background: var(--black);
  color: var(--gray1);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}

/* ══ 스크롤 애니메이션 ══ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══ 공통 타이포 ══ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240,192,0,0.35);
  padding: 5px 14px; margin-bottom: 24px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.3; margin-bottom: 16px; word-break: keep-all; color: var(--white); }
.section-title em { font-style: normal; color: var(--gold); }
.section-sub { font-size: 1rem; color: var(--gray2); max-width: 560px; line-height: 1.8; margin-bottom: 56px; word-break: keep-all; }

/* ══ NAV ══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 9%; height: var(--nav-h);
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img { height: 36px; width: auto; object-fit: contain; }
.nav__brand { font-size: 0.82rem; font-weight: 700; color: var(--white); letter-spacing: 1px; margin-left: 10px; white-space: nowrap; }
.nav__back {
  font-size: 0.85rem; font-weight: 700; color: var(--gray2);
  text-decoration: none; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.nav__back:hover { color: var(--gold); }
.nav__back svg { transition: transform var(--transition); }
.nav__back:hover svg { transform: translateX(-3px); }
.nav__cta {
  background: var(--gold); color: var(--black);
  font-weight: 900; font-size: 0.85rem;
  padding: 9px 20px; border: none; cursor: pointer;
  letter-spacing: 1px; transition: background var(--transition);
  text-decoration: none; white-space: nowrap;
}
.nav__cta:hover { background: var(--gold-dark); }

/* ══ NAV 액션 버튼 ══ */
.nav__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav__service-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 8px 20px;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  display: inline-block;
  line-height: 1.4;
}
.nav__service-btn:hover { background: var(--gold); color: var(--black); }

/* ══ HERO ══ */
.hero {
  min-height: 60vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 60px) 9% 80px;
  position: relative; overflow: hidden;
  background: var(--black2);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(240,192,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__deco {
  position: absolute; right: 9%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0.06; pointer-events: none;
}
.hero__deco span {
  font-family: var(--font-en);
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--gold); line-height: 1;
  letter-spacing: -4px;
}
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 4px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900; line-height: 1.15;
  max-width: 780px; margin-bottom: 24px;
  word-break: keep-all; color: var(--white);
  position: relative; z-index: 1;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  max-width: 520px; line-height: 1.9; margin-bottom: 0;
  word-break: keep-all;
  position: relative; z-index: 1;
}
.hero__sub strong { color: var(--white); font-weight: 700; }

/* ══ 스크롤 인디케이터 ══ */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 32px 0 40px;
  background: var(--black); position: relative;
}
.scroll-indicator__track {
  width: 2px; height: 80px;
  background: rgba(240,192,0,0.15);
  border-radius: 2px; position: relative; overflow: hidden;
}
.scroll-indicator__arrow {
  position: absolute; left: 50%;
  transform: translateX(-50%) translateY(0px);
  transition: transform 0.1s linear;
  display: flex; align-items: center; justify-content: center;
}
.scroll-indicator__label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(240,192,0,0.5);
}

/* ══ 서비스 탭 네비 ══ */
.service-nav {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: var(--black3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav::-webkit-scrollbar { display: none; }
.service-nav__item {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
  color: var(--gray3); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.service-nav__item:hover { color: var(--white); }
.service-nav__item.active { color: var(--gold); border-bottom-color: var(--gold); }
.service-nav__icon { font-size: 1.1rem; }

/* ══ 서비스 섹션 공통 ══ */
.service-section { padding: 100px 9%; }
.service-section:nth-child(odd) { background: var(--black); }
.service-section:nth-child(even) { background: var(--black2); }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-layout--reverse { direction: rtl; }
.service-layout--reverse > * { direction: ltr; }

/* ══ 서비스 아이콘 비주얼 ══ */
.service-visual {
  aspect-ratio: 4/3;
  background: var(--black3);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  position: relative; overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,192,0,0.05) 0%, transparent 70%);
}
.service-visual__icon { font-size: 5rem; line-height: 1; position: relative; z-index: 1; }
.service-visual__label {
  font-family: var(--font-en);
  font-size: 1rem; letter-spacing: 4px;
  color: var(--gold); opacity: 0.6;
  position: relative; z-index: 1;
}
.service-visual::after {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 32px; height: 32px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

/* ══ 서비스 콘텐츠 ══ */
.service-content .section-tag { margin-bottom: 16px; }
.service-content .section-title { margin-bottom: 20px; }
.service-content .section-sub { margin-bottom: 36px; }

/* ══ 혜택 리스트 ══ */
.benefit-list { display: flex; flex-direction: column; gap: 3px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--black4);
  border-left: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.benefit-item:hover { border-left-color: var(--gold); background: #1f1f1f; }
.benefit-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; margin-top: 1px;
}
.benefit-item p { font-size: 0.88rem; color: var(--gray1); line-height: 1.7; word-break: keep-all; }
.benefit-item strong { color: var(--white); font-weight: 700; }

/* ══ CTA 배너 ══ */
.cta-banner {
  background: var(--gold);
  padding: 80px 9%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.cta-banner__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--black);
  line-height: 1.3; margin-bottom: 10px;
  word-break: keep-all;
}
.cta-banner__text p { font-size: 1rem; color: rgba(0,0,0,0.65); line-height: 1.7; word-break: keep-all; }
.cta-banner__btn {
  background: var(--black); color: var(--gold);
  font-weight: 900; font-size: 1rem;
  padding: 18px 48px; border: none; cursor: pointer;
  letter-spacing: 2px; white-space: nowrap;
  text-decoration: none; display: inline-block;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.cta-banner__btn:hover { background: #111; transform: translateY(-2px); }

/* ══ FOOTER ══ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 9%;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); line-height: 2; }
.footer strong { color: rgba(255,255,255,0.5); }
.footer__link { color: var(--gold); text-decoration: none; font-size: 0.8rem; font-weight: 700; }
.footer__link:hover { text-decoration: underline; }

/* ══ 하단 고정 네비게이션 ══ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  height: var(--bottom-h);
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  border-top: 3px solid var(--gold-dark);
}
.bottom-nav__label { font-size: 0.95rem; font-weight: 700; color: rgba(0,0,0,0.65); letter-spacing: 1px; }
.bottom-nav__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--gold);
  font-weight: 900; font-size: 1rem;
  padding: 12px 36px; border: none; cursor: pointer;
  letter-spacing: 2px; text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.bottom-nav__btn:hover { background: #222; transform: translateY(-1px); }
.bottom-nav__btn svg { flex-shrink: 0; }

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

/* ── 태블릿 (900px) ── */
@media (max-width: 900px) {
  .nav { padding: 0 7%; }
  .nav__cta { font-size: 0.8rem; padding: 8px 16px; }
  .nav__service-btn { font-size: 0.8rem; padding: 8px 14px; }

  .hero { padding: calc(var(--nav-h) + 40px) 7% 60px; }

  .service-nav__item { padding: 14px 18px; font-size: 0.85rem; }

  .service-section { padding: 72px 7%; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-layout--reverse { direction: ltr; }
  .service-visual { aspect-ratio: 16/9; }

  .cta-banner { flex-direction: column; text-align: center; padding: 60px 7%; }
  .cta-banner__btn { width: 100%; text-align: center; padding: 16px 24px; }

  .bottom-nav { gap: 10px; }
  .bottom-nav__btn { padding: 10px 20px; font-size: 0.9rem; letter-spacing: 1px; }

  .footer { padding: 28px 7%; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── 모바일 (640px) ── */
@media (max-width: 640px) {
  :root { --nav-h: 56px; --bottom-h: 64px; }

  .nav { padding: 0 4%; height: 56px; }
  .nav__logo-img { height: 26px; }
  .nav__brand { font-size: 0.72rem; }
  .nav__actions { gap: 6px; }
  .nav__cta { font-size: 0.72rem; padding: 7px 10px; letter-spacing: 0; }
  .nav__service-btn { font-size: 0.72rem; padding: 7px 10px; letter-spacing: 0; }

  .hero { padding: calc(56px + 32px) 5% 52px; min-height: 50vh; }
  .hero__eyebrow { font-size: 0.72rem; letter-spacing: 2px; margin-bottom: 14px; }
  .hero__deco { display: none; }

  .service-nav { justify-content: flex-start; }
  .service-nav__item { padding: 12px 14px; font-size: 0.8rem; }
  .service-nav__icon { display: none; }

  .service-section { padding: 52px 5%; }
  .service-layout { gap: 32px; }
  .service-visual { aspect-ratio: 16/9; }
  .service-visual__icon { font-size: 3rem; }

  .section-tag { font-size: 0.7rem; padding: 4px 10px; margin-bottom: 14px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 12px; }
  .section-sub { font-size: 0.9rem; margin-bottom: 28px; }

  .benefit-item { padding: 12px 14px; gap: 10px; }
  .benefit-check { width: 20px; height: 20px; font-size: 0.7rem; }
  .benefit-item p { font-size: 0.83rem; }

  .cta-banner { padding: 52px 5%; gap: 24px; }
  .cta-banner__text h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .cta-banner__text p { font-size: 0.88rem; }
  .cta-banner__btn { padding: 14px 20px; font-size: 0.9rem; letter-spacing: 1px; width: 100%; text-align: center; }

  .bottom-nav { height: 64px; padding: 0 4%; justify-content: space-between; }
  .bottom-nav__label { display: none; }
  .bottom-nav__btn { padding: 10px 14px; font-size: 0.82rem; letter-spacing: 0; gap: 6px; }
  .bottom-nav__btn svg { width: 16px; height: 16px; }

  .footer { padding: 24px 5%; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer p { font-size: 0.74rem; }
}

/* ── 초소형 (360px) ── */
@media (max-width: 360px) {
  .nav__service-btn { display: none; }
  .nav__cta { font-size: 0.7rem; padding: 7px 12px; }
  .service-nav__item { padding: 10px 12px; font-size: 0.78rem; }
  .bottom-nav__btn { padding: 10px 12px; font-size: 0.78rem; }
}
