/* 김포바닥코팅전문 — 물류 루트맵 모티프: 플럼/오커, 사각 버튼 + 쉐브론, 점선 동선 */
:root {
  --plum: #582C4D;
  --plum-2: #3E1F36;
  --ochre: #E8AA42;
  --ink: #24151F;
  --paper: #FBF7F3;
  --card: #FFFFFF;
  --line: #E3D6DC;
  --muted: #5B4A54;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
h1, h2 { font-family: 'Gasoek One', 'Noto Sans KR', sans-serif; font-weight: 400; line-height: 1.3; color: var(--plum); }
h3 { line-height: 1.4; font-weight: 700; color: var(--plum); }
p { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--plum); border-bottom: 4px solid var(--ochre); }
.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.15rem; letter-spacing: -0.01em; text-decoration: none; color: #fff; }
.menu-toggle { background: var(--plum-2); border: 2px solid var(--ochre); 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(--ochre); display: block; }
#primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--plum-2); border-bottom: 4px solid var(--ochre); 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: #fff; border-bottom: 1px solid rgba(255,255,255,.15); 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-bottom: 0; padding: 0; color: #fff; min-height: auto; }
}

/* hero */
.hero { background: var(--plum); color: #fff; background-image: linear-gradient(180deg, var(--plum) 0%, var(--plum-2) 100%); }
.hero-inner { max-width: 960px; margin: 0 auto; padding: 40px 20px 48px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--ochre); margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: 1.9rem; margin: 0 0 16px; word-break: keep-all; }
.hero-lede { color: #E9DDE6; margin: 0 0 32px; max-width: 46em; }

/* route map: 입고 -> 보관 -> 출고 (CSS-only dashed line) */
.route-map { margin: 0 0 32px; }
.route-caption { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--ochre); margin: 0 0 14px; }
.route-track { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.route-track::before {
  content: '';
  position: absolute;
  left: 22px; right: 22px; top: 11px;
  border-top: 3px dashed var(--ochre);
  z-index: 0;
}
.route-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.route-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ochre); border: 3px solid var(--plum-2); box-shadow: 0 0 0 3px var(--plum); }
.route-label { font-size: .85rem; font-weight: 700; color: var(--plum-2); background: var(--ochre); padding: 4px 12px; white-space: nowrap; }

/* rectangular buttons with chevron accent */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 0;
  font-weight: 700; text-decoration: none;
  border: 2px solid var(--ochre);
}
.btn::after { content: ''; width: 8px; height: 8px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); flex: none; }
.btn-primary { background: var(--ochre); color: var(--plum-2); }
.btn-ghost { background: transparent; color: #fff; }

/* main content */
.content { background: var(--paper); }
.content-inner { max-width: 800px; margin: 0 auto; padding: 44px 20px; }
.content h2 { font-size: 1.3rem; margin: 0 0 16px; word-break: keep-all; }
.content section { margin: 0 0 40px; }
.content section:last-of-type { margin-bottom: 0; }
.content p { color: var(--muted); margin: 0; }
.content a { color: var(--plum); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* 관련 페이지 */
.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; }

/* faq accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--plum); overflow: hidden; }
.accordion-item h3 { margin: 0; font-size: 1rem; }
.accordion-trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0;
  padding: 16px 18px; min-height: 44px;
  font: inherit; font-weight: 700; color: var(--plum);
  cursor: pointer;
}
.accordion-trigger::after {
  content: '';
  flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.accordion-trigger[aria-expanded="true"] { background: #F3E9EF; }
.accordion-panel { padding: 0 18px 20px; }
.accordion-panel p { color: var(--muted); }

/* cta */
.cta-section { background: var(--ochre); }
.cta-inner { max-width: 800px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.cta-section h2 { font-size: 1.3rem; margin: 0 0 10px; color: var(--plum-2); }
.cta-section p { margin: 0 0 22px; color: #4A3417; }
.cta-inner .hero-cta { justify-content: center; }
.cta-inner .btn-primary { background: var(--plum); color: #fff; border-color: var(--plum); }
.cta-inner .btn-ghost { background: transparent; color: var(--plum-2); border-color: var(--plum-2); }

/* footer */
.site-footer { background: var(--ink); color: #DCD0D6; padding: 16px 20px; }
.site-footer address { max-width: 1280px; margin: 0 auto 16px; font-style: normal; font-size: .88rem; color: #B3A2AC; line-height: 1.5; }
.site-footer address a { color: var(--ochre); text-decoration: none; }
@media (min-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .route-label { font-size: .9rem; }
}

@media (min-width: 768px) {
  .hero-inner { padding: 56px 32px 64px; }
  .hero h1 { font-size: 2.5rem; }
  .content-inner { padding: 64px 32px; }
  .content h2 { font-size: 1.55rem; }
  .accordion-trigger { font-size: 1.05rem; padding: 20px 24px; }
  .accordion-panel { padding: 0 24px 24px; }
  .route-track::before { left: 60px; right: 60px; }
}

@media (min-width: 1024px) {
  .hero-inner, .content-inner, .header-inner, .footer-nav, .site-footer address, .site-footer p, .cta-inner { max-width: 1080px; }
}

@media (min-width: 1280px) {
  .hero-inner, .content-inner, .cta-inner { max-width: 1120px; }
}

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--plum); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; overflow: hidden; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
