@import url('https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.css');

:root {
  --primary: #33474F;
  --accent: #3F8C6C;
  --bg-alt: #F2F6F4;
  --text: #263237;
  --border: #DEE6E3;
}

* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 56px;
  font-family: 'SUIT', '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); }
.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; }
.main-nav ul { list-style: none; display: none; gap: 20px; margin: 0; padding: 0; }
.main-nav a { color: #566268; text-decoration: none; font-size: 0.9rem; }
@media (min-width: 860px) { .main-nav ul { display: flex; } }
.header-cta { color: var(--accent); text-decoration: none; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; min-height: 40px; }
.header-cta svg { width: 18px; height: 18px; }

/* hero: 미니멀 텍스트 전용 */
.hero { padding: 56px 0 44px; border-bottom: 1px solid var(--border); }
.hero .eyebrow { color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; display: block; margin-bottom: 10px; }
.hero h1 { font-size: 2rem; margin: 0 0 14px; max-width: 680px; }
.hero p.lead { color: #566268; max-width: 580px; margin: 0 0 24px; font-size: 1.02rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border-radius: 8px; border: none;
}
.btn-raised { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(63,140,108,0.35); }
.btn-raised.alt { background: var(--primary); box-shadow: 0 6px 16px rgba(51,71,79,0.3); }

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

h2 { font-size: 1.3rem; margin-bottom: 14px; }

/* section divider: 카드형 */
.card-section { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; margin-bottom: 20px; }

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: 8px; 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: 8px; }
.gallery figcaption { font-size: 0.8rem; color: #6b787d; margin-top: 6px; }

.notice { background: #fdf1e6; border: 1px solid #eecfa8; border-radius: 10px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: #93571f; }

.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: #566268; }

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

/* CTA: 말풍선 카드형 */
.cta-bubble { position: relative; background: var(--primary); color: #fff; border-radius: 16px; padding: 28px 26px; margin: 24px 0; }
.cta-bubble::after { content: ''; position: absolute; left: 36px; bottom: -14px; border-width: 14px 14px 0 0; border-style: solid; border-color: var(--primary) transparent transparent transparent; }
.cta-bubble h2 { color: #fff; }
.cta-bubble p { color: #cddbd5; margin-bottom: 18px; }

/* footer: 4열 미니형 */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0 100px; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 { margin: 0 0 10px; font-size: 0.85rem; color: var(--primary); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #566268; text-decoration: none; font-size: 0.86rem; }
address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #6b787d; }
address a { color: #6b787d; }
.copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.8rem; color: #8b969a; }

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