/* =========================================================
   garage 테마 — 자동차정비·타이어·카센터용
   색상은 theme.css(company.json colors)에서 --primary / --accent / --ink 로 들어옴
   ========================================================= */
:root {
  --text: #3b3f47;
  --muted: #7b808a;
  --line: #e3e5e9;
  --gray: #f3f4f6;
  --dark2: #1e2128;
  --r: 6px;
  --hd-h: 74px;
  --wrap: 1260px;
  --gutter: 32px;
  --sec-y: 100px;
  --cond: "Barlow Condensed", "Pretendard Variable", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1024px) { :root { --hd-h: 62px; --gutter: 20px; --sec-y: 72px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --sec-y: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; background: var(--primary); color: #fff; }
.skip:focus { top: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.note { font-size: 13px; color: var(--muted); }
.mt { margin-top: 40px; }

.kicker { margin-bottom: 8px; font-family: var(--cond); font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--primary); }
.h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.h3 { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; color: var(--ink); }
.h3 .ico { color: var(--primary); }
.lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.sec { padding: var(--sec-y) 0; }
.sec-gray { background: var(--gray); }
.sec-dark { background: var(--ink); color: rgba(255,255,255,.7); }
.sec-dark .h2 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.link .ico { transition: transform .2s; }
.link:hover .ico { transform: translateX(4px); }
.dot-list { display: grid; gap: 8px; margin-top: 18px; }
.dot-list li { position: relative; padding-left: 16px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--primary); transform: rotate(45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--r); border: 2px solid transparent; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- 헤더 ---------- */
.hd { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; transition: box-shadow .2s; }
.hd.is-solid { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.hd-bar { display: flex; align-items: center; gap: 30px; height: var(--hd-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; font-family: var(--cond); line-height: .95; }
.logo-text b { font-size: 24px; font-weight: 800; letter-spacing: .06em; }
.logo-text small { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--primary); }
.gnb { flex: 1; }
.gnb ul { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.gnb a { position: relative; display: block; padding: 6px 0; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); }
.gnb a:hover, .gnb a[aria-current] { color: #fff; }
.gnb a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--primary); }
.hd-tel { display: flex; align-items: center; gap: 6px; font-family: var(--cond); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.hd-tel .ico { color: var(--accent); }
.menu-btn { display: none; place-items: center; width: 42px; height: 42px; }
.menu-btn .ico { width: 26px; height: 26px; }
@media (max-width: 1100px) { .hd-tel { display: none; } }
@media (max-width: 1024px) { .gnb { display: none; } .menu-btn { display: grid; } .hd-cta { margin-left: auto; } }
@media (max-width: 420px) { .hd-cta { display: none; } .menu-btn { margin-left: auto; } }
.sitemap { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); display: flex; justify-content: flex-end; }
.sitemap-box { position: relative; width: min(380px, 100%); height: 100%; overflow-y: auto; background: var(--ink); color: #fff; padding: 76px 28px 40px; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.sitemap-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; }
.sitemap-close .ico { width: 26px; height: 26px; }
.sitemap-list a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 20px; font-weight: 700; }
.sitemap-call { margin-top: 28px; }
.sitemap-call small { display: block; color: rgba(255,255,255,.6); }
.sitemap-call a { font-family: var(--cond); font-size: 34px; font-weight: 700; color: var(--accent); }

/* ---------- 메인 ---------- */
.hero { position: relative; min-height: clamp(560px, 80vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21,23,28,.92) 0%, rgba(21,23,28,.7) 45%, rgba(21,23,28,.2) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 60px; }
.hero .kicker { color: var(--accent); font-size: 17px; }
.hero-title { margin-top: 10px; font-size: clamp(34px, 5vw, 64px); font-weight: 900; line-height: 1.2; letter-spacing: -.045em; }
.hero-text { margin-top: 18px; font-size: clamp(15px, 1.5vw, 19px); color: rgba(255,255,255,.85); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-hours { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.hero-hours p { display: flex; align-items: center; gap: 6px; font-weight: 700; color: rgba(255,255,255,.7); }
.hero-hours p.is-open { color: #7CE38B; }
.hero-hours ul { display: flex; flex-wrap: wrap; gap: 6px 24px; color: rgba(255,255,255,.7); }
.hero-hours b { margin-right: 8px; color: #fff; }
@media (max-width: 640px) { .hero { min-height: 82svh; } .hero-in { padding-top: 70px; } .hero-btns .btn { flex: 1 1 100%; } .hero-hours ul { display: none; } }

.quick { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: -1px; }
.quick a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 26px 24px; background: var(--dark2); color: #fff; border-right: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.quick a:first-child { background: var(--primary); }
.quick .ico { grid-row: span 2; width: 34px; height: 34px; color: var(--accent); }
.quick a:first-child .ico { color: #fff; }
.quick b { font-size: 17px; }
.quick small { font-size: 13px; opacity: .7; }
.quick a:hover { background: #2a2e37; }
.quick a:first-child:hover { filter: brightness(1.08); background: var(--primary); }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; } .quick a { padding: 18px 16px; } .quick .ico { width: 28px; height: 28px; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-grid a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.svc-grid a:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(21,23,28,.12); }
.svc-img { aspect-ratio: 16 / 9; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-grid a:hover .svc-img img { transform: scale(1.06); }
.svc-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 30px 24px 22px; }
.svc-ico { position: absolute; top: -26px; left: 24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--primary); color: #fff; }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-body b { font-size: 19px; font-weight: 800; color: var(--ink); }
.svc-body small { flex: 1; margin-top: 6px; font-size: 14px; color: var(--muted); }
.svc-body em { margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--primary); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise li { position: relative; padding: 30px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); }
.pr-no { position: absolute; right: 20px; top: 14px; font-family: var(--cond); font-size: 44px; font-weight: 800; color: rgba(255,255,255,.08); }
.promise .ico { width: 34px; height: 34px; color: var(--accent); }
.promise b { display: block; margin: 16px 0 8px; font-size: 18px; color: #fff; }
.promise p { font-size: 14px; }
@media (max-width: 1000px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promise { grid-template-columns: minmax(0, 1fr); } }

.stats-band { background: var(--primary); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { padding: 36px 10px; text-align: center; border-left: 1px solid rgba(255,255,255,.25); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--cond); font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stats li > span { font-size: 14px; opacity: .9; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats li:nth-child(3) { border-left: 0; } .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); } .stats li { padding: 26px 8px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split .btn { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.tire-mini { margin-top: 24px; border-top: 2px solid var(--ink); }
.tire-mini a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.tire-mini b { color: var(--ink); }
.tire-mini span { font-family: var(--cond); font-size: 19px; font-weight: 700; color: var(--primary); }
.tire-mini .ico { color: var(--muted); }
.tire-mini a:hover { background: var(--gray); }

.rating { font-family: var(--cond); font-size: 32px; font-weight: 800; color: var(--ink); }
.rating small { font-family: "Pretendard Variable", sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.rv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rv-grid li { display: flex; flex-direction: column; padding: 26px 22px; background: #fff; border-radius: var(--r); border-top: 4px solid var(--primary); }
.stars { color: #d6d8dc; letter-spacing: 2px; }
.stars .on { color: var(--accent); }
.rv-text { flex: 1; margin: 10px 0 16px; font-size: 15px; color: var(--ink); }
.rv-meta { font-size: 13px; color: var(--muted); }
.rv-meta b { color: var(--ink); }
@media (max-width: 1024px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }

.cta { padding: 70px 0; background: var(--dark2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40 40 0' stroke='%23ffffff' stroke-opacity='.04' stroke-width='12'/%3E%3C/svg%3E"); color: rgba(255,255,255,.75); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-title { margin-bottom: 10px; font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; line-height: 1.3; color: #fff; letter-spacing: -.035em; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-btns .btn { flex: 1 1 100%; } }

/* ---------- 서브 공통 ---------- */
.sub-head { position: relative; padding: 80px 0 70px; background: var(--ink) center / cover; color: #fff; }
.sub-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,28,.95), rgba(21,23,28,.6)); }
.sub-head .wrap { position: relative; }
.crumb { display: flex; gap: 6px; margin-bottom: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.sub-head .kicker { color: var(--accent); }
.sub-title { font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: -.04em; }
.sub-lead { margin-top: 10px; max-width: 680px; color: rgba(255,255,255,.8); }
@media (max-width: 640px) { .sub-head { padding: 50px 0 44px; } .sub-lead { font-size: 15px; } }

.jump { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 70px; }
.jump a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; border-radius: var(--r); background: var(--gray); text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); }
.jump .ico { width: 28px; height: 28px; color: var(--primary); }
.jump a:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .jump { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 50px; } }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.svc-row + .svc-row { margin-top: 90px; }
.svc-row.is-rev .svc-row-img { order: 2; }
.svc-row-img { position: relative; }
.svc-row-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.svc-row-img span { position: absolute; left: 0; bottom: 0; padding: 8px 16px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; border-radius: 0 var(--r) 0 var(--r); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 24px 0; }
.checks li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); }
.checks .ico { color: var(--primary); stroke-width: 3; }
@media (max-width: 900px) { .svc-row { grid-template-columns: minmax(0, 1fr); gap: 26px; } .svc-row.is-rev .svc-row-img { order: 0; } .svc-row + .svc-row { margin-top: 64px; } }
@media (max-width: 480px) { .checks { grid-template-columns: minmax(0, 1fr); } }

.table-scroll { overflow-x: auto; }
.tbl { font-size: 15px; background: #fff; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 700; }
.tbl tbody th { color: var(--ink); font-weight: 700; }
.price-tbl th, .price-tbl td { text-align: center; white-space: nowrap; }
.price-tbl thead small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.6); white-space: normal; }
.price-tbl tbody th { text-align: left; white-space: normal; min-width: 210px; }
.price-tbl tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.price-tbl td { font-variant-numeric: tabular-nums; font-weight: 600; }
.price-tbl tbody tr:hover { background: #fff8f4; }
.na { color: #c4c7cc; }
@media (max-width: 640px) { .tbl th, .tbl td { padding: 11px 10px; font-size: 14px; } .price-tbl tbody th { min-width: 150px; } }

/* 엔진오일 계산 */
.oil-calc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.oil-in { padding: 32px; }
.oil-in fieldset { margin-top: 20px; }
.oil-in legend { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.oil-out { display: flex; flex-direction: column; justify-content: center; padding: 32px; background: var(--ink); color: rgba(255,255,255,.7); }
.oil-out strong { margin: 6px 0; font-size: 16px; color: #fff; }
.oil-out strong b { font-family: var(--cond); font-size: 56px; font-weight: 800; color: var(--accent); line-height: 1; }
.oil-out p { margin-bottom: 20px; font-size: 14px; }
@media (max-width: 860px) { .oil-calc { grid-template-columns: minmax(0, 1fr); } .oil-in, .oil-out { padding: 22px 16px; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; flex-direction: column; justify-content: center; min-height: 46px; padding: 6px 16px; border: 2px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; transition: border-color .15s, background .15s; }
.chip small { font-size: 11px; font-weight: 500; color: var(--muted); }
.chip input:checked + span { border-color: var(--primary); background: #fff4ef; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: #e03131; }

/* 타이어 */
.tire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.tire-form { display: grid; gap: 26px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r); }
.step { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 16px; font-weight: 800; color: var(--ink); }
.step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; }
.step small { font-weight: 500; color: var(--muted); font-size: 13px; }
.step em { color: var(--primary); font-style: normal; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field em { color: var(--primary); font-style: normal; }
.field input, .field select, .field textarea, .size-row select { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .size-row select:focus { outline: none; border-color: var(--ink); }
.size-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: end; }
.size-row label span { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.size-row select { font-family: var(--cond); font-size: 22px; font-weight: 700; color: var(--ink); padding: 0 8px; }
.size-row i { padding-bottom: 12px; font-family: var(--cond); font-size: 22px; font-weight: 700; font-style: normal; color: var(--muted); }
.hint { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.chk { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; font-size: 15px; }
.chk span { flex: 1; color: var(--ink); }
.chk small { color: var(--muted); }
.chk input { width: 18px; height: 18px; accent-color: var(--primary); }
.tire-result { position: sticky; top: calc(var(--hd-h) + 20px); padding: 30px; border-radius: var(--r); background: var(--ink); color: rgba(255,255,255,.7); }
.tire-size small { display: block; font-size: 13px; }
.tire-size b { font-family: var(--cond); font-size: 44px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.grades { display: grid; gap: 8px; margin: 18px 0 14px; }
.grades li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); }
.grades li.is-rec { border-color: var(--accent); background: rgba(255,194,26,.06); }
.grades b { color: #fff; font-size: 16px; }
.grades em { margin-left: 4px; padding: 1px 6px; border-radius: 3px; background: var(--accent); color: var(--ink); font-style: normal; font-size: 11px; }
.grades div small { display: block; font-size: 12px; }
.grades p { text-align: right; line-height: 1.3; }
.grades p span { display: block; font-size: 12px; }
.grades strong { display: block; font-family: var(--cond); font-size: 28px; font-weight: 800; color: var(--accent); }
.grades p small { font-size: 11px; }
.tire-result .note { color: rgba(255,255,255,.5); margin-bottom: 18px; }
@media (max-width: 900px) { .tire-grid { grid-template-columns: minmax(0, 1fr); } .tire-result { position: static; } }
@media (max-width: 560px) { .tire-form, .tire-result { padding: 20px 14px; } .grades li { flex-direction: column; align-items: flex-start; } .grades p { text-align: left; } }

/* 예약 */
.bk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.bk-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--r); }
.bk-form > .field { margin-bottom: 30px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day, .slot { position: relative; cursor: pointer; }
.day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border: 2px solid var(--line); border-radius: var(--r); line-height: 1.25; }
.day small { font-size: 12px; color: var(--muted); }
.day b { font-family: var(--cond); font-size: 24px; color: var(--ink); }
.day em { font-style: normal; font-size: 10px; color: #e03131; }
.day.is-sat small { color: #3366cc; }
.day.is-off { cursor: not-allowed; opacity: .45; }
.day input:checked + span, .slot input:checked + span { border-color: var(--primary); background: var(--primary); }
.day input:checked + span *, .slot input:checked + span, .slot input:checked + span small { color: #fff; }
.day input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin-top: 12px; }
.slot span { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border: 2px solid var(--line); border-radius: var(--r); font-family: var(--cond); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.slot small { font-family: "Pretendard Variable", sans-serif; font-size: 11px; font-weight: 500; color: var(--muted); }
.slot.is-off { cursor: not-allowed; }
.slot.is-off span { background: var(--gray); color: #b8bcc3; text-decoration: line-through; }
.days.is-invalid .day span, .slots.is-invalid .slot span { border-color: #e03131; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.is-invalid { border-color: #e03131 !important; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 6px; font-size: 14px; }
.agree input { margin-top: 5px; accent-color: var(--primary); }
.agree a { color: var(--primary); text-decoration: underline; }
.agree:has(.is-invalid) { color: #e03131; }
.form-msg { min-height: 1.5em; margin: 10px 0; font-size: 14px; font-weight: 700; color: #e03131; }
.form-msg.is-ok { color: #1a8a3a; }
.bk-side { position: sticky; top: calc(var(--hd-h) + 20px); padding: 28px; border-radius: var(--r); background: var(--gray); }
.bk-sum { margin: 14px 0; border-top: 2px solid var(--ink); }
.bk-sum div { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bk-sum dt { color: var(--muted); }
.bk-sum dd { color: var(--ink); font-weight: 700; }
.bk-note { font-size: 13px; color: var(--muted); }
.bk-call { margin: 20px 0; padding: 16px; border-radius: var(--r); background: var(--ink); color: rgba(255,255,255,.7); }
.bk-call small { display: block; font-size: 13px; }
.bk-call a { font-family: var(--cond); font-size: 30px; font-weight: 800; color: var(--accent); }
.bk-side img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .bk-grid { grid-template-columns: minmax(0, 1fr); } .bk-side { position: static; } }
@media (max-width: 560px) { .bk-form { padding: 20px 14px; } .field-row { grid-template-columns: minmax(0, 1fr); } .days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; } .day b { font-size: 19px; } .day small { font-size: 11px; } }

/* 소개 */
.sign { margin-top: 26px; color: var(--muted); }
.sign b { margin: 0 6px; font-size: 20px; color: var(--ink); }
.sign small { display: block; }
.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.equip li { display: flex; gap: 12px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); color: #fff; font-weight: 600; }
.equip .ico { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 800px) { .equip { grid-template-columns: minmax(0, 1fr); } }
.map { position: relative; border-radius: var(--r); overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin .ico { width: 40px; height: 40px; fill: var(--primary); stroke: #fff; }
.pin b { order: -1; margin-bottom: 4px; padding: 3px 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; }
.info-dl { margin-top: 20px; border-top: 2px solid var(--ink); }
.info-dl div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-dl dt { font-size: 14px; color: var(--muted); }
.info-dl dd { color: var(--ink); }
.policy h2 { margin: 30px 0 10px; font-size: 19px; color: var(--ink); }
.policy-date { margin-top: 30px; color: var(--muted); }
.wrap-narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- 푸터 ---------- */
.ft { padding: 60px 0 36px; background: #0f1115; color: rgba(255,255,255,.55); font-size: 14px; }
.ft-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-logo { font-family: var(--cond); font-size: 30px; font-weight: 800; letter-spacing: .06em; color: #fff; }
.ft-logo span { color: var(--primary); }
.ft-desc { margin-bottom: 12px; }
.ft-tel { font-family: var(--cond); font-size: 34px; font-weight: 800; color: var(--accent); }
.ft-hours div { display: grid; grid-template-columns: 100px 1fr; padding: 4px 0; }
.ft-hours dt { color: #fff; font-weight: 600; }
.ft-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; align-content: start; }
.ft-menu a:hover, .ft-menu b { color: #fff; }
.ft-info { padding-top: 24px; line-height: 2; }
.ft-info span + span::before { content: "|"; margin: 0 8px; opacity: .3; }
.copy { margin-top: 6px; font-size: 13px; opacity: .7; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.m-bar { display: none; }
@media (max-width: 1024px) {
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .m-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0; font-size: 12px; font-weight: 600; color: #fff; }
  .m-bar .ico { width: 22px; height: 22px; }
  .m-bar-em { background: var(--primary); }
  body { padding-bottom: 62px; }
}
