/* ===== 벌목 노출형 사이트 — 공통 디자인 시스템 ===== */
:root {
  --color-primary: #14532D;
  --color-primary-dark: #1E3A2B;
  --color-accent: #EA580C;
  --color-accent-2: #059669;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8FAFC;
  --color-border: #E2E8F0;
  --color-text: #1F2937;
  --color-text-muted: #5B6472;
  --shadow-soft: 0 4px 6px -1px rgba(0,0,0,0.05);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--color-primary-dark); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-primary-dark); color: #E5E7EB; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head .eyebrow { color: var(--color-accent); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.updated-note { font-size: .82rem; color: var(--color-text-muted); text-align: center; margin-top: -20px; margin-bottom: 30px; }

/* Buttons (min 44px touch target) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 8px 20px rgba(234,88,12,.35); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-dark { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn--call { background: var(--color-accent-2); color: #fff; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: 14px 32px; font-size: 1.08rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { max-width: var(--max-width); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.site-logo { font-weight: 800; font-size: 1.05rem; color: var(--color-primary-dark); white-space: nowrap; }
.site-nav { display: flex; gap: 16px; font-weight: 600; font-size: .88rem; overflow-x: auto; flex: 1; white-space: nowrap; }
.site-nav a.is-active { color: var(--color-accent); }
.site-header__inner .btn--call { margin-left: auto; flex: none; }
@media (min-width: 700px) { .site-nav { gap: 22px; font-size: .95rem; } .site-logo { font-size: 1.15rem; } }

/* Hero */
.hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,83,45,.55), rgba(15,25,20,.86)); }
.hero__inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: 60px 20px; }
.hero__kicker { color: #FDBA74; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; display: block; }
.hero h1 { color: #fff; }
.hero__lede { font-size: 1.08rem; max-width: 640px; color: #F1F5F9; }
.hero__stats { display: flex; gap: 24px; margin: 26px 0; flex-wrap: wrap; }
.hero__stat strong { display: block; font-size: 1.5rem; color: #FDBA74; }
.hero__stat span { font-size: .85rem; color: #E5E7EB; }

/* 모바일: 히어로는 사진만 노출, H1/설명/버튼은 사진 아래로 이동 */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; color: var(--color-text); }
  .hero::before {
    content: "";
    position: static;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-soft);
  }
  .hero__inner { position: static; background: var(--color-bg); padding: 28px 20px 36px; }
  .hero__kicker { color: var(--color-accent); }
  .hero h1 { color: var(--color-primary-dark); }
  .hero__lede { color: var(--color-text-muted); }
  .hero__stat strong { color: var(--color-accent); }
  .hero__stat span { color: var(--color-text-muted); }
  .hero .btn--outline { border-color: var(--color-primary); color: var(--color-primary); }
}

/* Before/After */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-soft); }
.ba-card__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; }
.ba-card__item img { width: 100%; height: 100%; object-fit: cover; }
.ba-card__label { position: absolute; top: 8px; left: 8px; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; letter-spacing: .03em; z-index: 2; }
.ba-card__label--before { background: #64748B; }
.ba-card__label--after { background: var(--color-accent-2); }
.ba-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ba-strip .ba-card { min-width: 280px; scroll-snap-align: start; }

/* Cards grid (carousel/service/region) */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 700px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .card-grid--6 { grid-template-columns: repeat(6, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.kw-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.kw-card__img { aspect-ratio: 1 / 1; overflow: hidden; }
.kw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.kw-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kw-card__body h3 { margin: 0; font-size: 1rem; }
.kw-card__body p { font-size: .85rem; color: var(--color-text-muted); margin: 0; flex: 1; }
.kw-card__link { font-weight: 700; color: var(--color-accent); font-size: .85rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table.data-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
table.data-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
table.data-table th, table.data-table td { border: 1px solid var(--color-border); padding: 12px 14px; text-align: left; font-size: .92rem; }
table.data-table thead th { background: var(--color-primary-dark); color: #fff; }
table.data-table tbody tr:nth-child(even) { background: var(--color-bg-soft); }

/* Checklist / process */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; }
.checklist li svg { flex: none; width: 20px; height: 20px; color: var(--color-accent-2); margin-top: 2px; }

.process-steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-steps__item { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 16px 16px; }
.process-steps__item::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }

.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-card strong { display: block; font-size: 1.7rem; color: var(--color-primary); }
.stat-card span { font-size: .82rem; color: var(--color-text-muted); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 6px 16px; }
.faq-item summary { cursor: pointer; padding: 12px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1rem; }
.faq-item summary::before { content: "Q. "; color: var(--color-accent); font-weight: 800; }
.faq-item p { padding-bottom: 14px; color: var(--color-text-muted); }
.faq-section { text-align: center; }

/* CTA band */
.cta-band { background: var(--color-primary-dark); color: #fff; padding: 44px 0; }
.cta-band__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band__title { font-weight: 800; font-size: 1.2rem; margin: 0 0 4px; }
.cta-band__desc { color: #CBD5E1; margin: 0; font-size: .92rem; }

/* Footer (slim, horizontal) */
.site-footer { background: #0F1B14; color: #94A3B8; padding: 18px 0; }
.site-footer__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; text-align: center; font-size: .8rem; }
.site-footer__biz { margin: 0 0 8px; line-height: 1.8; }
.site-footer__nav { margin: 0 0 8px; }
.site-footer__nav a { margin: 0 4px; }
.site-footer__copy { margin: 0; color: #64748B; }
.footer-br { display: none; }
@media (min-width: 640px) { .footer-br { display: inline; } }

/* Misc content helpers */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.timeline { border-left: 3px solid var(--color-border); margin-left: 10px; padding-left: 24px; display: grid; gap: 28px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); }
.badge { display: inline-block; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; color: var(--color-primary-dark); }
.breadcrumb { font-size: .82rem; color: var(--color-text-muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--color-primary); }
