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

:root {
  --primary: #8B2E2E;
  --accent: #3A7CA5;
  --bg-alt: #F7EFEF;
  --text: #2A2222;
  --border: #E8D7D7;
}

* { 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 { padding: 14px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.logo .mark { width: 26px; height: 26px; background: var(--primary); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.logo .mark svg { width: 15px; height: 15px; stroke: #fff; }
.main-nav ul { list-style: none; display: none; gap: 20px; margin: 0; padding: 0; }
.main-nav a { color: #6b5555; text-decoration: none; font-size: 0.9rem; }
@media (min-width: 860px) { .main-nav ul { display: flex; } }
.header-cta {
  color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
}

/* hero: 중앙 정렬 + 상단 아이콘형 */
.hero { padding: 44px 0; background: var(--bg-alt); text-align: center; }
.hero .hero-icon { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--primary); }
.hero h1 { font-size: 1.6rem; margin: 0 0 12px; }
.hero p.lead { color: #6b5555; max-width: 560px; margin: 0 auto 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; font-weight: 700; font-size: 0.94rem;
  text-decoration: none; cursor: pointer; border-radius: 24px; border: none;
}
.btn-primary-solid { background: var(--primary); color: #fff; }

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

/* section divider: 좌측 컬러바 블록형 */
section { padding: 20px 22px; margin-bottom: 14px; border-left: 4px solid var(--primary); background: #fafafa; border-radius: 0 8px 8px 0; }
h2 { font-size: 1.24rem; margin: 0 0 12px; }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 16px 0; background: #fff; }
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: #fff; border-radius: 6px; padding: 10px 12px; font-size: 0.93rem; }
.checklist svg { flex: none; width: 18px; height: 18px; color: var(--primary); 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: 6px; }
.gallery figcaption { font-size: 0.8rem; color: #7a6868; margin-top: 6px; }

.notice { background: #eef5f8; border: 1px solid #bcd8e3; border-radius: 6px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: var(--accent); }

.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(--primary); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 14px; color: #6b5555; }

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

/* CTA: 아이콘 인라인 스트립형 */
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: var(--primary); color: #fff; border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
.cta-strip svg { flex: none; width: 30px; height: 30px; }
.cta-strip p { margin: 0; font-weight: 700; flex: 1 1 220px; }
.cta-strip .btn-primary-solid { background: #fff; color: var(--primary); }

/* footer: 압축 스택형 */
.site-footer { padding: 32px 0 100px; background: var(--bg-alt); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 16px; padding: 0; }
.footer-links a { color: #6b5555; text-decoration: none; font-size: 0.87rem; }
address { font-style: normal; font-size: 0.84rem; line-height: 1.9; color: #86716f; }
address a { color: #86716f; }
.copyright { font-size: 0.78rem; color: #a3908d; margin-top: 8px; }

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