/* BK모터스 홈페이지 스타일 v3 — 네이비 + 블루 + 주황 포인트. 색·모서리는 토큰으로만 쓴다.
   구성: 상단 고정 머리글 / 슬라이드 첫 화면 + 스마트 검색 / 차량 탭 / 구매 절차 / 후기 롤링 / 상담 배너 / 우측 퀵메뉴 */
:root {
  color-scheme: light;
  --navy: #0b2347;
  --navy-2: #071a38;
  --navy-3: #12305f;
  --blue: #1d5df0;
  --blue-dark: #1448c4;
  --blue-soft: #eaf1ff;
  --orange: #ff8a1f;
  --orange-dark: #e8740a;
  --kakao: #fee500;
  --ink: #16202e;
  --ink-2: #2e3a4d;
  --muted: #5b6678;
  --line: #e1e7f0;
  --surface: #f4f7fb;
  --white: #ffffff;
  --gray-badge-bg: #e7ebf2;
  --amber: #6a4b00;
  --amber-bg: #fff3d6;
  --r-card: 16px;
  --r-photo: 12px;
  --r-in: 10px;
  --pill: 999px;
  --shadow: 0 2px 6px rgba(11, 35, 71, .05), 0 10px 28px rgba(11, 35, 71, .08);
  --wrap: 1200px;
  --font: "Pretendard Variable", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--white); word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.3; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.nb { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-in); z-index: 200; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 머리글 ---------- */
:root { --lm-bg: var(--navy); --lm-ink: #fff; }
.logo-mark { display: block; flex: none; }
.logo-mark .lm-bg { fill: var(--lm-bg); }
.logo-mark .lm-ink { stroke: var(--lm-ink); }
.logo-mark .lm-swoosh { stroke: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { background: var(--navy-2); border-bottom-color: transparent; box-shadow: 0 6px 20px rgba(7, 26, 56, .25); --lm-bg: #fff; --lm-ink: var(--navy); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.site-header.is-scrolled .brand { color: #fff; }
.site-header.is-scrolled .brand__text small { color: #b8c6de; }
.nav { display: none; }
.nav a { display: inline-block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 600; border-radius: var(--r-in); }
.nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav a[aria-current="page"] { color: var(--blue-dark); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.site-header.is-scrolled .nav a { color: #e8eefb; }
.site-header.is-scrolled .nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-header.is-scrolled .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
.bar__r { display: flex; align-items: center; gap: 8px; }
.site-header .header-cta { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--blue-soft); }
.menu__panel { position: absolute; right: 0; top: 56px; width: min(300px, 86vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu__panel a { padding: 13px 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--r-in); }
.menu__panel a:hover { background: var(--surface); }
.menu__panel a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
@media (min-width: 1040px) {
  .nav { display: flex; gap: 2px; }
  .menu { display: none; }
  .site-header .header-cta { display: inline-flex; }
}

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: var(--r-in); border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, filter .2s; touch-action: manipulation; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn svg { flex: none; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--accent { background: var(--orange); color: #2a1500; }
.btn--accent:hover { background: var(--orange-dark); color: #2a1500; }
.btn--lime, .btn--kakao { background: var(--kakao); color: #2b2100; }
.btn--lime:hover, .btn--kakao:hover { filter: brightness(.95); color: #2b2100; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); color: var(--navy); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.pill:hover { border-color: var(--blue); color: var(--blue-dark); text-decoration: none; }

/* ---------- 첫 화면: 슬라이드 ---------- */
.hero { position: relative; background: linear-gradient(120deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%); color: #fff; overflow: hidden; padding-bottom: 96px; }
.hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 93, 240, .45), transparent 68%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -80px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 31, .22), transparent 70%); pointer-events: none; }
.hero__slides { position: relative; display: grid; z-index: 1; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero__grid { display: grid; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 8px; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.hero h1, .hero__title { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 800; line-height: 1.28; margin: 0 0 .5em; letter-spacing: -.03em; text-wrap: balance; }
.hero__title em, .hero h1 em { font-style: normal; color: #ffb766; }
.hero__phrase { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; color: #ffd9a8; }
.hero__lead { font-size: 1.08rem; color: #d3def2; max-width: 33em; }
.hero__lead strong { color: #fff; }
.hero .ph { border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hero .ph--empty { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #dbe6ff; }
.hero .ph--empty .ph__box svg { color: #b8c9ea; }
.hero .ph__spec { color: #b8c9ea; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 5px 14px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .28); font-size: .88rem; color: #e8eefb; }
.hero__ctrl { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.hero__dot { width: 12px; height: 12px; padding: 0; border-radius: var(--pill); border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .25s, background-color .25s; }
.hero__dot[aria-current="true"] { width: 34px; background: var(--orange); }
.hero__pause { margin-left: 6px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; font-size: .7rem; }
.hero__pause:hover { background: rgba(255, 255, 255, .15); }
@media (min-width: 900px) {
  .hero { padding-bottom: 120px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 64px; }
}

/* ---------- 스마트 검색 (첫 화면 아래에 걸침) ---------- */
.smart-wrap { position: relative; z-index: 5; margin-top: -72px; padding-bottom: 8px; }
.smart { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 22px 24px; display: grid; gap: 16px; }
.smart__head h2 { font-size: 1.35rem; margin: 0 0 2px; color: var(--blue-dark); }
.smart__head p { margin: 0; color: var(--muted); font-size: .95rem; }
.smart__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.smart__field { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.smart select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 50px; padding: 8px 40px 8px 14px; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.smart select:focus-visible { outline-offset: 1px; }
.smart__go { grid-column: 1 / -1; width: 100%; }
@media (min-width: 900px) {
  .smart { grid-template-columns: 230px 1fr; gap: 36px; align-items: center; padding: 26px 32px; }
  .smart__grid { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
  .smart__go { grid-column: auto; width: auto; min-width: 140px; min-height: 50px; }
}

.page-head { padding: 28px 0 22px; background: linear-gradient(180deg, var(--surface), var(--white)); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: var(--muted); max-width: 44em; margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa6ba; }
.crumbs a { color: var(--ink-2); }

/* ---------- 구역 ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--surface); }
.section__head { margin-bottom: 30px; max-width: 46em; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; max-width: none; }
.section__head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; text-transform: uppercase; }
.accent { color: var(--blue); }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--cars { grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--photo-left > :first-child { order: -1; } }
.more { margin-top: 28px; }
.link-more { font-weight: 700; color: var(--blue-dark); text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- 카드 ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card > .ph { border-radius: 0; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card--link { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { margin-bottom: .3em; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); }

.badge { display: inline-block; align-self: flex-start; padding: 2px 11px; border-radius: 6px; font-size: .78rem; font-weight: 700; background: var(--blue-soft); color: var(--blue-dark); white-space: nowrap; }
.badge--sold { background: var(--gray-badge-bg); color: #3b4658; }
.badge--example { background: var(--amber-bg); color: var(--amber); }
.car-meta { color: var(--muted); font-size: .95rem; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price small { font-size: .85rem; font-weight: 500; color: var(--muted); }

/* ---------- 차량 탭 (홈) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { min-height: 44px; padding: 8px 20px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font: inherit; font-weight: 700; font-size: .98rem; color: var(--ink-2); cursor: pointer; }
.tab:hover { border-color: var(--blue); color: var(--blue-dark); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.js .tabpanel[hidden] { display: none; }

/* ---------- 차량 카드 (목록 · 홈) ---------- */
.vcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcard .ph { border-radius: var(--r-photo); }
.vcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 2px 6px 0; }
.vcard__top h3 { margin: 0; font-size: 1.05rem; }
.vcard__top h3 a { text-decoration: none; color: var(--ink); }
.vcard__top h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.vcard__sub { margin: -6px 6px 0; color: var(--muted); font-size: .92rem; }
.vcard__acts { display: flex; gap: 8px; padding: 0 6px; position: relative; z-index: 2; flex-wrap: wrap; }
.vcard__acts .pill { min-height: 36px; font-size: .85rem; padding: 4px 12px; }
.specstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface); border-radius: var(--r-in); padding: 10px 6px; }
.specstrip div { display: grid; justify-items: center; gap: 2px; font-size: .8rem; color: var(--ink-2); text-align: center; line-height: 1.35; }
.specstrip svg { color: var(--blue); }
.vcard__price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 8px; }
.vcard__price small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.vcard__price strong, .vcard__price span { display: block; }
.vcard__price strong { font-size: 1.28rem; line-height: 1.4; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.vcard__price > div:first-child strong { color: var(--blue-dark); }
.vcard__price span { font-size: .8rem; color: var(--muted); }
.vcard__where { border-top: 1px solid var(--line); padding: 10px 8px 2px; display: grid; gap: 4px; font-size: .85rem; color: var(--ink-2); }
.vcard__where span { display: flex; align-items: center; gap: 8px; }
.vcard__where svg { flex: none; color: var(--muted); }

/* ---------- 목록 화면: 필터 + 카드 ---------- */
.listing { display: grid; gap: 24px; padding: 28px 0 64px; }
@media (min-width: 960px) { .js .listing { grid-template-columns: 290px 1fr; gap: 32px; align-items: start; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 20px; }
.toolbar__count { font-size: 1.2rem; margin-right: auto; margin-bottom: 0; }
.toolbar__count b { font-weight: 800; color: var(--blue-dark); }
.selectpill { appearance: none; -webkit-appearance: none; min-height: 48px; padding: 6px 44px 6px 18px; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 20px no-repeat; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }
.fixedpill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 18px; border-radius: var(--r-in); border: 1px solid var(--line); font-size: .95rem; background: var(--surface); }
.js-only { display: none; }
.js .js-only { display: inline-block; }
.filters { display: none; }
.js .filters { display: block; }
.filters__toggle { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 6px 20px; border: 1px solid var(--line); border-radius: var(--r-in); font-weight: 700; background: var(--white); }
.filters__toggle::-webkit-details-marker { display: none; }
@media (min-width: 960px) { .filters__toggle { display: none; } }
.filters__body { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 960px) { .filters__body { margin-top: 0; } }
.facet { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.facet > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 8px 20px; font-weight: 700; }
.facet > summary::-webkit-details-marker { display: none; }
.facet > summary::after { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.facet[open] > summary::after { transform: rotate(180deg); }
.facet[open] { background: var(--surface); }
.facet__opts { padding: 0 14px 14px; display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: .95rem; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); font-weight: 700; color: var(--blue-dark); }
.opt input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.matchbox { background: var(--blue-soft); border-radius: var(--r-card); padding: 16px 20px; text-align: center; }
.matchbox small { display: block; color: var(--muted); font-size: .85rem; }
.matchbox strong { font-size: 1.6rem; letter-spacing: -.01em; color: var(--blue-dark); }
.linkbtn { background: none; border: 0; font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; color: var(--ink); padding: 8px; min-height: 40px; }

/* ---------- 사진 자리 ---------- */
.ph { margin: 0; width: 100%; aspect-ratio: var(--r, 4 / 3); border-radius: var(--r-photo); overflow: hidden; background: var(--surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--empty { border: 1.5px dashed #9fb0c8; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 14px; color: var(--ink-2); }
.ph__box { display: grid; gap: 4px; justify-items: center; max-width: 26em; }
.ph__box svg { color: #6b7a92; }
.ph__id { font-weight: 700; font-size: .95rem; }
.ph__title { font-size: .9rem; line-height: 1.45; }
.ph__spec { font-size: .8rem; color: var(--muted); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery .ph:first-child { grid-column: 1 / -1; --r: 16 / 9; }
.cap { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* ---------- 체크포인트 · 구매 절차 ---------- */
.checkpoint { margin: 22px 0 0; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.checkpoint__label { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--navy); padding: 2px 10px; border-radius: 6px; margin: 0 0 12px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step { margin: 0; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 22px 22px 22px; display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; align-items: start; }
.step__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; grid-row: span 2; }
.step__no { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--orange-dark); }
.step h3 { margin: 0; font-size: 1.08rem; }
.step p { grid-column: 2; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- 후기 롤링 ---------- */
.reviews { background: linear-gradient(180deg, var(--surface), #eaf0fa); padding: 64px 0 60px; overflow: hidden; }
.reviews__head { text-align: center; margin-bottom: 32px; }
.reviews__head h2 { margin-bottom: .3em; }
.reviews__head p { color: var(--muted); margin: 0; }
.marquee { display: grid; gap: 16px; }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee-left 46s linear infinite; }
.marquee__row--right .marquee__track { animation-name: marquee-right; animation-duration: 52s; }
.marquee__row:hover .marquee__track, .marquee__row:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; gap: 16px; padding-right: 16px; flex: none; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rv { flex: none; width: 380px; max-width: 84vw; display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--r-card); padding: 16px 18px; box-shadow: 0 4px 18px rgba(11, 35, 71, .07); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.rv:hover { box-shadow: 0 10px 26px rgba(29, 93, 240, .16); transform: translateY(-2px); text-decoration: none; }
.rv__thumb { flex: none; width: 72px; height: 72px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; overflow: hidden; }
.rv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv__body { min-width: 0; }
.rv__quote { margin: 0 0 6px; font-weight: 700; font-size: 1rem; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv__meta { margin: 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.rv__stars { color: var(--orange); letter-spacing: 1px; }
.reviews__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-top: 28px; }
.marquee-toggle { min-height: 40px; padding: 6px 16px; border-radius: var(--pill); border: 1px solid #b9c6dc; background: var(--white); font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.marquee-toggle:hover { border-color: var(--blue); color: var(--blue-dark); }
.reviews .grid { align-items: stretch; }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .marquee-toggle { display: none; }
}

/* ---------- 요약·메모 ---------- */
.answer { background: var(--blue-soft); border-radius: var(--r-card); padding: 18px 22px; margin: 0 0 28px; border-left: 5px solid var(--blue); }
.answer strong.label { display: inline-block; font-size: .78rem; background: var(--blue); color: #fff; padding: 1px 10px; border-radius: 6px; margin-bottom: 8px; }
.answer p:last-child { margin-bottom: 0; }
.memo { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 14px 20px; margin: 0 0 28px; font-size: .92rem; color: var(--muted); }
.memo summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.memo ul { margin: 10px 0 0; }
.notice { background: var(--amber-bg); color: var(--amber); border-radius: var(--r-in); padding: 12px 18px; margin: 0 0 24px; font-size: .95rem; }
.empty { border: 1.5px dashed #b9c6dc; border-radius: var(--r-card); padding: 36px 24px; text-align: center; color: var(--muted); background: var(--surface); }
.empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }

.specs { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 34%; background: var(--surface); font-weight: 600; color: var(--muted); }
.specs td { font-weight: 500; }
.opts { width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: .9rem; line-height: 1.55; }
.opts th, .opts td { text-align: left; padding: 8px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.opts tr:last-child th, .opts tr:last-child td { border-bottom: 0; }
.opts th { width: 6.5em; background: var(--surface); font-weight: 600; color: var(--muted); white-space: nowrap; }
.opts td span { display: inline-block; white-space: nowrap; }
.opts td span { margin-right: 0; }
.opts td span:not(:last-child)::after { content: "·"; margin: 0 7px; color: #b9c6dc; }
@media (max-width: 639px) {
  .opts { font-size: .86rem; }
  .opts tr, .opts th, .opts td { display: block; width: auto; }
  .opts th { padding: 5px 12px; border-bottom: 0; font-size: .78rem; }
  .opts td { padding: 6px 12px 9px; }
  .opts td span { white-space: normal; }
  .opts td span:not(:last-child)::after { margin: 0 5px; }
  .opts tr { border-bottom: 1px solid var(--line); }
  .opts tr:last-child { border-bottom: 0; }
}
.opts .opts__extra th { background: #fff3e4; color: var(--orange-dark); }
.opts .opts__extra td { background: #fffaf3; font-weight: 600; }
.opts .opts__extra em { font-style: normal; color: var(--orange-dark); }
/* 사고·차량 이력 한눈에 (엔카 성능점검기록부 그림 모양) */
.hx2 { display: grid; gap: 14px; }
.hx2-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.hx2-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-left: auto; font-size: .86rem; color: #444; }
.hx2-legend span { display: inline-flex; align-items: center; gap: 5px; }
.hx2-dot { display: inline-block; width: 20px; height: 20px; border-radius: 50%; color: #fff; font: 700 11px/20px var(--font); font-style: normal; text-align: center; flex: none; }
.hx2-dot--X { background: #ff2525; } .hx2-dot--W { background: #659ede; } .hx2-dot--C { background: #e79029; }
.hx2-dot--A { background: #7188a0; } .hx2-dot--U { background: #737761; } .hx2-dot--T { background: #a58174; }
.hx2-board { border-top: 3px solid #c5c5c5; border-bottom: 1px solid #d9d9d9; background: #fff; }
.hx2-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hx2-col { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }
.hx2-title { background: #f5f5f5; text-align: center; font-weight: 700; padding: 12px; border-bottom: 1px solid #d9d9d9; }
.hx2-col + .hx2-col .hx2-title { border-top: 1px solid #d9d9d9; }
.hx2-fig { padding: 6px 10px 0; }
.hx2-svg { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.hx2-rows { border-top: 1px solid #d9d9d9; padding: 16px 20px 18px; display: grid; gap: 14px; align-content: start; min-height: 150px; }
.hx2-row { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 6px; align-items: start; }
.hx2-row small { color: #999; font-size: .95rem; font-weight: 700; line-height: 28px; }
.hx2-item { display: flex; align-items: center; gap: 16px; min-height: 28px; }
.hx2-item b { font-weight: 500; font-size: .95rem; }
.hx2-dots { display: inline-flex; gap: 4px; }
@media (min-width: 720px) {
  .hx2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @supports (grid-template-rows: subgrid) { .hx2-grid { grid-template-rows: auto 1fr auto; } .hx2-col { grid-row: span 3; grid-template-rows: subgrid; } }
  .hx2-col + .hx2-col { border-left: 1px solid #d9d9d9; }
  .hx2-col + .hx2-col .hx2-title { border-top: 0; }
}
.hx2-svg .hx2-dir { font: 500 13px var(--font); fill: #222; text-anchor: middle; }
.hx2-svg .hx2-bd { fill: #fff; stroke: #4a4a4a; stroke-width: 1.2; stroke-linejoin: round; }
.hx2-svg .hx2-door { fill: #fff; stroke: #6a6a6a; stroke-width: .9; }
.hx2-svg .hx2-th { fill: none; stroke: #777; stroke-width: .8; stroke-linecap: round; }
.hx2-svg .hx2-th2 { fill: #fff; stroke: #6a6a6a; stroke-width: .9; stroke-linejoin: round; }
.hx2-svg .hx2-gl { fill: #dcdedf; stroke: #6a6a6a; stroke-width: .8; stroke-linejoin: round; }
.hx2-svg .hx2-hd { fill: #fff; stroke: #666; stroke-width: .8; }
.hx2-svg .hx2-tire { fill: #fff; stroke: #3a3a3a; stroke-width: 2.2; }
.hx2-svg .hx2-rim { fill: #f4f4f4; stroke: #666; stroke-width: 1; }
.hx2-svg .hx2-sp { stroke: #666; stroke-width: 1.1; stroke-linecap: round; }
.hx2-svg .hx2-hub { fill: #555; }
.hx2-svg .hx2-sk-bd { fill: #fbfbfb; stroke: #b3b3b3; stroke-width: 1.1; }
.hx2-svg .hx2-sk { fill: #fff; stroke: #a9a9a9; stroke-width: 1; }
.hx2-mk circle { stroke: #fff; stroke-width: 1.4; }
.hx2-mk--X circle { fill: #ff2525; } .hx2-mk--W circle { fill: #659ede; } .hx2-mk--C circle { fill: #e79029; }
.hx2-mk--A circle { fill: #7188a0; } .hx2-mk--U circle { fill: #737761; } .hx2-mk--T circle { fill: #a58174; }
.hx2-mk text { font: 700 11px var(--font); fill: #fff; text-anchor: middle; }
.hx-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-badge { padding: 5px 12px; border-radius: var(--pill); font-weight: 700; font-size: .9rem; }
.hx-badge--ok { background: var(--blue-soft); color: var(--blue-dark); }
.hx-badge--warn { background: #e4f0fc; color: #1f5fa8; }
.hx-badge--bad { background: #fde8e8; color: #b42318; }
.hx-tiles { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-tile { background: var(--surface); border-radius: var(--r-in); padding: 10px 14px; display: grid; gap: 3px; align-content: start; }
.hx-tile span { font-size: .8rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.hx-tile strong { font-size: 1.05rem; letter-spacing: -.01em; }
.hx-tile--ok strong { color: var(--blue-dark); }
.hx-tile--warn strong { color: #c25e00; }
.hx-tile--na strong { color: var(--muted); }
.hx-extra { margin: 0; font-weight: 700; color: #b42318; font-size: .92rem; }
@media (max-width: 559px) { .hx-tiles { grid-template-columns: 1fr; } .hx-tile { grid-template-columns: 1fr auto; align-items: center; } }
.pricebox { background: var(--blue-soft); border-radius: var(--r-card); padding: 16px 22px; margin: 0 0 16px; }
.pricebox small { display: block; color: var(--muted); font-size: .85rem; }
.pricebox strong { font-size: 2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--blue-dark); }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--no li::before { background-color: #8b97aa; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* ---------- 글(관리 팁) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 24px 20px 56px; }
.article h2 { margin-top: 1.8em; }
.article h2 + figure.ph { margin: 4px 0 18px; }
.article .byline { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.article table { margin: 0 0 1.4em; font-size: .97rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.article th, .article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article thead th { background: var(--surface); }
.dealer-note { background: var(--navy); color: var(--white); border-radius: var(--r-card); padding: 24px 28px; margin: 32px 0; }
.dealer-note h2, .dealer-note h3 { color: var(--white); margin-top: 0; font-size: 1.1rem; }
.dealer-note p:last-child { margin-bottom: 0; }

/* ---------- 자주 묻는 질문 ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); margin-bottom: 10px; }
.faq details[open] { background: var(--blue-soft); border-color: #c8d9fb; }
.faq summary { cursor: pointer; padding: 16px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 52px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; flex: none; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 22px 18px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- 상담 배너 ---------- */
.contact-wrap { padding: 0; margin-top: 0; }
.contact-wrap > .wrap { max-width: none; padding: 0; }
.contact-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-2), var(--navy) 60%, var(--navy-3)); color: var(--white); padding: 56px max(20px, calc((100% - var(--wrap)) / 2 + 20px)); border-radius: 0; }
.contact-band::before { content: ""; position: absolute; right: -140px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 93, 240, .5), transparent 70%); pointer-events: none; }
.contact-band > * { position: relative; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: #d3def2; }
.contact-band__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-band { padding-top: 64px; padding-bottom: 64px; } .contact-band__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { margin: 0; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.info-list svg { margin-top: 3px; }
.info-list small { display: block; font-size: .82rem; opacity: .78; }
.info-list a { color: inherit; font-weight: 700; }
.contact-band .info-list { color: var(--white); margin-top: 26px; }
.contact-band .btn-row { margin-top: 6px; }
.copy { background: transparent; border: 1px solid currentColor; color: inherit; border-radius: var(--pill); font: inherit; font-size: .85rem; padding: 4px 12px; margin-left: 8px; cursor: pointer; min-height: 32px; }
.feature .info-list { color: var(--ink); }
.visit-contact { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 28px; }
.visit-contact .info-list { color: #fff; }

/* 문의 문구 만들기 카드 */
.compose { background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px 24px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.compose h3 { font-size: 1.2rem; margin-bottom: 4px; }
.compose > p { color: var(--muted) !important; font-size: .92rem; margin-bottom: 16px; }
.compose label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.compose input[type="text"], .compose select { width: 100%; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-in); background: var(--surface); font: inherit; font-size: 1rem; color: var(--ink); }
.compose input:focus-visible, .compose select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.compose__preview { background: var(--surface); border: 1px dashed #b9c6dc; border-radius: var(--r-in); padding: 12px 14px; font-size: .92rem; color: var(--ink-2); white-space: pre-line; margin: 0 0 14px; line-height: 1.6; }
.compose__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compose__note { font-size: .82rem !important; color: var(--muted) !important; margin: 12px 0 0 !important; }

/* ---------- 바닥글 ---------- */
.site-footer { background: var(--navy-2); color: #aebbd2; padding: 52px 0 34px; font-size: .95rem; --lm-bg: #fff; --lm-ink: var(--navy); }
.site-footer a { color: #dbe6fb; }
.site-footer h2 { font-size: .95rem; margin-bottom: .7em; color: #fff; letter-spacing: 0; }
.footer__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-bottom: 16px; }
.footer__brand .logo-mark { width: 44px; height: 44px; }
.footer__brand strong { font-size: 1.25rem; font-weight: 800; display: block; line-height: 1.15; }
.footer__brand small { color: #aebbd2; font-size: .78rem; }
.footer__tel { display: inline-block; margin: 4px 0 8px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: #fff !important; text-decoration: none; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .5em; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; font-size: .84rem; color: #8d9bb5; }

/* ---------- 우측 퀵메뉴 ---------- */
.rq { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 70; display: none; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.rq__panel, .rq__top { pointer-events: auto; }
.rq__panel { width: 64px; background: var(--white); border-radius: 18px; box-shadow: 0 8px 30px rgba(11, 35, 71, .18); border: 1px solid var(--line); overflow: hidden; }
.rq__title { margin: 0; padding: 10px 0 8px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-align: center; color: #fff; background: var(--navy); }
.rq__list { list-style: none; margin: 0; padding: 0; }
.rq__list li { margin: 0; border-top: 1px solid var(--line); }
.rq__list li:first-child { border-top: 0; }
.rq__link { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px 9px; background: none; border: 0; font: inherit; font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ink-2); text-decoration: none; cursor: pointer; text-align: center; word-break: keep-all; }
.rq__link:hover { background: var(--blue-soft); color: var(--blue-dark); text-decoration: none; }
.rq__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.rq__ico--phone { background: var(--blue); color: #fff; }
.rq__ico--kakao { background: var(--kakao); color: #2b2100; }
.rq__ico--map { background: #e4f6ea; color: #14803c; }
.rq__ico--blog { background: #e0f7e8; color: #0a8f3d; }
.rq__ico--insta { background: #fde7ef; color: #c2185b; }
.rq__ico--yt { background: #ffe5e5; color: #d62020; }
.rq__top { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(11, 35, 71, .3); transition: background-color .2s, opacity .25s, transform .25s; }
.rq__top:hover { background: var(--blue); }
.rq__top[data-hide="true"] { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (min-width: 860px) { .rq { display: flex; } }
/* 중간 화면에서는 퀵메뉴가 본문을 가리지 않도록 본문 오른쪽을 비워 둔다(머리글 제외) */
@media (min-width: 860px) and (max-width: 1371px) {
  .wrap { padding-right: 88px; }
  .site-header .wrap { padding-right: 20px; }
}
@media (min-width: 1560px) {
  .rq { right: 24px; }
  .rq__panel { width: 140px; }
  .rq__title { font-size: .78rem; padding: 12px 0 10px; }
  .rq__link { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px 14px; font-size: .86rem; text-align: left; }
  .rq__ico { width: 34px; height: 34px; }
}

/* ---------- 모바일 하단 연락 바 ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.quickbar .btn { min-height: 48px; padding: 6px 8px; font-size: .92rem; gap: 6px; }
.quickbar .btn--ghost { border-color: var(--line); }
body { padding-bottom: 76px; }
@media (min-width: 860px) { .quickbar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print { .site-header, .quickbar, .menu, .rq { display: none; } }

/* 업체 소개: 확인 가능한 근거 */
.proof { margin: 8px 0 36px; }
.proof__head { display: grid; gap: 14px; margin-bottom: 24px; align-items: start; }
.proof__head h3 { font-size: clamp(1.4rem, 4.6vw, 1.75rem); line-height: 1.35; color: var(--navy); margin: 0; }
.proof__head p { margin: 0; color: #3a4658; line-height: 1.85; }
@media (min-width: 760px) { .proof__head { grid-template-columns: 1fr 1.15fr; gap: 40px; } }
.proof__grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .proof__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.proof__card { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.proof__icon { flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.proof__card h4 { margin: 0 0 6px; font-size: 1.08rem; }
.proof__card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
@media (max-width: 420px) { .proof__card { gap: 14px; padding: 18px; } .proof__icon { width: 64px; height: 64px; } .proof__icon svg { width: 32px; height: 32px; } }

/* 업체 소개 페이지: 칸 사이 간격, 화면에는 안 보이는 제목 */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page-head--slim { padding-bottom: 0; }
.about-page > * + h2 { margin-top: 64px; margin-bottom: 18px; }
.about-page .proof { margin: 0 0 56px; }
.about-page .answer { margin: 0; }
.about-page .gallery { margin-top: 28px; margin-bottom: 0 !important; }
.about-page .checks li + li { margin-top: 8px; }
.about-page .specs { margin-bottom: 0; }
@media (max-width: 600px) { .about-page > * + h2 { margin-top: 48px; } .about-page .proof { margin-bottom: 40px; } }
.gallery--pair { grid-template-columns: repeat(2, 1fr) !important; }
.gallery--pair .ph:first-child { grid-column: auto; --r: 4 / 3; }

/* ---------- 구매 후기 카드 ---------- */
.rvc { scroll-margin-top: 96px; }
.rvc > .ph { border-radius: 0; }
.rvc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__body p.rvc__quote { color: var(--ink); font-size: 1.1rem; font-weight: 800; line-height: 1.5; margin: 0; }
.card__body p.rvc__quote::before { content: "\201C"; color: var(--blue); margin-right: 2px; }
.card__body p.rvc__quote::after { content: "\201D"; color: var(--blue); margin-left: 2px; }
.rvc__a { color: inherit; text-decoration: none; }
.rvc__a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rvc__a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.card__body p.rvc__ok { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .9rem; font-weight: 700; color: var(--blue-dark); }
.rvc__more { margin-left: auto; color: var(--blue-dark); }
.rvc__qa { margin: 4px 0 2px; display: grid; gap: 10px; }
.rvc__qa dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.rvc__qa dd { margin: 2px 0 0; color: var(--ink); }

/* ---------- 구매 후기 상세 ---------- */
.rvd__fig { margin: 24px 0; }
.rvd__fig .cap { margin-top: 8px; }
.rvd__gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rvd__gallery { grid-template-columns: repeat(2, 1fr); } .rvd__gallery .rvd__fig { margin: 0; } }
.rvd__qa { background: var(--surface); border-radius: var(--r-card); padding: 18px 22px; gap: 14px; }
.article .grid--cars { margin-bottom: 24px; }

/* 차량 사진 크게 보기 (차량 상세 페이지) */
.js .split .ph img, .js .gallery .ph img { cursor: zoom-in; }
.lb[hidden] { display: none; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 14, 28, .94); display: flex; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top)) 12px calc(20px + env(safe-area-inset-bottom)); }
.lb__fig { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 10px; background: #111; }
.lb__cap { color: #e8edf7; font-size: .9rem; text-align: center; line-height: 1.5; max-width: 70ch; }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 999px; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; padding: 0 0 4px; }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .26); }
.lb__close { top: calc(8px + env(safe-area-inset-top)); right: 12px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 10px; }
.lb__next { right: 10px; }
@media (max-width: 640px) { .lb__nav { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; } .lb__img { max-height: calc(100dvh - 190px); } }
@media (prefers-reduced-motion: no-preference) { .lb:not([hidden]) { animation: lbin .15s ease-out; } @keyframes lbin { from { opacity: 0; } to { opacity: 1; } } }
.js a.rec { cursor: zoom-in; }
.lb__img { cursor: zoom-in; }
.lb--zoom .lb__img { cursor: zoom-out; max-width: none; max-height: none; border-radius: 0; }
.lb--zoom .lb__fig { width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow: auto; align-items: flex-start; }
@media (max-width: 640px) { .lb--zoom .lb__fig { max-height: calc(100dvh - 170px); } }
