:root {
  --ink: #16232E;
  --accent: #E8611C;
  --paper: #F3F5F6;
  --line: #D6DCE0;
  --muted: #56636C;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "IBM Plex Sans KR", "Noto Sans KR", sans-serif; font-display: swap;
  color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.75;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; }
.header-inner { max-width: 860px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: inherit; }
.main-nav ul { list-style: none; display: none; gap: 24px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; }
.hamburger { width: 44px; height: 44px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 600; border-top: 1px solid rgba(255,255,255,.15); min-height: 44px; }
@media (min-width: 768px) { .main-nav ul { display: flex; } .hamburger { display: none; } .mobile-nav { display: none !important; } }

main { max-width: 820px; margin: 0 auto; padding: 0 20px 80px; }
.breadcrumb { padding: 16px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; }

/* Hero: technical document strip */
.hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 8px; margin-bottom: 32px;
  border-bottom: 6px solid var(--accent);
}
.hero-img { width: 100%; height: 46vh; min-height: 300px; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.03); }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 6vw 28px; background: linear-gradient(0deg, rgba(22,35,46,.92) 15%, rgba(22,35,46,.15) 80%);
  color: #fff;
}
.plan-tag {
  display: inline-block; font-size: .78rem; letter-spacing: .16em; color: var(--accent); font-weight: 800;
  margin: 0 0 14px; align-self: flex-start; text-transform: uppercase;
}
.hero-overlay h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin: 0 0 14px; color: #fff; }
.plan-lead { color: #dce4e8; margin: 0; max-width: 640px; font-size: .98rem; }

.site-photos { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.site-photos figure { margin: 0; }
.site-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }
.site-photos figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (min-width: 700px) { .site-photos { grid-template-columns: repeat(3, 1fr); } }

.section { padding: 32px 0; border-top: 1px dashed var(--line); }
.section h2 { font-size: 1.4rem; margin: 0 0 16px; }
.section > p { color: var(--muted); }

/* Spec-tag grid — pointed document-tag badge, distinct from other pages' pin/ring/diamond/hexagon/seal badges */
.spec-grid { display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: spec; }
.spec-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  padding: 18px 18px 18px 70px;
}
.spec-card::before {
  counter-increment: spec; content: counter(spec, decimal-leading-zero);
  position: absolute; left: 0; top: 14px; width: 52px; height: 30px;
  background: var(--accent); color: #fff;
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
}
.spec-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.spec-card p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (min-width: 700px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 12px; text-align: left; font-size: .93rem; }
th { background: var(--ink); color: #fff; }
tr:nth-child(even) td { background: #e9edf0; }

@media (max-width: 640px) {
  .table-scroll { overflow-x: visible; }
  .table-scroll table { min-width: 0; width: 100%; table-layout: fixed; }
  .table-scroll th, .table-scroll td {
    padding: 4px 3px; font-size: 0.62rem; line-height: 1.25; word-break: break-all; overflow-wrap: break-word; white-space: normal;
  }
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border: 2px solid var(--accent); border-radius: 3px;
}

.faq-section .accordion-item { border-bottom: 1px dashed var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; min-height: 44px; color: var(--ink);
}
.accordion-trigger::after { content: "+"; color: var(--accent); font-weight: 400; }
.accordion-trigger[aria-expanded="true"]::after { content: "-"; }
.accordion-panel { padding: 0 4px 16px; color: var(--muted); }

.links-section p { color: var(--ink); }
.links-section a { text-decoration: underline; color: var(--accent); font-weight: 700; }

.cta-section { display: flex; gap: 12px; flex-wrap: wrap; padding: 32px 0 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }

.site-footer { background: var(--ink); color: #cdd6db; padding: 20px 20px 100px; }
.site-footer nav { display: none; }
.site-footer address { font-style: normal; font-size: .88rem; line-height: 1.5; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; text-align: center; }
.site-footer a[href^="tel:"] { color: var(--accent); font-weight: 700; }
.site-footer p { text-align: center; }

.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 150; box-shadow: 0 -2px 12px rgba(0,0,0,.15); }
.mobile-cta { flex: 1; min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.mobile-cta.call { background: var(--accent); color: #fff; }
.mobile-cta.inquiry { background: var(--ink); color: #fff; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }

/* ---------- Related links ---------- */
.related-links {
  max-width: 1140px;
  margin: 0 auto 3.5rem;
  padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--ink);
}
.related-links h2 { font-size: 1.4rem; margin: 0 0 1.5rem; color: var(--ink); }
.related-links-group { margin-bottom: 1.25rem; }
.related-links-group:last-child { margin-bottom: 0; }
.related-links-group h3 { font-weight: 700; font-size: 0.95rem; margin: 0 0 0.6rem; color: var(--ink); opacity: 0.75; }
.related-links-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.related-links-group a { color: var(--ink); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid transparent; }
.related-links-group a:hover { border-bottom-color: var(--ink); }
