/* 포천공장바닥코팅전문 — 산업 그리드/리벳 패턴 콘셉트: 러스트오렌지 + 스틸그레이 */
:root {
  --rust: #C1571E;
  --rust-dark: #8F3F12;
  --steel: #4B5259;
  --steel-dark: #2A2E32;
  --steel-line: #5C646B;
  --paper: #EFEDE9;
  --card: #FFFFFF;
  --ink: #201E1B;
  --muted: #5A5652;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1, h2 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--rust);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); color: #fff; letter-spacing: -.01em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); color: var(--steel-dark); }
h3 { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--steel-dark);
  border-bottom: 4px solid var(--rust);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--steel);
  border: 1px solid var(--steel-line);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0 auto;
  background: var(--rust);
}
#primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 .5rem;
  color: #E9E7E3;
  text-decoration: none;
  border-top: 1px solid var(--steel-line);
}

/* ---------- 산업 그리드/리벳 데코 ---------- */
.rivet-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 9px 0;
  background: var(--steel-dark);
}
.rivet-row .rivet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: inset -2px -2px 2px rgba(0,0,0,.5), inset 1px 1px 1px rgba(255,255,255,.35);
  opacity: .8;
}
.rivet-row .rivet:nth-child(3n) { opacity: 1; background: #E07636; }

.grid-divider {
  height: 32px;
  background-image:
    repeating-linear-gradient(0deg, var(--steel-line) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(90deg, var(--steel-line) 0 2px, transparent 2px 18px);
  background-color: var(--paper);
  opacity: .55;
}

/* ---------- hero ---------- */
.hero-section {
  background: var(--steel-dark);
  position: relative;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 24px);
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
.eyebrow {
  color: var(--rust);
  font-size: .85rem;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.hero-desc {
  color: #DCDAD5;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- buttons: 각진 산업용 버튼 ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 2.1rem;
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: opacity .15s ease;
  position: relative;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--steel-line); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-left: 1.3rem; }
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: .7rem;
  height: .7rem;
  background: var(--rust);
  border-radius: 1px;
  transform: rotate(45deg);
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--rust-dark); text-decoration: underline; }
.content-section ul { padding-left: 1.2rem; }
.content-section li { margin-bottom: .5rem; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { border: 1px solid #D6D2CC; padding: .7rem .9rem; text-align: left; font-size: .95rem; }
thead th { background: var(--steel-dark); color: #fff; }

/* ---------- CTA ---------- */
.cta-section { background: var(--steel); }
.cta-section h2 { color: #fff; }
.cta-inner p { color: #E5E3DE; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--steel-dark);
  color: #CFCCC7;
  padding: 1rem 1.25rem;
}
.site-footer address {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.5;
  color: #ABA7A1;
}
.site-footer address a { color: var(--rust); text-decoration: none; }

/* ---------- 현장 사진: 사각 프레임 + 코너 리벳 ---------- */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--steel-dark); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.site-photo-grid picture {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 3px solid var(--steel);
}
.site-photo-grid picture::before,
.site-photo-grid picture::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  top: 6px;
  z-index: 2;
  box-shadow: inset -1px -1px 1px rgba(0,0,0,.5);
}
.site-photo-grid picture::before { left: 6px; }
.site-photo-grid picture::after { right: 6px; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 관련 페이지 ---------- */
.related-section { background: #E5E2DC; }
.related-section h2 { color: var(--steel-dark); }
.related-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1.2rem;
}
.related-cards a {
  display: block;
  background: var(--card);
  border-top: 4px solid var(--rust);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--steel-dark);
  font-weight: 700;
  min-height: 44px;
  transition: background .15s ease;
}
.related-cards a:hover { background: #F5F3EF; }
@media (min-width: 640px) { .related-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border: 1px solid var(--steel-line); margin-bottom: .8rem; background: var(--card); }
.faq-section .accordion-item h3 { margin: 0; font-size: 1rem; }
.faq-section .accordion-trigger {
  width: 100%;
  text-align: left;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--steel-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.faq-section .accordion-trigger::after { content: '+'; color: var(--rust); font-size: 1.3rem; flex-shrink: 0; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; }
.faq-section .accordion-panel p { color: var(--muted); margin: 0; }

.last-modified { color: var(--muted); font-size: .85rem; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .btn { padding: .9rem 2.4rem; }
}

@media (min-width: 768px) {
  .header-inner { padding: 16px 32px; }
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
  }
  #primary-nav a {
    border-top: none;
    min-height: auto;
    line-height: normal;
    padding: 0;
  }
  .section-inner { padding: 4rem 2rem; }
  .hero-inner { padding-top: 3.5rem; padding-bottom: 4rem; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .content-section .section-inner { max-width: 900px; }
}

@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1280px; }
  .content-section .section-inner { max-width: 960px; margin: 0 auto; }
}
