/* 바닥코팅전문 왁스 서비스 라인 — 20페이지 공통 스타일 (세이지그린/앰버) */

:root {
  --primary: #2F5D50;
  --primary-dark: #1F3F37;
  --accent: #D99A3C;
  --ink: #202826;
  --paper: #F5F3EC;
  --card-bg: #FFFFFF;
  --line: #DDD8C8;
  --muted: #5B655F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; color: var(--primary-dark); }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.section-inner { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--primary-dark);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
#primary-nav { display: flex; gap: 22px; }
#primary-nav a { color: #EFEAD8; text-decoration: none; font-size: 0.95rem; }
#primary-nav a:hover { color: var(--accent); }
.menu-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

/* ---------- 히어로 ---------- */
.hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 72px 20px 56px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 999px;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent);
}
.hero h1 { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; }
.hero-sub { margin: 0 0 28px; max-width: 640px; color: #E6E2D2; font-size: 1.02rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }

/* ---------- 현장 사진 (2장, 가운데) ---------- */
.site-photo-section { background: var(--card-bg); border-bottom: 1px solid var(--line); }
.site-photo-section .section-inner { padding-top: 44px; padding-bottom: 44px; }
.site-photo-section h2 { text-align: center; margin: 0 0 24px; font-size: 1.3rem; }
.shot { margin: 0 auto; max-width: 1000px; }
.shot__row { display: flex; justify-content: center; align-items: stretch; gap: 16px; flex-wrap: nowrap; }
.shot__row picture { flex: 1 1 0; min-width: 0; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.shot__row img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .shot__row { flex-wrap: wrap; }
  .shot__row picture { flex: 1 1 100%; }
}

/* ---------- 본문 섹션 공통 ---------- */
.content-section h2 { font-size: 1.4rem; margin: 0 0 18px; }
.content-section p { margin: 0 0 16px; color: var(--ink); }
.content-section + .content-section { border-top: 1px solid var(--line); }

.check-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.check-table th, .check-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.check-table th { color: var(--primary-dark); width: 34%; background: #F0EEE2; }

.step-list { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-list li {
  position: relative; padding: 16px 18px 16px 56px; background: var(--card-bg);
  border: 1px solid var(--line); border-radius: 10px;
}
.step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary);
  color: #fff; font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.term-list { margin: 0; }
.term-list dt { font-weight: 700; color: var(--primary-dark); margin-top: 12px; }
.term-list dd { margin: 4px 0 0; color: var(--muted); }

.content-section.alt { background: var(--card-bg); }

/* ---------- FAQ ---------- */
.faq-section { background: #F0EEE2; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 4px; font-size: 1rem; font-weight: 700; color: var(--primary-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion-trigger::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion-panel { padding: 0 4px 18px; color: var(--muted); }

/* ---------- CTA / 푸터 ---------- */
.cta-section { background: var(--primary-dark); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; margin: 0 0 12px; }
.cta-section p { color: #D9D4C2; margin: 0 0 24px; }
.cta-inner { max-width: 640px; margin: 0 auto; padding: 56px 20px; }
.cta-inner .hero-cta { justify-content: center; }

.site-footer { background: #17211D; color: #B9C0BB; padding: 16px 20px; }
address { text-align: center; font-style: normal; font-size: 0.85rem; line-height: 1.9; margin: 0 0 14px; }
address a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 640px) {
  #primary-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- 관련 페이지 ---------- */
.related-section { border-top: 1px solid var(--line); background: var(--card-bg); }
.related-section h2 { font-size: 1.4rem; margin: 0 0 18px; }
.related-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-section li { margin: 0; }
.related-section a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.related-section a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
