/* 바닥코팅단가 — 프라이싱 레저(ledger) 컨셉: 좁은 센터 히어로 + 번호 매긴 단가 산정 기준 로우 */

:root {
  --primary: #14313D;
  --accent: #3FA796;
  --ink: #1b2b30;
  --sub: #4c6068;
  --line: #d7e2e0;
  --paper: #f3f7f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Gothic A1", "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Gothic A1", "Noto Sans KR", sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

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

/* ---------- 헤더 ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  color: var(--primary);
  font-family: "Gothic A1", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.menu-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--primary); }

#primary-nav {
  display: none;
  flex-direction: column;
  width: 100%;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
#primary-nav a:hover { color: var(--accent); }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 4px;
  }
  #primary-nav a { border-top: none; padding: 10px 12px; }
}

/* ---------- 버튼: 필드 CTA(알약형) + 언더라인 텍스트 링크 ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Gothic A1", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid var(--accent);
}
.btn-pill:hover { background: #379385; border-color: #379385; }

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-link:hover { color: var(--accent); }

/* ---------- 히어로: 좁은 센터 컬럼 ---------- */
.hero {
  padding: 56px 20px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.25;
}
.hero-sub {
  margin: 0 0 28px;
  color: var(--sub);
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

/* ---------- 레저(ledger) 섹션 ---------- */
.ledger-section { padding: 44px 20px; }
.ledger-section.alt { background: var(--paper); }
.ledger-wrap { max-width: 760px; margin: 0 auto; }
.ledger-wrap h2 {
  font-size: clamp(1.25rem, 3.4vw, 1.55rem);
  margin: 0 0 14px;
}
.ledger-wrap > p {
  margin: 0 0 22px;
  color: var(--sub);
}
.ledger-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ledger {
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}
.ledger-row {
  display: flex;
  gap: 18px;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.ledger-row:first-child { border-top: none; }
.ledger-num {
  flex: none;
  font-family: "Gothic A1", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  min-width: 2.2ch;
}
.ledger-content h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.ledger-content p {
  margin: 0;
  color: var(--sub);
  font-size: 0.97rem;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 48px 20px 56px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.35rem, 3.4vw, 1.8rem); margin: 0 0 12px; }
.cta-inner p { margin: 0 0 26px; color: #c9dbd7; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (min-width: 480px) {
  .cta-actions { flex-direction: row; justify-content: center; }
}
.cta-section .btn-link { color: #fff; }
.cta-section .btn-link:hover { color: var(--accent); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--primary);
  color: #c9dbd7;
  padding: 16px 20px;
}
.site-footer address {
  max-width: 1280px;
  margin: 0 auto 16px;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #9fb8b3;
}
.site-footer address a { color: #fff; text-decoration: none; }
/* ---------- 브레이크포인트 ---------- */
@media (min-width: 768px) {
  .ledger-row { padding: 24px 8px; }
}
@media (min-width: 1024px) {
  .hero { padding: 72px 20px 52px; }
  .ledger-section { padding: 56px 20px; }
}
@media (min-width: 1280px) {
  .hero, .ledger-section, .cta-section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--primary); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* 표 (비용/절차 요약 테이블) */
.table-section { padding: 48px 20px; }
.table-scroll { overflow-x: auto; margin: 20px 0; }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.95rem; vertical-align: top; }
.table-scroll thead th { background: var(--accent); color: var(--ink); font-weight: 700; }
.table-scroll tbody tr:nth-child(odd) { background: var(--paper); }
