/* ===================================
   금수조경 (Geumsu Landscape) - style.css
   Professional / trustworthy tone
   =================================== */

:root {
  --forest: #2c4a34;
  --forest-dark: #1e3324;
  --forest-light: #3d6b4a;
  --stone: #8b7355;
  --stone-light: #a68a68;
  --bg: #f8f7f3;
  --bg-alt: #eef0ea;
  --text: #2b2b28;
  --text-light: #5a5a54;
  --white: #ffffff;
  --border: #ddd8cc;
  --shadow: 0 2px 12px rgba(30, 51, 36, 0.08);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--stone); }

nav.main-nav ul {
  display: flex;
  gap: 8px;
}

nav.main-nav a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--bg-alt);
  color: var(--forest-dark);
}

.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--forest-dark) !important; color: var(--white) !important; }

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 55%, var(--stone) 140%);
  color: var(--white);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-text { flex: 1.1; }
.hero-visual { flex: 0.9; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 520px;
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--forest-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--forest-dark); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-eyebrow {
  color: var(--stone);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--forest-dark);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-light); font-size: 1.02rem; }

/* ---------- Service Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-card { padding: 32px 28px; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--forest-dark); margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.96rem; margin-bottom: 16px; }
.service-card ul li {
  font-size: 0.92rem;
  color: var(--text-light);
  padding: 5px 0 5px 22px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px;
  background: var(--stone-light);
  border-radius: 50%;
}

/* ---------- Stone type cards ---------- */
.stone-card {
  padding: 0;
}
.stone-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
}
.stone-thumb svg { width: 72px; height: 72px; opacity: 0.9; }
.stone-body { padding: 22px 24px; }
.stone-body h3 { color: var(--forest-dark); font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.stone-body p { color: var(--text-light); font-size: 0.92rem; }

/* ---------- Placeholder image blocks ---------- */
.ph-image {
  position: relative;
  background: repeating-linear-gradient(135deg, var(--bg-alt), var(--bg-alt) 10px, #e4e1d4 10px, #e4e1d4 20px);
  border: 1px dashed var(--stone-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  gap: 8px;
  min-height: 200px;
}
.ph-image svg { width: 44px; height: 44px; opacity: 0.6; }
.ph-image span { font-size: 0.82rem; font-weight: 700; color: var(--text-light); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ---------- Board list ---------- */
.board-tabs {
  display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap;
}
.board-tabs a {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-light);
  background: var(--white);
}
.board-tabs a.active, .board-tabs a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-row {
  display: flex;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-thumb {
  flex: 0 0 160px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}
.post-info { flex: 1; }
.post-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--forest);
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.post-info h3 { font-size: 1.08rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.post-info p { font-size: 0.9rem; color: var(--text-light); }
.post-date { font-size: 0.82rem; color: var(--text-light); margin-top: 8px; }

/* ---------- Post detail ---------- */
.post-detail-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
  margin-bottom: 32px;
}
.post-detail-head h1 { font-size: 1.8rem; font-weight: 800; color: var(--forest-dark); margin: 12px 0; }
.post-meta { color: var(--text-light); font-size: 0.9rem; }
.post-content { font-size: 1.02rem; color: var(--text); }
.post-content h2 { font-size: 1.3rem; color: var(--forest-dark); margin: 32px 0 14px; }
.post-content p { margin-bottom: 16px; }
.post-content ul { margin: 0 0 16px 4px; }
.post-content ul li { padding-left: 18px; position: relative; margin-bottom: 8px; color: var(--text-light); }
.post-content ul li::before {
  content: "-"; position: absolute; left: 0; color: var(--stone);
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 40px; font-weight: 700; color: var(--forest);
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 8px;
}
.back-link:hover { background: var(--bg-alt); }

/* ---------- Quote / Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
}
.contact-card .service-icon { margin: 0 auto 20px; }
.contact-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--forest-dark); margin-bottom: 8px; }
.contact-card p.desc { color: var(--text-light); font-size: 0.94rem; margin-bottom: 22px; }
.contact-value {
  font-size: 1.3rem; font-weight: 800; color: var(--forest);
  margin-bottom: 20px;
}

.info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--stone);
  border-radius: 8px;
  padding: 22px 26px;
  margin-top: 40px;
}
.info-box h4 { color: var(--forest-dark); font-weight: 800; margin-bottom: 10px; }
.info-box ul li { padding: 4px 0 4px 18px; position: relative; color: var(--text-light); font-size: 0.94rem; }
.info-box ul li::before { content: "•"; position: absolute; left: 0; color: var(--stone); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 22px;
}
.footer-brand { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-info p { font-size: 0.88rem; line-height: 1.9; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { flex-direction: column; }
  .hero h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
}

@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open ul { flex-direction: column; width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 70px; }
  .hero h1 { font-size: 1.7rem; }
  section { padding: 56px 0; }
  .post-row { flex-direction: column; align-items: stretch; }
  .post-thumb { width: 100%; height: 140px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
