/* 가평교습소철거 — 아이콘 리스트 일러스트형 (그린/옐로 포인트) */

:root {
  --green: #2fa84f;
  --green-deep: #1f7a3a;
  --green-pale: #eaf9ec;
  --yellow: #ffcf3f;
  --yellow-pale: #fff8e0;
  --ink: #1f2b23;
  --ink-soft: #4c5c52;
  --line: #d8ecd9;
  --bg: #fbfef9;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Paperlogy", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-deep); }

img, svg { display: block; max-width: 100%; }

.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 */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--yellow);
}

.header-bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-pale);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
}

.site-nav a:hover { color: var(--green-deep); }

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 30px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--yellow-pale);
  color: #8a6a00;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--green-deep);
  transition: transform 0.12s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-deep); }

/* Wrap */
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.row, .icon-section {
  padding: 36px 0;
  border-top: 1px dashed var(--line);
}

.row:first-of-type, .icon-section:first-of-type { border-top: none; }

.tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-2px);
}

.icon-section h2, .row h2 {
  font-size: 1.4rem;
  margin: 0 0 20px;
  color: var(--ink);
}

.row-sub {
  color: var(--ink-soft);
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Icon list — the signature layout */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.icon-section.alt .icon-list { gap: 16px; }

.icon-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.icon-section.alt .icon-item {
  background: var(--green-pale);
  border-color: transparent;
}

.icon-badge {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--yellow-pale);
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}

.icon-section.alt .icon-badge {
  background: #fff;
  border-color: var(--green);
}

.icon-text h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.icon-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Table */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: #fff;
}

thead th {
  background: var(--green);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}

tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

tbody tr:nth-child(even) td { background: var(--green-pale); }

/* Check list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow);
  border-radius: 12px;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 20.5px;
  top: 50%;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(-45deg);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  justify-items: center;
  align-items: start;
}

.gallery picture {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* FAQ */
.faq-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px dashed var(--line);
}

.faq-item:first-of-type { border-top: none; }

.faq-q-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item h3 {
  margin: 2px 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Related cards */
.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.related-card:hover {
  border-color: var(--green);
  background: var(--green-pale);
}

.related-card-arrow { color: var(--green); }

/* CTA row */
.cta-row {
  text-align: center;
  background: var(--green-pale);
  border-radius: var(--radius);
  border-top: none;
  padding: 36px 24px;
}

.cta-row h2 { text-align: center; }

.cta-row p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: var(--ink-soft);
}

/* Footer */
footer {
  background: var(--ink);
  color: #d9e6dc;
  padding: 22px 20px;
  font-size: 0.85rem;
  text-align: center;
}

footer address { font-style: normal; }

footer a { color: var(--yellow); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .related-cards { grid-template-columns: repeat(2, 1fr); }
  .icon-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-bar { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 12px; }
  .hero { padding: 34px 16px 24px; }
  .hero h1 { font-size: 1.6rem; }
  .hero .lede { font-size: 0.98rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .related-cards { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  table { min-width: 0; }
  thead th, tbody td { padding: 10px; font-size: 0.85rem; }
}
