/* ============== 렌트나라 메인 스타일 ==============
   디자인 톤: 화이트 + 진한 네이비(#0b2545) 포인트, 깔끔하고 신뢰감 있는 자동차 사이트 톤.
   cpo.kia.com 참고 — 큰 히어로, 그리드 카드, 충분한 여백.
*/

:root {
  --color-primary: #0b2545;       /* 진한 네이비 */
  --color-primary-hover: #133a6b;
  --color-accent: #d72638;        /* 포인트 빨강 */
  --color-text: #1a1a1a;
  --color-text-soft: #5a6470;
  --color-border: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f8fb;
  --color-bg-dark: #0b2545;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.text-center { text-align: center; }

/* ============ 헤더 ============ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo {
  font-weight: 800; font-size: 22px; color: var(--color-primary);
  letter-spacing: -0.02em;
}
.header-back {
  background: transparent; border: 0; cursor: pointer;
  padding: 6px; margin-left: -6px; margin-right: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); border-radius: 50%;
  transition: background .15s, color .15s;
}
.header-back:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.header-back:active { transform: scale(.92); }
.header-back svg { width: 22px; height: 22px; }
.logo-light { color: #fff; }
.main-nav { display: flex; gap: 28px; flex: 1; margin-left: 24px; }
.main-nav a {
  font-weight: 500; font-size: 15px; color: var(--color-text);
  padding: 8px 0;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.active {
  color: var(--color-primary); font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
}
.header-cta { white-space: nowrap; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-inner { height: 60px; }
}

/* ============ 버튼 ============ */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: 14px; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: #f0f4fa; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ============ 히어로 ============ */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4275 100%);
  color: #fff; padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-with-image {
  padding: 0 !important;
  /* PC에서 이미지 원본 너비(1920) 넘으면 양옆에 자연스러운 어두운 그라디언트 */
  background: radial-gradient(ellipse at center, #2c2f36 0%, #0a0c10 80%) !important;
  position: relative; overflow: hidden;
}

/* Swiper 슬라이더 */
.hero-swiper { width: 100%; }
.hero-swiper .swiper-slide a {
  display: block; width: 100%; height: 100%;
}

/* picture 태그 안 img는 그대로 받아옴 */
.hero-swiper picture { display: block; width: 100%; height: 100%; line-height: 0; }

/* PC — 이미지 비율 기반, 원본 1920px 넘으면 양옆 그라디언트 */
@media (min-width: 769px) {
  .hero-swiper {
    max-width: 1920px;          /* 이미지 원본 너비 — 그 이상은 늘어나지 않음 */
    margin: 0 auto;
  }
  .hero-swiper .swiper-slide {
    aspect-ratio: 2.4 / 1;
    max-height: 520px;
    line-height: 0;
  }
  .hero-swiper .hero-img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
}

/* 모바일 — 풀폭 + 자연 비율, 그라디언트도 제거 */
@media (max-width: 768px) {
  .hero-with-image { background: transparent !important; }
  .hero-swiper .swiper-slide {
    aspect-ratio: auto !important;
    height: auto !important;
    background: transparent !important;
    display: block; line-height: 0;
  }
  .hero-swiper picture { height: auto; }
  .hero-swiper .hero-img {
    display: block; width: 100%; height: auto;
  }
}
.hero-swiper .swiper-pagination {
  position: absolute; bottom: 16px; left: 16px; right: auto; width: auto;
  background: rgba(0, 0, 0, .55); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  display: inline-block;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--color-primary);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: #fff; }
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 18px; font-weight: 800; }

@media (max-width: 768px) {
  .hero-swiper .swiper-pagination { bottom: 10px; left: 10px; font-size: 12px; padding: 3px 10px; }
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next { width: 36px; height: 36px; }
  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after { font-size: 14px; }
}
.hero-with-image .hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: 24px;
}
.hero-with-image .hero-text { text-align: left; }
.hero-with-image .hero-cta {
  gap: 8px;
}
.hero-with-image .hero-cta .btn {
  background: rgba(255, 255, 255, .95); color: var(--color-primary);
  border: 0; padding: 11px 22px; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.hero-with-image .hero-cta .btn:hover { background: #fff; color: var(--color-primary); }
.hero-with-image .hero-cta .btn-ghost {
  background: var(--color-primary); color: #fff;
}
.hero-with-image .hero-cta .btn-ghost:hover { background: #133a6b; color: #fff; }

@media (max-width: 768px) {
  .hero-with-image .hero-inner { padding-bottom: 14px; }
  .hero-with-image .hero-cta .btn { padding: 9px 16px; font-size: 13px; }
}

.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 720px; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.15); font-size: 13px; font-weight: 600;
  margin-bottom: 20px; letter-spacing: .02em;
}
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2;
  margin: 0 0 16px; letter-spacing: -0.02em;
}
.hero-sub { font-size: 18px; opacity: .92; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--color-primary); }

@media (max-width: 768px) {
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-cta .btn-lg { padding: 11px 20px; font-size: 14px; }
}

/* ============ 메인 차종 검색바 ============ */
.main-search {
  position: relative; z-index: 11;
  margin-top: -28px;            /* 히어로와 살짝 overlap */
  padding-bottom: 0;
}
.main-search .container {
  max-width: 720px;             /* 데스크탑에서 검색바 너무 넓지 않게 */
}
.main-search-form {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  text-decoration: none;
  transition: box-shadow .15s, border-color .15s;
}
.main-search-form:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.msearch-placeholder {
  flex: 1; font-size: 14px; color: #9ba3ad;
  padding: 8px 0; line-height: 1.4;
}
.main-search-form input {
  flex: 1; border: 0; outline: none; font-family: inherit;
  font-size: 14px; padding: 8px 0;
  background: transparent; color: var(--color-text);
}
.main-search-form input::placeholder { color: #9ba3ad; }
@media (max-width: 768px) {
  .msearch-placeholder { font-size: 13px; padding: 6px 0; }
}
.msearch-btn {
  flex-shrink: 0;
  background: #1a1a1a; color: #fff; border: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s, background .15s;
}
.msearch-btn:hover { background: var(--color-primary); }
.msearch-btn:active { transform: scale(.94); }
.msearch-btn svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .main-search { margin-top: -22px; }
  .main-search-form { padding-left: 18px; }
  .main-search-form input { font-size: 14px; padding: 9px 0; }
  .msearch-btn { width: 36px; height: 36px; }
  .msearch-btn svg { width: 16px; height: 16px; }
}

/* ============ 빠른 카테고리 (cpo.kia.com 스타일 — 알약 카드) ============ */
.quick-cat-bar {
  position: relative;
  margin-top: 14px;             /* 검색바 아래에 살짝 간격 */
  z-index: 10;
  margin-bottom: 24px;
}
.quick-cat-bar .container { max-width: 720px; }
.quick-cat-card {
  background: #fff;
  border-radius: 999px;          /* 알약 모양 */
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .06);
  padding: 12px 6px;
  display: flex; align-items: stretch; justify-content: space-between;
}
.quick-cat-item {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 6px 8px; position: relative;
  text-decoration: none; color: var(--color-text);
  transition: transform .15s ease;
}
.quick-cat-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 22%; bottom: 22%;
  width: 1px; background: #e7eaee;
}
.quick-cat-item:hover { transform: translateY(-2px); color: var(--color-primary); }
.qc-icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.qc-icon-img {
  width: 24px; height: 24px; object-fit: contain;
}
.qc-label {
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  letter-spacing: -0.02em;
}
.qc-badge {
  position: absolute; top: -2px; right: 8px;
  background: var(--color-accent); color: #fff;
  padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .03em;
}

/* 모바일: 알약 모양 유지, 5개 균등 분배 (잘림 방지) */
@media (max-width: 768px) {
  .quick-cat-bar { margin-top: 10px; margin-bottom: 16px; }
  .quick-cat-bar .container { padding: 0 10px; }
  .quick-cat-card {
    border-radius: 28px;
    padding: 10px 2px; gap: 0;
    display: flex; justify-content: space-around;
  }
  .quick-cat-item {
    flex: 1 1 0; min-width: 0;
    padding: 2px 2px; gap: 5px;
  }
  .qc-icon-circle { width: 40px; height: 40px; font-size: 18px; }
  .qc-icon-img { width: 22px; height: 22px; }
  .qc-label { font-size: 11px; letter-spacing: -0.04em; white-space: nowrap; }
}

/* ============ 섹션 ============ */
.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-soft); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head h1, .section-head h2 {
  font-size: 32px; font-weight: 700; margin: 0; letter-spacing: -0.02em;
}
.section-desc { color: var(--color-text-soft); margin: 8px 0 0; font-size: 16px; }
.link-more { color: var(--color-primary); font-weight: 600; font-size: 14px; }

@media (max-width: 768px) {
  .section { padding: 32px 0; }
  .section-head h1, .section-head h2 { font-size: 22px; }
  .section-head { margin-bottom: 18px; }
}

/* ============ 좌우 화살표 캐러셀 ============ */
.car-carousel { position: relative; }
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; color: var(--color-text);
  cursor: pointer; z-index: 5;
  transition: opacity .15s, transform .15s;
}
.car-nav.prev { left: -16px; }
.car-nav.next { right: -16px; }
.car-nav:hover {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}
.car-nav.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 768px) {
  .car-nav { width: 36px; height: 36px; font-size: 18px; }
  .car-nav.prev { left: 4px; }
  .car-nav.next { right: 4px; }
}

/* ============ 가로 스크롤 차량 캐러셀 ============ */
.car-row {
  overflow-x: auto; padding: 4px 0 12px;
  margin: 0 -8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.car-row::-webkit-scrollbar { display: none; }
.car-row-track {
  display: flex; gap: 16px;
  padding: 0 8px;
}
.car-row-track .car-card { flex: 0 0 280px; }

@media (max-width: 768px) {
  .car-row-track .car-card { flex: 0 0 220px; }
  .car-row-track { gap: 12px; }
}

/* ============ 차종 카테고리 (탭 + 큰 슬라이드 캐러셀) ============ */
.cat-tabs {
  display: flex; gap: 28px; align-items: center;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px; padding: 0 4px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  background: transparent; border: 0; padding: 14px 4px;
  font-size: 18px; font-weight: 700; color: var(--color-text-soft);
  cursor: pointer; font-family: inherit;
  position: relative; white-space: nowrap; letter-spacing: -0.01em;
  transition: color .15s;
}
.cat-tab:hover { color: var(--color-text); }
.cat-tab.active { color: var(--color-text); }
.cat-tab.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--color-text);
  border-radius: 2px;
}

.cat-panel { display: none; }
.cat-panel.active { display: block; }
.cat-panel-head {
  display: flex; justify-content: flex-end; margin-bottom: 16px;
}
.cat-more-link {
  font-size: 14px; font-weight: 600; color: var(--color-text-soft);
  text-decoration: none;
}
.cat-more-link:hover { color: var(--color-primary); }

/* 모델 슬라이드 — 큰 이미지 + 모델명만 (Kia 스타일) */
.model-carousel { position: relative; }
.model-row-track { gap: 18px; }
.model-row-track .model-tile { flex: 0 0 280px; }

.model-tile {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none; color: inherit;
  transition: transform .2s;
}
.model-tile:hover { transform: translateY(-3px); }
.mt-img {
  width: 100%; aspect-ratio: 4 / 3;
  background: #f5f6f8; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; margin-bottom: 14px;
  transition: background .2s;
}
.mt-img img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}
.model-tile:hover .mt-img { background: #eef0f3; }
.mt-placeholder { color: var(--color-text-soft); font-size: 13px; }
.mt-brand {
  font-size: 12px; font-weight: 600; color: var(--color-text-soft);
  margin-bottom: 4px; letter-spacing: 0.02em;
}
.mt-name {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .cat-tabs { gap: 18px; margin-bottom: 18px; }
  .cat-tab { font-size: 16px; padding: 12px 2px; }
  .model-row-track .model-tile { flex: 0 0 200px; }
  .model-row-track { gap: 12px; }
  .mt-name { font-size: 15px; }
  .mt-brand { font-size: 11px; }
  .mt-img { padding: 10px; margin-bottom: 10px; border-radius: 10px; }
}

/* ============ 가로형 카드 (cpo.kia.com 스타일 — 이미지 좌, 텍스트 우) ============ */
.car-list-h {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.car-card-h {
  display: flex; align-items: stretch; gap: 12px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 10px;
  padding: 12px; transition: all .15s; text-decoration: none;
  color: var(--color-text);
}
.car-card-h:hover {
  border-color: var(--color-primary); transform: translateY(-1px);
  box-shadow: var(--shadow-sm); color: inherit;
}
.ch-img {
  flex: 0 0 130px; aspect-ratio: 4/3;
  background: var(--color-bg-soft); border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
}
.ch-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ch-body {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px;
  padding-top: 2px;
}
.ch-name {
  font-size: 15px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-body .cv-deposit-note { margin-bottom: 4px; }
.ch-body .cv-price-value strong { font-size: 15px; }
.ch-body .cv-prices { gap: 3px; }

@media (max-width: 768px) {
  .car-list-h { grid-template-columns: 1fr; gap: 8px; }
  .ch-img { flex: 0 0 110px; }
  .ch-name { font-size: 15px; }
}

/* ============ 가격대 탭 갤러리 (cpo.kia.com 스타일) ============ */
.section-head-stack { flex-direction: column; align-items: flex-start; gap: 4px; }

.price-tabs {
  display: flex; gap: 8px; flex-wrap: nowrap; margin-bottom: 18px;
  overflow-x: auto; scrollbar-width: none;
}
.price-tabs::-webkit-scrollbar { display: none; }
.ptab {
  flex: 0 0 auto;
  background: #fff; border: 1px solid #d8dde4; border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; color: #4a5260;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.ptab:hover { color: #1a1a1a; }
.ptab.active {
  background: #1a1a1a; color: #fff; border-color: #1a1a1a; font-weight: 700;
}

.ptab-panel { display: none; }
.ptab-panel.active { display: block; }

@media (max-width: 768px) {
  .price-tabs {
    gap: 6px; padding: 0 0 4px;
    margin: 0 -16px 14px; padding-left: 16px; padding-right: 16px;
  }
  .ptab { padding: 8px 16px; font-size: 13px; }
}

/* ============ 가격대 타일 ============ */
.price-tier-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.price-tier-tile {
  background: linear-gradient(135deg, #fff 0%, #f0f4fa 100%);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 32px 16px; text-align: center; transition: all .15s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.price-tier-tile:hover {
  border-color: var(--color-primary); transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #f8faff 0%, #e8efff 100%);
}
.price-tier-icon { font-size: 36px; line-height: 1; }
.price-tier-label { font-size: 17px; font-weight: 700; color: var(--color-primary); }
.price-tier-count { font-size: 13px; color: var(--color-text-soft); font-weight: 500; }

@media (max-width: 768px) { .price-tier-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 380px) { .price-tier-grid { grid-template-columns: 1fr; } }

/* ============ 브랜드 캐러셀 ============ */
.brand-carousel { position: relative; }
.brand-row-track { gap: 16px; }
.brand-row-track .brand-tile { flex: 0 0 160px; }

.brand-tile {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 24px 12px 16px; text-align: center; transition: all .15s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.brand-tile:hover {
  border-color: var(--color-primary); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.brand-logo-wrap {
  height: 56px; display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.brand-logo-wrap img {
  max-height: 48px; max-width: 100%; object-fit: contain;
}
.brand-fallback { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.brand-name { font-size: 14px; font-weight: 700; }
.brand-count { font-size: 12px; color: var(--color-text-soft); }

@media (max-width: 768px) {
  .brand-row-track .brand-tile { flex: 0 0 130px; }
  .brand-row-track { gap: 12px; }
}

/* ============ 차량 카드 그리드 ============ */
.car-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.car-card {
  background: transparent; border: 0; border-radius: 12px;
  overflow: hidden; transition: transform .2s; display: flex; flex-direction: column;
}
.car-card:hover {
  transform: translateY(-2px); color: inherit;
}
.car-card:hover .car-card-img { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.car-card-img {
  aspect-ratio: 16/11; background: #f5f6f8;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: box-shadow .2s;
}
.car-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.car-card-placeholder { color: var(--color-text-soft); font-size: 13px; }
.car-card-body { padding: 14px 2px 4px; }
.cv-title {
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cv-deposit-note {
  font-size: 11px; color: var(--color-text-soft); margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cv-prices { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cv-price-row {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden;
}
.cv-price-value {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.cv-kind {
  display: inline-block; flex-shrink: 0;
  padding: 2px 7px; border-radius: 4px;
  font-size: 11px; font-weight: 700; min-width: 32px; text-align: center;
}
.cv-kind.kind-rent { background: rgba(11, 37, 69, .1); color: var(--color-primary); }
.cv-kind.kind-lease { background: rgba(0, 185, 110, .1); color: #00935a; }
.cv-price-value { font-size: 13px; color: var(--color-text-soft); }
.cv-price-value strong { color: var(--color-text); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.cv-price-tbd { font-size: 12px; color: var(--color-text-soft); font-style: italic; }

@media (max-width: 1024px) { .car-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .car-grid { grid-template-columns: 1fr; } }

/* ============ 혜택 그리드 ============ */
.benefit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1024px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-item {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.benefit-icon {
  font-size: 14px; font-weight: 800; color: var(--color-primary);
  background: rgba(11, 37, 69, .08); width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-item h3 { font-size: 18px; margin: 0 0 8px; }
.benefit-item p { color: var(--color-text-soft); margin: 0; font-size: 15px; }

@media (max-width: 768px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ============ CTA 밴드 ============ */
.cta-band {
  background: var(--color-primary); color: #fff; padding: 64px 0; text-align: center;
}
.cta-band h2 { font-size: 32px; margin: 0 0 12px; }
.cta-band p { font-size: 17px; opacity: .9; margin: 0 0 24px; }

/* ============ 푸터 ============ */
.site-footer {
  background: var(--color-bg-dark); color: #cfd6e0; padding: 56px 0 24px;
}
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer-tagline { color: #9aa5b5; margin: 8px 0 0; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; font-size: 14px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1; padding-top: 24px; margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1); color: #7a8696;
}
.footer-biz {
  font-size: 12px; line-height: 1.8; color: #7a8696;
  margin-bottom: 14px;
}
.footer-biz .fb-row {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
}
.footer-biz .fb-brand { font-weight: 800; color: #fff; font-size: 13px; }
.footer-biz .fb-company { font-weight: 700; color: #cfd6e0; }
.footer-biz .fb-sep { color: rgba(255,255,255,.18); }
.footer-biz a { color: #9aa5b5; text-decoration: none; }
.footer-biz a:hover { color: #fff; text-decoration: underline; }
.footer-biz .fb-cert {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px; padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 6px;
  font-size: 11px; color: #cfd6e0;
}
.footer-biz .fb-cert:hover {
  background: rgba(255,255,255,.06); color: #fff; text-decoration: none;
  border-color: rgba(255,255,255,.3);
}
.footer-bottom .fb-copy {
  display: block; font-size: 12px; color: #7a8696;
  padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-biz .fb-sep { display: none; }
  .footer-biz .fb-row { flex-direction: column; gap: 2px; }
}

/* ============ 폼 ============ */
.inquiry-form {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
  position: relative; z-index: 1;
}

/* 견적 신청 페이지 — 배경에 hero 이미지 (PC/모바일 분기) */
.inquiry-bg-section {
  position: relative;
  background-image: url('/static/images/hero1_pc.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.inquiry-bg-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.85));
  z-index: 0;
}
.inquiry-bg-section > .container {
  position: relative; z-index: 1;
}
@media (max-width: 768px) {
  .inquiry-bg-section {
    background-image: url('/static/images/hero1_m.png');
  }
  .inquiry-bg-section::before {
    background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.9));
  }
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--color-border);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
}
.required { color: var(--color-accent); }
.form-note {
  font-size: 12px; color: var(--color-text-soft); margin: 12px 0 0; text-align: center;
}
.selected-car {
  background: var(--color-bg-soft); padding: 12px 16px; border-radius: 8px;
  margin-bottom: 16px; font-size: 14px;
}

/* ─── 견적 폼 — 직접입력/찾기 토글 ─── */
.seg-toggle {
  display: inline-flex; background: var(--color-bg-soft, #f4f5f7);
  border-radius: 999px; padding: 4px; margin-bottom: 10px;
}
.seg-btn {
  background: transparent; border: 0; padding: 7px 18px;
  font-size: 13px; font-weight: 700; color: var(--color-text-soft);
  cursor: pointer; font-family: inherit; border-radius: 999px;
  transition: all .15s;
}
.seg-btn:hover { color: var(--color-text); }
.seg-btn.active {
  background: #fff; color: var(--color-text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.car-mode-panel { width: 100%; }

/* 찾기 — 라이브 검색 */
.car-search-wrap { position: relative; }
.car-search-results {
  list-style: none; margin: 4px 0 0; padding: 6px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  max-height: 360px; overflow-y: auto;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 10;
}
.csr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  transition: background .12s;
}
.csr-item:hover { background: var(--color-bg-soft, #f5f6f8); }
.csr-img {
  width: 48px; height: 36px; flex-shrink: 0;
  background: var(--color-bg-soft, #f5f6f8); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.csr-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.csr-text { flex: 1; min-width: 0; }
.csr-brand {
  font-size: 11px; font-weight: 600; color: var(--color-text-soft);
  letter-spacing: 0.02em;
}
.csr-model {
  font-size: 14px; font-weight: 700; color: var(--color-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.csr-empty {
  padding: 14px 10px; text-align: center;
  color: var(--color-text-soft); font-size: 13px;
}

/* 선택된 차량 카드 */
.car-picked {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--color-primary);
  border-radius: 10px; background: rgba(11, 37, 69, .04);
}
.car-picked .cp-img {
  width: 64px; height: 48px; flex-shrink: 0;
  background: #fff; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.car-picked .cp-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.car-picked .cp-text { flex: 1; min-width: 0; }
.car-picked .cp-brand {
  font-size: 12px; font-weight: 600; color: var(--color-primary);
  margin-bottom: 2px;
}
.car-picked .cp-name {
  font-size: 16px; font-weight: 800; color: var(--color-text);
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-picked .cp-clear {
  background: transparent; border: 0; cursor: pointer;
  font-size: 22px; color: var(--color-text-soft); padding: 4px 8px;
  font-family: inherit; line-height: 1;
}
.car-picked .cp-clear:hover { color: var(--color-text); }

@media (max-width: 768px) {
  .inquiry-form { padding: 20px 16px; }
}

/* ─── 개인정보 동의 (간단 버전) ─── */
.inquiry-consent {
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 8px;
}

.inquiry-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.inquiry-consent input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  cursor: pointer;
}

.inquiry-consent span {
  font-size: 13px;
  color: var(--color-text, #1a2236);
  line-height: 1.5;
}

/* ============ 차량 상세 ============ */
.breadcrumb { font-size: 13px; color: var(--color-text-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--color-primary); }
.detail-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.detail-image {
  aspect-ratio: 2/1; background: var(--color-bg-soft);
  border-radius: var(--radius); overflow: hidden;
  max-width: 520px;
}
.detail-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-info { display: flex; flex-direction: column; }
.detail-brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.brand-logo { height: 28px; width: auto; }
.car-brand-text { font-size: 14px; font-weight: 600; color: var(--color-text-soft); }
.detail-info h1 { font-size: 32px; margin: 4px 0 6px; letter-spacing: -0.02em; }
.trim-detail { font-size: 14px; color: var(--color-text-soft); margin: 0 0 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 9px 10px; border-bottom: 1px solid var(--color-border); text-align: left; }
.spec-table th { background: var(--color-bg-soft); width: 80px; font-weight: 600; font-size: 13px; color: var(--color-text-soft); }
.price-headlines {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px;
}
.price-headline {
  padding: 14px 18px; border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
}
.price-headline.rent {
  background: linear-gradient(135deg, var(--color-primary), #1a4275);
  color: #fff;
}
.price-headline.lease {
  background: linear-gradient(135deg, #00935a, #00b96e);
  color: #fff;
}
.price-headline-label { font-size: 13px; opacity: .92; font-weight: 600; }
.price-headline-value { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.car-description { margin-top: 32px; line-height: 1.8; }

@media (max-width: 768px) {
  .detail-head { grid-template-columns: 1fr; gap: 20px; }
  .detail-info h1 { font-size: 24px; }
  .price-headline-value { font-size: 20px; }
}

/* ============ 가격 비교 테이블 ============ */
.price-section { margin-top: 32px; }
.price-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.price-section-head h2 { margin: 0; font-size: 22px; }
.price-toggle {
  display: inline-flex; background: var(--color-bg-soft); border-radius: 999px; padding: 4px;
}
.price-toggle button {
  padding: 8px 18px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--color-text-soft); border-radius: 999px;
  transition: all .15s;
}
.price-toggle button.active {
  background: var(--color-primary); color: #fff;
}
.price-toggle button[disabled] { opacity: .35; cursor: not-allowed; }

/* 라인업/트림 셀렉트 */
.trim-selectors {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px;
  margin-bottom: 20px;
}
.trim-select-wrap {
  display: flex; flex-direction: column; gap: 6px;
}
.trim-select-label {
  font-size: 12px; font-weight: 600; color: var(--color-text-soft);
}
.trim-selectors select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: 8px; font-size: 15px; font-weight: 500; font-family: inherit;
  background: #fff; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%231a1a1a' d='M7 8L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.trim-selectors select:focus { outline: none; border-color: var(--color-primary); }

.trim-panel { display: none; }
.trim-panel.active { display: block; }

@media (max-width: 640px) {
  .trim-selectors { grid-template-columns: 1fr; }
}

.price-grid { width: 100%; border-collapse: collapse; }
.price-grid th, .price-grid td {
  padding: 14px; text-align: center; border: 1px solid var(--color-border);
  font-size: 15px;
}
.price-grid thead th {
  background: var(--color-bg-soft); font-weight: 700; font-size: 13px;
  color: var(--color-text-soft); line-height: 1.4;
}
.price-grid thead .th-sub {
  font-size: 11px; font-weight: 500; opacity: .85; display: inline-block;
}
.price-grid tbody th {
  background: var(--color-bg-soft); font-weight: 700; font-size: 14px;
  color: var(--color-primary); width: 100px;
}
.price-grid .price-cell { font-weight: 700; color: var(--color-text); }
.price-grid .muted { color: var(--color-text-soft); font-weight: 400; }

@media (max-width: 768px) {
  .price-grid th, .price-grid td { padding: 10px 6px; font-size: 13px; }
  .price-grid tbody th { font-size: 13px; width: 60px; }
}

/* ============ 필터 바 ============ */
.filter-bar {
  display: flex; gap: 8px; margin-bottom: 24px;
}
.filter-bar input[type="search"] {
  flex: 1; padding: 10px 14px; border: 1px solid var(--color-border);
  border-radius: 8px; font-size: 15px;
}

/* 차량 검색 페이지 */
.section-tight { padding-top: 24px; }

.result-summary {
  font-size: 14px; color: var(--color-text-soft);
  margin: 12px 0; font-weight: 500;
}
.result-summary strong {
  color: var(--color-primary); font-size: 17px; font-weight: 800;
}
.load-more-area { margin-top: 24px; text-align: center; }
.load-more-btn {
  background: #fff; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 700; color: var(--color-text);
  cursor: pointer; font-family: inherit; transition: all .15s;
  min-width: 200px;
}
.load-more-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.load-more-btn:disabled { opacity: .6; cursor: wait; }

/* 모바일 전용 — 데스크탑에선 숨김 */
.mobile-top-bar { display: none; }
.filter-sheet, .sort-menu, .search-overlay { display: none; }
.mobile-only { display: none; }

/* ============ 차량 검색 — 데스크탑 2컬럼 레이아웃 ============ */
.cars-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  align-items: start;
}

/* 좌측 사이드바 */
.cars-sidebar {
  position: sticky; top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.cs-title {
  font-size: 18px; font-weight: 800; color: var(--color-text);
  padding: 4px 4px 12px; border-bottom: 2px solid var(--color-text);
  margin-bottom: 4px;
}
.cs-section {
  padding: 16px 4px; border-bottom: 1px solid var(--color-border);
}
.cs-section:last-child { border-bottom: 0; }
.cs-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.cs-section h3 {
  font-size: 14px; font-weight: 700; margin: 0 0 10px;
  color: var(--color-text);
}
.cs-section-head h3 { margin-bottom: 0; }
.cs-clear {
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  font-size: 12px; color: var(--color-text-soft); text-decoration: underline;
  padding: 0;
}
.cs-clear:hover { color: var(--color-primary); }

.cs-chips { display: flex; flex-direction: column; gap: 6px; }
.cs-chip {
  background: #fff; border: 1px solid var(--color-border); border-radius: 6px;
  padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--color-text);
  cursor: pointer; font-family: inherit; text-align: left;
  transition: all .12s;
}
.cs-chip:hover { border-color: var(--color-primary); }
.cs-chip.selected {
  background: #1a1a1a; color: #fff; border-color: #1a1a1a;
}

.cs-brand-list {
  max-height: 360px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
}
.cs-brand-list h4 {
  font-size: 11px; font-weight: 700; color: var(--color-text-soft);
  margin: 0 0 6px; letter-spacing: 0.02em;
}
.cs-brand-section-h4 { margin-top: 12px !important; }
.cs-brand-row {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 6px 8px; background: #fff;
  border: 1px solid transparent; border-radius: 6px;
  font-family: inherit; cursor: pointer; text-align: left;
  font-size: 13px; color: var(--color-text);
  transition: all .12s;
}
.cs-brand-row:hover { background: var(--color-bg-soft, #f5f5f5); }
.cs-brand-row.selected { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cs-brand-logo {
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cs-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.cs-brand-row.selected .cs-brand-logo img { filter: invert(1) brightness(2); }
.cs-brand-name { flex: 1; font-weight: 600; }
.cs-brand-count { font-size: 11px; opacity: .55; font-weight: 500; }
.cs-brand-row.selected .cs-brand-count { opacity: .8; }

/* 우측 결과 영역 */
.cars-results { min-width: 0; }
.cr-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.cr-count { font-size: 14px; color: var(--color-text-soft); }
.cr-count strong { font-size: 19px; color: var(--color-primary); font-weight: 800; }
.cr-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cr-search { display: flex; gap: 0; align-items: center; }
.cr-search input[type="search"] {
  padding: 8px 12px; border: 1px solid var(--color-border);
  border-radius: 6px 0 0 6px; border-right: 0;
  font-size: 13px; min-width: 220px; font-family: inherit;
}
.cr-search input[type="search"]:focus { outline: none; border-color: var(--color-primary); }
.cr-search-btn {
  padding: 8px 12px; border: 1px solid var(--color-border); background: #fff;
  border-radius: 0 6px 6px 0; cursor: pointer; color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
}
.cr-search-btn:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cr-sort {
  padding: 8px 32px 8px 12px; border: 1px solid var(--color-border);
  border-radius: 6px; font-size: 13px; font-weight: 600; background: #fff;
  cursor: pointer; font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1a1a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.cr-reset {
  padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--color-text-soft);
  border: 1px solid var(--color-border); border-radius: 6px;
  text-decoration: none; cursor: pointer; background: #fff;
}
.cr-reset:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* 데스크탑에선 카드 그리드 3컬럼 (사이드바가 가로 차지) */
@media (min-width: 769px) {
  .cars-results .car-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .cars-results .car-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }

  /* 모바일 — 사이드바 숨기고 한 컬럼으로 */
  .cars-layout { display: block; }
  .cars-sidebar { display: none; }

  /* 모바일 상단 sticky 바 */
  .mobile-top-bar {
    display: flex; gap: 8px; align-items: center;
    padding: 10px 0 12px; margin-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
  }
  .mtb-btn {
    background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
    padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--color-text);
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    font-family: inherit; position: relative;
  }
  .mtb-btn:hover { border-color: var(--color-primary); }
  .mtb-search { margin-left: auto; padding: 8px 10px; }
  .mtb-badge {
    background: var(--color-primary); color: #fff;
    border-radius: 999px; padding: 1px 6px; font-size: 10px; font-weight: 700;
    margin-left: 2px;
  }

  /* 카드 — 차량 검색 페이지에서만 모바일 가로형 (cpo.kia.com 패턴) — 메인 캐러셀은 제외 */
  .cars-results .car-grid { grid-template-columns: 1fr !important; gap: 8px; }
  .cars-results .car-card {
    flex-direction: row !important; gap: 12px !important;
    background: #fff !important; padding: 10px !important;
    border-radius: 10px !important;
  }
  .cars-results .car-card-img {
    flex: 0 0 130px !important; aspect-ratio: 4 / 3 !important;
    padding: 8px !important;
  }
  .cars-results .car-card-body { padding: 4px 4px 4px 0 !important; flex: 1; min-width: 0; }
  .cars-results .cv-title { font-size: 15px !important; }
  .cars-results .cv-prices .cv-price-row { font-size: 12px; }
  .cars-results .cv-price-value strong { font-size: 14px !important; }
}

/* 시트(필터) — body 클래스 기반 (HTMX 스왑 시 깜빡임 방지) */
.filter-sheet { position: fixed; inset: 0; z-index: 200; display: none; }
body.sheet-open .filter-sheet { display: block; }
.filter-sheet .fs-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  opacity: 1; transition: opacity .2s;
}
.filter-sheet .fs-panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateY(0); transition: transform .25s ease;
}
.fs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--color-border);
}
.fs-head h2 { font-size: 17px; margin: 0; font-weight: 800; }
.fs-close { background: transparent; border: 0; cursor: pointer; padding: 4px; color: var(--color-text); }
.fs-body { flex: 1; overflow-y: auto; padding: 6px 16px 12px; }
.fs-group { border-bottom: 1px solid var(--color-border); padding: 14px 0; }
.fs-group:last-child { border-bottom: 0; }
.fs-group summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 15px; font-weight: 700;
  list-style: none;
}
.fs-group summary::-webkit-details-marker { display: none; }
.fs-summary-right {
  font-size: 13px; font-weight: 500; color: var(--color-text-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.fs-chevron { transition: transform .2s; }
.fs-group[open] .fs-chevron { transform: rotate(180deg); }
.fs-content { margin-top: 12px; }
.fs-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-chip {
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--color-text);
  cursor: pointer; font-family: inherit;
}
.fs-chip.selected {
  background: #1a1a1a; color: #fff; border-color: #1a1a1a;
}
.fs-foot {
  display: flex; gap: 8px; padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
}
.fs-reset {
  background: #fff; border: 1px solid var(--color-border); color: var(--color-text);
  padding: 12px 18px; border-radius: 8px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.fs-apply {
  flex: 1; background: #1a1a1a; color: #fff; border: 0;
  padding: 12px 18px; border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

/* 모바일 정렬 메뉴 */
.sort-menu.open { display: block; }
.sort-menu { position: fixed; inset: 0; z-index: 200; }
.sort-menu .sm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.sort-menu .sm-panel {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.sm-item {
  display: block; width: 100%; text-align: left;
  background: transparent; border: 0; padding: 12px 16px; border-radius: 8px;
  font-size: 15px; color: var(--color-text); cursor: pointer; font-family: inherit;
}
.sm-item:hover { background: var(--color-bg-soft); }
.sm-item.active { background: rgba(11, 37, 69, .08); color: var(--color-primary); font-weight: 700; }

/* 모바일 검색 오버레이 */
.search-overlay.open { display: block; }
.search-overlay { position: fixed; inset: 0; z-index: 200; }
.search-overlay .so-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.search-overlay .so-panel {
  position: absolute; left: 0; right: 0; top: 0;
  background: #fff; padding: 14px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
}
.search-overlay form { display: flex; gap: 6px; }
.search-overlay input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: 999px; font-size: 15px; font-family: inherit;
}
.so-go {
  background: #1a1a1a; color: #fff; border: 0;
  padding: 0 16px; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.so-cancel {
  background: transparent; border: 0; color: var(--color-text-soft);
  padding: 0 8px; cursor: pointer; font-size: 14px;
}

/* 활성 필터 칩 */
.active-filters {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 14px;
}
.af-label {
  font-size: 12px; font-weight: 700; color: var(--color-text-soft);
  margin-right: 4px;
}
.af-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; background: rgba(11, 37, 69, .08);
  color: var(--color-primary); border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.af-chip:hover { background: rgba(11, 37, 69, .15); }
.af-chip .af-x {
  font-weight: 800; opacity: .7; font-size: 14px; line-height: 1;
}
.af-reset {
  background: transparent; border: 0; color: var(--color-accent);
  font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 8px;
  margin-left: 4px;
}
.af-reset:hover { text-decoration: underline; }

/* 차량 검색 페이지 — 국산/수입 좌우 패널 + 브랜드 칩 + 정렬 */
.brand-split {
  display: grid; grid-template-columns: minmax(180px, 1fr) 1px 3fr; gap: 16px;
  align-items: stretch;
}
.brand-divider {
  background: var(--color-border);
}
.brand-side-head {
  font-size: 13px; font-weight: 700; color: var(--color-primary);
  margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 2px solid var(--color-primary);
}
.brand-side-head small { color: var(--color-text-soft); font-weight: 500; margin-left: 4px; }

/* 더보기 버튼 — 모바일에서만 보임 */
.brand-more-btn {
  display: none;
  width: 100%; margin-top: 8px;
  background: transparent; border: 1px dashed var(--color-border);
  border-radius: 8px; padding: 8px;
  font-size: 13px; font-weight: 600; color: var(--color-primary);
  cursor: pointer; font-family: inherit;
}
.brand-more-btn:hover { background: var(--color-bg-soft); }
.brand-more-btn .less-text { display: none; }
.brand-side.expanded .brand-more-btn .more-text { display: none; }
.brand-side.expanded .brand-more-btn .less-text { display: inline; }

@media (max-width: 768px) {
  .brand-filter { padding: 10px 12px; margin-bottom: 10px; }
  .brand-filter-head { display: none; }     /* 라벨 숨김 — 가로 스크롤로 컴팩트 */
  .brand-split { grid-template-columns: 1fr; gap: 8px; }
  .brand-divider { display: none; }
  .brand-side-head { font-size: 11px; margin-bottom: 6px; padding-bottom: 4px; }

  /* 가로 스크롤 칩 행으로 변환 */
  .brand-chip-grid {
    display: flex; gap: 5px; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .brand-chip-grid::-webkit-scrollbar { display: none; }
  .brand-chip { flex: 0 0 auto; min-width: 64px; }
  .brand-side .brand-extra { display: flex; }   /* 가로 스크롤이라 다 보임 — 더보기 불필요 */
  .brand-more-btn { display: none; }
}

.brand-filter {
  background: var(--color-bg-soft); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 16px;
}
.brand-filter-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.filter-label {
  font-size: 13px; font-weight: 700; color: var(--color-text-soft);
}
.brand-chip-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 5px;
}
.brand-chip {
  background: #fff; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 8px 4px 6px; cursor: pointer; transition: all .15s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative; text-align: center;
}
.brand-chip:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.brand-chip.selected {
  border-color: var(--color-primary); border-width: 2px;
  background: rgba(11, 37, 69, .04); padding: 7px 3px 5px;
}
.brand-chip.selected::after {
  content: "✓"; position: absolute; top: 2px; right: 3px;
  background: var(--color-primary); color: #fff;
  width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.bc-logo {
  height: 36px; display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.bc-logo img { max-height: 34px; max-width: 95%; object-fit: contain; }
.bc-name { font-size: 11px; font-weight: 500; color: var(--color-text); line-height: 1.2; }

/* 가격 기준 토글 (둘다/렌트/리스) */
.kind-buttons {
  display: flex; gap: 0; margin-bottom: 12px;
  background: var(--color-bg-soft); padding: 4px; border-radius: 10px;
}
.kind-btn {
  flex: 1; background: transparent; border: 0; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--color-text-soft);
  cursor: pointer; border-radius: 8px; transition: all .15s; font-family: inherit;
}
.kind-btn:hover { color: var(--color-primary); }
.kind-btn.active {
  background: #fff; color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* 약정 기간 버튼 */
.period-buttons {
  display: flex; gap: 0; margin-bottom: 12px;
  background: var(--color-bg-soft); padding: 4px; border-radius: 10px;
}
.period-btn {
  flex: 1; background: transparent; border: 0; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--color-text-soft);
  cursor: pointer; border-radius: 8px; transition: all .15s; font-family: inherit;
}
.period-btn:hover { color: var(--color-primary); }
.period-btn.active {
  background: #fff; color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* 보증 타입 버튼 */
.deposit-buttons {
  display: flex; gap: 0; margin-bottom: 12px;
  background: var(--color-bg-soft); padding: 4px; border-radius: 10px;
}
.deposit-btn {
  flex: 1; background: transparent; border: 0; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--color-text-soft);
  cursor: pointer; border-radius: 8px; transition: all .15s; font-family: inherit;
}
.deposit-btn:hover { color: var(--color-primary); }
.deposit-btn.active {
  background: #fff; color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* 정렬 버튼 그룹 */
.sort-buttons, .price-tier-buttons {
  display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap;
}
.sort-btn, .ptier-btn {
  background: #fff; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--color-text);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.sort-btn:hover, .ptier-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.sort-btn.active, .ptier-btn.active {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}

.list-filter-bar {
  display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;
}
.list-filter-bar input[type="search"] {
  flex: 1; min-width: 200px; padding: 10px 14px; border: 1px solid var(--color-border);
  border-radius: 8px; font-size: 15px;
}
.list-filter-bar select {
  padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 8px;
  font-size: 15px; background: #fff; cursor: pointer; min-width: 140px;
}
.list-filter-bar select:focus { outline: none; border-color: var(--color-primary); }

/* ============ 빈 상태 ============ */
.empty-state {
  background: var(--color-bg-soft); padding: 48px 24px; text-align: center;
  border-radius: var(--radius); color: var(--color-text-soft);
}
.empty-sub { font-size: 13px; opacity: .8; }

/* ============ 플래시 메시지 ============ */
.flash-area { padding-top: 12px; }
.flash {
  padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; font-size: 14px;
  border: 1px solid;
}
.flash-error { background: #fee; color: #c00; border-color: #fcc; }
.flash-warning { background: #fff8e0; color: #8a6d00; border-color: #ffe39c; }
.flash-success { background: #e7f6ec; color: #0a6d2a; border-color: #b8e0c4; }
.flash-info { background: #e8f0fb; color: #14438c; border-color: #b8d0f0; }

/* ============ 견적 완료 ============ */
.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-size: 40px; line-height: 80px;
  margin: 0 auto 24px;
}

/* ============ 랜딩 페이지 ============ */
.landing-hero {
  min-height: 480px; background: var(--color-primary); color: #fff;
  background-size: cover; background-position: center;
  display: flex; align-items: center; padding: 64px 0;
}
.landing-hero-inner { max-width: 800px; }
.landing-hero h1 {
  font-size: 44px; font-weight: 800; margin: 0 0 16px; line-height: 1.2;
}
.landing-hero p { font-size: 18px; margin: 0 0 32px; opacity: .95; }

@media (max-width: 768px) {
  .landing-hero h1 { font-size: 28px; }
  .landing-hero p { font-size: 16px; }
}

/* ============ 모바일 하단 빠른 상담 바 ============ */
.quick-bar { display: none; }   /* 데스크톱은 숨김 */

@media (max-width: 768px) {
  .quick-bar {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--color-border);
    padding: 8px 10px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px rgba(0,0,0,.10);
  }
  .quick-bar-top {
    display: flex; align-items: center; gap: 8px;
  }
  .qb-headline {
    font-size: 12.5px; font-weight: 700; color: var(--color-primary);
    flex: 1; letter-spacing: -0.02em; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .qb-actions { display: flex; gap: 6px; flex-shrink: 0; }
  .qb-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 11px; border-radius: 999px;
    text-decoration: none; transition: transform .15s;
    font-size: 12.5px; font-weight: 700; line-height: 1;
  }
  .qb-pill:active { transform: scale(.94); }
  .qb-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
  .qb-phone { background: var(--color-primary); color: #fff; }
  .qb-phone:hover { color: #fff; }
  .qb-kakao { background: #FEE500; color: #391B1B; }
  .qb-kakao:hover { color: #391B1B; }

  /* 매우 좁은 화면에선 헤드라인 숨겨서 버튼 자리 확보 */
  @media (max-width: 360px) {
    .qb-headline { display: none; }
  }

  .quick-bar-form {
    display: flex; gap: 4px; align-items: stretch;
  }
  .quick-bar-form input[type="text"],
  .quick-bar-form input[type="tel"] {
    flex: 1; min-width: 0;
    padding: 8px 9px; border: 1px solid var(--color-border);
    border-radius: 6px; font-size: 13px; font-family: inherit;
    background: #fff; color: var(--color-text);
  }
  .quick-bar-form input:focus { outline: none; border-color: var(--color-primary); }
  .qb-submit {
    flex-shrink: 0; width: 60px;
    background: var(--color-primary); color: #fff; border: 0;
    border-radius: 6px; font-size: 12px; font-weight: 700;
    line-height: 1.2; cursor: pointer; font-family: inherit;
  }
  .qb-submit:disabled { opacity: .6; }

  /* 푸터/콘텐츠가 빠른 상담 바에 가려지지 않게 하단 패딩 */
  body { padding-bottom: 110px; }
}

/* 토스트 */
.quick-toast {
  position: fixed; left: 50%; transform: translate(-50%, 20px);
  top: auto; bottom: 130px; z-index: 200;
  background: rgba(20, 30, 45, .95); color: #fff;
  padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  opacity: 0; transition: all .2s; pointer-events: none;
  white-space: nowrap;
}
.quick-toast.show { opacity: 1; transform: translate(-50%, 0); }
.quick-toast.ok { background: #0a6d2a; }
.quick-toast.err { background: #c0233b; }
@media (min-width: 769px) {
  .quick-toast { bottom: 24px; }
}

/* ============ 제휴 캐피탈 마퀴 (메인 — 함께하는 금융사) ============ */
.capital-strip {
  padding: 22px 0;
  background: var(--color-bg-soft, #f6f7f9);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cs-head {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--color-text-soft); text-align: center;
  text-transform: uppercase; margin-bottom: 12px;
}
.cs-viewport {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.cs-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: cs-scroll 40s linear infinite;
  /* 절대 멈추지 않도록 — hover/click/select 차단 */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}
.cs-item {
  flex: 0 0 auto; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.cs-item img {
  max-height: 100%; max-width: 140px; object-fit: contain;
  display: block; -webkit-user-drag: none;
}
@keyframes cs-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .capital-strip { padding: 16px 0; }
  .cs-head { font-size: 11px; margin-bottom: 8px; }
  .cs-track { gap: 32px; animation-duration: 30s; }
  .cs-item { height: 28px; }
  .cs-item img { max-width: 110px; }
}

/* ============ 회사 소개 ============ */
.about-why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.about-why-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 22px 20px;
}
.aw-icon { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.about-why-card h3 {
  font-size: 16px; font-weight: 800; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.about-why-card p {
  margin: 0; font-size: 14px; line-height: 1.7; color: var(--color-text-soft);
}
@media (max-width: 640px) { .about-why-grid { grid-template-columns: 1fr; } }

/* 숫자 통계 */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 14px; padding: 28px 20px;
}
.as-item { text-align: center; }
.as-num {
  font-size: 38px; font-weight: 900; color: var(--color-primary);
  letter-spacing: -0.03em; line-height: 1.1;
}
.as-num span { font-size: 22px; font-weight: 800; margin-left: 2px; }
.as-label {
  margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--color-text-soft);
}
@media (max-width: 640px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); padding: 22px 16px; }
  .as-num { font-size: 30px; }
}

/* 제휴 캐피탈 그리드 */
.about-cap-desc {
  margin: -8px 0 16px; color: var(--color-text-soft);
  font-size: 14px;
}
.about-cap-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 14px; padding: 20px;
}
.acg-item {
  background: #fff; border-radius: 8px;
  height: 64px; display: flex; align-items: center; justify-content: center;
  padding: 10px; transition: transform .15s, box-shadow .15s;
  border: 1px solid rgba(0,0,0,.04);
}
.acg-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.acg-item img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}
@media (max-width: 1024px) {
  .about-cap-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .about-cap-grid { grid-template-columns: repeat(3, 1fr); padding: 14px; gap: 8px; }
  .acg-item { height: 52px; padding: 8px; }
}
@media (max-width: 380px) {
  .about-cap-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 대표번호 박스 */
.about-phone-box {
  background: linear-gradient(135deg, var(--color-primary), #1a4275);
  color: #fff; border-radius: 16px;
  padding: 36px 28px; text-align: center;
}
.apb-label {
  font-size: 13px; font-weight: 700; opacity: .85;
  letter-spacing: 0.08em; margin-bottom: 8px;
  text-transform: uppercase;
}
.apb-number {
  display: block; font-size: 46px; font-weight: 900;
  color: #fff; text-decoration: none;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 10px;
}
.apb-number:hover { color: #fff; opacity: .9; }
.apb-hours {
  font-size: 13px; opacity: .85; margin-bottom: 20px;
}
.apb-actions {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.apb-actions .btn-primary {
  background: #fff; color: var(--color-primary);
}
.apb-actions .btn-primary:hover { background: #f0f4f9; color: var(--color-primary); }
.apb-actions .btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
}
.apb-actions .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 640px) {
  .about-phone-box { padding: 28px 20px; }
  .apb-number { font-size: 34px; }
}

/* 지도 */
.about-map-wrap {
  border-radius: 12px; overflow: hidden; margin-bottom: 14px;
  border: 1px solid var(--color-border);
}
.about-map {
  width: 100%; height: 360px; border: 0; display: block;
}
.about-addr-info {
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 10px; padding: 14px 18px;
}
.aai-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.aai-label {
  font-size: 12px; font-weight: 800; color: var(--color-primary);
  letter-spacing: 0.04em;
}
.aai-row span:not(.aai-label) {
  font-size: 14px; font-weight: 600; color: var(--color-text);
}
.aai-links { display: flex; gap: 8px; flex-wrap: wrap; }
.aai-extlink {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 6px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: var(--color-text);
  text-decoration: none; transition: all .12s;
}
.aai-extlink:hover { border-color: var(--color-primary); color: var(--color-primary); }
@media (max-width: 480px) {
  .about-map { height: 280px; }
}

/* 등록증 섹션 */
.about-cert {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 24px;
}
.ac-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
.ac-icon {
  font-size: 36px; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 12px;
  background: rgba(11, 37, 69, .08);
  display: flex; align-items: center; justify-content: center;
}
.ac-title h3 {
  font-size: 17px; font-weight: 800; margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.ac-title p {
  font-size: 13px; color: var(--color-text-soft); margin: 0;
}
.ac-preview {
  border-radius: 10px; overflow: hidden; margin-bottom: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft, #f6f7f9);
}
.ac-pdf {
  width: 100%; height: 600px; border: 0; display: block;
}
.ac-fallback {
  padding: 60px 20px; text-align: center;
  background: #fff;
}
.ac-fallback p {
  color: var(--color-text-soft); margin: 0 0 16px;
  font-size: 14px;
}
.ac-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .about-cert { padding: 18px; }
  .ac-icon { width: 48px; height: 48px; font-size: 28px; }
  .ac-title h3 { font-size: 15px; }
  .ac-pdf { height: 420px; }
}

/* 회사 정보 테이블 */
.about-biz-table dl {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 0; margin: 0;
  background: #fff; border: 1px solid var(--color-border); border-radius: 10px;
  overflow: hidden;
}
.about-biz-table dt {
  background: var(--color-bg-soft, #f6f7f9);
  padding: 14px 18px; font-size: 13px; font-weight: 700;
  color: var(--color-text); border-bottom: 1px solid var(--color-border);
}
.about-biz-table dd {
  margin: 0; padding: 14px 18px; font-size: 14px; color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.about-biz-table dt:nth-last-of-type(1),
.about-biz-table dd:last-of-type { border-bottom: 0; }
.about-biz-table a { color: var(--color-primary); text-decoration: none; }
.about-biz-table a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .about-biz-table dl { grid-template-columns: 110px 1fr; }
  .about-biz-table dt, .about-biz-table dd { padding: 11px 12px; font-size: 13px; }
}

/* ============ 장기렌트카 안내 가이드 페이지 ============ */
.guide-hero {
  background: linear-gradient(135deg, var(--color-primary), #1a4275);
  color: #fff; padding: 64px 0 56px; text-align: center;
}
.guide-hero-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.15); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.guide-hero h1 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 14px; line-height: 1.2;
}
.guide-hero-desc {
  font-size: 16px; line-height: 1.7; opacity: .92; margin: 0 auto;
  max-width: 640px;
}
@media (max-width: 768px) {
  .guide-hero { padding: 44px 0 36px; }
  .guide-hero h1 { font-size: 26px; }
  .guide-hero-desc { font-size: 14px; }
}

.guide-block { margin-bottom: 56px; }
.guide-h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--color-text);
}
@media (max-width: 768px) { .guide-h2 { font-size: 20px; } }

/* "왜 알아두면 좋을까요?" 카드 */
.guide-why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.guide-why-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 20px;
}
.guide-why-icon { font-size: 28px; margin-bottom: 10px; }
.guide-why-card h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.guide-why-card p {
  font-size: 13px; color: var(--color-text-soft);
  line-height: 1.6; margin: 0;
}
@media (max-width: 1024px) { .guide-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .guide-why-grid { grid-template-columns: 1fr; } }

/* 10단계 stepper */
.guide-stepper {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.guide-stepper li {
  background: var(--color-bg-soft); border-radius: 10px;
  padding: 14px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.gs-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.gs-label {
  font-size: 12px; font-weight: 700; color: var(--color-text);
  letter-spacing: -0.01em;
}
@media (max-width: 1024px) { .guide-stepper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .guide-stepper { grid-template-columns: 1fr; } }

/* 단계별 상세 카드 */
.guide-step {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 24px 26px; margin-bottom: 14px;
}
.gst-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.gst-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.gst-head h3 { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.guide-step > p {
  color: var(--color-text-soft); margin: 0 0 14px; line-height: 1.6;
}
.gst-subhead {
  font-size: 13px; font-weight: 700; color: var(--color-primary);
  margin: 14px 0 6px;
}
.gst-list {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; line-height: 1.7;
}
.gst-list li b { font-weight: 700; color: var(--color-text); }
.gst-tip, .gst-warn {
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  font-size: 13px; line-height: 1.6;
}
.gst-tip {
  background: #f0f7ff; border-left: 3px solid var(--color-primary);
}
.gst-tip-label {
  font-weight: 800; color: var(--color-primary); margin-right: 6px;
}
.gst-warn {
  background: #fff5f5; border-left: 3px solid #c0233b;
}
.gst-warn-label {
  font-weight: 800; color: #c0233b; margin-right: 6px;
}
@media (max-width: 768px) {
  .guide-step { padding: 18px 18px; }
  .gst-head h3 { font-size: 16px; }
  .gst-list { font-size: 13px; }
}

/* FAQ */
.guide-faq { display: flex; flex-direction: column; gap: 8px; }
.gfq {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 10px;
}
.gfq summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; padding-right: 48px;
}
.gfq summary::-webkit-details-marker { display: none; }
.gfq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 400;
  color: var(--color-text-soft); transition: transform .2s;
}
.gfq[open] summary::after { content: '−'; }
.gfq-body {
  padding: 0 20px 18px; border-top: 1px solid var(--color-border);
  padding-top: 14px;
}
.gfq-body p { margin: 0; line-height: 1.7; font-size: 14px; }

/* 비교 카드 (FAQ — 장기렌트 vs 리스 등) */
.cmp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 14px 0;
}
.cmp-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 10px; padding: 16px 18px;
}
.cmp-card h4 {
  margin: 0 0 10px; font-size: 15px; font-weight: 800;
  color: var(--color-primary); letter-spacing: -0.01em;
  padding-bottom: 8px; border-bottom: 2px solid var(--color-primary);
}
.cmp-card ul {
  margin: 0; padding-left: 18px;
  font-size: 13px; line-height: 1.7;
  display: flex; flex-direction: column; gap: 4px;
}
@media (max-width: 640px) {
  .cmp-grid { grid-template-columns: 1fr; }
}

/* 마무리 박스 */
.guide-summary {
  background: var(--color-bg-soft); border-radius: 14px;
  padding: 32px; text-align: center;
}
.guide-summary h2 {
  font-size: 22px; font-weight: 800; margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.guide-summary p {
  color: var(--color-text-soft); line-height: 1.8; max-width: 720px;
  margin: 0 auto 20px; font-size: 15px;
}
.guide-cta { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) {
  .guide-summary { padding: 24px 18px; }
  .guide-summary h2 { font-size: 18px; }
}

/* ============ 견적 신청 모달 (중앙 표시) ============ */
.inquiry-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.inquiry-modal[hidden] {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  animation: fadeIn 0.2s ease;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-container {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--color-border, #e0e3e9);
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text, #1a2236);
  letter-spacing: -0.02em;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-text-soft, #7f8c9a);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--color-bg-soft, #f6f7f9);
  color: var(--color-text, #1a2236);
}

.modal-car-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--color-bg-soft, #f6f7f9);
  border-bottom: 1px solid var(--color-border, #e0e3e9);
}

.modal-car-info[hidden] {
  display: none !important;
}

.modal-car-info img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
  flex-shrink: 0;
}

.modal-car-brand {
  font-size: 12px;
  color: var(--color-text-soft, #7f8c9a);
  margin-bottom: 2px;
}

.modal-car-model {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text, #1a2236);
}

.modal-car-clear {
  margin-left: auto;
  background: white;
  border: 1px solid var(--color-border, #e0e3e9);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft, #7f8c9a);
  transition: all 0.2s;
}

.modal-car-clear:hover {
  background: var(--color-bg-soft, #f6f7f9);
  border-color: var(--color-text-soft, #7f8c9a);
}

.modal-body {
  padding: 24px;
}

.modal-desc {
  margin: 0 0 20px;
  color: var(--color-text-soft, #7f8c9a);
  font-size: 14px;
  line-height: 1.6;
}

.modal-form .form-group {
  margin-bottom: 18px;
}

.modal-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text, #1a2236);
}

.modal-form .form-group .required {
  color: #dc3545;
}

/* 모달 내 차종 선택 탭 */
.modal-seg-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.modal-seg-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--color-border, #e0e3e9);
  background: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text-soft, #7f8c9a);
}

.modal-seg-btn.active {
  border-color: var(--color-primary, #0b2545);
  background: var(--color-primary, #0b2545);
  color: white;
}

.modal-seg-btn:hover:not(.active) {
  border-color: var(--color-primary, #0b2545);
  color: var(--color-primary, #0b2545);
}

.modal-car-mode-panel {
  margin-top: 12px;
}

/* 모달 내 차량 검색 */
.modal-car-search-wrap {
  position: relative;
}

.modal-car-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--color-border, #e0e3e9);
  border-radius: 8px;
  margin-top: 4px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-csr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid var(--color-border, #e0e3e9);
}

.modal-csr-item:last-child {
  border-bottom: none;
}

.modal-csr-item:hover {
  background: var(--color-bg-soft, #f6f7f9);
}

.modal-csr-img {
  width: 60px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 4px;
  overflow: hidden;
}

.modal-csr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-csr-text {
  flex: 1;
  min-width: 0;
}

.modal-csr-brand {
  font-size: 11px;
  color: var(--color-text-soft, #7f8c9a);
  margin-bottom: 2px;
}

.modal-csr-model {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #1a2236);
}

.modal-csr-empty {
  padding: 20px;
  text-align: center;
  color: var(--color-text-soft, #7f8c9a);
  font-size: 14px;
}

/* 모달 내 선택된 차량 카드 (inquiry 페이지와 동일) */
.modal-car-picked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-primary, #0b2545);
  border-radius: 10px;
  background: rgba(11, 37, 69, 0.04);
  margin-top: 12px;
}

.modal-cp-img {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-cp-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-cp-text {
  flex: 1;
  min-width: 0;
}

.modal-cp-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary, #0b2545);
  margin-bottom: 2px;
}

.modal-cp-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text, #1a2236);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-cp-clear {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  color: var(--color-text-soft, #7f8c9a);
  padding: 4px 8px;
  font-family: inherit;
  line-height: 1;
  transition: color 0.2s;
}

.modal-cp-clear:hover {
  color: var(--color-text, #1a2236);
}

.modal-form .form-group input,
.modal-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border, #e0e3e9);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary, #0b2545);
}

.modal-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-consent {
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--color-bg-soft, #f6f7f9);
  border-radius: 8px;
}

.modal-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.modal-consent input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  cursor: pointer;
}

.modal-consent span {
  font-size: 13px;
  color: var(--color-text, #1a2236);
  line-height: 1.5;
}

.modal-form .btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-primary, #0b2545), #1a4275);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}

.modal-form .btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a4275, var(--color-primary, #0b2545));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.3);
}

.modal-form .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-form .form-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--color-text-soft, #7f8c9a);
  line-height: 1.6;
  text-align: center;
}

/* 모바일 최적화 */
@media (max-width: 640px) {
  .inquiry-modal {
    padding: 10px;
  }
  
  .modal-container {
    border-radius: 12px;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 16px 20px 12px;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-car-info {
    padding: 16px 20px;
  }

  .modal-car-info img {
    width: 70px;
    height: 70px;
  }
}
