/* ==========================================================================
   G-TELP HR — 공통 디자인 시스템
   ibtcc.kr 톤앤매너 계승 (색상 토큰 / 버튼 / 카드 / 헤더 / 푸터 / 히어로)
   ========================================================================== */

:root {
  --blue: #1E3A8A;
  --blue-mid: #1E4D8C;
  --teal: #0891B2;
  --cream: #F8FAFF;
  --cream-dark: #E2E8F0;
  --ink: #0F172A;
  --ink-mid: #475569;
  --ink-soft: #94A3B8;
  --gold: #D97706;
  --accent: #1E4D8C;

  --navy-1: #0D1B2A;
  --navy-2: #0F172A;
  --navy-3: #1E293B;

  --radius-card: 16px;
  --radius-btn: 50px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .06);
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   레이아웃 유틸
   -------------------------------------------------------------------------- */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  background: #EFF6FF;
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 12px;
}
@media (max-width: 768px) {
  .section-title { font-size: 24px; }
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mid);
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   버튼
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transform: scale(1);
  transition: transform .15s ease, opacity .15s ease, background .15s ease, box-shadow .15s ease;
}
@media (max-width: 480px) {
  .btn { min-height: 44px; padding: 0 22px; font-size: 14px; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-mid), var(--teal));
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 77, 140, .25);
}
.btn-primary:hover { opacity: .9; transform: scale(1.02); }
.btn-primary:active { transform: scale(.97); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30, 77, 140, .3); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-mid);
}
.btn-outline:hover { background: var(--blue-mid); color: #fff; }
.btn-outline:active { transform: scale(.97); }
.btn-outline:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30, 77, 140, .3); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #F59E0B);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, .25);
}
.btn-gold:hover { opacity: .9; transform: scale(1.02); }
.btn-gold:active { transform: scale(.97); }
.btn-gold:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(217, 119, 6, .3); }

.btn-ghost-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); transform: scale(1.02); }
.btn-ghost-light:active { transform: scale(.97); }

/* --------------------------------------------------------------------------
   카드
   -------------------------------------------------------------------------- */

.card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-link:hover .card,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}

.card-pad { padding: 32px 28px; }

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   폼
   -------------------------------------------------------------------------- */

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(30, 77, 140, .1);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* --------------------------------------------------------------------------
   헤더
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy-1);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-mid), var(--teal));
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.logo span { color: var(--teal); }

.gnb { display: flex; align-items: center; gap: 32px; }
.gnb a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  transition: color .15s ease;
}
.gnb a:hover,
.gnb a[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger::before { top: 14px; }
.hamburger span { top: 19px; }
.hamburger::after { top: 24px; }
.hamburger.is-open::before { transform: translateY(5px) rotate(45deg); }
.hamburger.is-open::after { transform: translateY(-5px) rotate(-45deg); }
.hamburger.is-open span { opacity: 0; }

@media (max-width: 860px) {
  .gnb { display: none; }
  .hamburger { display: block; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(10, 22, 40, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 49;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu .wrap { padding-top: 32px; padding-bottom: 32px; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* --------------------------------------------------------------------------
   히어로
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy-3) 100%);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
  text-align: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}
.hero::before {
  width: 340px; height: 340px;
  background: var(--blue-mid);
  top: -120px; left: -80px;
}
.hero::after {
  width: 280px; height: 280px;
  background: var(--teal);
  bottom: -100px; right: -60px;
}
.hero .wrap { position: relative; z-index: 1; max-width: 760px; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
}

.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 36px;
}

.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.page-hero {
  padding: 72px 0 56px;
}
.page-hero h1 { font-size: 34px; }
@media (max-width: 768px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 26px; }
}

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-2);
  color: rgba(255, 255, 255, .6);
  padding: 48px 0 28px;
  border-top: 1px solid var(--navy-3);
}
.site-footer .foot-brand {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
}
.site-footer .foot-info { font-size: 13.5px; line-height: 1.9; }
.site-footer .foot-links { display: flex; gap: 20px; margin: 20px 0; flex-wrap: wrap; }
.site-footer .foot-links a { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.site-footer .foot-links a:hover { color: #fff; }
.site-footer .copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   그리드
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
