/* ==========================================================================
   주식회사 드래곤스카이 (DRAGON SKY) 소개 웹사이트 공통 스타일
   ========================================================================== */

:root {
  --color-navy-900: #0b1f3d;
  --color-navy-800: #102a4d;
  --color-navy-700: #17385f;
  --color-gold-600: #97741a;
  --color-gold-500: #b8901f;
  --color-accent: #c9a227;
  --color-accent-dark: #a8841c;
  --color-gray-50: #f6f8fa;
  --color-gray-100: #eef1f5;
  --color-gray-200: #e1e6ec;
  --color-gray-400: #9aa5b1;
  --color-gray-600: #5b6673;
  --color-gray-800: #2a323c;
  --color-white: #ffffff;
  --shadow-card: 0 6px 20px rgba(11, 31, 61, 0.08);
  --shadow-card-hover: 0 12px 28px rgba(11, 31, 61, 0.14);
  --radius: 10px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", -apple-system, sans-serif;
  color: var(--color-gray-800);
  background: var(--color-white);
  line-height: 1.6;
  word-break: keep-all;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-navy-900);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--color-navy-700);
  color: var(--color-navy-700);
}
.btn-outline-navy:hover {
  background: var(--color-navy-700);
  color: var(--color-white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 헤더 / 내비게이션 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy-900);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--color-white);
}
.logo-wordmark {
  display: block;
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--color-gray-100);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-white);
  border-color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy-800);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-toggle {
    display: block;
  }
  .nav-actions .btn-accent-desktop-only {
    display: none;
  }
}

/* ---------- 액센트 디바이더 ---------- */
.accent-divider-center {
  height: 4px;
  width: 72px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-accent));
}

/* ---------- 스크롤 reveal 애니메이션 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  background-color: var(--color-navy-900);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(11, 31, 61, 0.95) 0%, rgba(23, 56, 95, 0.92) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 48px);
  color: var(--color-white);
  padding: 110px 24px 90px;
  text-align: center;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-accent);
  background: rgba(201, 162, 39, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 18px;
}
.hero p.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-gray-100);
  max-width: 680px;
  margin: 0 auto 34px;
}
.hero .btn-group {
  justify-content: center;
}

/* ---------- 공통 섹션 ---------- */
.section {
  padding: 84px 24px;
}
.section-alt {
  background: var(--color-gray-50);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-gold-600);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 14px;
}
.section-desc {
  color: var(--color-gray-600);
  font-size: 1rem;
}

/* ---------- 회사 소개 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 16px;
}
.about-text p {
  color: var(--color-gray-600);
  margin-bottom: 16px;
}
.about-list {
  margin-top: 20px;
}
.about-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
  color: var(--color-navy-800);
}
.about-list li::before {
  content: "✔";
  color: var(--color-accent);
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-card .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold-600);
}
.stat-card .stat-num span {
  font-size: 1.1rem;
}
.stat-card .stat-label {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--color-gray-600);
  font-weight: 600;
}

/* ---------- 보유 면허 · 자격 ---------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.license-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.license-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.license-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.license-card:hover::before {
  transform: scaleX(1);
}
.license-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-navy-900);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s ease;
}
.license-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}
.license-card:hover .license-icon {
  background: var(--color-accent);
  color: var(--color-navy-900);
}
.license-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 10px;
}
.license-card p {
  color: var(--color-gray-600);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.license-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold-600);
  background: rgba(201, 162, 39, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- 걸어온 길 (연혁 타임라인) ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 34px;
  border-left: 3px solid var(--color-gray-200);
}
.timeline-item {
  position: relative;
  padding-bottom: 42px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-navy-900);
}
.timeline-year {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy-900);
  background: var(--color-gray-100);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.timeline-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--color-gray-600);
  font-size: 0.92rem;
}
.timeline-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold-600);
  background: rgba(201, 162, 39, 0.12);
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- 사업분야 (부문 카드) ---------- */
.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.division-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.division-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-navy-900);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.division-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}
.division-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 6px;
}
.division-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-gold-600);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.division-card > p {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.division-list {
  margin-top: auto;
}
.division-list li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy-800);
  border-top: 1px solid var(--color-gray-100);
}
.division-list li:first-child {
  border-top: none;
}
.division-list li::before {
  content: "•";
  color: var(--color-accent);
  font-weight: 800;
}

/* ---------- 비전 ---------- */
.vision-visual {
  max-width: 980px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  line-height: 0;
}
.vision-visual svg {
  width: 100%;
  height: auto;
  display: block;
}
.vision-statement {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-900);
  line-height: 1.85;
}
.vision-statement::before {
  content: "“";
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-navy-900);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.25s ease;
}
.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.value-card:hover .value-icon {
  background: var(--color-accent);
  color: var(--color-navy-900);
}
.value-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 8px;
}
.value-card p {
  color: var(--color-gray-600);
  font-size: 0.88rem;
}

/* ---------- 왜 드래곤스카이인가 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-item {
  text-align: center;
  padding: 10px;
}
.why-item .why-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.why-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 0.88rem;
  color: var(--color-gray-600);
}

/* ---------- CTA 섹션 ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-800) 0%, var(--color-navy-900) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 72px 24px;
}
.cta-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-section p {
  color: var(--color-gray-100);
  margin-bottom: 30px;
}
.cta-section .btn-group {
  justify-content: center;
}
.cta-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--color-gray-400);
}

/* ---------- 연락처 카드 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}
.contact-card .contact-label {
  font-size: 0.78rem;
  color: var(--color-gray-400);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.contact-card .contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--color-navy-900);
  color: var(--color-gray-400);
  padding: 48px 24px 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-wordmark {
  height: 46px;
  width: auto;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-links h5 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-links ul li {
  padding: 5px 0;
  font-size: 0.88rem;
}
.footer-links ul li a:hover {
  color: var(--color-white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .license-grid,
  .division-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .license-grid,
  .division-grid,
  .value-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 80px 20px 60px;
  }
  .section {
    padding: 56px 20px;
  }
  .timeline {
    padding-left: 28px;
  }
  .timeline-item::before {
    left: -38px;
  }
}
