/* p18 — 카마스터 대리점 차이 : L8 사이드바 목차+본문 / F1 Montserrat+Pretendard / HD2 / HR3(무차량) / CT4 / FT3 */
:root {
  --accent: #1F5F4E;
  --accent-text: #1F5F4E;
  --bg: #F3FAF7;
  --ink: #142521;
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --footer-bg: #0D1E19;
  --footer-text: #C3DCD3;
}

/* HD2 : 중앙 로고타입 + 하단 중앙 메뉴 */
.site-header { border-bottom: 1px solid #DCEEE7; }
.hd2-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 16px; }
.logotype { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-decoration: none; color: var(--accent); }
.hd2-inner nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.hd2-inner nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.hd2-inner nav a:hover { color: var(--accent); }

/* HR3 : 차량 사진 슬라이드쇼 배경(.hero-slideshow는 base.css 공통 정의) + 반투명 컬러 밴드 + 중앙텍스트, 프로필은 밴드 아래 겹치도록 배치 */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-band { position: relative; z-index: 1; background: rgba(31,95,78,.82); padding-block: clamp(48px, 9vw, 88px) 64px; text-align: center; }
.hero-band h1 { color: #fff; font-size: clamp(28px, 4.2vw, 44px); text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero-band .hero-lede { color: #EAF6F1; max-width: 56ch; margin: 0 auto 1.3em; font-size: 16.5px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-band .btn-solid { background: #fff; color: var(--accent); }
.hero-profile { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: -56px; margin-bottom: 24px; }
.hero-profile img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.15); }

/* L8 : 좌 사이드바 목차 + 우 본문, 모바일은 사이드바가 상단에 압축 */
.l8-grid { display: grid; gap: 32px; }
.l8-sidebar { border: 1px solid #D8ECE4; border-radius: 12px; padding: 16px 20px; background: #fff; align-self: start; }
.l8-sidebar-title { font-weight: 700; font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.l8-sidebar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.l8-sidebar a { text-decoration: none; font-size: 14px; }
.l8-sidebar a:hover { color: var(--accent); }
.l8-content h2 { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: .6em; }
.l8-content > div { margin-bottom: 40px; }
.l8-content > div:last-child { margin-bottom: 0; }
.l8-content p { font-size: 15.5px; color: #2C4841; }
@media (min-width: 780px) {
  .l8-grid { grid-template-columns: 220px 1fr; }
  .l8-sidebar { position: sticky; top: 20px; }
}

.qa-list { display: grid; gap: 16px; margin-top: 12px; }
.qa-item h3 { font-size: 16px; margin-bottom: 6px; }
.qa-item p { font-size: 14.5px; color: #2C4841; margin: 0; }

/* CT4 : 본문 인라인 3버튼 CTA + 모바일 하단 스티키바(전화 1개) */
.cta.ct4-inline { background: #E4F3EC; padding-block: clamp(36px, 6vw, 56px); text-align: center; }
.cta.ct4-inline h2 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: .8em; }
.cta-buttons--center { justify-content: center; }
.ct4-sticky { display: none; }
@media (max-width: 780px) {
  .ct4-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px; background: #fff; border-top: 1px solid #D8ECE4;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .ct4-sticky .btn { width: 100%; }
  main { padding-bottom: 64px; }
}

/* FT3 : 중앙정렬 1단 세로스택 */
.ft3-stack { text-align: center; display: grid; gap: 10px; max-width: 620px; margin-inline: auto; }
.footer-links p { margin: 0; }
