/* 군포교습소철거 — 아코디언 인터랙티브형, 모노톤 + 포인트 컬러(러스트오렌지) */

:root {
  --ink: #1c1b1a;
  --ink-soft: #4a4744;
  --paper: #faf9f7;
  --panel: #ffffff;
  --line: #e4e1dc;
  --line-strong: #cfcbc3;
  --muted: #f1efeb;
  --accent: #c1440e;
  --accent-dark: #98350a;
  --accent-soft: #fbe7dc;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; }

.gp-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;
}

/* Header */
.gp-header {
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
.gp-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gp-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.gp-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.gp-nav a {
  color: #cfcbc3;
  text-decoration: none;
  font-size: .92rem;
  padding: 8px 2px;
}
.gp-nav a:hover { color: #fff; }

/* Hero */
.gp-hero {
  background: linear-gradient(180deg, var(--ink) 0%, #2a2826 100%);
  color: #f4f2ef;
  padding: 56px 20px 64px;
  position: relative;
}
.gp-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 24px, transparent 24px 48px);
}
.gp-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.gp-eyebrow {
  display: inline-block;
  color: var(--accent);
  background: rgba(193,68,14,.15);
  border: 1px solid rgba(193,68,14,.4);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.gp-hero h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.gp-lead {
  font-size: 1.02rem;
  color: #d8d5d0;
  margin: 0 auto 28px;
  max-width: 620px;
}
.gp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.gp-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Layout */
.gp-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px 20px 20px;
}

.gp-block {
  margin-bottom: 44px;
}
.gp-block h2 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-left: 5px solid var(--accent);
  padding-left: 14px;
}
.gp-block > p {
  color: var(--ink-soft);
  font-size: .98rem;
}

/* Accordion */
.gp-accordion {
  border-top: 2px solid var(--ink);
}
details.gp-acc-item {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.gp-acc-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.gp-acc-summary::-webkit-details-marker { display: none; }
.gp-acc-summary h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.gp-acc-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
}
.gp-acc-icon::before,
.gp-acc-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.gp-acc-icon::before { width: 10px; height: 1.6px; }
.gp-acc-icon::after { width: 1.6px; height: 10px; transition: opacity .2s ease; }

details.gp-acc-item[open] .gp-acc-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}
details.gp-acc-item[open] .gp-acc-icon::before,
details.gp-acc-item[open] .gp-acc-icon::after {
  background: #fff;
}
details.gp-acc-item[open] .gp-acc-icon::after {
  opacity: 0;
}
details.gp-acc-item[open] .gp-acc-summary h3 {
  color: var(--accent-dark);
}

.gp-acc-body {
  padding: 0 6px 22px;
  animation: gp-fade .2s ease;
}
.gp-acc-body p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: .96rem;
}
.gp-acc-body p:last-child { margin-bottom: 0; }

@keyframes gp-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Table */
.gp-table-wrap {
  overflow-x: auto;
  margin: 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 480px;
}
thead th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}
tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
tbody tr:nth-child(even) { background: var(--muted); }

/* Checklist */
.gp-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.gp-checklist li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .94rem;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.gp-checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}
.gp-checklist li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 43%;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

/* Gallery */
.gp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-items: center;
}
.gp-gallery picture {
  display: block;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gp-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* Related links */
.gp-related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gp-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .15s ease, color .15s ease;
}
.gp-related-card:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.gp-arrow { color: var(--accent); font-weight: 700; }

/* CTA section */
.gp-cta-section {
  text-align: center;
  background: var(--ink);
  color: #f4f2ef;
  border-radius: 16px;
  padding: 40px 24px;
  margin-bottom: 20px;
}
.gp-cta-section h2 {
  border: none;
  padding: 0;
  color: #fff;
  font-size: 1.25rem;
}
.gp-cta-section p {
  color: #d8d5d0;
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: .95rem;
}

/* Footer */
footer {
  background: #100f0e;
  color: #b9b5af;
  padding: 22px 20px;
  font-size: .82rem;
  text-align: center;
}
footer address {
  font-style: normal;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}
footer a {
  color: #f4f2ef;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .gp-wrap { padding: 32px 16px 16px; }
  .gp-hero { padding: 44px 16px 52px; }
  .gp-gallery { grid-template-columns: 1fr; }
  .gp-related { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gp-header-inner { justify-content: center; text-align: center; }
  .gp-nav { justify-content: center; gap: 12px 16px; }
  .gp-hero h1 { font-size: 1.6rem; }
  .gp-lead { font-size: .95rem; }
  .gp-block h2 { font-size: 1.14rem; }
  .gp-acc-summary h3 { font-size: .96rem; }
  table { min-width: 100%; font-size: .86rem; }
  thead th, tbody td { padding: 10px; }
  .gp-cta { width: 100%; }
}
