@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');
/* Noto Sans KR */
@font-face {
  font-family: 'Noto Sans KR';
  src: local('Noto Sans KR');
  font-display: swap;
}

:root {
  --primary: #264653;
  --accent: #E76F51;
  --bg-alt: #F4F7F7;
  --text: #26333A;
  --border: #DCE3E3;
}

* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 56px;
  font-family: 'Noto Sans KR', '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: 1040px; margin: 0 auto; padding: 0 20px; }

/* header: 투명 오버레이형 (히어로 위에 겹침) */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-nav a { color: #eee; text-decoration: none; font-size: 0.9rem; }
.main-nav a:hover { color: var(--accent); }
.header-cta {
  border: 2px solid #fff; color: #fff; background: transparent;
  padding: 8px 18px; border-radius: 4px; font-weight: 700; font-size: 0.85rem;
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
@media (min-width: 1024px) { .main-nav { display: block; } }

/* hero: 그라디언트 오버레이 */
.hero {
  position: relative; min-height: 460px; 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(38,70,83,0.15) 0%, rgba(38,70,83,0.92) 90%);
}
.hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 44px; }
.hero .eyebrow {
  display: inline-block; background: var(--accent); 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 12px; }
.hero p.lead { font-size: 1.02rem; color: #dfe7e9; max-width: 560px; margin: 0 0 22px; }

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

.page-body { padding: 52px 0; }
.intro-summary {
  background: var(--bg-alt); border-left: 4px solid var(--accent);
  padding: 16px 18px; border-radius: 4px; font-size: 0.98rem; margin-bottom: 40px;
}

h2 { font-size: 1.35rem; margin-bottom: 14px; }
section { margin-bottom: 44px; }

/* 체크리스트 카드 스택 */
.card-stack { display: grid; gap: 18px; }
.check-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 22px; box-shadow: 0 6px 18px rgba(38,70,83,0.07);
  display: flex; gap: 16px;
}
.check-card .num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.check-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.check-card p { margin: 0; color: #4a565c; font-size: 0.94rem; }

.compare-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
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); }

.gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(38,70,83,0.07); }
.gallery figcaption { padding: 8px 10px; font-size: 0.82rem; color: #667; }

.notice { background: #fdf1ee; border: 1px solid #f2c3b3; border-radius: 10px; padding: 18px 20px; }
.notice h3 { margin-top: 0; color: #a8442a; }

.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0 20px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(38,70,83,0.05); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 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 16px; color: #4a565c; }

.related-links { display: grid; gap: 12px; }
.related-links a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--primary); box-shadow: 0 4px 12px rgba(38,70,83,0.05); }
.related-links span { display: block; font-weight: 400; font-size: 0.85rem; color: #667; margin-top: 4px; }

/* CTA: 하단 풀와이드 배너 */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: 54px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fde7e0; }
.cta-band .btn-row { justify-content: center; margin-top: 18px; }
.cta-band .btn-outline { border-color: #fff; }

/* footer: 2컬럼 */
.site-footer { background: var(--primary); color: #cfd9db; padding: 40px 0 100px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.footer-grid a { color: #b7c5c8; text-decoration: none; font-size: 0.88rem; }
address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #9fb0b3; }
address a { color: #9fb0b3; }
.copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; color: #84979b; }

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