/* 성남교습소철거 — 카드 스택 레이아웃 / primary #073B4C / accent #06D6A0 / Spoqa Han Sans Neo */

:root {
  --primary: #073B4C;
  --primary-deep: #052a37;
  --accent: #06D6A0;
  --accent-deep: #049c76;
  --bg: #F4F8F7;
  --card-bg: #FFFFFF;
  --text: #1B2B2E;
  --text-muted: #4B5F62;
  --border: #DCEAE6;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Spoqa Han Sans Neo", "Noto Sans KR", -apple-system, sans-serif;
  font-display: swap;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}

.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: var(--primary);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav a {
  color: #E7F7F2;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(6, 214, 160, 0.18);
  color: #fff;
}

/* Hero */
.hero-card {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-text {
  background: var(--primary);
  color: #fff;
  padding: 36px 32px;
  border-radius: 20px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.hero-text h1 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.35;
}

.hero-text .lead {
  color: #DCF6EE;
  font-size: 1.02rem;
  margin: 0;
}

.hero-picture {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 59, 76, 0.18);
}

.hero-picture img {
  width: 100%;
  height: auto;
}

/* Content card stack */
.content-stack {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 4px 16px rgba(7, 59, 76, 0.06);
}

.card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  color: var(--primary);
  position: relative;
  padding-left: 16px;
}

.card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: var(--accent);
  border-radius: 4px;
}

.card p {
  margin: 0 0 12px;
  color: var(--text);
}

.card p:last-child {
  margin-bottom: 0;
}

.region-section p + p {
  margin-top: 14px;
}

/* Table */
.table-wrap {
  overflow-x: auto;
}

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

caption {
  text-align: left;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

th {
  background: #EAF6F2;
  color: var(--primary-deep);
  font-weight: 700;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent-deep);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--primary-deep);
  border-bottom: 2px solid var(--primary-deep);
  transform: rotate(-45deg);
}

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

.gallery-grid picture {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(7, 59, 76, 0.1);
}

/* Caution */
.caution-section {
  border-left: 5px solid var(--accent);
}

/* Internal links */
.links-section a {
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* CTA */
.cta-section {
  max-width: 1120px;
  margin: 8px auto 40px;
  padding: 34px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: 20px;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.cta-section p {
  margin: 0 0 20px;
  color: #DCF6EE;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  background: var(--accent);
  color: #063D2E;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 999px;
  text-decoration: none;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent-deep);
  color: #fff;
}

/* Footer */
footer {
  background: var(--primary-deep);
  color: #DCF6EE;
  padding: 40px 20px 30px;
}

footer nav {
  max-width: 1120px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

footer nav a {
  color: #DCF6EE;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

footer nav a:hover,
footer nav a:focus-visible {
  background: rgba(6, 214, 160, 0.2);
  color: #fff;
}

footer address {
  max-width: 1120px;
  margin: 0 auto;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #B9D8CF;
}

footer address a {
  color: var(--accent);
  font-weight: 700;
}

footer p {
  max-width: 1120px;
  margin: 18px auto 0;
  font-size: 0.82rem;
  color: #8FB3A8;
}

/* Breakpoints */
@media (max-width: 1024px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-picture {
    order: -1;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 22px 20px;
  }

  .hero-text {
    padding: 28px 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .cta-section {
    padding: 26px 18px;
  }
}

@media (min-width: 1280px) {
  .hero-text {
    padding: 44px 40px;
  }

  .card {
    padding: 34px 38px;
  }
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line, #ddd);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--paper, #fff);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.related-card:hover,
.related-card:focus-visible {
  border-color: currentColor;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.related-card-arrow { opacity: 0.6; flex-shrink: 0; }
@media (max-width: 480px) {
  .related-cards { grid-template-columns: 1fr; }
}

