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

:root {
  --primary: #4A4E69;
  --accent: #B08968;
  --bg-alt: #F4F3F6;
  --text: #2B2C3A;
  --border: #E1E0E7;
}

* { 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 { padding: 12px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 18px; }
.logo { color: var(--primary); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.main-nav ul { list-style: none; display: none; gap: 18px; margin: 0; padding: 0; }
.main-nav a { color: #5c5d70; text-decoration: none; font-size: 0.88rem; }
@media (min-width: 860px) { .main-nav ul { display: flex; } }
.header-cta {
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 0.8rem; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center;
}

/* hero: 좌측 정렬 슬림형 */
.hero { padding: 40px 0; }
.hero .icon-inline { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-alt); color: var(--primary); margin-bottom: 14px; }
.hero .icon-inline svg { width: 24px; height: 24px; }
.hero h1 { font-size: 1.7rem; margin: 0 0 10px; }
.hero p.lead { color: #5c5d70; max-width: 560px; margin: 0 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 9px 18px; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; cursor: pointer; border-radius: 999px; border: none;
}
.btn-chip { background: var(--primary); color: #fff; }
.btn-chip.outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

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

h2 { font-size: 1.28rem; margin-bottom: 12px; }
/* section divider: 점선 구분형 */
section { padding: 26px 0; border-bottom: 1px dotted var(--border); }
section:last-of-type { border-bottom: 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: 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: #6b6c7e; margin-top: 6px; }

.notice { background: #f8f1ea; border: 1px solid #e6d3c1; border-radius: 8px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: #7c5732; }

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

.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: #6b6c7e; margin-top: 3px; }

/* CTA: 인용구형 */
.cta-quote { text-align: center; padding: 30px 20px; margin: 20px 0; }
.cta-quote .quote-mark { font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.cta-quote p { color: #5c5d70; max-width: 480px; margin: 0 auto 18px; }

/* footer: 아이콘 리스트형 2단 */
.site-footer { background: var(--bg-alt); padding: 36px 0 100px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li { display: flex; align-items: center; gap: 8px; }
.footer-grid svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.footer-grid a { color: #5c5d70; text-decoration: none; font-size: 0.87rem; }
address { font-style: normal; font-size: 0.84rem; line-height: 1.9; color: #74758a; }
address a { color: #74758a; }
.copyright { margin-top: 20px; font-size: 0.78rem; color: #9393a5; }

.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(--primary); color: #fff; }
.mobile-cta-bar .top { background: var(--accent); color: #fff; }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
