/* 부천바닥코팅전문 — 차콜 산업 톤 + 앰버 랙 라인 모티프 + 샤퍼링(모서리 절단) 버튼 */

:root {
  --char: #1C1F26;
  --char-2: #14171D;
  --char-3: #0D0F13;
  --amber: #FF9F1C;
  --amber-dim: rgba(255, 159, 28, 0.26);
  --fg: #F3F1EA;
  --muted: #A9AEB8;
  --heading-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--char);
  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(2.1rem, 8vw, 3.1rem); margin: 6px 0 14px; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); 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: 56px 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 19, 0.96);
  border-bottom: 1px solid var(--amber-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: 800; font-size: 1.08rem; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.menu-toggle {
  background: none; border: 2px solid var(--amber); border-radius: 3px;
  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(--char-2); border-top: 1px solid var(--amber-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: 샤퍼(모서리 절단) 태그 형태 */
.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.95rem;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.btn-primary { background: var(--amber); color: #201400; }
.btn-ghost { background: rgba(255, 159, 28, 0.1); color: var(--amber); border: 1px solid var(--amber); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* hero: 창고 랙(선반) 라인 모티프 */
.hero {
  background: linear-gradient(180deg, var(--char-2), var(--char) 72%);
  overflow: hidden;
}
.rack-lines {
  height: 26px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 8px,
    transparent 8px 22px
  );
  opacity: 0.85;
}
.hero-inner { padding: 44px 20px 52px; max-width: 720px; margin: 0 auto; text-align: left; }
.eyebrow {
  font-size: 0.76rem; letter-spacing: 0.14em; color: var(--amber);
  margin: 0 0 8px; font-weight: 800; text-transform: uppercase;
}
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 0; }

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

.content-side { margin-top: 40px; }
.fact-box {
  background: var(--char-2);
  border: 1px solid var(--amber-dim);
  border-left: 4px solid var(--amber);
  border-radius: 2px;
  padding: 28px 24px;
}
.fact-box h2 { font-size: 1.4rem; margin-bottom: 18px; }
.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.95rem;
}
.fact-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  background: var(--amber); clip-path: polygon(3px 0, 100% 0, 100% 7px, 7px 100%, 0 100%, 0 3px);
}

/* 관련 페이지 */
.related-section { background: var(--char-3); border-top: 1px solid var(--amber-dim); padding: 40px 0; }
.related-section h2 { font-size: 1.3rem; margin: 0 0 14px; }
.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(--amber); }

/* faq / accordion */
.faq-section { background: var(--char-2); border-top: 1px solid var(--amber-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: 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(--char-3); border-top: 1px solid var(--amber-dim); }
.cta-inner { text-align: left; }
.cta-inner p { color: var(--muted); }

/* footer */
.site-footer { background: #0A0B0E; 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; }
/* 현장 사진: 가운데 정렬 프레임 */
.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: 16px; justify-items: center;
}
.site-photo-grid picture {
  display: block; width: 100%; max-width: 440px; aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--amber-dim); border-radius: 4px; margin: 0 auto;
}
.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 68px; 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; }
}
