@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');

:root {
  --primary: #37474F;
  --accent: #00897B;
  --bg-alt: #F1F5F4;
  --text: #263238;
  --border: #DCE3E1;
}

* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 56px;
  font-family: 'Pretendard', sans-serif;
  color: var(--text); font-size: 16px; line-height: 1.7; background: #fff;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--primary); line-height: 1.35; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header: 햄버거 메뉴형 */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 60; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--primary); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); background: none; border-radius: 6px; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; color: var(--primary); }
.main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgba(0,0,0,0.06); }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 10px 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.main-nav a { color: #4b5a5f; text-decoration: none; font-size: 0.95rem; padding: 10px 4px; display: block; }
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; position: static; box-shadow: none; border: none; background: none; }
  .main-nav ul { flex-direction: row; gap: 20px; padding: 0; }
  .main-nav a { padding: 0; }
}
.header-cta {
  background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 4px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none; min-height: 40px; display: none; align-items: center;
}
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

/* hero: 단색 배경형 */
.hero { background: var(--primary); color: #fff; padding: 52px 0; }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.14); color: #fff;
  font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 4px; margin-bottom: 14px;
}
.hero h1 { color: #fff; font-size: 1.85rem; margin: 0 0 14px; max-width: 620px; }
.hero p.lead { color: #cfd8d6; max-width: 560px; margin: 0 0 22px; font-size: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 6px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none; background: none;
}
.btn-underline { color: #fff; border-bottom: 3px solid var(--accent); border-radius: 0; padding-left: 2px; padding-right: 2px; }
.btn-underline.dark { color: var(--primary); border-bottom-color: var(--accent); }

.page-body { padding: 48px 0; }
.intro-summary { background: var(--bg-alt); padding: 16px 18px; border-radius: 6px; font-size: 0.98rem; margin-bottom: 12px; }

h2 { font-size: 1.32rem; margin-bottom: 14px; }
/* section divider: 실선 구분형 */
section { padding: 30px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 16px 0; }
caption { text-align: left; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
th { background: var(--primary); color: #fff; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }

.checklist { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; background: var(--bg-alt); border-radius: 6px; padding: 10px 12px; font-size: 0.93rem; }
.checklist svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: 4px; }
.gallery figcaption { font-size: 0.8rem; color: #647; margin-top: 6px; }

.notice { background: #fdf6ec; border: 1px solid #edd9b3; border-radius: 6px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: #8a6a1f; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 14px; color: #4b5a5f; }

.related-links { display: grid; gap: 10px; }
.related-links a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; font-weight: 700; color: var(--primary); }
.related-links span { display: block; font-weight: 400; font-size: 0.84rem; color: #647; margin-top: 3px; }

/* CTA: 대비 블록형 */
.cta-block { background: var(--accent); color: #fff; border-radius: 10px; padding: 30px 26px; text-align: center; }
.cta-block h2 { color: #fff; }
.cta-block p { color: #e0f2ef; margin-bottom: 18px; }

/* footer: 상단 강조 라인형 */
.site-footer { border-top: 4px solid var(--accent); background: var(--bg-alt); padding: 40px 0 100px; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { margin: 0 0 12px; font-size: 0.92rem; color: var(--primary); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-grid a { color: #56666b; text-decoration: none; font-size: 0.88rem; }
address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #6b7a7e; }
address a { color: #6b7a7e; }
.copyright { margin-top: 22px; font-size: 0.8rem; color: #869296; }

.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,0.12); }
.mobile-cta-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; }
.mobile-cta-bar .call { background: var(--accent); color: #fff; }
.mobile-cta-bar .top { background: var(--primary); color: #fff; }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
