:root {
  --color-bark: #4a3324;
  --color-forest: #2f5d4f;
  --color-forest-dark: #234337;
  --color-leaf: #6a9c5f;
  --color-cream: #faf6ee;
  --color-cream-2: #f2ece0;
  --color-text: #2b2620;
  --color-text-soft: #5c554b;
  --font-display: 'Poppins', 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', 'Poppins', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(45, 35, 20, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

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

a { text-decoration: none; color: inherit; }

.section { padding: 88px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-forest-dark);
  text-align: center;
  margin: 0 0 40px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 51, 36, 0.08);
}

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

.brand { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.brand-name { font-weight: 800; font-size: 1.3rem; color: var(--color-forest-dark); }
.brand-sub { font-weight: 600; font-size: 1rem; color: var(--color-leaf); }
.brand-name.small, .brand-sub.small { font-size: 1.05rem; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--color-forest); }
.site-nav a.nav-login {
  margin-left: auto;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-leaf);
  color: #fff;
  font-weight: 600;
}
.site-nav a.nav-login:hover { background: #5c8b53; color: #fff; }
.site-nav a.nav-login.nav-logout {
  margin-left: 0;
  background: transparent;
  border: 2px solid var(--color-leaf);
  color: var(--color-forest);
}
.site-nav a.nav-login.nav-logout:hover { background: var(--color-leaf); color: #fff; }
@media (max-width: 700px) {
  .site-nav a.nav-login { margin-left: 0; align-self: flex-start; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-forest-dark);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 22, 0.35) 0%, rgba(20, 30, 22, 0.55) 55%, rgba(20, 30, 22, 0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e7dcc4;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0 0 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero h1 span { color: #b7d99a; }
.hero-tagline {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: #f2ece0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--color-leaf);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); background: #5c8b53; }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Story */
.story { background: var(--color-cream-2); }
.story-kr, .story-en {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.08rem;
  color: var(--color-text);
}
.story-en { color: var(--color-text-soft); font-style: italic; }
.divider {
  width: 60px;
  border: none;
  border-top: 3px solid var(--color-leaf);
  margin: 32px auto;
}
.tagline-badge {
  text-align: center;
  margin: 40px auto 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-forest-dark);
  background: #fff;
  display: table;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.about-values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about-values li {
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-values strong { color: var(--color-forest); margin-right: 6px; }
.about-tree {
  font-size: 10rem;
  text-align: center;
  filter: drop-shadow(0 12px 20px rgba(45,93,79,0.25));
}

/* Services */
.services { background: var(--color-cream-2); }
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display);
  color: var(--color-forest-dark);
  margin: 0 0 10px;
}
.service-card p { color: var(--color-text-soft); margin: 0; }

/* Contact */
.contact-inner { text-align: center; }
.contact p { max-width: 520px; margin: 0 auto 28px; color: var(--color-text-soft); }
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  text-align: left;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ddd3c2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-leaf);
}
.contact-form button { border: none; cursor: pointer; justify-self: start; }
.contact-success {
  max-width: 480px;
  margin: 0 auto;
  background: #eaf5e6;
  color: var(--color-forest-dark);
  padding: 14px 18px;
  border-radius: 8px;
}
.contact-error {
  max-width: 480px;
  margin: 0 auto 18px;
  background: #fdecec;
  color: #b3261e;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.contact-alt { margin-top: 24px; font-size: 0.92rem; }

/* Footer */
.site-footer {
  background: var(--color-forest-dark);
  color: #f2ece0;
  padding: 40px 0;
  text-align: center;
}
.footer-inner p { margin: 12px 0 0; font-size: 0.9rem; color: #c9d9c4; }

/* Responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-tree { font-size: 7rem; }
  .service-cards { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(74,51,36,0.08);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
