/* 논슬립바닥코팅전문 — 세이프티 오렌지 / 사선 스트라이프 모티프 */
:root {
  --ink: #16262E;
  --ink-2: #1E323C;
  --accent: #FF6B35;
  --fg: #F4F1EC;
  --muted: #B9C4CB;
  --line: #2C4049;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; color: var(--fg); }
p { color: var(--fg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.stripe-bar {
  height: 8px;
  background-image: repeating-linear-gradient(135deg, var(--accent) 0 14px, var(--ink) 14px 28px);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; color: var(--fg); }
.menu-toggle {
  background: var(--ink-2); border: 2px solid var(--accent); border-radius: 0;
  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(--accent); display: block; }
#primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ink-2); border-bottom: 3px solid var(--accent);
  flex-direction: column; padding: 8px 20px 16px;
}
#primary-nav.is-open { display: flex; }
#primary-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; color: var(--fg); border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav { display: flex; position: static; flex-direction: row; gap: 26px; background: none; border: 0; padding: 0; }
  #primary-nav a { border: 0; padding: 0; min-height: auto; }
}

/* hero */
.hero { position: relative; background: var(--ink-2); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,107,53,0.10) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 48px 20px 32px; display: grid; gap: 28px; }
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.6rem); margin: 0 0 14px;
  border-left: 8px solid var(--accent); padding-left: 16px;
}
.hero-sub { max-width: 62ch; color: var(--fg); font-size: 1.05rem; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure picture, .hero-figure img { border: 3px solid var(--accent); }

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

/* hazard buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  text-decoration: none; font-weight: 700; border-radius: 0; letter-spacing: 0.01em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary { background: var(--accent); color: var(--ink); border: 2px solid var(--accent); }
.btn-outline { background: transparent; color: var(--fg); border: 2px solid var(--accent); }

/* content sections */
.content-section { max-width: 900px; margin: 0 auto; padding: 44px 20px; border-top: 1px solid var(--line); }
.content-section h2 {
  font-size: 1.5rem; margin: 0 0 20px; display: inline-block;
  border-bottom: 4px solid var(--accent); padding-bottom: 6px;
}
.content-section p { margin: 0 0 14px; }
.content-section.stripe-divide { border-top: none; position: relative; }
.content-section.stripe-divide::before {
  content: ''; display: block; height: 6px; margin: 0 0 40px;
  background-image: repeating-linear-gradient(135deg, var(--accent) 0 10px, var(--ink-2) 10px 20px);
}

.checklist, .cause-list { padding-left: 20px; margin: 0 0 14px; }
.checklist li, .cause-list li { margin-bottom: 12px; }
.checklist strong, .cause-list strong { color: var(--accent); display: block; margin-bottom: 2px; }

/* spec table */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.95rem; vertical-align: top; }
thead th { background: var(--accent); color: var(--ink); font-weight: 700; }
tbody tr:nth-child(odd) { background: var(--ink-2); }

/* gallery */
.gallery-section { max-width: 1280px; }
.gallery-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gallery-grid figure { margin: 0; background: var(--ink-2); border: 1px solid var(--line); }
.gallery-grid figure img { border-bottom: 3px solid var(--accent); }
.gallery-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* accordion */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: 0; color: var(--fg);
  font-size: 1rem; font-weight: 700; padding: 16px 4px; min-height: 44px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion-trigger::after { content: '+'; color: var(--accent); font-size: 1.4rem; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

/* related links */
.links-section { max-width: 1280px; }
.link-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.link-card { display: block; background: var(--ink-2); border: 1px solid var(--line); border-left: 6px solid var(--accent); padding: 20px; text-decoration: none; }
.link-card h3 { margin: 0 0 8px; color: var(--fg); }
.link-card p { color: var(--muted); margin: 0; }
@media (min-width: 768px) { .link-cards { grid-template-columns: 1fr 1fr 1fr; } }

/* cta */
.cta-section { max-width: 1280px; margin: 0 auto; padding: 44px 20px; text-align: center; background: var(--ink-2); border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }
.cta-section h2 { font-size: 1.5rem; margin: 0 0 12px; }
.cta-section p { max-width: 56ch; margin: 0 auto 22px; color: var(--muted); }

/* footer */
.site-footer { background: #0F1B21; border-top: 2px solid var(--accent); padding: 32px 20px; margin-top: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; max-width: 1280px; margin: 0 auto 20px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 0.9rem; }
.site-footer address { max-width: 1280px; margin: 0 auto; font-style: normal; color: var(--muted); font-size: 0.85rem; line-height: 1.8; }
.site-footer address a { color: var(--accent); }
.site-footer p { max-width: 1280px; margin: 16px auto 0; color: #6b7880; font-size: 0.8rem; }

@media (min-width: 1024px) {
  .content-section { max-width: 980px; }
}
