/* J트럭 — 아이트럭 구조, 미래트럭 색 (청록 #3a9fbb · 남색 #18445d) */
:root {
  --bg: #ffffff; --soft: #f5f7f9; --surface: #ffffff; --ink: #1c2a32; --muted: #5d6d76; --line: #e3e8ec;
  --navy: #18445d; --navy-ink: #eef5f8;
  --teal: #3a9fbb; --teal-btn: #2b89a4; --teal-dark: #1f7690; --teal-pale: #e6f4f8;
  --yellow: var(--teal-btn); --yellow-ink: #ffffff; --red: #d7263d; --on-main: #ffffff;
  --shadow: 0 1px 2px rgba(24,68,93,.05), 0 8px 24px rgba(24,68,93,.08);
  --f: "Noto Sans KR", "Noto Sans CJK KR", "SamsungOneKorean", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px; 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(--teal-btn); color: #fff; }
.btn-main:hover { background: var(--teal-dark); }
.btn-navy { background: var(--navy); 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(--navy); 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: #9fe0f5; font-weight: 700; text-decoration: none; }
.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(--teal-dark); }
.gnb-tag { position: absolute; top: -8px; left: 50%; translate: -50% 0; background: var(--teal-btn); 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: 999px; background: var(--navy); color: #fff; font-weight: 800; 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(--teal-dark); }

/* ── 배너 ── */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; overflow-x: auto; width: 100%; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-s { flex: 0 0 100%; scroll-snap-align: start; color: #fff; }
.hero-navy { background: linear-gradient(115deg, #0f2d40 0%, #18445d 60%, #1f6f8b 100%); }
.hero-teal { background: linear-gradient(115deg, #1f7690 0%, #2b89a4 55%, #3a9fbb 100%); }
.hero-dark { background: linear-gradient(115deg, #10212c 0%, #1c3a4b 60%, #18445d 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; min-height: 360px; padding-block: 36px; }
.hero-k { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.hero-h { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; line-height: 1.15; letter-spacing: -.03em; }
.hero-sub { margin-top: 12px; font-size: 1.05rem; opacity: .92; max-width: 26em; }
.hero-txt .btn { margin-top: 22px; }
.hero-pic img { display: block; width: 100%; max-height: 330px; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.hero-ctl { position: absolute; left: 50%; translate: -50% 0; bottom: 18px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.hero-ctl > * { pointer-events: auto; }
.hero-n { background: rgba(0,0,0,.45); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
.hero-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* ── 매물 수 + 검색 ── */
.count-search { padding: 36px 0 8px; }
.cs-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center; }
.cs-count p { color: var(--muted); font-size: 1.05rem; }
.cs-count strong { display: block; font-size: 2.6rem; font-weight: 900; letter-spacing: -.02em; color: var(--navy); }
.cs-tip { display: inline-block; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.qbox { display: flex; align-items: center; border: 2px solid var(--teal-btn); border-radius: 999px; padding: 4px 4px 4px 20px; background: #fff; }
.qbox input { flex: 1; min-width: 0; border: 0; font: 500 1.05rem var(--f); outline: none; background: transparent; }
.qbox-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal-btn); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cs-kw { margin-top: 10px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cs-kw a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); background: #fff; }

/* ── 4개 안내 카드 ── */
.guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.guide { position: relative; display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; overflow: hidden; min-height: 120px; }
.guide small { color: var(--muted); font-size: .85rem; }
.guide b { font-size: 1.15rem; font-weight: 900; }
.guide-go { display: inline-block; margin-top: 6px; background: var(--teal-pale); color: var(--teal-dark); font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; width: max-content; }
.guide .ic { position: absolute; right: 16px; bottom: 14px; color: var(--teal); opacity: .55; }
.guide:hover { border-color: var(--teal); box-shadow: var(--shadow); }

/* ── 가로 줄 섹션 ── */
.row-sec { margin-top: 48px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.row-head h2, .trust h2, .types h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.more { font-size: .95rem; color: var(--muted); text-decoration: none; }
.row-wrap { overflow: hidden; min-width: 0; }
.row-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; 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; }

/* ── 매물 카드 ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--teal); }
.card-link { display: block; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.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: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.badge-real { background: var(--teal-btn); color: #fff; }
.badge-pic { left: auto; right: 10px; top: auto; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; }
.card-body { padding: 12px 14px 14px; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card-meta { margin-top: 4px; font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { margin-top: 8px; font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.card-price strong { font-size: 1.35rem; }
.card[hidden] { display: none; }

/* ── 안심 거래 ── */
.trust { margin-top: 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.trust-grid li { display: grid; gap: 6px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.trust-grid .ic { color: var(--teal-btn); }
.trust-grid b { font-size: 1.05rem; }
.trust-grid span { font-size: .9rem; color: var(--muted); }

/* ── 차종 격자 ── */
.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(--teal-dark); 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: var(--navy); 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(--navy); }
.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(--teal-btn); 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(--teal-dark); 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: var(--navy); color: #fff; border-color: var(--navy); 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: var(--teal); border-color: var(--teal); 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: var(--navy); 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(--teal); color: #fff; }
.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(--teal-dark); }
.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(--teal); 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(--navy); 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(--teal-btn); 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(--teal); }
.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(--teal-dark); }

/* ── 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: var(--navy); 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(--teal-btn); 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; } }
