/* Cars Benediction theme
   Mist ground, deep ink, evergreen for action, brass for price drops.
   Archivo (semi-wide, heavy) for display; Public Sans for text. */
:root {
	--mist: #EEF1EF;
	--white: #FFFFFF;
	--ink: #16222A;
	--ink-2: #3E4B54;
	--muted: #52606A;
	--line: #D5DCD9;
	--line-2: #C9D2CE;
	--go: #135B45;
	--go-deep: #0C4131;
	--brass: #B7862E;
	--display: "Archivo", "Arial Narrow", sans-serif;
	--text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--go); }
a:hover { color: var(--go-deep); }
:focus-visible { outline: 3px solid var(--go); outline-offset: 2px; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: var(--white); padding: 8px 12px; }
.muted { color: var(--ink-2); }

/* Type */
.display { font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.06; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.display--page { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 18px; }
.h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.1; margin: 0; }
.h3 { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; line-height: 1.2; margin: 0 0 8px; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 36em; margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.45rem; margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 6px; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn--go { background: var(--go); color: var(--white); }
.btn--go:hover { background: var(--go-deep); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { color: var(--white); background: #0E171D; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--line { border-color: var(--go); color: var(--go); background: var(--white); }
.btn--big { min-height: 54px; font-size: 1.05rem; width: 100%; }
.more { font-weight: 700; }

/* Header */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-head__in { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: flex; align-items: center; flex: none; }
/* The road in the emblem sits below the lettering: the lettering's center is at
   58% of the image height, so the image moves up 8% of its height to put the
   lettering level with the menu text. */
.brand img { display: block; height: 64px; width: auto; transform: translateY(-8.1%); }
.site-foot__logo img { display: block; height: 52px; width: auto; margin-bottom: 10px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav__list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav__list a:hover, .nav__list .current-menu-item a { color: var(--go); }
.mnav { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 48px 0 56px; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__media { position: relative; }
/* Same 3:2 shape as the dealer's photos, so the car is shown whole rather than cropped in. */
.hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; display: block; }
.hero__tag { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px; background: var(--white); color: var(--ink); text-decoration: none; border-radius: 8px; padding: 12px 16px; box-shadow: 0 6px 20px rgba(22, 34, 42, 0.18); }
.hero__tag span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.hero__tag strong { font-family: var(--display); font-stretch: 112%; font-size: 1.6rem; }

/* Payment finder */
.finder { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px 26px; display: grid; gap: 16px; max-width: 580px; }
.finder__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.finder__top label { font-weight: 700; font-size: 1.05rem; }
.finder__pay { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 2.1rem; color: var(--go); }
.finder input[type=range] { width: 100%; accent-color: var(--go); height: 28px; }
.finder__note { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.finder__note strong { color: var(--ink); }
.finder__styles { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; font-size: 0.93rem; cursor: pointer; }
.chip input:checked + span { background: var(--go); border-color: var(--go); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--go); outline-offset: 2px; }

/* Bands */
.band { padding: 56px 0; }
.band--white { background: var(--white); }
.band--tight { padding: 36px 0 12px; }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.band > .h2, .band .h2 + .styles { margin-bottom: 0; }
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 22px; }
.style { display: grid; gap: 8px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.style svg { color: var(--go); }
.style strong { font-size: 1.1rem; }
.style span { color: var(--muted); font-size: 0.9rem; }
.style:hover { border-color: var(--go); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.split > div > .h2 + p { margin-top: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--r); }
.steps__n { font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--go); line-height: 1; }
.steps strong { font-size: 1.05rem; }
.steps p { margin: 4px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 56px; }
.panel { display: grid; gap: 14px; align-content: start; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.panel p { margin: 0; color: var(--ink-2); }
.panel .btn { justify-self: start; }
.panel--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.panel--ink .h2 { color: var(--white); }
.panel--ink p { color: #C9D3D8; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.pill { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--white); }
.pill:hover { border-color: var(--go); color: var(--go); }
.pill--more { background: var(--mist); }
.faq details { border-top: 1px solid var(--line-2); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq details p { margin: 8px 0 0; color: var(--ink-2); }
.faq--open section { border-top: 1px solid var(--line-2); padding: 18px 0; }
.faq--open p { margin: 0; }

/* Inner pages */
.page { padding: 28px 0 64px; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.side__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: sticky; top: 100px; }
.side__card p { color: var(--ink-2); }
.facts { display: grid; gap: 10px; margin: 24px 0; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.counties { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.counties section { background: var(--white); border-radius: var(--r); padding: 22px; }
.counties ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.counties a { font-weight: 700; }
.counties .muted { font-size: 0.88rem; }

/* Footer */
.site-foot { background: var(--ink); color: #C9D3D8; padding: 48px 0 24px; margin-top: 24px; }
.site-foot__in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-foot a { color: #C9D3D8; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot strong { color: var(--white); }
.site-foot__brand, .site-foot__col { display: grid; gap: 8px; align-content: start; }
.site-foot__brand strong { font-family: var(--display); font-stretch: 112%; font-size: 1.35rem; }
.site-foot__brand a { color: var(--white); font-weight: 700; }
.site-foot__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid #2B3842; font-size: 0.85rem; }
.actionbar { display: none; }

/* Inventory plugin, in the site's look. Defined on :root too, because the
   plugin's lead forms also appear outside .cbi wrappers (city, contact, financing pages). */
:root, .cbi {
	--cbi-surface: #FFFFFF;
	--cbi-accent-ink: #FFFFFF;
	--cbi-radius: 8px;
}
:root, .cbi {
	--cbi-ink: #16222A;
	--cbi-muted: #52606A;
	--cbi-line: #D5DCD9;
	--cbi-soft: #EEF1EF;
	--cbi-accent: #135B45;
	--cbi-accent-deep: #0C4131;
	--cbi-drop: #7A5714;
	font-family: var(--text);
}
.cbi h1, .cbi h2, .cbi h3, .cbi .cbi-price__now, .cbi .cbi-card__price strong { font-family: var(--display); font-stretch: 110%; }
.cbi-panel__title, .cbi-inv__head h1 { font-weight: 850; letter-spacing: -0.02em; }
.cbi-badge--drop { background: #F4EAD6; color: #6E4F12; }
body .cbi--embed { max-width: none; padding: 0; margin: 0; }
/* Inventory and vehicle pages use the same content width as the header, so the
   logo, headings and grid share one left edge and the phone button one right edge. */
body .cbi:not(.cbi--embed) { max-width: none; width: min(1280px, 100% - 48px); padding-left: 0; padding-right: 0; }
@media (max-width: 640px) { body .cbi:not(.cbi--embed) { width: min(1280px, 100% - 32px); } }
.cbi-main .cbi { padding-top: 28px; }

/* Responsive */
@media (max-width: 1260px) {
	.nav, .head-call span { display: none; }
	.head-call { margin-left: auto; min-height: 44px; width: 44px; padding: 0; }
	.mnav { display: block; position: relative; }
	.mnav summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
	.mnav summary::-webkit-details-marker { display: none; }
	.mnav__list { position: absolute; right: 0; top: 52px; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(22, 34, 42, 0.15); }
	.mnav__list a { display: block; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
	.mnav__list a:hover { background: var(--mist); }
	.hero, .split, .page-grid, .panels { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.hero { padding-top: 28px; }
	.hero__media { order: -1; }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.side__card { position: static; }
	.site-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.wrap { width: min(100% - 32px, 1280px); }
	.brand img { height: 44px; }
	.site-head__in { gap: 8px; }
	.finder { padding: 18px; }
	.panel { padding: 24px; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
	.site-foot__in { grid-template-columns: minmax(0, 1fr); }
	body { padding-bottom: 72px; }
	.actionbar { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); }
}
.prose .source { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 380px) {
	.brand img { height: 38px; }
}
