/* base.css — reset + 공통 구조 토큰. 색상/폰트/아키타입은 각 페이지 <style>에서 정의 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body, 'Noto Sans KR', sans-serif);
  color: var(--text, #1a1a1a);
  background: var(--bg, #fff);
  line-height: 1.7;
  word-break: keep-all;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3 { font-family: var(--font-head, 'Noto Sans KR', sans-serif); line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 2.4em; }
h3 { font-size: 1.1rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #000; color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: var(--container-max, 960px); margin: 0 auto; padding: 0 20px; }

/* 가운데 2장 사진 배열 */
.photo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 48px auto;
}
.photo-row img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; }
.photo-row figcaption { font-size: .85rem; color: var(--muted, #666); margin-top: 6px; }
@media (max-width: 768px) {
  .photo-row { grid-template-columns: 1fr; gap: 12px; max-width: 520px; }
}

.svc-video { margin: 40px auto; max-width: 960px; }
.svc-video video { width: 100%; border-radius: 8px; }

/* CTA 공통 골격 */
.cta { padding: 56px 20px; text-align: center; }
.cta h2 { margin-top: 0; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }

/* 접근성 콜아웃/표/체크리스트 등 재사용 구조 */
.callout { border-left: 4px solid var(--accent, #2563eb); padding: 14px 18px; background: var(--callout-bg, #f3f6fb); border-radius: 4px; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.data-table th, .data-table td { border: 1px solid var(--border, #e2e2e2); padding: 10px 12px; text-align: left; }
.data-table th { background: var(--table-head, #f5f5f5); }
.check-list { list-style: none; padding-left: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

details.faq-item { border-bottom: 1px solid var(--border, #e2e2e2); padding: 14px 0; }
details.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; float: right; }
details.faq-item[open] summary::after { content: '-'; }

.site-footer { padding: 40px 20px; font-size: .85rem; }
.site-footer .footer-inner { max-width: 960px; margin: 0 auto; }
.site-footer .brand { font-weight: 700; margin-bottom: 10px; }
.site-footer .biz-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 6px 20px; margin: 0 0 14px; }
.site-footer .biz-info div { display: flex; gap: 6px; }
.site-footer .biz-info dt { opacity: .7; margin: 0; }
.site-footer .biz-info dd { margin: 0; }
.site-footer a { text-decoration: underline; }

svg.diagram { max-width: 100%; height: auto; }

.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
