/* ═══════════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --primary:   #1a5fb4;
  --primary-l: #2c7be5;
  --primary-d: #0d3d7a;
  --accent:    #00b4d8;
  --accent-l:  #90e0ef;
  --sky:       #e8f4fd;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;
  --text:      #1e293b;
  --text-sub:  #64748b;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
.en { font-family: 'Montserrat', sans-serif; }

h1,h2,h3,h4 { line-height: 1.3; font-weight: 700; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .75rem;
  letter-spacing: -.5px;
}

.section-title span { color: var(--primary); }

.section-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 1.85;
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILS
═══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

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

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

#nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .main-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-d);
  letter-spacing: 1px;
}

.logo-text .sub-name {
  font-size: 9px;
  color: var(--text-sub);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

#nav:not(.scrolled) .main-name,
#nav:not(.scrolled) .sub-name { color: rgba(255,255,255,.9); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  transition: var(--transition);
  letter-spacing: -.2px;
}

#nav.scrolled .nav-links a { color: var(--gray-600); }

.nav-links a:hover {
  background: rgba(255,255,255,.15);
  color: white;
}

#nav.scrolled .nav-links a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-cta {
  padding: 10px 22px !important;
  background: var(--primary) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover { background: var(--primary-d) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

#nav.scrolled .nav-hamburger span { background: var(--gray-800); }

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 90px 32px 40px;
  gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 28px;
  color: var(--gray-600);
  padding: 8px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary-d) 0%, var(--primary) 45%, #1a7db8 75%, #0891b2 100%);
  padding: 120px 0 80px;
}

/* 배경 도형들 */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.hero-circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-circle-2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -80px;
  background: rgba(255,255,255,.03);
  animation: float2 10s ease-in-out infinite;
}

.hero-circle-3 {
  width: 200px; height: 200px;
  top: 30%; left: 55%;
  background: rgba(0,180,216,.12);
  animation: float1 6s ease-in-out infinite reverse;
}

/* 그리드 오버레이 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-30px) rotate(5deg); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(20px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.hero-title-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,.75);
  letter-spacing: 4px;
  margin-bottom: 28px;
  display: block;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 480px;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

/* 히어로 스탯 */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat-item { text-align: left; }

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.hero-stat-num sup {
  font-size: 18px;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  letter-spacing: .3px;
}

/* 히어로 우측 카드 */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.hero-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
  transition: var(--transition);
}

.hero-service-item:hover {
  background: rgba(255,255,255,.14);
  transform: translateX(4px);
}

.svc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.svc-icon.blue  { background: rgba(59,130,246,.25); }
.svc-icon.cyan  { background: rgba(0,180,216,.25); }
.svc-icon.green { background: rgba(34,197,94,.25); }

.svc-info-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.svc-info-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

/* 플로팅 배지 */
.hero-float-badge {
  position: absolute;
  top: -20px; right: -20px;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float1 4s ease-in-out infinite;
}

.float-icon { font-size: 24px; }

.float-info-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.float-info-label { font-size: 11px; color: var(--text-sub); }

.hero-float-badge-2 {
  position: absolute;
  bottom: -20px; left: -20px;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float2 5s ease-in-out infinite;
}

/* 스크롤 다운 */
.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.scroll-down::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   ABOUT / COMPANY
═══════════════════════════════════════════════ */
#about { background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-left { }

.about-ceo-sign {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-ceo-sign::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--primary);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 핵심가치 카드 */
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  border-color: var(--primary-l);
  box-shadow: 0 8px 32px rgba(26,95,180,.1);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.value-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 경력 카운터 띠 */
.about-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-l));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(26,95,180,.25);
}

.banner-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.banner-stat-num sup { font-size: 20px; }

.banner-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
  letter-spacing: .3px;
}

/* ═══════════════════════════════════════════════
   PRODUCTS & SERVICES
═══════════════════════════════════════════════ */
#services { background: var(--white); }

.services-intro {
  text-align: center;
  margin-bottom: 64px;
}

.services-intro .section-label {
  justify-content: center;
}

.services-intro .section-label::before { display: none; }

.services-intro .section-label::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.services-intro .section-desc { margin: 0 auto; }

/* 서비스 탭 */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-sub);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(26,95,180,.25);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 서비스 상세 카드 */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.svc-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.svc-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.svc-desc {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 28px;
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.svc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}

.svc-feature-item::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.svc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
}

/* 시각적 일러스트 박스 */
.svc-visual {
  position: relative;
}

.svc-visual-inner {
  background: linear-gradient(135deg, var(--sky) 0%, #dbeafe 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.svc-visual-inner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: rgba(26,95,180,.08);
  border-radius: 50%;
}

.svc-visual-inner::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  background: rgba(0,180,216,.1);
  border-radius: 50%;
}

.visual-module {
  background: white;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.visual-module-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.visual-module-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}

.visual-module-sub {
  font-size: 11px;
  color: var(--text-sub);
}

/* ═══════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════ */
#why {
  background: var(--gray-900);
  color: white;
  position: relative;
  overflow: hidden;
}

#why::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  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.02'%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");
}

.why-inner { position: relative; z-index: 1; }

.why-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-header .section-label { justify-content: center; }
.why-header .section-label::before { background: var(--accent); }

.why-header .section-title { color: white; }
.why-header .section-desc { color: rgba(255,255,255,.6); margin: 0 auto; }

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

.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary-l), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.14);
}

.why-card:hover::before { transform: scaleX(1); }

.why-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.why-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.why-card-title {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}

/* 적용 현장 */
.deployment-section {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 56px;
}

.deploy-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  letter-spacing: .5px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.deploy-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.deploy-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(44,123,229,.4);
}

.deploy-icon { font-size: 28px; margin-bottom: 8px; }

.deploy-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

/* ═══════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════ */
#process { background: var(--gray-50); }

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-label { justify-content: center; }
.process-header .section-label::before { display: none; }
.process-header .section-label::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
}

.process-header .section-desc { margin: 0 auto; }

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(10% + 40px);
  right: calc(10% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-l), var(--accent));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary-l);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(26,95,180,.15);
  transition: var(--transition);
}

.process-step:hover .process-num {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(26,95,180,.3);
}

.process-num-inner {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  transition: var(--transition);
}

.process-step:hover .process-num-inner { color: white; }

.process-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.process-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#contact { background: var(--white); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info { }

.contact-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-top: 16px;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-wrap {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}

.contact-item-value a:hover { color: var(--primary); }

/* 문의 폼 */
.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--gray-800);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,180,.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-l));
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(26,95,180,.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,95,180,.4);
}

/* 지도 플레이스홀더 */
.map-placeholder {
  margin-top: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 2px dashed var(--gray-200);
  color: var(--text-sub);
  font-size: 14px;
}

.map-placeholder .map-icon { font-size: 36px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.55);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-text .main-name { color: white; }
.footer-logo-text .sub-name  { color: rgba(255,255,255,.4); }

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  max-width: 260px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover { color: rgba(255,255,255,.9); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  font-size: 12px;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* 상단 이동 버튼 */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(26,95,180,.4);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,95,180,.5);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content     { grid-template-columns: 1fr; text-align: center; }
  .hero-desc        { margin: 0 auto 40px; }
  .hero-buttons     { justify-content: center; }
  .hero-stats       { justify-content: center; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-banner     { grid-template-columns: repeat(2,1fr); }
  .deploy-grid      { grid-template-columns: repeat(3,1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section           { padding: 64px 0; }
  .nav-links        { display: none; }
  .nav-hamburger    { display: flex; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .service-detail   { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .why-grid         { grid-template-columns: 1fr; }
  .process-flow     { grid-template-columns: 1fr; gap: 24px; }
  .process-flow::before { display: none; }
  .contact-wrap     { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .about-banner     { grid-template-columns: repeat(2,1fr); padding: 28px 24px; }
  .deploy-grid      { grid-template-columns: repeat(2,1fr); }
  .hero-stats       { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .back-to-top      { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-title       { font-size: 30px; }
  .hero-badge       { font-size: 11px; }
  .about-banner     { grid-template-columns: 1fr 1fr; }
  .banner-stat-num  { font-size: 28px; }
  .contact-form-card{ padding: 24px; }
}

/* ── 문의폼 결과 메시지 ─────────────────────────── */
.form-result {
  display: none;
  padding: .9rem 1.2rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.6;
}
.form-result-ok  { background:#dcfce7; color:#15803d; border:1px solid #86efac; }
.form-result-err { background:#fee2e2; color:#b91c1c; border:1px solid #fca5a5; }

/* ══════════════════════════════════════════════
   사업장 위치 지도 (구글 지도 embed + 토글)
══════════════════════════════════════════════ */

/* 토글 버튼 */
.map-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,95,180,.25);
  letter-spacing: -.2px;
}

.map-toggle-btn:hover,
.map-toggle-btn.active {
  background: var(--primary-d, #0d3d7a);
  box-shadow: 0 6px 20px rgba(26,95,180,.35);
  transform: translateY(-1px);
}

/* 지도 컨테이너: 기본 숨김 → open 시 펼침 */
.map-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1),
              opacity .4s ease,
              margin-top .4s ease;
  opacity: 0;
  margin-top: 0;
  border-radius: var(--radius-lg);
}

.map-container.open {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

/* iframe 래퍼 */
.map-iframe-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.map-iframe-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* 하단 주소 + 바로가기 바 */
.map-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.map-info-addr {
  font-size: 12.5px;
  color: var(--text-sub);
  font-weight: 500;
  line-height: 1.5;
}

/* 구글 지도 바로가기 버튼 */
.map-google-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: #4285F4;
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(66,133,244,.3);
  flex-shrink: 0;
}

.map-google-link:hover {
  background: #1a73e8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(66,133,244,.4);
}

@media (max-width: 768px) {
  .map-iframe-wrap iframe { height: 220px; }
  .map-info-bar { flex-direction: column; align-items: flex-start; }
  .map-toggle-btn { width: 100%; justify-content: center; }
}
