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

:root {
  --primary: #4A3F35;
  --accent: #C08552;
  --bg-alt: #F7F3EE;
  --text: #35302B;
  --border: #E5DCD1;
}

* { 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 {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0; transition: padding 0.2s ease;
}
.site-header.shrink { padding: 8px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { color: var(--primary); font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.main-nav ul { list-style: none; display: none; gap: 20px; margin: 0; padding: 0; }
.main-nav a { color: #6a5f53; text-decoration: none; font-size: 0.9rem; }
@media (min-width: 860px) { .main-nav ul { display: flex; } }
.header-cta {
  background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center;
}

/* hero: 풀블리드 이미지형 */
.hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(74,63,53,0.2) 0%, rgba(45,38,32,0.88) 100%); }
.hero .container { position: relative; z-index: 2; padding: 44px 20px; }
.hero .eyebrow { display: inline-block; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 1.8rem; margin: 0 0 12px; max-width: 600px; }
.hero p.lead { color: #ece3d8; max-width: 540px; margin: 0 0 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 22px; font-weight: 700; font-size: 0.94rem; text-decoration: none; cursor: pointer; border-radius: 999px; border: 2px solid transparent; }
.btn-icon { background: var(--accent); color: #fff; }
.btn-icon svg { width: 18px; height: 18px; }
.btn-outline-a { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-b { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

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

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

/* section divider: 큰 번호형 */
.numbered-section { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; }
.numbered-section .num { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; opacity: 0.55; }
.numbered-section .body h2 { margin-top: 4px; }
@media (max-width: 480px) { .numbered-section { grid-template-columns: 40px 1fr; } .numbered-section .num { font-size: 1.8rem; } }

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

.notice { background: #fdf1e9; border: 1px solid #eecead; border-radius: 10px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: #965f28; }

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

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

/* CTA: 아웃라인 버튼 2개형 */
.cta-band { background: var(--primary); color: #fff; text-align: center; padding: 50px 0; border-radius: 16px; margin: 20px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9cfc2; }
.cta-band .btn-row { justify-content: center; margin-top: 18px; }

/* footer: 3컬럼 */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); 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 1fr; } }
.footer-grid h4 { margin: 0 0 12px; font-size: 0.9rem; color: var(--primary); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #6a5f53; text-decoration: none; font-size: 0.88rem; }
address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #7a6f62; }
address a { color: #7a6f62; }
.copyright { margin-top: 22px; font-size: 0.8rem; color: #94897b; }

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