/* price.css — 팔레트: #F2F0E6/#FFFDF7/#14372B/#B8863A, Nanum Myeongjo/Gowun Dodum, 좌측 세로 헤더형 */
:root{
  --bg:#F2F0E6; --surface:#FFFDF7; --text:#14372B; --accent:#B8863A;
  --radius:6px; --maxw:800px; --header-w:104px;
}
body{ background:var(--bg); color:var(--text); font-family:'Gowun Dodum','Malgun Gothic',sans-serif; line-height:1.75; }
h1,h2,h3{ font-family:'Nanum Myeongjo',serif; letter-spacing:-.01em; text-align:center; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--text); color:#fff; padding:.6em 1em; z-index:100; }
.skip-link:focus-visible{ left:1rem; top:1rem; }

/* 헤더 — 모바일: 상단 가로 바 / 데스크톱: 좌측 세로 고정 사이드 */
.site-header{ background:var(--surface); border-bottom:1px solid #e4dfcf; display:flex; align-items:center; gap:14px; padding:14px 18px; flex-wrap:wrap; }
.wordmark{ font-family:'Nanum Myeongjo',serif; font-weight:700; font-size:1.05rem; color:var(--text); }
.main-nav{ display:flex; gap:14px; flex-wrap:wrap; font-size:.88rem; }
.main-nav a{ color:#3f5548; padding-bottom:2px; border-bottom:1px solid transparent; }
.main-nav a:hover{ color:var(--text); border-color:var(--accent); }
.cta-tel{ margin-left:auto; display:inline-block; background:var(--text); color:#fff; font-weight:700; font-size:.85rem; padding:.55em 1.2em; border-radius:999px; white-space:nowrap; }
.cta-tel:hover{ background:#0d281f; }

main{ max-width:var(--maxw); margin:0 auto; padding:0 20px; }

.hero{ padding:40px 0 28px; }
.hero h1{ font-size:clamp(1.7rem,4.4vw,2.4rem); }
.hero p{ margin-top:16px; color:#31473c; font-size:1rem; text-align:center; }

section{ position:relative; padding:56px 0 56px; }
section:nth-of-type(odd):not(.hero){ background:var(--surface); }
section:nth-of-type(odd):not(.hero)::before,
section:nth-of-type(odd):not(.hero)::after{
  content:""; position:absolute; left:-24px; right:-24px; height:34px; background:var(--surface);
}
section:nth-of-type(odd):not(.hero)::before{ top:-1px; clip-path:polygon(0 100%, 100% 0, 100% 100%); }
section:nth-of-type(odd):not(.hero)::after{ bottom:-1px; clip-path:polygon(0 0, 100% 0, 100% 100%); }
h2{ font-size:1.35rem; margin-bottom:16px; }
p{ color:#31473c; }
p + p{ margin-top:14px; }
h2 + p, h2 + table, h2 + ul, h2 + dl{ margin-top:16px; }

/* 비교 테이블 */
.price-table{ width:100%; border-collapse:collapse; margin-top:18px; background:var(--surface); border-radius:var(--radius); overflow:hidden; box-shadow:0 1px 0 #e4dfcf; }
.price-table caption{ caption-side:top; text-align:left; font-size:.85rem; color:#5c6d5f; margin-bottom:8px; }
.price-table th, .price-table td{ padding:12px 14px; text-align:left; font-size:.9rem; border-bottom:1px solid #ece7d8; vertical-align:top; }
.price-table thead th{ background:var(--text); color:#fff; font-family:'Nanum Myeongjo',serif; }
.price-table tbody th{ background:#EFE9D6; color:var(--text); font-weight:700; white-space:nowrap; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th{ border-bottom:0; }

/* 흔한 오해 / 실제 */
.myth-list{ display:grid; gap:14px; margin-top:18px; }
.myth-item{ background:var(--surface); border-left:4px solid var(--accent); border-radius:0 var(--radius) var(--radius) 0; padding:14px 18px; }
.myth-item dt{ font-weight:700; color:var(--text); font-size:.95rem; }
.myth-item dd{ margin-top:6px; color:#31473c; font-size:.92rem; }

.check-list{ display:grid; gap:10px; margin-top:16px; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; font-size:.95rem; color:#31473c; }
.check-list svg{ flex:none; margin-top:3px; color:var(--accent); }

figure.content-figure{ margin:32px auto; text-align:center; }
figure.content-figure img{ margin:0 auto; border:1px solid #d9d2b8; border-radius:0; }
figure.content-figure figcaption{ margin-top:8px; font-size:.82rem; color:#5c6d5f; }

.cta-block{ margin:36px 0 0; padding:26px 20px; background:var(--surface); border-radius:var(--radius); text-align:center; }
.cta-block p{ text-align:center; }
.cta-block .cta-tel, .cta-block .cta-sms{ display:inline-block; margin:14px 8px 0; font-weight:700; font-size:.9rem; padding:.7em 1.6em; border-radius:999px; }
.cta-block .cta-tel{ background:var(--text); color:#fff; }
.cta-block .cta-tel:hover{ background:#0d281f; }
.cta-block .cta-sms{ background:transparent; color:var(--text); border:2px solid var(--accent); }
.cta-block .cta-sms:hover{ background:#EFE4CC; }

.related{ margin-top:16px; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 18px; }
.related a{ font-size:.9rem; color:var(--text); border-bottom:1px solid var(--accent); padding-bottom:1px; }

footer.site-footer{ margin-top:40px; background:var(--text); color:rgba(255,255,255,.85); padding:36px 20px; font-size:.85rem; }
.footer-inner{ max-width:1120px; margin:0 auto; }
.footer-links{ display:flex; flex-wrap:wrap; gap:8px 16px; margin-bottom:18px; }
.footer-links a{ color:rgba(255,255,255,.72); }
.footer-links a:hover{ color:#fff; }
.biz-info p{ margin:2px 0; color:rgba(255,255,255,.62); }
.footer-bottom{ margin-top:14px; color:rgba(255,255,255,.4); font-size:.78rem; }

@media (min-width:761px){
  .site-header{
    position:fixed; left:0; top:0; bottom:0; width:var(--header-w);
    flex-direction:column; justify-content:flex-start; align-items:center;
    border-bottom:0; border-right:1px solid #e4dfcf; padding:24px 10px; gap:22px;
    overflow-y:auto;
  }
  .wordmark{ writing-mode:vertical-rl; text-orientation:mixed; letter-spacing:.05em; }
  .main-nav{ flex-direction:column; align-items:center; gap:16px; font-size:.82rem; }
  .cta-tel{ margin-left:0; margin-top:auto; writing-mode:horizontal-tb; text-align:center; }
  main{ margin-left:var(--header-w); padding:0 24px; }
  footer.site-footer{ margin-left:var(--header-w); }
}

@media (max-width:480px){
  .price-table th, .price-table td{ font-size:.82rem; padding:10px 8px; }
}

/* 자주 묻는 질문 */
#faq h2{ margin-bottom:16px; }
.qa-list{ display:grid; gap:12px; margin-top:18px; max-width:100%; }
.qa-list details{
  background:var(--surface); border:1px solid #e4dfcf; border-radius:var(--radius);
  padding:2px 18px; overflow:hidden; max-width:100%;
}
.qa-list details[open]{ padding-bottom:16px; }
.qa-list summary{
  cursor:pointer; list-style:none; font-weight:700; color:var(--text);
  padding:16px 28px 16px 0; position:relative; font-size:.96rem;
  overflow-wrap:break-word;
}
.qa-list summary::-webkit-details-marker{ display:none; }
.qa-list summary::after{
  content:"+"; position:absolute; right:0; top:50%; transform:translateY(-50%);
  font-size:1.2rem; color:var(--accent); line-height:1;
}
.qa-list details[open] summary::after{ content:"\2212"; }
.qa-list summary:hover{ color:var(--accent); }
.qa-list details p{
  margin-top:2px; color:#31473c; font-size:.92rem; word-break:keep-all; overflow-wrap:break-word;
}

@media (max-width:480px){
  .qa-list details{ padding:2px 14px; }
  .qa-list summary{ font-size:.9rem; padding:14px 24px 14px 0; }
}
