:root {
  --primary: #2E4057;
  --primary-soft: #3F5670;
  --accent: #F2B134;
  --paper: #FBF5E9;
  --line: #E6DDC8;
  --ink: #26313F;
  --muted: #62728A;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Noto Sans KR", sans-serif; font-display: swap;
  color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.75;
}
h1, h2, h3 { font-family: "Baloo 2", "Noto Sans KR", sans-serif; font-weight: 700; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--primary); padding: 10px 16px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--primary); color: #fff; }
.header-inner { max-width: 820px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: #fff; font-family: "Baloo 2", sans-serif; }
.main-nav ul { list-style: none; display: none; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; color: #E6ECF2; }
.hamburger { width: 44px; height: 44px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 500; border-top: 1px solid rgba(255,255,255,.15); min-height: 44px; }
@media (min-width: 768px) { .main-nav ul { display: flex; } .hamburger { display: none; } .mobile-nav { display: none !important; } }

main { max-width: 780px; margin: 0 auto; padding: 0 20px 80px; }
.breadcrumb { padding: 16px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; }

.hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 8px; margin-bottom: 40px; padding: 0;
}
.hero-img { width: 100%; height: 46vh; min-height: 300px; object-fit: cover; display: block; filter: saturate(.95) brightness(.97); }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 6vw; background: linear-gradient(100deg, rgba(46,64,87,.95) 34%, rgba(46,64,87,.3) 92%);
  color: #fff;
}
.surface-tag {
  display: inline-block; font-size: .74rem; letter-spacing: .1em; color: var(--primary); font-weight: 700;
  border-radius: 3px; padding: 5px 14px; margin: 0 0 16px; align-self: flex-start;
  background: var(--accent);
}
.hero-overlay h1 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); margin: 0 0 14px; color: #fff; letter-spacing: .01em; }
.hero-lead { color: #E4E9EF; margin: 0; max-width: 620px; }

.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 1.28rem; margin: 0 0 20px; color: var(--primary); }
.section > p { color: var(--muted); }

/* surface-compare: horizontal comparison row of 4 yard-surface cards, distinct axis from other pages' zone/step components */
.surface-compare {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin: 26px 0;
}
.surface-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px;
  border-top: 4px solid var(--accent);
}
.surface-card h3 { font-size: 1.02rem; margin: 0 0 10px; color: var(--primary); }
.surface-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.7; }
@media (min-width: 700px) {
  .surface-compare { grid-template-columns: repeat(4, 1fr); }
  .surface-card { padding: 18px 16px; }
}

.site-photos { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.site-photos figure { margin: 0; }
.site-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.site-photos figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (min-width: 700px) { .site-photos { grid-template-columns: repeat(2, 1fr); } }

/* spacing-ruler: horizontal ruler-with-ticks visual for trench-to-foundation clearance guidance */
.spacing-ruler { margin: 26px 0 20px; }
.ruler-track {
  position: relative; height: 34px; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: flex-end;
}
.ruler-tick {
  position: absolute; bottom: 0; left: calc(var(--pos) * 20%); width: 1px; height: 14px; background: var(--muted);
}
.ruler-tick:nth-child(odd) { height: 22px; background: var(--primary); }
.ruler-range {
  position: absolute; left: 12%; right: 12%; bottom: 0; height: 6px; background: var(--accent); border-radius: 3px 3px 0 0;
}
.ruler-labels { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.ruler-value { font-weight: 700; color: var(--primary); font-size: .88rem; }

.faq-section .accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: var(--ink);
}
.accordion-trigger::after { content: "+"; color: var(--primary); font-weight: 700; background: transparent; border: 2px solid var(--accent); border-radius: 50%; width: 22px; height: 22px; flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.accordion-trigger[aria-expanded="true"]::after { content: "-"; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

.links-section p { color: var(--ink); }
.links-section a { text-decoration: underline; color: var(--primary); font-weight: 700; }

.cta-section { display: flex; gap: 12px; flex-wrap: wrap; padding: 36px 0 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }

.site-footer { background: var(--primary); color: #E4E9EF; padding: 44px 20px 100px; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0 0 22px; padding: 0; max-width: 820px; margin-left: auto; margin-right: auto; }
.site-footer nav a { color: #fff; text-decoration: none; font-size: .92rem; }
.site-footer address { font-style: normal; font-size: .88rem; line-height: 1.85; text-align: center; }
.site-footer a[href^="tel:"] { color: var(--accent); font-weight: 700; }
.site-footer p { text-align: center; }

.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 150; box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
.mobile-cta { flex: 1; min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.mobile-cta.call { background: var(--accent); color: var(--primary); }
.mobile-cta.inquiry { background: var(--primary); color: #fff; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }

@media (max-width: 640px) {
  .surface-card { padding: 16px 18px; }
}

/* ---------- Related links ---------- */
.related-links {
  max-width: 1140px;
  margin: 0 auto 3.5rem;
  padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--ink);
}
.related-links h2 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.related-links-group { margin-bottom: 1.25rem; }
.related-links-group:last-child { margin-bottom: 0; }
.related-links-group h3 {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
  opacity: 0.75;
}
.related-links-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}
.related-links-group a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}
.related-links-group a:hover { border-bottom-color: var(--ink); }

.site-footer nav{display:none}
.site-footer{padding-top:20px}
.site-footer address{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;line-height:1.5}
