/* 군포바닥코팅전문 — 딥네이비 + 시안 그린 톤, 회로기판(circuit) 모티프 + 뱃지형 카드 레이아웃 */

:root {
  --navy: #0E1B2C;
  --navy-2: #0A1420;
  --navy-3: #060B12;
  --cyan: #2FE0C0;
  --cyan-2: #17B79B;
  --cyan-dim: rgba(47, 224, 192, 0.20);
  --fg: #E9F3F0;
  --muted: #93A6AC;
  --heading-font: 'Space Grotesk', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--fg);
  font-family: 'Noto Sans KR', -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: 700;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 6.6vw, 2.9rem); margin: 4px 0 14px; }
h2 { font-size: clamp(1.32rem, 4.2vw, 1.8rem); margin: 0 0 16px; color: var(--cyan); }
h3 { font-size: 1rem; font-weight: 700; margin: 0; color: #fff; font-family: var(--heading-font); }
.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(6, 11, 18, 0.96);
  border-bottom: 1px solid var(--cyan-dim);
}
.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: 700; font-size: 1.06rem; letter-spacing: -0.01em; text-decoration: none; color: #fff; font-family: var(--heading-font); }
.menu-toggle {
  background: var(--cyan); border: none; border-radius: 999px;
  width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--navy-3); display: block; border-radius: 2px; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy-2); border-top: 1px solid var(--cyan-dim);
  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.08);
}

/* buttons: 필(pill) 형태 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 26px;
  border: none; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.btn-primary { background: var(--cyan); color: #04211C; }
.btn-ghost { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* hero: 회로기판 격자 + PCB 트레이스 모티프 */
.hero {
  background:
    radial-gradient(circle at 18% 15%, var(--cyan-dim), transparent 42%),
    linear-gradient(165deg, var(--navy-2), var(--navy) 68%);
  background-image:
    radial-gradient(circle at 18% 15%, var(--cyan-dim), transparent 42%),
    linear-gradient(90deg, rgba(47,224,192,0.08) 1px, transparent 1px),
    linear-gradient(rgba(47,224,192,0.08) 1px, transparent 1px),
    linear-gradient(165deg, var(--navy-2), var(--navy) 68%);
  background-size: auto, 34px 34px, 34px 34px, auto;
  position: relative;
  overflow: hidden;
}
.hero-inner { padding: 44px 20px 24px; max-width: 720px; margin: 0 auto; text-align: left; position: relative; z-index: 2; }
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.13em; color: var(--cyan);
  margin: 0 0 8px; font-weight: 700; text-transform: uppercase;
}
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.circuit-trace {
  height: 32px;
  background-color: var(--cyan);
  opacity: 0.85;
  clip-path: polygon(
    0 100%, 0 68%, 6% 68%, 6% 38%, 12% 38%, 12% 84%, 18% 84%, 18% 20%,
    24% 20%, 24% 55%, 30% 55%, 30% 10%, 36% 10%, 36% 62%, 42% 62%, 42% 30%,
    48% 30%, 48% 76%, 54% 76%, 54% 16%, 60% 16%, 60% 50%, 66% 50%, 66% 24%,
    72% 24%, 72% 80%, 78% 80%, 78% 34%, 84% 34%, 84% 60%, 90% 60%, 90% 6%,
    96% 6%, 96% 46%, 100% 46%, 100% 100%
  );
}

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

.content-side { margin-top: 36px; }
.fact-box {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 4px solid var(--cyan);
  border-radius: 10px;
  padding: 26px 24px;
}
.fact-box h2 { font-size: 1.3rem; margin-bottom: 18px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: fact; }
.fact-list li {
  padding-left: 34px; position: relative; color: var(--fg); font-size: 0.94rem;
  counter-increment: fact;
}
.fact-list li::before {
  content: counter(fact, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--cyan-dim); color: var(--cyan);
  font-size: 0.7rem; font-weight: 700; font-family: var(--heading-font);
  display: flex; align-items: center; justify-content: center;
}

/* related links */
.related-section { border-top: 1px solid var(--cyan-dim); }
.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 20px; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid var(--cyan-2);
  color: var(--cyan); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.related-section a:hover { background: rgba(47, 224, 192, 0.32); transform: translateY(-2px); }

/* faq / accordion */
.faq-section { background: var(--navy-2); border-top: 1px solid var(--cyan-dim); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.accordion-trigger {
  width: 100%; text-align: left; min-height: 44px;
  background: none; border: none; color: var(--fg);
  font-size: 0.97rem; 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(--cyan); font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
  transition: transform 0.15s ease; line-height: 1;
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel { padding: 0 4px 18px; }
.accordion-panel p { color: var(--muted); margin: 0; }

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

/* footer */
.site-footer { background: #050A10; 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(--cyan); text-decoration: none; }
/* 현장 사진: 가운데 정렬 2열 그리드 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.site-photo-section h2 { color: var(--cyan); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* 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: 60px 20px 32px; max-width: 900px; }
  .circuit-trace { height: 44px; }
}
@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; }
}
