/* 용인바닥코팅전문 — 그래파이트 산업 톤 + 회로기판 격자 모티프 + 앰버 액센트 */

:root {
  --graphite: #14181c;
  --graphite-2: #1b2126;
  --graphite-3: #0d1114;
  --line: rgba(255, 176, 32, 0.16);
  --amber: #ffb020;
  --amber-dim: rgba(255, 176, 32, 0.22);
  --steel: #5b8bb0;
  --fg: #e9edf0;
  --muted: #9aa7b0;
  --heading-font: 'Segoe UI', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
p { color: var(--fg); margin: 0 0 18px; }
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 7vw, 2.9rem); margin: 8px 0 14px; }
h2 { font-size: clamp(1.35rem, 4vw, 1.7rem); margin: 0 0 16px; color: var(--amber); }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 52px 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 20, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.logo { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.menu-toggle {
  background: none; border: 1px solid var(--amber-dim); border-radius: 2px;
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--amber); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--graphite-2); border-top: 1px solid var(--line);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--fg); border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* buttons: 절단면 노치가 있는 산업용 라벨 스타일 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 26px;
  border: none; text-decoration: none; font-weight: 800; font-size: 0.94rem;
  letter-spacing: 0.01em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-primary { background: var(--amber); color: #201400; }
.btn-ghost { background: rgba(91, 139, 176, 0.14); color: var(--steel); border: 1px solid var(--steel); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* hero: 회로기판 격자 + 노드 모티프 */
.hero {
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite) 75%);
  overflow: hidden;
  position: relative;
}
.circuit-grid {
  height: 34px;
  background-image:
    linear-gradient(90deg, var(--amber-dim) 1px, transparent 1px),
    linear-gradient(0deg, var(--amber-dim) 1px, transparent 1px),
    radial-gradient(circle, var(--amber) 1.5px, transparent 1.5px);
  background-size: 26px 26px, 26px 26px, 26px 26px;
  background-position: 0 0, 0 0, 13px 13px;
  opacity: 0.85;
}
.hero-inner { padding: 40px 20px 50px; max-width: 720px; margin: 0 auto; text-align: left; }
.eyebrow {
  font-size: 0.76rem; letter-spacing: 0.14em; color: var(--steel);
  margin: 0 0 8px; font-weight: 700; text-transform: uppercase;
}
.hero-sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }

/* content: 2단 레이아웃 (본문 + 지역 특징 박스) */
.content-section { border-top: 1px solid var(--line); }
.content-grid { display: block; }
.content-main h2:not(:first-child) { margin-top: 38px; }
.content-main h2::before { content: '// '; color: var(--steel); }
.content-main a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }

.content-side { margin-top: 40px; }
.fact-box {
  background: var(--graphite-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  padding: 26px 24px;
}
.fact-box h2 { font-size: 1.3rem; margin-bottom: 18px; }
.fact-box h2::before { content: none; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact-list li {
  padding-left: 22px; position: relative; color: var(--fg); font-size: 0.94rem;
}
.fact-list li::before {
  content: '\25B8'; position: absolute; left: 0; top: 0; color: var(--amber); font-weight: 700;
}

/* related links */
.related-section { border-top: 1px solid var(--line); }
.related-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.related-section li { margin: 0; }
.related-section a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 10px 22px;
  background: var(--graphite-2); border: 1px solid var(--line);
  color: var(--steel); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.15s ease, transform 0.15s ease;
}
.related-section a:hover { background: var(--amber-dim); color: var(--amber); transform: translateY(-2px); }

/* faq / accordion */
.faq-section { background: var(--graphite-2); border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.accordion-trigger {
  width: 100%; text-align: left; min-height: 44px;
  background: none; border: none; color: var(--fg);
  font-size: 1rem; font-weight: 700; padding: 16px 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: inherit;
}
.accordion-trigger::after { content: '+'; color: var(--amber); font-size: 1.3rem; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.accordion-panel { padding: 0 4px 18px; }
.accordion-panel p { color: var(--muted); margin: 0; }

/* cta */
.cta-section { background: var(--graphite-3); border-top: 1px solid var(--line); }
.cta-inner { text-align: left; }
.cta-inner p { color: var(--muted); }

/* footer */
.site-footer { background: #0a0d0f; padding: 16px 20px; }
address {
  max-width: 1120px; margin: 0 auto; font-style: normal; color: var(--muted); font-size: 0.88rem; line-height: 1.8;
}
address a { color: var(--amber); text-decoration: none; }
/* breakpoints */
@media (min-width: 480px) {
  .hero-cta { gap: 16px; }
}
@media (min-width: 768px) {
  #primary-nav { position: static; display: flex !important; flex-direction: row; background: none; border: none; padding: 0; gap: 20px; }
  #primary-nav a { border-bottom: none; min-height: auto; }
  .menu-toggle { display: none; }
  .hero-inner { padding: 56px 20px 64px; max-width: 900px; }
}
@media (min-width: 1024px) {
  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .content-side { margin-top: 0; position: sticky; top: 90px; }
  .hero-inner { max-width: 1000px; }
}
@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1200px; }
}

/* 현장 사진: 가운데 정렬 2열 그리드 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.site-photo-section h2 { color: var(--amber); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; justify-items: center; }
.site-photo-grid picture { display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
