/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a6b3c;
  --color-primary-dark: #0f4d2a;
  --color-accent: #34c759;
  --color-bg: #fafdf7;
  --color-bg-alt: #f0f5ec;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-light: #5a5a6e;
  --color-text-muted: #8a8a9e;
  --color-border: #e0e8d8;
  --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 960px;
  --header-height: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(250, 253, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
}

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

.logo {
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}

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

.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 64px) 24px 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(26, 107, 60, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(52, 199, 89, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-desc {
  font-size: 16px;
  color: var(--color-text-light);
  font-weight: 300;
}

/* ===== About ===== */
.section {
  padding: 72px 0;
}

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

.about-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-intro h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

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

.biz-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all var(--transition);
}

.biz-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.biz-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.5;
}

.biz-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 8px 0 6px;
}

.biz-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg);
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

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

.contact-item {
  text-align: center;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.contact-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-item a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.5);
  padding: 24px 0;
}

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


/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 240px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 20px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }
}
