:root {
  --navy: #c41e3a;
  --navy-deep: #8b1a2b;
  --gold: #d4a843;
  --ink: #1c1c1c;
  --muted: #5b6570;
  --paper: #f7f5f1;
  --white: #ffffff;
  --border: #e4e0d8;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 20px;
}

h1 { font-size: 40px; line-height: 1.35; }
h2 { font-size: 30px; line-height: 1.4; }
h3 { font-size: 19px; margin-bottom: 10px; }

.section-desc { color: var(--muted); font-size: 16px; max-width: 640px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-deep);
  text-decoration: none;
}

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

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-decoration: none;
}

.main-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 110px 0 90px;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text { flex: 1; }

.hero h1 { color: var(--white); }

.hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 600px;
  margin-top: 8px;
}

.hero-logo { flex-shrink: 0; }
.hero-logo img {
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Sections */
.section { padding: 88px 0; }
.about { background: var(--white); }
.work { background: var(--paper); }
.megacity {
  background: var(--navy-deep);
  color: var(--white);
}
.megacity h2 { color: var(--white); }
.megacity .section-desc { color: rgba(255,255,255,0.7); }
.transparency { background: var(--white); }
.contact { background: var(--paper); text-align: center; }
.contact .section-desc { margin: 0 auto 28px; }

/* About content */
.about-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 28px;
  align-items: start;
}
.about-text p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0 0 14px;
  line-height: 1.75;
}
.about-text p:last-child { margin-bottom: 0; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table th, .info-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
  width: 120px;
}
.info-table td { color: var(--ink); }
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* Megacity grid */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.mega-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 30px 26px;
}
.mega-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,162,75,0.12);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.mega-card h3 { color: var(--white); font-size: 18px; margin-bottom: 12px; }
.mega-card p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin: 0 0 10px; }
.mega-card p:last-child { margin-bottom: 0; }
.mega-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.mega-list li {
  color: rgba(255,255,255,0.75);
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-list li:last-child { border-bottom: none; }
.mega-list strong { color: var(--white); }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 26px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 16px; }
.contact-dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 12px;
  font-size: 14.5px;
  margin: 0;
}
.contact-dl dt { font-weight: 700; color: var(--navy-deep); }
.contact-dl dd { margin: 0; color: var(--ink); }
.contact-dl a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-dl a:hover { color: var(--gold); }
.contact-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.support-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.btn-outline {
  background: transparent !important;
  color: var(--navy-deep) !important;
  border: 2px solid var(--navy-deep);
}
.btn-outline:hover { background: var(--navy-deep) !important; color: var(--white) !important; }

.qr-codes {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-item img { border-radius: 8px; border: 1px solid var(--border); }
.qr-item span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* Footer enhanced */
.footer-inner { text-align: center; }
.footer-org { font-weight: 700; color: rgba(255,255,255,0.85); margin: 0 0 4px; }
.footer-addr { color: rgba(255,255,255,0.5); font-size: 12.5px; margin: 0 0 12px; }

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 26px;
}

.work-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 14px;
}

.work-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Transparency grid */
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.transparency-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 26px;
  background: var(--paper);
}

.transparency-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }

.card-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.card-link:hover { color: var(--gold); }

/* Disclosure page */
.disclosure-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0 56px;
}
.disclosure-hero h1 { color: var(--white); font-size: 32px; margin-bottom: 14px; }
.disclosure-hero .hero-desc { color: rgba(255,255,255,0.8); max-width: 680px; }

.disclosure-body { background: var(--white); padding-top: 56px; }

.dsc-h2 {
  font-size: 20px;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-deep);
}
.dsc-h2:first-child { margin-top: 0; }

.dsc-unit { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 8px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.dsc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

.dsc-table th, .dsc-table td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: center;
}

.dsc-table thead th {
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
}

.dsc-basic th {
  background: var(--paper);
  color: var(--navy-deep);
  font-weight: 700;
  text-align: left;
  width: 18%;
}
.dsc-basic td { text-align: left; }

.dsc-monthly td:first-child { font-weight: 600; }
.dsc-monthly td:not(:first-child) { text-align: right; }
.dsc-monthly th:not(:first-child) { text-align: right; }
.dsc-purpose td:nth-child(2) { text-align: left; }
.dsc-total { background: var(--paper); font-weight: 700; }

.dsc-none {
  color: var(--muted);
  font-size: 14.5px;
  padding: 18px 0;
}

.dsc-download {
  margin-top: 40px;
  text-align: center;
}
.download-button {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.download-button:hover { background: var(--navy); }

.dsc-certify {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.dsc-certify p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink); }
.dsc-certify-meta { color: var(--muted); font-size: 13.5px; }

/* Disclosure notice (법인세법 시행령 제39조 1항) */
.disclosure-notice {
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 4px;
}

.disclosure-notice p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}

.disclosure-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclosure-links li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
}

.disclosure-label {
  font-weight: 700;
  color: var(--navy-deep);
  min-width: 96px;
}

.disclosure-links a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.disclosure-links a:hover { color: var(--gold); }

/* Contact button */
.contact-button {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.contact-button:hover { background: var(--gold); color: var(--navy-deep); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 22px;
}
.team-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--navy);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.team-card h3 { font-size: 18px; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.7; }

/* Vision quote */
.vision-section {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.vision-quote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  border: none;
  padding: 0;
  quotes: none;
}
.vision-author {
  color: var(--gold);
  font-weight: 700;
  margin-top: 18px;
}

/* Activity list */
.activity-list { margin-top: 24px; }
.activity-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.activity-item:first-child { border-top: 1px solid var(--border); }
.activity-item:hover { background: var(--paper); }
.activity-date {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  min-width: 90px;
  padding-top: 2px;
}
.activity-item h3 { font-size: 16px; margin-bottom: 6px; }
.activity-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* Page hero (category pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0 48px;
}
.page-hero h1 { color: var(--white); font-size: 34px; margin-bottom: 10px; }
.page-hero .hero-desc { color: rgba(255,255,255,0.78); max-width: 600px; }
.megacity-hero { padding-bottom: 56px; }

/* Active nav link */
.main-nav a.active { color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Category cards (landing page) */
.categories { background: var(--white); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.cat-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.cat-card h3 { font-size: 18px; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Megacity light cards (for white background pages) */
.mega-grid-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mega-card-light {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 26px;
}
.mega-label-light {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.mega-card-light h3 { font-size: 18px; margin-bottom: 12px; }
.mega-card-light p { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.mega-list-light {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.mega-list-light li {
  color: var(--muted);
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mega-list-light li:last-child { border-bottom: none; }
.mega-list-light strong { color: var(--ink); }

/* Responsive */
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-direction: column; gap: 10px; padding: 14px 24px; }
  .main-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
  .main-nav a { font-size: 13px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .about-content { grid-template-columns: 1fr; gap: 28px; }
  .mega-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .transparency-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  .hero-flex { flex-direction: column; text-align: center; }
  .hero-logo img { max-width: 200px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-grid-light { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .activity-item { flex-direction: column; gap: 4px; }
}
