@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --navy: #1B2E4B;
  --blue: #2B5BA8;
  --blue-mid: #3A6EC0;
  --blue-light: #EEF3FB;
  --gold: #C8A84B;
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --gray-100: #F1F3F7;
  --gray-300: #D0D5E0;
  --gray-500: #8A91A0;
  --gray-700: #4A5060;
  --text: #1E2330;
  --radius: 12px;
  --shadow-sm: 0 2px 12px rgba(27,46,75,0.07);
  --shadow-md: 0 8px 32px rgba(27,46,75,0.12);
  --shadow-lg: 0 20px 60px rgba(27,46,75,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex; align-items: center; gap: 10px;
}
.logo-img { height: 38px; width: auto; }
.logo-text {
  font-size: 0.95rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.3px;
  line-height: 1.3;
}
.logo-sub {
  display: block; font-size: 0.65rem; font-weight: 400;
  color: var(--gray-500); letter-spacing: 0.5px;
}

.nav-list {
  display: flex; align-items: center; gap: 0; list-style: none;
}
.nav-list a {
  display: block; padding: 0 1.1rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative; height: 72px; line-height: 72px;
}
.nav-list a::after {
  content: ''; position: absolute; bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--blue); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }

/* CTA button in nav */
.nav-cta {
  margin-left: 1rem;
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0 1.4rem !important;
  height: 40px !important; line-height: 40px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy) !important; transform: translateY(-1px) !important; }

/* Mobile toggle */
.mobile-btn {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.mobile-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}

/* ── PAGE HERO ── */
.page-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-label {
  font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: 2.2rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.5px;
}
.page-hero-line {
  width: 40px; height: 3px;
  background: var(--gold);
  margin: 1.25rem auto 0; border-radius: 2px;
}

/* ── MAIN CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--gray-100); }

.section-label {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.9rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.5px; line-height: 1.3;
}
.section-desc {
  margin-top: 1rem; color: var(--gray-500); font-size: 1rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem;
  font-size: 0.82rem;
  line-height: 2;
}
.footer-wrap {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-start;
  gap: 2rem;
}
.footer-logo { color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  transition: var(--transition);
}
.footer-icons a:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--gray-100); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-list {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 2rem;
    gap: 0; overflow-y: auto;
    transform: translateX(-100%); transition: transform var(--transition);
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { height: auto; line-height: 1; padding: 1rem 0; font-size: 1rem; }
  .nav-list a::after { bottom: 0; left: 0; right: auto; width: 0; }
  .nav-cta { margin-left: 0 !important; margin-top: 1rem; }
  .mobile-btn { display: flex; }
  .page-hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
}
