@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

/* ━━━ CSS 변수 ━━━ */
:root {
  --primary: #fbc02d;    /* 상큼한 레몬 노랑 */
  --secondary: #7cb342;  /* 싱그러운 나뭇잎 초록 */
  --accent: #cddc39;     /* 밝은 라임 연두 */
  --text: #2c3e50;
  --bg: #ffffff;
  --header-h: 70px;
}

/* ━━━ 리셋 ━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Inter', 'Noto Sans KR', sans-serif; 
  color: var(--text); 
  background-color: var(--bg);
  line-height: 1.6;
}

/* ━━━ 헤더 (수치 고정) ━━━ */
header {
  position: fixed; top:0; left:0; width:100%;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: background 0.3s;
}
header.scrolled { background:#fff; box-shadow:0 2px 20px rgba(0,0,0,0.12); }

.logo {
  font-size:1.4rem; font-weight:800; color:var(--primary);
  text-decoration:none; white-space:nowrap; flex-shrink:0;
  letter-spacing: -0.5px;
}
.logo span { color: var(--secondary); }

nav { display:flex; align-items:center; }
.nav-menu {
  display:flex; align-items:center; gap:2rem;
  list-style:none; margin:0; padding:0;
}
.nav-menu a {
  font-size:0.95rem; font-weight:500; color:var(--text);
  text-decoration:none; transition:color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color:var(--primary); }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--text); transition:transform 0.3s; }

@media(max-width:768px){
  .hamburger { display:flex; }
  .nav-menu {
    display:none; position:fixed; top:var(--header-h); left:0; right:0;
    background:#fff; flex-direction:column; gap:0; padding:1rem 0;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-menu.open { display:flex; }
  .nav-menu li { width:100%; text-align:center; padding:0.75rem 0; }
}

/* ━━━ 히어로 슬라이더 (클래스명 고정) ━━━ */
.hero {
  margin-top: var(--header-h);
  position: relative;
  width: 100%;
  min-height: 800px;
  max-height: 1000px;
  height: 90vh;
  overflow: hidden;
}
.hero-slider { position:relative; width:100%; height:100%; }
.hero-slide {
  position:absolute; inset:0;
  opacity:0; transition:opacity 0.8s ease;
  background-size:cover; background-position:center;
  display:flex; align-items:center; justify-content:center;
}
.hero-slide.active { opacity:1; z-index:1; }
.hero-slide::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}
.hero-content {
  position:relative; z-index:2;
  text-align:center; color:#fff;
  padding:0 1.5rem; max-width:800px;
}
.hero-content h2 {
  font-size:clamp(1.8rem,5vw,3.2rem); font-weight:800;
  margin-bottom:1rem; line-height:1.2;
}
.hero-content p {
  font-size:clamp(1rem,2.5vw,1.2rem);
  margin-bottom:2rem; opacity:0.9;
}
.hero-prev, .hero-next {
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:10; background:rgba(255,255,255,0.25);
  border:2px solid rgba(255,255,255,0.6);
  color:#fff; font-size:1.6rem; line-height:1;
  width:52px; height:52px; border-radius:50%;
  cursor:pointer; transition:all 0.25s;
  display:flex; align-items:center; justify-content:center;
}
.hero-prev:empty::before { content:'‹'; margin-top: -4px; }
.hero-next:empty::before { content:'›'; margin-top: -4px; }
.hero-prev { left:1.5rem; }
.hero-next { right:1.5rem; }
.hero-prev:hover, .hero-next:hover {
  background:rgba(255,255,255,0.5);
  border-color:#fff;
  transform:translateY(-50%) scale(1.1);
}
.hero-dots {
  position:absolute; bottom:1.5rem;
  left:50%; transform:translateX(-50%);
  z-index:10; display:flex; gap:10px;
}
.hero-dot {
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,0.5);
  border:none; cursor:pointer;
  transition:background 0.3s, transform 0.3s;
}
.hero-dot.active { background:#fff; transform:scale(1.3); }

/* ━━━ 섹션 공통 ━━━ */
section { padding:80px 5%; }
section.hero { padding:0px; }
section:nth-of-type(even) { background:#f8f9fa; }
.container { max-width:1200px; margin:0 auto; }
.section-header { text-align:center; margin-bottom:3rem; }
.section-header h2 {
  font-size:clamp(1.6rem,3vw,2.2rem); font-weight:700;
  margin-bottom:0.75rem; color:var(--secondary);
}
.section-header p { font-size:1rem; color:#666; max-width:600px; margin:0 auto; line-height:1.7; }

/* ━━━ 카드 ━━━ */
.card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
}
.card {
  background:#fff; border-radius:12px;
  box-shadow:0 2px 16px rgba(0,0,0,0.08);
  overflow:hidden; transition:transform 0.3s, box-shadow 0.3s;
  display:flex; flex-direction:column;
}
.card:hover { transform:translateY(-6px); box-shadow:0 8px 32px rgba(0,0,0,0.14); }
.card-img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.card-icon-wrap { padding:2rem 2rem 0; font-size:2.5rem; color: var(--primary); }
.card-body { padding:1.5rem 2rem 2rem; flex:1; display:flex; flex-direction:column; }
.card-body h3 { font-size:1.1rem; font-weight:700; margin-bottom:0.5rem; color:var(--secondary); }
.card-body p { font-size:0.95rem; color:#555; line-height:1.7; flex:1; }

/* ━━━ 통계 ━━━ */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:2rem; text-align:center; }
.stat-number { font-size:clamp(2.5rem,5vw,4rem); font-weight:800; color:var(--primary); line-height:1; }
.stat-label { font-size:1rem; color:#666; margin-top:0.5rem; font-weight: 500; }

/* ━━━ 프로세스 ━━━ */
.process-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:2rem; }
.process-step { text-align:center; padding:2rem 1rem; }
.process-num {
  width:56px; height:56px; border-radius:50%;
  background:var(--secondary); color:#fff;
  font-size:1.4rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 1rem;
  box-shadow: 0 4px 10px rgba(124, 179, 66, 0.3);
}
.process-step h3 { font-size:1.05rem; font-weight:700; margin-bottom:0.5rem; color: var(--text); }
.process-step p { font-size:0.9rem; color:#666; line-height:1.6; }

/* ━━━ CTA ━━━ */
.cta-section {
  background:var(--primary) !important;
  text-align:center; padding:100px 5%;
}
.cta-section h2 { color:#fff; font-size:clamp(1.6rem,3vw,2.4rem); margin-bottom:1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.cta-section p { color:rgba(255,255,255,0.95); font-size:1.1rem; margin-bottom:2rem; }

/* ━━━ 텍스트+이미지 ━━━ */
.text-image-wrap { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.text-image-wrap img { width:100%; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,0.1); }
@media(max-width:768px) { .text-image-wrap { grid-template-columns:1fr; gap:2rem; } }

/* ━━━ 버튼 ━━━ */
.btn-primary, .btn-secondary, .btn-outline {
  display:inline-block; padding:0.9rem 2.2rem;
  border-radius:50px; font-size:0.95rem; font-weight:600;
  text-decoration:none; cursor:pointer; border:2px solid transparent;
  transition:all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-primary { background:var(--primary); color:#fff; border-color:var(--primary); }
.btn-primary:hover { filter:brightness(1.05); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(251, 192, 45, 0.4); }
.btn-secondary { background:var(--secondary); color:#fff; border-color:var(--secondary); }
.btn-secondary:hover { filter:brightness(1.05); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(124, 179, 66, 0.4); }
.btn-outline { background:transparent; color:#fff; border-color:#fff; }
.btn-outline:hover { background:#fff; color:var(--primary); transform: translateY(-2px); }

/* ━━━ 애니메이션 ━━━ */
.fade-in-up { opacity:0; transform:translateY(30px); transition:opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity:1; transform:translateY(0); }

/* ━━━ 푸터 ━━━ */
footer {
  background:#1a1a2e; color:rgba(255,255,255,0.75);
  padding:4rem 5% 2rem; text-align:center;
}
footer * { text-align:center !important; }
.footer-tagline { font-size:1.2rem; color:#fff; font-weight:700; margin-bottom:1.2rem; letter-spacing: 1px; }
.footer-tagline span { color: var(--primary); }
.footer-info { font-size:0.85rem; line-height:2; margin-bottom:2rem; opacity:0.7; }
.footer-copy {
  font-size:0.8rem; opacity:0.5;
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:1.5rem; margin-top:2rem;
}

/* ━━━ 프린트 ━━━ */
@media print {
  header,.hero-prev,.hero-next,.hero-dots { display:none; }
  .hero { max-height:300px; min-height:unset; margin-top: 0; }
  section { padding: 40px 0; }
  body { color: #000; background: #fff; }
}