/* academy-demolition-yangju — 밴드 교차 배색형 (짙은 그린 ↔ 아이보리) / 굵은 고딕 임팩트 */

:root {
  --green: #0B3B2C;
  --green-deep: #082A1F;
  --green-line: #1F5B45;
  --ivory: #F6F0DC;
  --ivory-deep: #EDE4C8;
  --ink-on-ivory: #1C2A20;
  --ink-on-green: #F3EFDD;
  --gold: #D9A438;
  --gold-deep: #B9861F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Noto Sans KR", "Pretendard", sans-serif;
  font-weight: 400;
  font-display: swap;
  line-height: 1.75;
  font-size: 16px;
  background: var(--ivory);
  color: var(--ink-on-ivory);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

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

a { color: inherit; }

/* ---- Header ---- */
.site-header {
  background: var(--green-deep);
  border-bottom: 4px solid var(--gold);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ivory);
  font-family: "Black Han Sans", sans-serif;
  font-size: 1.4rem;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}

.btn-cta {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-cta:hover, .btn-cta:focus-visible { background: var(--gold-deep); }

.btn-accent {
  background: var(--gold);
  color: var(--green-deep);
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
}
.btn-accent:hover, .btn-accent:focus-visible { background: var(--gold-deep); }

/* ---- Bands ---- */
.band {
  padding: 3.5rem 1.25rem;
}

.band-green {
  background: var(--green);
  color: var(--ink-on-green);
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
}

.band-green h2, .band-green h1 { color: var(--ivory); }
.band-green a { color: var(--gold); }

.band-ivory {
  background: var(--ivory);
  color: var(--ink-on-ivory);
}

.band-ivory h2, .band-ivory h1 { color: var(--green); }
.band-ivory a { color: var(--green-deep); text-decoration: underline; }

.band-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col.reverse .col-media { order: -1; }

.col-media picture {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid var(--gold);
}

.col-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 1rem;
}

.col-text p { margin: 0 0 1rem; }
.col-text p:last-child { margin-bottom: 0; }

/* ---- Hero ---- */
.band-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0.03em;
}

.band-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ivory);
  margin: 0 0 1.1rem;
}

.lead {
  font-size: 1.08rem;
  margin: 0 0 1.6rem;
  color: var(--ink-on-green);
}

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Non-column band content (table/list/faq) ---- */
.band > .band-inner > h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
  text-align: center;
}

.band > .band-inner > p:not(.table-note) {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.75rem;
}

.table-note {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--green-deep);
  border-radius: 10px;
  overflow: hidden;
}

caption { text-align: left; }

th, td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--green-line);
  vertical-align: top;
}

thead th {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
}

tbody th[scope="row"] {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .table-scroll table,
  .table-scroll thead,
  .table-scroll tbody,
  .table-scroll th,
  .table-scroll td,
  .table-scroll tr {
    display: block;
  }
  .table-scroll thead { display: none; }
  .table-scroll tr {
    border: 1px solid var(--green-line);
    border-radius: 8px;
    margin-bottom: 0.9rem;
    padding: 0.6rem 0.9rem;
  }
  .table-scroll th[scope="row"] {
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--green-line);
    margin-bottom: 0.3rem;
  }
  .table-scroll td {
    border: none;
    padding: 0.35rem 0;
  }
  .table-scroll td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.82rem;
  }
}

/* ---- Step list / check list ---- */
.step-list, .check-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.step-list {
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-family: "Black Han Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li strong, .check-list li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 4px;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23082A1F' stroke-width='2'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 68%;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.gallery-grid picture {
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--green);
  width: 100%;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--green-deep);
  border: 1px solid var(--green-line);
  border-radius: 8px;
  padding: 0.3rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.9rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  display: inline;
  font-size: 1.05rem;
  color: var(--gold);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
}

.faq-item summary::before {
  content: "Q. ";
  color: var(--gold);
  font-weight: 700;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--ink-on-green);
}

/* ---- CTA band ---- */
.cta-band h2 { color: var(--green); }
.cta-band .btn { margin-top: 0.5rem; }

/* ---- Related cards ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 1rem 1.1rem;
  background: var(--green-deep);
  border: 1px solid var(--green-line);
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  color: var(--ivory) !important;
  text-align: center;
  transition: background .15s ease, transform .15s ease;
}

.related-card:hover, .related-card:focus-visible {
  background: var(--gold);
  color: var(--green-deep) !important;
  transform: translateY(-2px);
}

/* ---- Footer ---- */
footer {
  background: var(--green-deep);
  color: #C9D6C9;
  padding: 2rem 1.25rem;
  font-size: 0.88rem;
  text-align: center;
}

footer address {
  max-width: 1180px;
  margin: 0 auto;
  font-style: normal;
  line-height: 1.8;
}

footer address a {
  color: var(--gold);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-updated {
  margin: 0.75rem 0 0;
  color: #7E9689;
  font-size: 0.8rem;
}

/* ---- Responsive breakpoints ---- */
@media (max-width: 768px) {
  .band { padding: 2.5rem 1rem; }
  .two-col { grid-template-columns: 1fr; gap: 1.75rem; }
  .two-col.reverse .col-media { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .band-hero { padding-top: 2.75rem; padding-bottom: 2.75rem; }
}

@media (max-width: 480px) {
  .band { padding: 2rem 0.85rem; }
  .header-inner { padding: 0.75rem 1rem; }
  .brand { font-size: 1.2rem; }
  .btn-cta { padding: 0.55rem 1rem; font-size: 0.9rem; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 320px; }
  .related-grid { grid-template-columns: 1fr; }
  .faq-item summary h3 { font-size: 0.98rem; }
  table { min-width: 0; }
}
