/* 제이트럭2 — 아이트럭 시스템 (빨강 #da2028 · 검정 #111) */
:root {
  --bg: #ffffff; --soft: #f6f6f6; --surface: #ffffff; --ink: #111111; --muted: #666666; --line: #e5e5e5;
  --navy: #111111; --navy-ink: #f2f2f2;
  --teal: #e10009; --teal-btn: #e10009; --teal-dark: #b50007; --teal-pale: #fdecec;
  --yellow: var(--teal-btn); --yellow-ink: #ffffff; --red: #e10009; --on-main: #ffffff;
  --blue: #2563eb; --blue-pale: #e8f0fe;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.08);
  --f: "Noto Sans KR", "Noto Sans CJK KR", "SamsungOneKorean", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1160px; color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body { margin: 0; font: 400 16px/1.55 var(--f); color: var(--ink); background: var(--bg); word-break: keep-all; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-s { }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal-btn); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 0; font: 700 1rem var(--f); text-decoration: none; cursor: pointer; }
.btn-w { background: #fff; color: var(--navy); }
.btn-main { background: var(--red); color: #fff; }
.btn-main:hover { background: var(--teal-dark); }
.btn-navy { background: #5b21b6; color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }

/* ── 맨 위 알림 띠 ── */
.topbar { background: var(--red); color: #fff; font-size: .95rem; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; position: relative; }
.topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar-x { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
.topbar[hidden] { display: none; }

/* ── 머리 ── */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { display: block; height: 36px; width: auto; }
.gnb { display: flex; gap: 8px; margin-left: auto; margin-right: auto; }
.gnb a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-weight: 700; font-size: 1.02rem; text-decoration: none; color: var(--ink); border-radius: 8px; }
.gnb a:hover { background: var(--soft); }
.gnb a[aria-current="page"] { color: var(--red); }
.gnb-tag { position: absolute; top: -8px; left: 50%; translate: -50% 0; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.hd-call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; background: #fff; color: var(--ink); border: 1px solid var(--ink); font-weight: 700; text-decoration: none; }
.hd-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; margin-left: auto; }
.hd-menu span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav a { padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.mnav-tel { display: flex; align-items: center; gap: 8px; color: var(--red); }

/* ── 매물 카드 ── */
.card { background: var(--surface); border: 0; border-radius: 8px; overflow: hidden; }
.card:hover .card-title { text-decoration: underline; }
.card-link { display: block; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 272 / 210; background: var(--soft); border-radius: 8px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.badge-real { background: var(--red); color: #fff; }
.badge-direct { background: #fff7e6; color: #b45309; border: 1px solid #fbbf24; }
.badge-perf { background: #fff; color: var(--red); border: 1px solid var(--red); }
.badge-comp { left: 10px; top: auto; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; }
.badge-pic { left: auto; right: 10px; top: auto; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; }
.card-body { padding: 12px 2px 6px; }
.card-title { font-size: 16px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 4px; font-size: 14px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--ink); }
.card-price strong { font-size: 20px; }
.card[hidden] { display: none; }

/* ── 차종 격자 ── */
.types { margin-top: 56px; scroll-margin-top: 90px; }
.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.type-tile { display: grid; justify-items: center; gap: 4px; padding: 12px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; text-align: center; }
.type-tile img { width: 100%; max-width: 150px; height: auto; }
.type-tile b { font-size: .95rem; }
.type-tile span { font-size: .82rem; color: var(--red); font-weight: 700; }
.type-tile.is-empty span { color: var(--muted); font-weight: 400; }
.type-tile:hover { border-color: var(--teal); box-shadow: var(--shadow); }

/* ── 내 차 팔기 띠 ── */
.sellband { margin-top: 64px; background: #111; color: #fff; }
.sellband-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.sellband h2 { font-size: 1.6rem; font-weight: 900; }
.sellband p { margin-top: 6px; opacity: .9; }
.sellband-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sellband-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 1.2rem; text-decoration: none; }

/* ── 바닥 ── */
.ft { margin-top: 0; background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: .9rem; color: var(--muted); }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.ft-logo { height: 30px; width: auto; }
.ft-phone { margin-top: 10px; font-size: 1.5rem; font-weight: 900; color: var(--ink); }
.ft-phone a { text-decoration: none; }
.ft-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-links a { text-decoration: none; font-weight: 700; color: var(--ink); }
.ft-biz { margin-top: 24px; display: grid; gap: 6px; }
.ft-biz div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; }
.ft-biz dt { opacity: .7; }
.ft-biz dd { margin: 0; }
.ft-copy { margin-top: 20px; font-size: .8rem; opacity: .7; }

/* ── 떠 있는 전화 버튼 / 휴대폰 아래 바 ── */
.fab-call { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--red); color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(24,68,93,.3); }
.fab-call span { display: grid; line-height: 1.15; }
.fab-call small { font-size: .78rem; opacity: .9; }
.fab-call b { font-size: 1.1rem; }
.dock { display: none; }

/* ── 매물 목록 (왼쪽 필터 + 오른쪽 격자) ── */
.lst { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding-top: 28px; align-items: start; }
.flt { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 6px 16px 10px; }
.flt-g { border-bottom: 1px solid var(--line); padding: 12px 0; }
.flt-g:last-child { border-bottom: 0; }
.flt-g > summary { list-style: none; cursor: pointer; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.flt-g > summary::-webkit-details-marker { display: none; }
.flt-g > summary::after { content: "⌃"; rotate: 180deg; color: var(--muted); font-size: .9rem; }
.flt-g[open] > summary::after { rotate: 0deg; }
.flt-g > summary small { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 6px; }
.flt-list { margin-top: 8px; display: grid; gap: 2px; }
.flt-list a, .flt-list button { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .95rem; border: 0; background: transparent; width: 100%; text-align: left; font-family: var(--f); cursor: pointer; }
.flt-list a:hover, .flt-list button:hover { background: var(--soft); }
.flt-list .on { background: var(--teal-pale); color: var(--red); font-weight: 700; }
.flt-list small { color: var(--muted); font-size: .82rem; }
.flt-list button:disabled { opacity: .4; cursor: default; }
.flt-years { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.flt-years select { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: 500 .95rem var(--f); background: #fff; }
.flt-reset { margin-top: 10px; }
.btn-text { border: 0; background: transparent; color: var(--teal-dark); font: 700 .9rem var(--f); cursor: pointer; text-decoration: underline; }
.lst-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.lst-head h1 { font-size: 1.4rem; font-weight: 900; }
.lst-head h1 b { color: var(--red); }
.crumb { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; margin: 0 0 8px; }
.crumb a { text-decoration: none; }
.sortbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; }
.sortbar-n { font-weight: 700; }
.sortbar-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sb { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 12px; font: 500 .88rem var(--f); cursor: pointer; }
.sb.on { background: #111; color: #fff; border-color: #111; font-weight: 700; }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; font-family: var(--f); }
.chip:hover { border-color: var(--teal); }
.chip.on { background: #111; border-color: #111; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid[hidden] { display: none; }
.empty-type, .f-empty { padding: 48px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.more-btn { text-align: center; margin: 24px 0; }
.notice { margin: 36px 0 20px; padding: 24px; border-radius: 12px; background: #111; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.notice h2 { font-size: 1.2rem; }
.notice p { opacity: .9; margin-top: 4px; }
.notice .btn { background: var(--red); color: #fff; }
.notice b.gold { color: #fbbf24; }
.f-n { color: var(--muted); font-size: .82rem; }
.f-reset { margin-top: 8px; }
.m-flt { display: none; }

/* ── 매물 상세 ── */
.det { padding-top: 24px; }
.det-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.det-id { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.det-id .badge { position: static; }
.det h1 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; margin-top: 6px; }
.det-sub { margin-top: 4px; color: var(--muted); }
.det-price-top { background: #fdecef; color: var(--red); font-size: 1.5rem; font-weight: 900; padding: 8px 18px; border-radius: 8px; }
.det-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 20px; align-items: start; }
.g-stage { position: relative; border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 16 / 10; }
.g-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: grid; place-items: center; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-count { position: absolute; right: 14px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
.g-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.g-thumb { border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; background: var(--soft); cursor: pointer; aspect-ratio: 4 / 3; opacity: .75; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb[aria-current="true"] { border-color: var(--red); opacity: 1; }
.sec-h { font-size: 1.15rem; font-weight: 900; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-top: 32px; }
.sec-h b { color: var(--red); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.opts span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; color: var(--muted); }
.opts span.on { color: var(--ink); border-color: var(--navy); font-weight: 700; background: var(--teal-pale); }
.spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 6px; }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; text-align: right; }
.spec dd.perf a { color: var(--red); }
.story { margin-top: 32px; }
.story-lead { font-size: 1.05rem; line-height: 1.8; padding: 16px 18px; background: var(--soft); border-left: 4px solid var(--red); border-radius: 8px; }
.story-step { margin-top: 26px; }
.story-step figure { margin: 0; border-radius: 10px; overflow: hidden; }
.story-step img { width: 100%; height: auto; display: block; }
.story-step h3 { margin: 14px 0 6px; font-size: 1.1rem; font-weight: 800; }
.story-step p { line-height: 1.75; }
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--muted); line-height: 1.7; }
.side { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--surface); box-shadow: var(--shadow); }
.side .det-id { margin-bottom: 6px; }
.side h2 { font-size: 1.2rem; font-weight: 900; }
.side-sub { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.side-price { margin-top: 14px; background: #fdecef; color: var(--red); text-align: center; font-size: 1.5rem; font-weight: 900; padding: 12px; border-radius: 8px; }
.side-h { margin-top: 18px; font-weight: 800; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.side-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 10px; }
.side-grid div { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.side-grid div:nth-child(2n) { border-right: 0; }
.side-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.side-grid dt { font-size: .82rem; color: var(--muted); }
.side-grid dd { margin: 4px 0 0; font-weight: 700; }
.side-dealer { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px; background: var(--soft); border-radius: 10px; }
.side-dealer .ic-box { width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.side-dealer b { display: block; }
.side-dealer small { color: var(--muted); font-size: .82rem; line-height: 1.5; display: block; }
.side-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.side-btns .btn { min-height: 50px; }
.side-tip { margin-top: 14px; padding: 14px; background: var(--soft); border-radius: 10px; font-size: .9rem; }
.side-tip b { display: block; color: var(--red); font-size: 1.15rem; margin-top: 2px; }
.tip-wrap { position: relative; display: inline-block; }
.tip-btn { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--muted); background: #fff; color: var(--muted); font-size: .72rem; font-weight: 700; cursor: pointer; padding: 0; vertical-align: middle; }
.tip { position: absolute; left: 50%; translate: -50% 0; bottom: calc(100% + 8px); background: var(--ink); color: #fff; font-size: .82rem; padding: 8px 10px; border-radius: 6px; white-space: nowrap; z-index: 5; }
.tip[hidden] { display: none; }
.similar { margin-top: 48px; }
.sold-band { margin-top: 14px; padding: 14px 16px; background: #fdecef; color: var(--red); border-radius: 8px; font-weight: 700; }

/* ── 내 차 팔기 ── */
.sell-page { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sell-page h1 { font-size: 1.7rem; font-weight: 900; }
.sell-steps { margin-top: 20px; display: grid; gap: 12px; counter-reset: s; }
.sell-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.sell-steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; display: grid; place-items: center; }
.sell-steps b { display: block; }
.sell-steps span { color: var(--muted); font-size: .92rem; }
.sell-form { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--surface); box-shadow: var(--shadow); }
.sell-form label { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 700; }
.sell-form input, .sell-form textarea { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 500 1rem var(--f); }
.sell-form input:focus, .sell-form textarea:focus { border-color: var(--teal); outline: none; }
.req { color: var(--red); font-size: .8rem; margin-left: 6px; }
.form-err { color: var(--red); font-size: .9rem; margin-bottom: 10px; }
.form-err[hidden] { display: none; }

/* ── 회사소개 ── */
.about { padding: 28px 0 48px; }
.about h1 { font-size: 1.7rem; font-weight: 900; }
.about .lead { margin-top: 8px; font-size: 1.05rem; }
.about-list { margin-top: 20px; display: grid; gap: 8px; }
.about-list li { padding: 10px 14px 10px 32px; position: relative; border: 1px solid var(--line); border-radius: 10px; }
.about-list li::before { content: ""; position: absolute; left: 14px; top: 1.1em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.about-list b { margin-right: 6px; }
.about h2 { margin-top: 32px; font-size: 1.2rem; font-weight: 900; }
.info-dl, .area-dl, .bus-dl { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.info-dl div, .area-dl div, .bus-dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
.info-dl div + div, .area-dl div + div, .bus-dl div + div { border-top: 1px solid var(--line); }
.info-dl dt, .area-dl dt, .bus-dl dt { color: var(--navy); font-weight: 800; }
.info-dl dd, .area-dl dd, .bus-dl dd { margin: 0; line-height: 1.7; }
.map-img { margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.map-img img { display: block; width: 100%; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bus { display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.b-g { background: #1e8a8a; } .b-v { background: #4a9b2f; } .b-x { background: #d9534f; }
.addr { margin-top: 10px; line-height: 1.9; }
.addr .ic { vertical-align: -3px; margin-right: 4px; color: var(--red); }

/* ── 404 ── */
.nf { padding: 60px 0; text-align: center; }
.nf h1 { font-size: 1.8rem; font-weight: 900; }
.nf p { margin-top: 10px; color: var(--muted); }
.nf .btn { margin-top: 20px; }

/* ── 휴대폰 ── */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .row-track { grid-auto-columns: calc((100% - 32px) / 3); }
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .lst { grid-template-columns: 1fr; }
  .flt { display: none; }
  .m-flt { display: block; }
  .det-body { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 860px) {
  .hd-in { min-height: 60px; gap: 12px; }
  .logo img { height: 28px; }
  .gnb, .hd-call { display: none; }
  .hd-menu { display: flex; }
  .mnav:not([hidden]) { display: grid; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 26px 48px; gap: 16px; }
  .hero-pic { order: -1; }
  .hero-pic img { max-height: 210px; }
  .hero-h { font-size: 1.75rem; }
  .hero-sub { font-size: .95rem; }
  .hero-ctl { bottom: 12px; }
  .cs-in { grid-template-columns: 1fr; gap: 14px; }
  .cs-count strong { font-size: 2rem; }
  .guides { grid-template-columns: 1fr 1fr; gap: 10px; }
  .guide { min-height: 100px; padding: 14px; }
  .guide b { font-size: 1.05rem; }
  .row-head h2, .trust h2, .types h2 { font-size: 1.25rem; }
  .row-track { grid-auto-columns: 72%; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-grid li { padding: 16px 14px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: .92rem; }
  .card-price { font-size: 1.05rem; }
  .card-price strong { font-size: 1.2rem; }
  .sellband h2 { font-size: 1.25rem; }
  .fab-call { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: #111; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .dock-call { flex: 2.2; display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; border-radius: 10px; padding: 8px 14px; text-decoration: none; }
  .dock-call span { display: grid; line-height: 1.15; }
  .dock-call small { font-size: .78rem; }
  .dock-call b { font-size: 1.15rem; }
  .dock-sms { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 800; text-decoration: none; border: 1.5px solid rgba(255,255,255,.5); border-radius: 10px; }
  body { padding-bottom: 72px; }
  .ft { padding-bottom: 40px; }
  .ft-biz div { grid-template-columns: 1fr; gap: 2px; }
  .det h1 { font-size: 1.25rem; }
  .g-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .spec { grid-template-columns: 1fr; column-gap: 0; }
  .side-btns { grid-template-columns: 1fr; }
  .sell-page { grid-template-columns: 1fr; }
  .info-dl div, .area-dl div, .bus-dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 400px) {
  .guides { gap: 8px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

/* ── 아이트럭식 추가 요소 ── */
.feat { margin-top: 48px; }
.feat-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.feat-card { background: var(--soft); border-radius: 12px; padding: 22px 20px; display: grid; align-content: start; gap: 8px; }
.feat-card .ic { color: var(--red); }
.feat-card b { font-size: 1.05rem; }
.feat-card small { color: var(--muted); line-height: 1.5; }
.feat-card ul { margin-top: 4px; display: grid; gap: 2px; font-size: .85rem; color: var(--muted); }
.feat-card ul li::before { content: "· "; }
.feat-card .btn { margin-top: 10px; width: max-content; }
.feat .row-track { grid-auto-columns: calc((100% - 32px) / 3); }
.ribbon { display: block; margin: 0; background: var(--red); color: #fff; text-align: center; font-size: .82rem; font-weight: 700; padding: 6px; }
.dealers { margin-top: 48px; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.dealer { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.dealer-ph { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; color: #bbb; position: relative; }
.dealer-ph .badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.dealer-ph img { width: 100%; height: 100%; object-fit: cover; }
.dealer-b { padding: 14px 16px 16px; }
.dealer-b b { display: block; font-size: 1.05rem; }
.dealer-b p { margin-top: 6px; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.dealer-b .tag { display: inline-block; margin-top: 8px; background: var(--soft); font-size: .8rem; padding: 3px 8px; border-radius: 4px; color: var(--muted); }
.fab-find { display: none; }
.promo { position: fixed; right: 20px; bottom: 96px; z-index: 59; width: 140px; border-radius: 12px; overflow: hidden; background: #111; color: #fff; text-decoration: none; padding: 14px 12px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.promo small { display: block; color: #4ade80; font-weight: 700; font-size: .8rem; }
.promo b { display: block; font-size: 1.35rem; margin: 2px 0; }
.promo span { display: inline-block; background: #fbbf24; color: #111; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
.side .side-btns .btn-navy { background: #5b21b6; }
.lst-topbtns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: .95rem; }
.lst-topbtns b { color: var(--red); }
.lst-topbtns a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; font-size: .9rem; }
.lst-topbtns .b1 { background: var(--red); } .lst-topbtns .b2 { background: #b45309; } .lst-topbtns .b3 { background: var(--blue); }
.lst-q { max-width: 900px; margin: 0 auto; }
.qtabs { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-right: 10px; }
.qtabs span { padding: 8px 14px; font-size: .88rem; border-right: 1px solid var(--line); background: #fff; }
.qtabs span:last-child { border-right: 0; }
.qtabs span.on { color: var(--red); font-weight: 700; }
.lst-top { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.lst-top .qbox { flex: 1; min-width: 280px; border-radius: 6px; border-width: 1px; }
.lst-top .qbox-btn { border-radius: 4px; background: #111; width: auto; padding: 0 16px; font: 700 .9rem var(--f); }
.lst-reset { padding: 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font: 500 .9rem var(--f); cursor: pointer; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chips button { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 6px 12px; font: 500 .88rem var(--f); cursor: pointer; }
.filter-chips button.on { background: #111; color: #fff; border-color: #111; }
@media (max-width: 1000px) { .feat-in { grid-template-columns: 1fr; } .feat .row-track { grid-auto-columns: 72%; } .dealer-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .promo { display: none; }
  .fab-find { display: inline-flex; position: fixed; right: 14px; bottom: 84px; z-index: 61; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .lst-topbtns { font-size: .85rem; }
  .qtabs { display: none; }
}


/* ── 가로 줄 (아이트럭: 272px 카드 × 4, 간격 24) ── */
.sec-t { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; margin: 0; }
.row-sec { margin-top: 70px; }
.row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; text-decoration: none; color: inherit; }
.more { font-size: 16px; color: var(--ink); }
.row-wrap { overflow: hidden; min-width: 0; }
.row-track { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 24px; overflow-x: auto; width: 100%; max-width: 100%; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.row-track::-webkit-scrollbar { display: none; }
.row-track .card { scroll-snap-align: start; }
.row-track.row-3 { grid-auto-columns: 225px; }

/* ── 아이트럭 치수 그대로: 배너 ── */
.hero { position: relative; overflow: hidden; background: #f3f4f6; padding: 0 0 40px; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: 100%; padding: 0 calc((100% - var(--wrap)) / 2); scroll-padding: 0 calc((100% - var(--wrap)) / 2); gap: 24px; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-s { flex: 0 0 var(--wrap); scroll-snap-align: start; position: relative; height: 320px; border-radius: 0; overflow: hidden; color: #fff; }
.hero-blue { background: linear-gradient(100deg, #2a64d8 0%, #3b82f6 55%, #5b9cff 100%); }
.hero-dark { background: linear-gradient(100deg, #111 0%, #2a2a2a 60%, #3a3a3a 100%); }
.hero-red { background: linear-gradient(100deg, #8e0e15 0%, #c8102e 60%, #e23744 100%); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: 100%; padding: 0 60px; text-decoration: none; color: inherit; }
.hero-k { display: inline-block; background: #bbf7d0; color: #111; font-weight: 700; font-size: 15px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero-h { font-size: 44px; font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.hero-go { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 16px; opacity: .95; }
.hero-pic img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.hero-ctl { position: absolute; left: 140px; bottom: 36px; display: flex; align-items: center; gap: 8px; }
.hero-n { background: rgba(0,0,0,.5); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.hero-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* ── 매물 수 + 검색 (580/580, 높이 128) ── */
.count-search { display: grid; grid-template-columns: 580px 580px; margin-top: 60px; min-height: 128px; }
.cs-count p { font-size: 24px; color: var(--ink); }
.cs-count h3 { font-size: 42px; font-weight: 700; margin: 4px 0 0; letter-spacing: -.02em; }
.cs-unit { font-size: 42px; }
.cs-tip { display: inline-block; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 999px 999px 999px 0; margin-bottom: 0; position: relative; top: -24px; }
.qbox { display: flex; align-items: center; border: 2px solid var(--red); border-radius: 999px; padding: 4px 4px 4px 22px; background: #fff; height: 70px; margin-top: -16px; }
.qbox input { flex: 1; min-width: 0; border: 0; font: 400 18px var(--f); outline: none; background: transparent; }
.qbox-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cs-kw { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 16px; }
.cs-kw b { font-size: 18px; font-weight: 600; margin-right: 6px; }
.cs-kw a { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; color: var(--ink); background: #fff; font-size: 14px; height: 40px; display: inline-flex; align-items: center; }

/* ── 4개 신청 카드 (272×182) ── */
.guides { display: grid; grid-template-columns: repeat(4, 272px); gap: 24px; margin-top: 70px; }
.guide { position: relative; display: grid; align-content: start; gap: 2px; height: 182px; padding: 22px 24px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; overflow: hidden; }
.guide small { color: var(--ink); font-size: 14px; }
.guide b { font-size: 20px; font-weight: 700; margin-top: 2px; }
.guide-go { display: inline-block; margin-top: 12px; background: #fdecec; color: var(--red); font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; width: max-content; }
.guide .ic { position: absolute; right: 18px; bottom: 18px; color: #e10009; opacity: .5; }
.guide:hover { box-shadow: var(--shadow); }

/* ── 기록부 공개 차량 (272 카드 + 나머지) ── */
.feat { margin-top: 70px; }
.feat-in { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; }
.feat-card { display: block; background: #f3f4f6; border-radius: 12px; padding: 30px 30px 28px; text-decoration: none; color: inherit; min-height: 420px; }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--red); color: #fff; margin-bottom: 20px; }
.feat-h { font-size: 18px; font-weight: 700; margin-top: 12px; }
.feat-p { font-size: 14px; color: #555; line-height: 1.5; margin-top: 6px; }
.feat-btn { display: inline-block; margin-top: 22px; border: 1px solid #ccc; background: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.ribbon { display: block; margin: 0; background: var(--red); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 7px; }

/* ── 안심하고 거래하세요 (272×140) ── */
.trust { margin-top: 70px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 272px); gap: 24px; margin-top: 26px; }
.trust-grid a { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 140px; padding: 22px 20px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.trust-grid .t-ic { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.trust-grid b { font-size: 16px; font-weight: 700; }
.trust-grid span:not(.t-ic) { font-size: 13px; color: #666; line-height: 1.4; }
.trust-grid a:hover { box-shadow: var(--shadow); }

/* ── 인증딜러 (272×409) ── */
.dealers { margin-top: 70px; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, 272px); gap: 24px; margin-top: 26px; }
.dealer { display: block; border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; height: 409px; }
.dealer-ph { height: 272px; background: #f3f4f6; display: grid; place-items: center; color: #c4c4c4; position: relative; border-radius: 12px; }
.dealer-ph .badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); border: 1px solid #ddd; }
.dealer-b { padding: 14px 4px 0; }
.dealer-b b { display: block; font-size: 18px; font-weight: 700; }
.dealer-b p { margin-top: 6px; font-size: 14px; color: #555; line-height: 1.5; }
.dealer-b .tag { display: inline-block; margin-top: 10px; background: #f3f4f6; font-size: 13px; padding: 4px 8px; border-radius: 4px; color: #555; }

/* ── 차종 격자 ── */
.types { margin-top: 70px; scroll-margin-top: 90px; }
.type-grid { margin-top: 26px; }
.type-tile span { color: var(--red); }

/* ── 매거진 (272×472) / 영상 (272×92) ── */
.mag { margin-top: 70px; }
.mag-grid { display: grid; grid-template-columns: repeat(4, 272px); gap: 24px; margin-top: 26px; }
.mag-card { display: block; height: 472px; border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; border: 1px solid #e5e5e5; }
.mag-ph { height: 272px; background: linear-gradient(135deg, #fdecec, #f3f4f6); display: grid; place-items: center; color: var(--red); }
.mag-b { padding: 16px; }
.mag-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.mag-b b { display: block; font-size: 17px; font-weight: 700; line-height: 1.45; }
.mag-b small { display: block; margin-top: 10px; font-size: 13px; color: #777; }
.mag-more { margin-top: 16px; text-align: right; }
.mag-more a { color: var(--ink); font-size: 14px; }
.vids { margin-top: 70px; margin-bottom: 100px; }
.vid-grid { display: grid; grid-template-columns: repeat(4, 272px); gap: 24px; margin-top: 26px; }
.vid-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; height: 92px; text-decoration: none; color: inherit; }
.vid-ph { position: relative; width: 120px; height: 92px; border-radius: 8px; overflow: hidden; background: #111; }
.vid-ph img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vid-ph .ic { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: #fff; }
.vid-card b { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── 아이트럭식 긴 바닥 ── */
.ft { background: #fafafa; border-top: 1px solid #eee; padding: 70px 0 60px; color: var(--ink); }
.ft-cs { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #e5e5e5; }
.ft-cs h4 { margin: 0; font-size: 18px; font-weight: 700; }
.ft-cs .ft-phone { font-size: 32px; font-weight: 800; margin-top: 8px; }
.ft-cs .ft-phone a { text-decoration: none; color: var(--ink); }
.ft-cs p { font-size: 14px; color: #666; margin-top: 6px; line-height: 1.6; }
.ft-ch { display: flex; gap: 12px; margin-top: 14px; }
.ft-ch a { width: 44px; height: 44px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 11px; font-weight: 700; }
.ft-links { display: flex; gap: 0; margin-top: 30px; font-size: 14px; }
.ft-links a { text-decoration: none; color: var(--ink); padding-right: 14px; margin-right: 14px; border-right: 1px solid #ccc; }
.ft-links a:last-child { border-right: 0; }
.ft-biz { margin-top: 20px; font-size: 13px; color: #666; line-height: 1.8; display: block; }
.ft-biz div { display: inline; }
.ft-biz div::after { content: " ｜ "; }
.ft-biz div:last-child::after { content: ""; }
.ft-biz dt { display: inline; opacity: 1; }
.ft-biz dt::after { content: " : "; }
.ft-biz dd { display: inline; margin: 0; }
.ft-copy { margin-top: 20px; font-size: 13px; color: #888; line-height: 1.7; }

@media (max-width: 1000px) {
  .count-search { grid-template-columns: 1fr; gap: 20px; }
  .guides, .trust-grid, .mag-grid, .vid-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-in { grid-template-columns: 1fr; }
  .row-track, .row-track.row-3 { grid-auto-columns: calc((100% - 32px) / 3); }
  .hero-s { flex-basis: 100%; }
  .hero-track { padding: 0; gap: 0; }
  .ft-cs { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .sec-t { font-size: 20px; }
  .row-sec, .feat, .trust, .dealers, .types, .mag, .vids { margin-top: 40px; }
  .hero { padding-bottom: 0; }
  .hero-s { height: auto; }
  .hero-in { grid-template-columns: 1fr; padding: 20px 16px 56px; gap: 14px; }
  .hero-pic { order: -1; }
  .hero-pic img { height: 190px; }
  .hero-h { font-size: 28px; }
  .hero-ctl { left: 16px; bottom: 14px; }
  .count-search { margin-top: 28px; min-height: 0; }
  .cs-count p { font-size: 16px; }
  .cs-count h3, .cs-unit { font-size: 32px; }
  .cs-tip { top: 0; margin-bottom: 8px; }
  .qbox { height: 56px; margin-top: 0; }
  .guides { margin-top: 24px; gap: 12px; }
  .guide { height: auto; min-height: 110px; padding: 16px; }
  .guide b { font-size: 17px; }
  .trust-grid { gap: 12px; }
  .trust-grid a { height: auto; min-height: 100px; padding: 14px; grid-template-columns: 44px 1fr; }
  .trust-grid .t-ic { width: 44px; height: 44px; }
  .dealer-grid { grid-template-columns: 1fr; gap: 14px; }
  .dealer { height: auto; }
  .dealer-ph { height: 200px; }
  .row-track, .row-track.row-3 { grid-auto-columns: 72%; }
  .mag-grid { grid-template-columns: 1fr; gap: 12px; }
  .mag-card { height: auto; display: grid; grid-template-columns: 110px 1fr; }
  .mag-ph { height: 100%; min-height: 110px; }
  .vid-grid { grid-template-columns: 1fr; gap: 12px; }
  .vids { margin-bottom: 40px; }
  .ft { padding: 36px 0 90px; }
  .ft-cs .ft-phone { font-size: 24px; }
}
