/* 학원철거업체폐기물처리 전용 스타일시트 — 다른 페이지와 공유하지 않음 */

:root {
  --color-primary: #14532D;
  --color-primary-dark: #0B3320;
  --color-bg: #F0FDF4;
  --color-accent: #84CC16;
  --color-text: #1C2B22;
  --color-text-muted: #3F5749;
  --color-border: #CBE8D3;
  --color-surface: #FFFFFF;

  --font-heading: 'IBM Plex Sans KR', 'Noto Sans KR', sans-serif;
  --font-body: 'IBM Plex Sans KR', 'Noto Sans KR', sans-serif;

  /* 타입 스케일 1.250 */
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;

  --radius: 12px;
  --section-pad: 96px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-display: swap;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: var(--step-0);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-display: swap;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin: 0 0 0.6em;
}

h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

p { margin: 0 0 1em; color: var(--color-text-muted); }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 68px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--color-primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

.btn-header {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-header:hover { background: var(--color-primary-dark); }

.btn-cta {
  background: var(--color-accent);
  color: #1C2B22;
  padding: 16px 32px;
  font-size: var(--step-1);
}

.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: var(--section-pad) 20px;
  width: 100%;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  animation: hero-rise 0.6s ease-out both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner { animation: none; }
}

.hero h1 {
  color: #fff;
  font-size: var(--step-5);
  margin-bottom: 0.5em;
}

.hero-lead {
  color: #E4F5E9;
  font-size: var(--step-2);
  max-width: 640px;
  margin: 0 auto 1.8em;
}

/* Sections */
.section {
  padding: var(--section-pad) 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

.section-title { margin-bottom: 0.9em; }

.problem { background: var(--color-surface); }

.legal h3 {
  margin-top: 1.6em;
  color: var(--color-primary);
}

/* Flow diagram */
.flow-desc { max-width: 720px; }

.flow-svg {
  width: 100%;
  height: auto;
  margin-top: 1.5em;
}

.flow-box {
  fill: var(--color-surface);
  stroke: var(--color-primary);
  stroke-width: 2;
}

.flow-box-2 { fill: #EAF9E0; }
.flow-box-3 { fill: #DDF4C8; }

.flow-label {
  font-size: 20px;
  font-weight: 700;
  fill: var(--color-primary-dark);
  font-family: var(--font-heading);
}

.flow-sub {
  font-size: 13px;
  fill: var(--color-text-muted);
  font-family: var(--font-body);
}

.flow-arrow {
  stroke: var(--color-primary);
  stroke-width: 3;
  fill: none;
}

.flow-arrow-head { fill: var(--color-primary); }

/* Checklist table */
.checklist { background: var(--color-surface); }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

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

caption {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: #E4F5E9;
}

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

thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

tbody tr:nth-child(even) { background: #F6FDF4; }

/* Gallery */
.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.photo-card {
  margin: 0;
  width: 100%;
  max-width: 360px;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .photo-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .photo-card { max-width: 320px; }
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--color-border);
  padding: 1.4em 0;
}

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

.faq-item h3 { margin-bottom: 0.4em; font-size: var(--step-1); }

/* CTA block */
.cta-block {
  background: var(--color-primary-dark);
  color: #fff;
}

.cta-inner { text-align: center; }

.cta-block h2 { color: #fff; }

.cta-block p { color: #E4F5E9; margin-bottom: 1.6em; }

/* Footer */
.site-footer {
  background: #0B2016;
  color: #CBE8D3;
  padding: 64px 20px 40px;
}

.related-links h2 {
  color: #fff;
  font-size: var(--step-1);
  margin-bottom: 0.8em;
}

.related-links ul {
  list-style: none;
  margin: 0 0 2.5em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.related-links a {
  color: #D9F2DC;
  text-decoration: none;
  font-size: 0.92rem;
}

.related-links a:hover { text-decoration: underline; }

.footer-legal p {
  color: #9BC2A5;
  font-size: 0.85rem;
  margin: 0;
}

/* Breakpoints */
@media (min-width: 1024px) {
  :root { --section-pad: 120px; }
  .hero h1 { font-size: 3.6rem; }
}

@media (min-width: 1280px) {
  .container { padding: 0 32px; }
}
