/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --green: #2D5A4B;
  --green-light: #3a7263;
  --green-bg: #f0f5f3;
  --green-accent: #4a9e84;
  --dark: #1a1a1a;
  --gray: #666;
  --gray-light: #999;
  --border: #e5e5e5;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --section-padding: 100px 0;
  --max-width: 1100px;
}

/* ===== UTILITY ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--green);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
}
.section-title {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800;
  line-height: 1.3; color: var(--dark); margin-bottom: 24px;
}
.text-center { text-align: center; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: #d4d4d4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: #888; font-size: 13px; font-weight: 500;
  border-radius: var(--radius-sm);
}
.img-placeholder .icon { font-size: 32px; opacity: 0.5; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.logo-icon {
  width: 36px; height: 36px; background: var(--green); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--dark); transition: color 0.2s; }
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--dark); color: #fff;
  border-radius: 50px; font-size: 14px; font-weight: 600;
  transition: background 0.3s; border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--green); }
.btn-cta .arrow { font-size: 18px; transition: transform 0.3s; }
.btn-cta:hover .arrow { transform: translateX(3px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: 0.3s;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.98); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 600; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 28px; cursor: pointer;
}

/* ===== PAGE HERO (서브페이지용) ===== */
.page-hero {
  padding: 80px 0 60px;
  background: var(--green); color: #fff; text-align: center;
}
.page-hero .section-label { color: rgba(255,255,255,0.7); }
.page-hero .section-label::before { background: rgba(255,255,255,0.7); }
.page-hero .section-title { color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 16px; opacity: 0.8; max-width: 600px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links a {
  display: block; font-size: 13px; color: var(--gray);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer-contact p { font-size: 13px; color: var(--gray); margin-bottom: 6px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--gray-light);
  display: flex; justify-content: space-between;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--green); color: #fff;
  border-radius: 50px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.3s;
}
.btn-primary:hover { background: var(--green-light); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: var(--green);
  border-radius: 50px; font-size: 15px; font-weight: 600;
  border: 2px solid var(--green); cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav, .btn-cta-desktop { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  :root { --section-padding: 60px 0; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
