:root {
  --navy: #0f2342;
  --navy-light: #1b365d;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --text-sub: #475569;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: #ffffff;
  padding-bottom: 64px; /* 모바일 하단바 여백 */
}

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

/* 상단 헤더 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.header-cta {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* 히어로 섹션 */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  padding: 84px 0 72px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #93c5fd;
}

.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-desc strong {
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--navy);
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
}

.stat-item strong {
  display: block;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* 공통 섹션 */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.02rem;
}

/* 그리드 레이아웃 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 카드 스타일 */
.card, .service-box, .equip-card, .case-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15, 35, 66, 0.04);
}

.card-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.card h3, .service-box h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-sub);
  font-size: 0.96rem;
}

.service-box ul {
  padding-left: 18px;
  color: var(--text-sub);
}

.service-box li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.equip-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.equip-card h4, .case-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.equip-card p, .case-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.case-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.faq-item h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-sub);
}

/* 푸터 */
.footer {
  background: #0b192c;
  color: #94a3b8;
  padding: 48px 0;
  font-size: 0.9rem;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-logo span {
  font-weight: 500;
  color: #93c5fd;
  font-size: 0.95rem;
}

.footer p {
  margin-bottom: 6px;
}

.copyright {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #64748b;
}

/* 모바일 하단 고정 바 */
.mobile-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}

.mobile-fixed-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.bar-call {
  background: var(--navy);
}

.bar-sms {
  background: var(--accent);
}

/* 반응형 (태블릿 & 모바일) */
@media (max-width: 900px) {
  .nav { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  .header-cta { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.72rem; }
  .hero-stats, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .mobile-fixed-bar { display: flex; }
}