/* 동두천바닥코팅전문 - 지역 전용 스타일 (산업단지 톱니지붕 x 스틸/러스트 모티프) */
:root {
  --dc-graphite: #20242c;
  --dc-graphite-deep: #14171d;
  --dc-steel: #6b7480;
  --dc-steel-light: #9aa3ad;
  --dc-rust: #c1440e;
  --dc-rust-light: #e97e3c;
  --dc-bg: #eef0f0;
  --dc-surface: #ffffff;
  --dc-ink: #23262c;
  --dc-muted: #565d67;
  --dc-line: #d8dbdd;
  --dc-radius: 8px;
  --dc-shadow: 0 14px 32px rgba(20, 23, 29, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dc-ink);
  background: var(--dc-bg);
  line-height: 1.7;
}

a { color: inherit; }

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

/* Header */
.site-header {
  background: var(--dc-graphite-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--dc-rust);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.02em;
}
#primary-nav {
  display: flex;
  gap: 22px;
}
#primary-nav a {
  text-decoration: none;
  color: #cfd4da;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
#primary-nav a:hover { color: var(--dc-rust-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero: 산업단지 톱니지붕(sawtooth roof) 실루엣 */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--dc-graphite) 0%, var(--dc-graphite-deep) 72%);
  color: #fff;
  padding: 88px 20px 108px;
}
.sawtooth-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sawtooth-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(
    115deg,
    var(--dc-steel-light) 0 2px,
    transparent 2px 34px
  );
}
.sawtooth-motif::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: var(--dc-bg);
  clip-path: polygon(
    0% 100%, 0% 40%, 8% 100%, 8% 40%, 16% 100%, 16% 40%, 24% 100%, 24% 40%,
    32% 100%, 32% 40%, 40% 100%, 40% 40%, 48% 100%, 48% 40%, 56% 100%, 56% 40%,
    64% 100%, 64% 40%, 72% 100%, 72% 40%, 80% 100%, 80% 40%, 88% 100%, 88% 40%,
    96% 100%, 96% 40%, 100% 100%
  );
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--dc-rust);
  color: var(--dc-rust-light);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.02rem;
  color: #d3d7dc;
  margin: 0 auto 30px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--dc-radius);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--dc-rust);
  color: #fff8f2;
  box-shadow: 0 8px 20px rgba(193, 68, 14, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--dc-rust-light); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--dc-steel-light);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Content */
.content-section { padding: 68px 20px 64px; }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.content-main h2 {
  font-size: 1.35rem;
  color: var(--dc-graphite);
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 5px solid var(--dc-rust);
}
.content-main h2:first-child { margin-top: 0; }
.content-main p { margin: 0 0 8px; color: var(--dc-ink); }
.content-main a { color: var(--dc-rust); font-weight: 700; text-decoration: underline; }

.fact-box {
  background: var(--dc-surface);
  border: 1px solid var(--dc-line);
  border-top: 4px solid var(--dc-steel);
  border-radius: var(--dc-radius);
  padding: 26px;
  box-shadow: var(--dc-shadow);
}
.fact-box h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--dc-graphite);
}
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.fact-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--dc-ink);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 8px;
  background: var(--dc-rust);
  border-radius: 1px;
}

/* 관련 페이지 */
.related-section {
  background: var(--dc-bg);
  padding: 40px 20px;
  border-top: 1px solid var(--dc-line);
}
.related-section .section-inner { max-width: 1080px; margin: 0 auto; }
.related-section h2 { font-size: 1.3rem; margin: 0 0 14px; color: var(--dc-graphite); }
.related-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.related-section li { font-size: 0.95rem; }
.related-section a { color: var(--dc-rust); }

/* FAQ */
.faq-section {
  background: var(--dc-surface);
  padding: 64px 20px;
  border-top: 1px solid var(--dc-line);
  border-bottom: 1px solid var(--dc-line);
}
.faq-section h2 {
  text-align: center;
  color: var(--dc-graphite);
  font-size: 1.5rem;
  margin: 0 0 30px;
}
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--dc-line);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--dc-bg);
  border: 0;
  border-left: 4px solid var(--dc-steel);
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dc-graphite);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease;
}
.accordion-trigger::after {
  content: "＋";
  font-size: 1.2rem;
  color: var(--dc-rust);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.accordion-trigger[aria-expanded="true"] { border-left-color: var(--dc-rust); }
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel {
  padding: 4px 22px 18px 24px;
  color: var(--dc-muted);
  font-size: 0.95rem;
}

/* Site photos */
.site-photo-section {
  padding: 64px 20px;
  text-align: center;
}
.site-photo-section h2 {
  color: var(--dc-graphite);
  font-size: 1.5rem;
  margin: 0 0 28px;
}
.site-photo-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}
.site-photo-grid picture {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: var(--dc-radius);
  overflow: hidden;
  box-shadow: var(--dc-shadow);
  border: 1px solid var(--dc-line);
  border-top: 4px solid var(--dc-rust);
}
.site-photo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--dc-graphite-deep), var(--dc-graphite));
  color: #fff;
  padding: 64px 20px;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
}
.cta-inner h2 { font-size: 1.5rem; margin: 0 0 12px; }
.cta-inner p { color: #d3d7dc; margin: 0 0 26px; }

/* Footer */
.site-footer {
  background: var(--dc-graphite-deep);
  color: #c3c8ce;
  padding: 16px 20px;
  font-size: 0.88rem;
  border-top: 3px solid var(--dc-rust);
}
.site-footer address {
  max-width: 1120px;
  margin: 0 auto 14px;
  font-style: normal;
  line-height: 1.5;
}
.site-footer address a { color: var(--dc-rust-light); text-decoration: none; }
/* Responsive */
@media (min-width: 640px) {
  .site-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 860px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  #primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dc-graphite-deep);
    flex-direction: column;
    padding: 16px 20px;
  }
  #primary-nav.is-open { display: flex; }
  .header-inner { position: relative; }
}
