/*
Theme Name: Lopez Auto Lot
Theme URI: https://remostudios.com
Author: RemoStudios
Description: Custom WordPress theme for Lopez Auto Lot LLC, a family-owned auto repair shop and used car lot in York, PA. Business details, hours, prices and brand colors live in the BUSINESS CONFIG block at the top of functions.php. Includes a vehicles-for-sale listing with a staff-only front-end manager at /manage-inventory/. Orange/charcoal palette, Bungee headings, Inter body.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lopez-auto-lot
*/

/* ============================================================
   Lopez Auto Lot — shared site stylesheet
   ============================================================ */

:root {
  --primary: #F05A28;
  --primary-dark: #D4461A;
  --ink: #231F20;
  --muted: #636a75;
  --line: #e5e7eb;
  --soft: #f5f6f8;
  --white: #ffffff;
  --font-heading: 'Bungee', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --shadow: 0 24px 70px rgba(5, 7, 11, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }

/* ---------- header / nav ---------- */
body { padding-top: 198px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 50; }

.announce-bar { position: relative; z-index: 2; background: #24272d; color: #fff; }
.header-collapsible { position: relative; z-index: 1; transition: transform .3s ease; }
.site-header.header-hidden .header-collapsible { transform: translateY(-100%); }

.header-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; transition: transform .3s ease; }
.site-header.header-hidden .header-top { transform: translateY(-100%); }
.header-nav.sticky-nav { position: relative; z-index: 1; margin-top: 138px; transition: margin-top .3s ease; }
.site-header.header-hidden .header-nav.sticky-nav { margin-top: 0; }
body.header-collapsed { padding-top: 60px; }
body { transition: padding-top .2s ease; }
.announce-inner { height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announce-msg, .announce-msg:hover, .announce-msg:visited, .announce-msg * { text-decoration: none !important; }
.announce-msg { display: flex; align-items: center; gap: 10px; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.announce-msg svg { width: 16px; flex: 0 0 16px; stroke: #fff; }
.announce-msg strong { font-weight: 800; }
.announce-msg .sep { color: #6a6f78; }
.announce-msg .sub { color: #b7bac0; font-weight: 500; }
.announce-msg .announce-details { color: #9aa0aa; font-size: .74rem; font-style: italic; }
.announce-links { display: flex; align-items: center; gap: 22px; }
.announce-links a { font-size: .82rem; font-weight: 700; text-decoration: none; color: #fff; white-space: nowrap; }
.announce-links a:hover { color: var(--primary); }

.header-main { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.header-main-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 190px; height: auto; }
.header-info { display: flex; align-items: center; gap: 30px; }
.info-item { display: flex; align-items: center; gap: 10px; }
.info-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; }
.info-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.info-item div strong { display: block; font-size: .84rem; font-weight: 800; color: var(--ink); }
.info-item div span { display: block; font-size: .8rem; color: var(--muted); }
.header-email-link, .header-email-link:hover, .header-email-link:visited { color: inherit; text-decoration: none !important; }

.header-nav { background: #fff; border-bottom: 3px solid var(--primary); }
.header-nav-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; font-family: inherit; padding: 20px 0; display: flex; align-items: center; gap: 5px; }
.main-nav > ul > li > button svg { width: 11px; transition: transform .15s; }
.main-nav > ul > li:hover > button svg { transform: rotate(180deg); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { color: var(--primary); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 45px rgba(17,19,24,.14); padding: 10px; display: none; }
.main-nav > ul > li:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--soft); color: var(--primary); }
.book-btn { flex: 0 0 auto; border: 0; cursor: pointer; background: var(--primary); color: #fff; font: 800 .88rem var(--font-body); padding: 12px 26px; border-radius: 6px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.book-btn:hover { background: var(--primary-dark); }
.nav-toggle { display: none; color: var(--ink); flex-shrink: 0; }
.nav-toggle svg { stroke: var(--ink); }
.book-btn-tablet { display: none; }
button.primary-link, button.secondary-link { font-family: var(--font-body); border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.secondary-link.on-light { border: 1px solid #cdd1d7; }

/* ---------- service page banner (light, fading photo) ---------- */
.service-header { position: relative; overflow: hidden; background: var(--soft); padding: 54px 0 46px; }
.service-header-photo { position: absolute; inset: 0; left: 38%; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 35%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 35%, #000 65%); }
.service-header .wrap { position: relative; z-index: 1; }
.service-header .breadcrumb { color: var(--muted); }
.service-header .breadcrumb a { color: var(--muted); }
.service-header .breadcrumb a:hover { color: var(--ink); }
.service-header h1 { color: var(--primary); font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 14px; }
.service-header p { color: var(--muted); max-width: 460px; margin-bottom: 22px; font-size: 1rem; }
.service-header .secondary-link.on-light { background: #fff; }
.service-header .header-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.service-header .header-ctas a { min-width: 160px; justify-content: center; }
.service-header .header-ctas .primary-link { border: 1px solid #cdd1d7; }

.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 14px; font-size: .78rem; color: #9aa0aa; }
.breadcrumb a { text-decoration: none; color: #9aa0aa; }
.breadcrumb a:hover { color: #fff; }

/* ---------- auto repair hub page ---------- */
.services-hero { position: relative; text-align: center; display: flex; align-items: center; min-height: 220px; padding: 32px 0 44px; background-color: var(--ink); background-size: cover; background-position: center 35%; }
.services-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(17,19,24,.82), rgba(17,19,24,.88)); }
.services-hero .wrap { position: relative; z-index: 1; }
.services-hero .breadcrumb { justify-content: center; margin-bottom: 18px; }
.services-hero h1, .services-hero .hero-heading { color: var(--primary); font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); max-width: 760px; margin: 0 auto 14px; line-height: 1.15; }
.post-article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 20px; }
.post-numbered-list { list-style: none; counter-reset: post-num; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 18px; }
.post-numbered-list li { counter-increment: post-num; display: flex; gap: 16px; align-items: flex-start; }
.post-numbered-list li::before { content: counter(post-num); flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 400; font-size: .85rem; display: grid; place-items: center; margin-top: 2px; }
.post-numbered-list strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.post-numbered-list span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.services-hero p { color: #c7cad0; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.services-hero-divider { width: min(760px, 90%); margin: 34px auto 0; border: 0; border-top: 1px solid var(--line); }

.icon-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 20px; padding: 44px 0; }
.icon-row a { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); width: 108px; }
.icon-row .icon-circle { width: 56px; height: 56px; display: grid; place-items: center; }
.icon-row .icon-circle svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.icon-row span { font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.3; }
.icon-row a:hover { color: var(--primary); }
.icon-row a:hover .icon-circle svg { stroke: var(--primary); }

.oil-promo { position: relative; background: var(--ink); color: #fff; text-align: center; padding: 64px 0 90px; clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); }
.oil-promo h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.oil-promo .promo-price { color: var(--primary); font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.oil-promo .promo-fine { color: #c7cad0; font-size: .85rem; margin-bottom: 26px; }

.theme-heading { text-align: center; margin-bottom: 44px; }
.theme-heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 8px; }
.theme-heading p { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; margin-bottom: 0; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.theme-card { text-decoration: none; color: inherit; text-align: center; }
.theme-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--ink); }
.theme-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 0; }
.theme-card:hover h3 { color: var(--primary); }

/* ---------- coupons / pricing page ---------- */
.coupon-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coupon-photo-card { position: relative; border: 2px dashed var(--primary); border-radius: 12px; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
.coupon-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(1); }
.coupon-photo-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,12,.3) 0%, rgba(10,10,12,.92) 65%); }
.coupon-photo-card .cpc-body { position: relative; z-index: 2; padding: 26px 26px 32px; color: #fff; text-align: center; }
.coupon-photo-card .cpc-label { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.coupon-photo-card .cpc-divider { width: 40px; height: 2px; background: #fff; margin: 0 auto 20px; }
.coupon-photo-card .cpc-value { font-family: var(--font-heading); font-weight: 400; color: var(--primary); font-size: 1.5rem; line-height: 1.3; margin-bottom: 18px; }
.coupon-photo-card .cpc-terms { font-size: .78rem; color: #c7cad0; line-height: 1.5; }

.promo-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-split-card { display: grid; grid-template-columns: 160px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.promo-split-card img { width: 100%; height: 100%; object-fit: cover; }
.promo-split-card .psc-body { padding: 24px 26px; }
.promo-split-card .psc-label { color: var(--primary); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.promo-split-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.promo-split-card .psc-fine { color: var(--muted); font-size: .82rem; margin-bottom: 16px; }

/* ---------- blog index (card grid) ---------- */
.blog-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-post-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(17,19,24,.05); display: flex; flex-direction: column; }
.blog-post-card .thumb { position: relative; height: 180px; }
.blog-post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-card .cat-pill { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.blog-post-card .cat-pill.muted-pill { background: rgba(255,255,255,.9); color: var(--muted); }
.blog-post-card .body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-post-card h2, .blog-post-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; font-family: var(--font-body); font-weight: 700; letter-spacing: normal; }
.blog-post-card h3 a { color: var(--ink); text-decoration: none; }
.blog-post-card h3 a:hover { color: var(--primary); }
.blog-post-card p { color: var(--muted); font-size: .86rem; line-height: 1.6; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-card .card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.blog-post-card .share-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); text-decoration: none; }
.blog-post-card .share-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.blog-post-card .share-btn:hover { border-color: var(--primary); color: var(--primary); }
.blog-post-card .coming-soon-tag { font-size: .78rem; }

.coming-soon-tag { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- single blog post ---------- */
.post-hero-img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 28px; }
.post-article h2 { font-size: 1.4rem; margin: 34px 0 14px; }
.post-article h2:first-child { margin-top: 0; }
.post-article p { color: var(--ink); font-size: 1rem; line-height: 1.75; margin-bottom: 18px; }
.post-article ul, .post-article ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.post-article li { margin-bottom: 8px; }
.post-article strong { color: var(--ink); }
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.post-meta .blog-cats { margin-bottom: 0; }
.post-callout { background: var(--soft); border-left: 3px solid var(--primary); border-radius: 6px; padding: 18px 20px; margin: 24px 0; font-size: .95rem; color: var(--ink); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { max-width: 45%; text-decoration: none; color: var(--ink); font-size: .88rem; }
.post-nav a span { display: block; color: var(--primary); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.post-nav a:hover { color: var(--primary); }
.post-nav .next { text-align: right; margin-left: auto; }

/* ---------- about us / team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-avatar { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .team-role { color: var(--primary); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

/* ---------- contact page ---------- */
.contact-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-method { border: 1px solid var(--line); border-radius: 12px; padding: 30px 20px; text-align: center; background: #fff; display: flex; flex-direction: column; }
.contact-method .cm-icon { align-self: center; width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 50%; background: rgba(240,90,40,.1); display: grid; place-items: center; }
.contact-method .cm-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.contact-method h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-method p { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.contact-method .primary-link { justify-content: center; margin-top: auto; }

.contact-details dt { font-family: var(--font-heading); font-weight: 400; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin: 22px 0 6px; }
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.6; }
.dropbox-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; background: var(--soft); border-left: 3px solid var(--primary); border-radius: 6px; font-size: .88rem; color: var(--ink); line-height: 1.5; }
.dropbox-note svg { width: 20px; height: 20px; flex: 0 0 20px; stroke: var(--primary); fill: none; stroke-width: 1.8; margin-top: 2px; }

.map-embed { border: 0; width: 100%; height: 300px; border-radius: 12px; display: block; margin-bottom: 20px; }

/* ---------- vehicle brand page ---------- */
.vehicle-header { position: relative; overflow: hidden; background: var(--soft); padding: 60px 0 40px; text-align: center; }
.vehicle-header .brand-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 560px; max-width: 90vw; height: auto; opacity: .09; filter: grayscale(1); pointer-events: none; }
.vehicle-header .wrap { position: relative; z-index: 1; }
.vehicle-header h1 { color: var(--primary); font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 820px; margin: 0 auto 10px; line-height: 1.2; }
.vehicle-header .sub { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.vehicle-header .breadcrumb { justify-content: center; margin-bottom: 0; }

.vehicle-intro p { max-width: none; font-size: 1.04rem; color: var(--muted); }

.problem-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.problem-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.problem-list li::before { content: "✓"; flex: 0 0 22px; height: 22px; margin-top: 2px; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 50%; font-size: .68rem; font-weight: 800; }
.problem-list li strong { color: var(--ink); }

.model-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.model-tags a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: .82rem; font-weight: 700; color: var(--primary); text-decoration: none; background: #fff; }
.model-tags a:hover { border-color: var(--primary); background: rgba(240,90,40,.05); }

.vehicle-sidebar { position: sticky; top: 218px; }
.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.price-table th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.price-table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .88rem; }
.price-table td:last-child { text-align: right; font-weight: 700; }
.price-note { font-size: .72rem; color: var(--muted); margin: 0 0 22px; }

.sidebar-recent-posts { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sidebar-recent-posts h3 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.recent-post-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 8px 0; }
.recent-post-item:not(:last-child) { border-bottom: 1px solid var(--line); }
.recent-post-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-title { font-size: .84rem; font-weight: 700; line-height: 1.35; }
.recent-post-item:hover .recent-post-title { color: var(--primary); }

/* ---------- service page layout + services sidebar menu ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 270px; gap: 50px; align-items: start; }
.service-main > *:not(:last-child) { margin-bottom: 40px; }
.service-menu { position: sticky; top: 218px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.service-menu .card-topline { position: static; height: 4px; }
.service-menu h3 { padding: 16px 18px 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 0; }
.service-menu nav { display: flex; flex-direction: column; }
.service-menu nav a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .88rem; }
.service-menu nav a svg { width: 18px; height: 18px; flex: 0 0 18px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.service-menu nav a:hover { color: var(--primary); background: var(--soft); }
.service-menu nav a.active { color: var(--primary); background: var(--soft); }
.service-menu nav a.active svg { stroke: var(--primary); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 460px; background: #16191e url('../assets/hero/general.jpg') center/cover no-repeat; color: white; isolation: isolate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,14,.96) 0%, rgba(8,10,14,.84) 44%, rgba(8,10,14,.3) 100%); z-index: -1; }
.hero-content { min-height: 460px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr); gap: clamp(52px, 8vw, 100px); align-items: center; padding-block: 44px; }
.hero-content.single { grid-template-columns: 1fr; max-width: 760px; }
.eyebrow, .section-label { margin: 0 0 14px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { color: #fff; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 3px; background: var(--primary); }
.hero h1 { max-width: 640px; margin-bottom: 6px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; }
.hero h1 em { color: var(--primary); font-style: normal; display: block; }
.hero-tagline { max-width: 640px; margin: 0 0 14px; color: var(--primary); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; line-height: 1.2; }
.hero-lead { max-width: 650px; font-size: 1rem; line-height: 1.6; color: #e5e7eb; margin-bottom: 22px; }
.promise-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.promise { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.promise.offer { border-color: rgba(240,90,40,.7); background: rgba(240,90,40,.14); }
.promise strong { font-family: var(--font-heading); font-weight: 400; font-size: 1rem; color: #fff; }
.promise span { font-size: .75rem; color: #d9dde3; max-width: 130px; line-height: 1.25; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-proof { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: #d5d8dd; }
.stars { color: #f4b63e; letter-spacing: .06em; }
.hero-proof strong { color: white; }

/* ---------- generic card/link buttons ---------- */
.primary-link, .secondary-link { padding: 13px 22px; border-radius: 6px; font-size: .88rem; font-weight: 800; line-height: 1.15; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.primary-link { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.primary-link:hover { background: var(--primary-dark); }
.secondary-link { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.secondary-link.on-light { border-color: #cdd1d7; color: var(--ink); }
.text-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 800; text-decoration: none; }
.text-link span { margin-left: 6px; transition: margin .16s; }
.text-link:hover span { margin-left: 10px; }

/* ---------- hero booking tabs card ---------- */
.center { text-align: center; }
.cta-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--soft); border-radius: 9px; padding: 5px; margin: 6px 0 20px; }
.cta-tab { border: 0; background: transparent; border-radius: 6px; padding: 11px 10px; font-family: var(--font-body); font-weight: 800; font-size: .84rem; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.cta-tab.active { background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
/* Deliberately NOT stacking both panels with grid-area:1/1 + opacity
   crossfade - that sizes the card to the TALLER panel even while the
   shorter one is showing (the form panel is much taller than the
   simple booking panel), leaving a big gap of white space. Swapping
   with display keeps the card sized to whichever panel is actually
   visible. */
.cta-panel-stack .cta-panel { display: none; }
.cta-panel-stack .cta-panel.is-active { display: block; }
.cta-icon { width: 56px; height: 56px; margin: 4px auto 14px; border-radius: 50%; background: rgba(240,90,40,.1); display: grid; place-items: center; }
.cta-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta-headline { font-size: 1.5rem; line-height: 1.15; margin-bottom: 10px; }
.cta-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); text-align: center; line-height: 1.4; }
.cta-divider { border-top: 1px solid var(--line); margin: 18px 0 14px; }
.cta-link-btn { display: block; width: 100%; text-align: center; background: none; border: 0; color: var(--ink); font-size: .84rem; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px; font-family: var(--font-body); }

/* ---------- lead / quote card ---------- */
.lead-card { position: relative; overflow: hidden; padding: 24px 28px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.card-topline { height: 6px; position: absolute; left: 0; right: 0; top: 0; background: var(--primary); }
.card-kicker { color: var(--primary); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; margin-bottom: 5px; }
.lead-card h2 { font-size: 1.6rem; margin-bottom: 9px; }
.form-intro { color: var(--muted); font-size: .84rem; line-height: 1.4; margin-bottom: 14px; }
.field { margin-bottom: 10px; }
.field label { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 800; color: #343941; }
.field label span { color: var(--primary); }
.field label .optional { color: #858b94; font-weight: 500; float: right; }
.field input, .field textarea { width: 100%; border: 1px solid #cfd3d9; border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; outline: none; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(240,90,40,.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--primary); }
.field-checkbox { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 14px; }
.field-checkbox input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 16px; accent-color: var(--primary); }
.field-checkbox label { margin: 0; font-size: .82rem; font-weight: 600; color: #343941; text-align: left; }
.error { min-height: 14px; display: block; color: #b42318; font-size: .72rem; margin-top: 2px; }
.submit-error { background: #fdecea; border: 1px solid #f3c2bc; color: #b42318; font-size: .8rem; font-weight: 600; padding: 10px 14px; border-radius: 6px; margin: 0 0 12px; text-align: center; }
.submit-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; background: var(--primary); color: #fff; padding: 11px 16px; font: 800 .85rem var(--font-body); cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.2); transition: transform .16s, filter .16s; }
.submit-button svg { width: 16px; }
.submit-button:hover { filter: brightness(0.9); transform: translateY(-1px); }
.privacy-note { margin: 12px 0 0; color: #7a808a; font-size: .68rem; line-height: 1.5; }
.success-panel { text-align: center; padding: 48px 10px 30px; }
.success-icon { margin: 0 auto 18px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #eaf8ef; color: #16753a; font-size: 1.8rem; font-weight: 800; }
.success-panel h2 { font-size: 1.6rem; }
.success-panel p { color: var(--muted); }
.success-panel a { color: var(--primary); font-weight: 800; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--primary); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 108px; display: flex; gap: 13px; align-items: center; padding: 20px 26px; border-right: 1px solid rgba(255,255,255,.22); }
.trust-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.22); }
.trust-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; font-family: var(--font-heading); font-size: .8rem; }
.trust-grid p { margin: 0; line-height: 1.3; }
.trust-grid strong { display: block; font-size: .86rem; }
.trust-grid small { display: block; margin-top: 4px; opacity: .8; font-size: .72rem; }

/* ---------- shared section ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 60px 0; }
.section h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 20px; }
.section h2.h-section { font-size: 1.9rem; }
.section h2.h-medium, .service-main h2.h-medium { font-size: 1.5rem; }
.h-compact { font-size: 1.15rem; margin-bottom: 16px; }
.centered { text-align: center; max-width: 700px; margin: 0 auto 42px; }
.section-copy > p:not(.section-label) { color: var(--muted); font-size: 1.04rem; max-width: 520px; }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.two-column.even { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bg-soft { background: var(--soft); }

/* ---------- why-choose checklist ---------- */
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list.single { grid-template-columns: 1fr; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .95rem; }
.check-list li::before { content: "✓"; flex: 0 0 22px; height: 22px; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 800; }

/* ---------- service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 28px rgba(17,19,24,.05); display: flex; flex-direction: column; }
.service-card .thumb { height: 160px; position: relative; overflow: hidden; }
.service-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.service-card .thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.service-card .thumb-label { position: absolute; left: 16px; bottom: 12px; color: #fff; font-family: var(--font-heading); font-size: 1rem; z-index: 2; }
.service-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card p { color: var(--muted); font-size: .9rem; flex: 1; }

/* ---------- location card ---------- */
.info-card { background: #fff; border: 1px solid var(--line); border-left: 7px solid var(--primary); border-radius: 12px; padding: 34px 38px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: center; box-shadow: 0 18px 55px rgba(17,19,24,.08); }
.info-card .info-block strong { display: block; font-family: var(--font-heading); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.info-card .info-block p { margin: 0; color: var(--ink); font-size: .95rem; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, auto)); gap: 32px; }

/* ---------- brand strip ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: stretch; }
.brand-badge { border: 1px solid var(--line); border-radius: 10px; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 100px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.brand-badge:hover { border-color: var(--primary); box-shadow: 0 10px 24px rgba(17,19,24,.08); }
.brand-badge span { font-family: var(--font-heading); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-badge img { height: 26px; width: auto; max-width: 85%; filter: grayscale(1) brightness(0.25); opacity: .85; }
.brand-badge:hover img { filter: none; opacity: 1; }

/* ---------- vehicle make hub ---------- */
.vehicle-group-label { font-family: var(--font-heading); font-weight: 400; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin: 0 0 18px; }
.vehicle-group-label:not(:first-child) { margin-top: 46px; }
.vehicle-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 6px; }
.vehicle-brand-card { border: 1px solid var(--line); border-radius: 12px; padding: 34px 26px; text-align: center; text-decoration: none; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.vehicle-brand-card:hover { border-color: var(--primary); box-shadow: 0 14px 34px rgba(17,19,24,.08); transform: translateY(-2px); }
.vehicle-brand-card img { height: 38px; width: auto; max-width: 120px; margin: 0 auto 20px; filter: grayscale(1) brightness(0.25); opacity: .85; }
.vehicle-brand-card:hover img { filter: none; opacity: 1; }
.vehicle-brand-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.vehicle-brand-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 16px; }
.vehicle-brand-card .card-link { color: var(--primary); font-weight: 800; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.vehicle-brand-card:hover .card-link { text-decoration: underline; }

/* ---------- locations we serve ---------- */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.location-card { border: 1px solid var(--line); border-radius: 12px; padding: 30px 26px; background: #fff; }
.location-card .pin { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.location-card .pin svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; }
.location-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.location-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 0; }

/* ---------- legal / policy content ---------- */
.policy-article { max-width: 820px; }
.policy-article h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.policy-article h2:first-child { margin-top: 0; }
.policy-article p { color: var(--ink); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.policy-article ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.policy-article li { margin-bottom: 6px; }
.policy-article a { color: var(--primary); }
.policy-updated { color: var(--muted); font-size: .88rem; margin-bottom: 30px; }

/* ---------- process ---------- */
.process { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { position: relative; padding: 34px 30px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(17,19,24,.05); }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-heading); }
.steps article:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 44px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; color: var(--primary); background: var(--soft); font-weight: 800; }
.steps h3 { font-size: 1rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

.warranty-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step-card { padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(17,19,24,.05); }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

.disclaimer-card { padding: 24px 28px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.disclaimer-card p { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 14px; }
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card strong { color: var(--ink); }

/* ---------- financing ---------- */
.financing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 36px; }
.financing-card { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: box-shadow .18s, transform .18s; }
.financing-card:hover { box-shadow: 0 14px 32px rgba(17,19,24,.08); transform: translateY(-2px); }
.fc-icon { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: rgba(240,90,40,.1); display: flex; align-items: center; justify-content: center; }
.fc-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-logo { display: flex; align-items: center; justify-content: center; height: 42px; margin: 0 auto 16px; }
.fc-logo img { display: block; height: 100% !important; width: auto !important; max-width: 140px; object-fit: contain; }
.financing-card h3 { font-size: .98rem; margin-bottom: 8px; }
.financing-card .fc-main { font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.financing-card .fc-detail { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.financing-intro { color: var(--muted); font-size: 1.02rem; max-width: 62ch; margin: 0 auto; }
.financing-cta { text-align: center; }
.financing-cta-sub { margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.financing-disclosure { margin: 30px auto 0; max-width: 72ch; color: #9099a3; font-size: .72rem; line-height: 1.6; text-align: center; }

/* ---------- blog feature grid ---------- */
.blog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.blog-header h2 { font-size: 1.9rem; margin-bottom: 0; }
.outline-link { border: 1px solid var(--line); border-radius: 6px; padding: 12px 24px; font-weight: 800; font-size: .86rem; color: var(--primary); text-decoration: none; white-space: nowrap; }
.outline-link:hover { border-color: var(--primary); background: rgba(240,90,40,.05); }

.blog-feature-grid { display: grid; grid-template-columns: 1fr 1.7fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 20px; }
.blog-feature-grid .blog-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.blog-feature-grid .blog-card:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.blog-feature-grid .blog-card:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.blog-feature-grid .blog-card:nth-of-type(4) { grid-column: 3; grid-row: 2; }

.blog-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-card .thumb { position: relative; height: 150px; overflow: hidden; }
.blog-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 16px 18px 20px; }
.blog-card .blog-category { color: var(--primary); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.blog-card h3 { font-size: .92rem; font-weight: 700; line-height: 1.35; margin-bottom: 0; }

.blog-categories { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.blog-categories span { font-weight: 800; font-size: .85rem; margin-right: 4px; }
.blog-categories a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: .82rem; font-weight: 700; color: var(--primary); text-decoration: none; background: #fff; }
.blog-categories a:hover { border-color: var(--primary); background: rgba(240,90,40,.05); }

/* ---------- fix now pay later ad card (blog feature slot) ---------- */
.payl8r-ad { grid-column: 2; grid-row: 1 / 3; border-radius: 10px; overflow: hidden; display: block; }
.payl8r-ad img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- testimonial ---------- */
.testimonial { background: var(--ink); color: #fff; }
.quote-layout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.quote-mark { font-family: Georgia, serif; font-size: 8rem; line-height: .7; color: var(--primary); }
blockquote { margin: 0; max-width: 720px; }
blockquote > p { font-family: Georgia, serif; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.5; margin-bottom: 20px; }
blockquote footer { display: flex; align-items: center; gap: 10px; font-size: .83rem; }
blockquote footer small { color: #9da3ad; }
.review-summary { padding-left: 34px; border-left: 1px solid #3a3e46; display: flex; align-items: center; gap: 14px; }
.review-summary > strong { font-family: var(--font-heading); font-size: 3rem; }
.review-summary p { margin: 2px 0 0; color: #aeb3bb; font-size: .75rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.testimonial-grid blockquote { max-width: none; }
.testimonial-grid > div { background: rgba(255,255,255,.05); border: 1px solid #2a2d34; border-radius: 10px; padding: 18px 20px; }
.testimonial-grid .stars { font-size: .8rem; }
.testimonial-grid blockquote > p { font-size: .92rem; line-height: 1.5; margin: 8px 0 12px; }
.testimonial-grid blockquote footer { font-size: .76rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-heading); color: #fff; background: var(--ink); width: 32px; height: 32px; border-radius: 4px; display: grid; place-items: center; font-size: 1.1rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\00d7"; background: var(--primary); }
.faq-item p { color: var(--muted); padding: 0 4px 20px; max-width: 68ch; }

.faq-list.numbered { max-width: 900px; }
.faq-list.numbered .faq-q::before { counter-increment: faq-num; content: counter(faq-num) "."; color: var(--primary); font-weight: 800; margin-right: 10px; }
.faq-list.numbered { counter-reset: faq-num; }

/* ---------- coupons ---------- */
.coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.coupon-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.coupon-card { display: block; text-decoration: none; color: inherit; border: 2px dashed var(--primary); border-radius: 12px; padding: 28px 30px; background: #fff8f4; position: relative; transition: transform .15s, box-shadow .15s, background .15s; }
.coupon-card:hover { background: #fff; box-shadow: 0 14px 32px rgba(240,90,40,.14); transform: translateY(-2px); }
.coupon-card .value { font-family: var(--font-heading); font-size: 1.9rem; color: var(--primary); margin-bottom: 6px; }
.coupon-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.coupon-card .terms { color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* ---------- final cta ---------- */
.final-cta { background: #fff; }
.final-card { padding: 48px 54px; display: flex; justify-content: space-between; align-items: center; gap: 45px; border: 1px solid var(--line); border-left: 7px solid var(--primary); border-radius: 12px; box-shadow: 0 18px 55px rgba(17,19,24,.08); }
.final-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.final-card p:not(.section-label) { margin-bottom: 0; color: var(--muted); }
.final-actions { display: flex; flex-direction: column; gap: 10px; min-width: 235px; text-align: center; }
.final-actions .secondary-link { border: 1px solid #cdd1d7; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { padding: 60px 0 90px; color: #afb4bc; background: #0b0d11; font-size: .85rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { width: 120px; height: 48.8px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.site-footer p { margin-bottom: 0; }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: .8rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { text-decoration: none; color: #afb4bc; font-size: .85rem; }
.site-footer ul a:hover { color: #fff; }
.footer-contact a { display: inline-block; margin-top: 12px; color: #fff; font-weight: 800; text-decoration: none; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid #2a2d34; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: #afb4bc; }
.footer-bottom { border-top: 1px solid #22252b; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .76rem; color: #7f858e; }
.footer-bottom a { color: #7f858e; }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(17,19,24,.1); max-height: calc(100vh - 66px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a, .main-nav > ul > li > button { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .dropdown { display: none !important; position: static; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 14px; }
  .main-nav > ul > li.is-open .dropdown { display: block !important; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .header-info { display: none; }
  /* Book Appointment moves up into the logo row, to the left of the
     hamburger, instead of sitting alone on its own row below. */
  .nav-right .book-btn { display: none; }
  .book-btn-tablet { display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 72px; top: 50%; transform: translateY(-50%); padding: 10px 18px; font-size: .82rem; white-space: nowrap; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .blog-feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .blog-feature-grid .blog-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .blog-feature-grid .blog-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .payl8r-ad { grid-column: 1 / 3; grid-row: 2; min-height: 340px; }
  .blog-feature-grid .blog-card:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .blog-feature-grid .blog-card:nth-of-type(4) { grid-column: 2; grid-row: 3; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .coupon-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; gap: 38px; padding-block: 36px; }
  .hero { background-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,10,14,.94) 0%, rgba(8,10,14,.82) 60%, rgba(8,10,14,.92) 100%); }
  .lead-card { max-width: 640px; width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.22); }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .financing-cards { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: auto 1fr; }
  .review-summary { grid-column: 2; border-left: 0; padding: 20px 0 0; border-top: 1px solid #3a3e46; }
  .final-card { align-items: flex-start; flex-direction: column; }
  .final-actions { width: 100%; flex-direction: row; }
  .final-actions a { flex: 1; }
  .info-card { flex-direction: column; align-items: flex-start; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-layout { grid-template-columns: 1fr; }
  .service-menu { position: static; }
  .service-header-photo { left: 55%; }
  .vehicle-sidebar { position: static; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .coupon-photo-grid { grid-template-columns: 1fr 1fr; }
  .contact-methods { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-grid { grid-template-columns: 1fr 1fr; }
  .vehicle-card-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  /* Mobile header: the whole header (black bar + logo/hamburger row)
     stays pinned together always - nothing collapses or slides away
     on scroll. header-nav has no visible menu bar of its own anymore
     (collapsed to 0 height, no border), but it's kept in the render
     tree - NOT display:none - because the hamburger dropdown (.main-nav)
     lives inside it and needs to still be able to render when opened. */
  body { padding-bottom: 64px; padding-top: 100px; }
  body.header-collapsed { padding-top: 100px; }
  /* The tablet-only Book Appointment button (next to the hamburger)
     steps aside here - true mobile already has Book Appointment in
     the sticky bottom bar, so showing it twice would be redundant. */
  .book-btn-tablet { display: none; }
  .site-header.header-hidden .header-top { transform: none; }
  .site-header.header-hidden .header-nav.sticky-nav { margin-top: 100px; }
  .header-nav.sticky-nav { margin-top: 100px; }
  .header-nav { border-bottom: 0; }
  .header-nav-inner { height: 0; }
  .main-nav { max-height: calc(100vh - 100px); }
  .wrap { width: min(100% - 28px, 1160px); }
  .announce-inner { height: 34px; }
  .announce-links { display: none; }
  .announce-msg .sub { display: none; }
  .header-main-inner { height: 66px; }
  .brand img { width: 130px; }
  .nav-right .book-btn { display: none; }
  .coupon-grid.cols-3 { grid-template-columns: 1fr; }
  .hero-content { padding-block: 40px; }
  .eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(2rem, 12vw, 2.6rem); margin-bottom: 16px; }
  .hero-tagline { font-size: 1.4rem; line-height: 1.3; margin-bottom: 20px; }
  .tagline-break { display: block; }
  .hero-lead { font-size: 1rem; line-height: 1.65; margin-bottom: 30px; }
  .hero-ctas { margin-bottom: 26px; }
  .lead-card { padding: 31px 20px 24px; border-radius: 10px; }
  .lead-card h2 { font-size: 1.4rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { min-height: 100px; padding: 14px 12px; gap: 9px; }
  .trust-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .trust-grid strong { font-size: .73rem; }
  .trust-grid small { font-size: .66rem; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 1.9rem; }
  .service-header-photo { display: none; }
  .service-header { padding: 40px 0 34px; }
  .service-header p { max-width: none; }
  .vehicle-header .brand-watermark { width: 280px; }
  .vehicle-header { padding: 40px 0 30px; }
  .problem-list { grid-template-columns: 1fr; }
  .services-hero { padding: 26px 0 34px; min-height: 0; }
  .icon-row { gap: 28px 16px; padding: 30px 0; }
  .icon-row a { width: 80px; }
  .theme-grid { grid-template-columns: 1fr; }
  .oil-promo { padding: 50px 0 70px; }
  .coupon-photo-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-card-grid { grid-template-columns: 1fr; }
  .vehicle-card-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
  .post-nav .next { text-align: left; margin-left: 0; }
  .promo-split-grid { grid-template-columns: 1fr; }
  .promo-split-card { grid-template-columns: 1fr; }
  .promo-split-card img { height: 160px; }
  .card-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .blog-feature-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .blog-feature-grid .blog-card:nth-of-type(1),
  .blog-feature-grid .blog-card:nth-of-type(2),
  .blog-feature-grid .blog-card:nth-of-type(3),
  .blog-feature-grid .blog-card:nth-of-type(4) { grid-column: 1; grid-row: auto; }
  .payl8r-ad { grid-column: 1; grid-row: auto; order: 2; min-height: 300px; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  .check-list { grid-template-columns: 1fr; }
  .coupon-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article:not(:last-child)::after { display: none; }
  .quote-layout { grid-template-columns: 1fr; gap: 15px; }
  .quote-mark { font-size: 6rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .review-summary { grid-column: auto; }
  blockquote footer { flex-wrap: wrap; }
  .final-card { padding: 34px 24px; }
  .final-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .mobile-bar { position: fixed; display: grid; grid-auto-flow: column; grid-template-columns: 1fr 1fr 1.2fr; bottom: 0; left: 0; right: 0; z-index: 50; background: #fff; box-shadow: 0 -7px 25px rgba(0,0,0,.14); }
  .mobile-bar a, .mobile-bar button { min-width: 0; min-height: 60px; display: grid; place-items: center; font-size: .74rem; font-weight: 800; text-decoration: none; border: 0; font-family: var(--font-body); cursor: pointer; padding: 0 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar a:first-child { color: var(--ink); background: #fff; }
  .mobile-bar a:nth-child(2) { color: #fff; background: var(--ink); }
  .mobile-bar button:last-child { color: #fff; background: var(--primary); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ============================================================
   Lopez Auto Lot additions
   ============================================================ */

/* ---------- header / footer tweaks for the Lopez logo ---------- */
.brand img { width: 150px; }
.announce-bar { background: var(--ink); }
.dropdown.dropdown-wide { min-width: 420px; column-count: 2; column-gap: 6px; }
.dropdown.dropdown-wide a { break-inside: avoid; }
.site-footer img.footer-logo { width: 150px; height: auto; filter: none; margin-bottom: 18px; }
.footer-bottom-links { display: flex; gap: 18px; }
.info-card .info-block a { color: inherit; text-decoration: none; }
.info-card .info-block a:hover { color: var(--primary); }
.info-grid { grid-template-columns: repeat(3, minmax(150px, auto)); }
.contact-details dd a { color: inherit; }
.financing-cta-sub a { color: var(--primary); font-weight: 700; }

/* Card rows: keep the bottom link lined up across cards. */
.location-card { display: flex; flex-direction: column; }
.location-card .text-link { margin-top: auto; padding-top: 14px; }
.vehicle-brand-card { display: flex; flex-direction: column; align-items: center; }
.vehicle-brand-card .card-link { margin-top: auto; }

/* The form card's heading is a card title, not a page-section headline.
   (.section h2 was out-ranking .lead-card h2 and blowing it up to 3rem.) */
.section .lead-card h2 { font-size: 1.6rem; margin-bottom: 9px; }

/* ---------- financing partner cards ---------- */
.financing-cards.two-up { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
a.financing-card { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
a.financing-card .fc-detail { margin-bottom: 18px; }
a.financing-card .text-link, a.financing-card .primary-link { margin-top: auto; }
.fc-wordmark { font-family: var(--font-heading); font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }

/* ---------- reviews band: overall-rating card ---------- */
.testimonial-grid .review-total { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; text-decoration: none; color: #fff; background: rgba(255,255,255,.05); border: 1px solid #2a2d34; border-radius: 10px; padding: 18px 20px; transition: border-color .15s; }
.testimonial-grid .review-total:hover { border-color: var(--primary); }
.review-total strong { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; }
.review-total .stars { font-size: 1rem; }
.review-total span { font-size: .84rem; color: #c7cad0; }
.review-total .review-total-link { color: var(--primary); font-weight: 800; margin-top: 6px; }

/* ---------- vehicles for sale: grid + cards ---------- */
.inventory-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.inventory-bar p { margin: 0; color: var(--muted); }
.inventory-bar strong { color: var(--ink); font-family: var(--font-heading); font-size: 1.3rem; margin-right: 4px; }
.inventory-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 30px 0; }
.inventory-empty p { color: var(--muted); margin-bottom: 22px; }
.inventory-empty a:not(.primary-link) { color: var(--primary); font-weight: 700; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 28px rgba(17,19,24,.05); transition: transform .15s, box-shadow .15s, border-color .15s; }
.vehicle-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 18px 40px rgba(17,19,24,.12); }
.vc-photo { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.vc-photo img { width: 100%; height: 100%; object-fit: cover; }
.vc-no-photo { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .85rem; font-weight: 700; }
.vc-badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.vc-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.62); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.vehicle-card.is-sold .vc-photo img { filter: grayscale(1); opacity: .7; }
.vehicle-card.is-sold .vc-price { color: var(--muted); text-decoration: line-through; }
.vc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.vc-body h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.vc-price { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; line-height: 1.1; }
.vc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.vc-chips li { background: var(--soft); border-radius: 999px; padding: 5px 12px; font-size: .76rem; font-weight: 600; color: var(--muted); }
/* Pinned to the bottom so "View details" lines up across the row. */
.vc-link { margin-top: auto; }

/* ---------- vehicles for sale: single listing ---------- */
.vehicle-detail-head { background: var(--soft); padding: 22px 0 0; }
.vehicle-detail-head .breadcrumb { color: var(--muted); margin-bottom: 0; flex-wrap: wrap; }
.vehicle-detail-head .breadcrumb a { color: var(--muted); }
.vehicle-detail-head .breadcrumb a:hover { color: var(--ink); }
.vehicle-detail { background: var(--soft); padding-top: 24px; }
.vehicle-detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 34px; align-items: start; }
.vg-main { position: relative; aspect-ratio: 4 / 3; background: #111; border-radius: 12px; overflow: hidden; }
.vg-main img { width: 100%; height: 100%; object-fit: contain; }
.vg-main.vg-empty { display: grid; place-items: center; background: #e9ebee; color: var(--muted); font-weight: 700; }
.vg-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.vg-thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; opacity: .75; transition: opacity .15s, border-color .15s; }
.vg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vg-thumb:hover, .vg-thumb.is-active { opacity: 1; }
.vg-thumb.is-active { border-color: var(--primary); }

.vehicle-summary { position: sticky; top: 90px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px 26px; box-shadow: 0 18px 55px rgba(17,19,24,.08); }
.vehicle-summary h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 12px; }
.vs-price { font-family: var(--font-heading); font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--primary); line-height: 1; margin-bottom: 6px; }
.vs-miles { font-weight: 700; margin-bottom: 10px; }
.vs-note { color: var(--muted); font-size: .8rem; line-height: 1.5; margin-bottom: 20px; }
.vs-actions { display: flex; flex-direction: column; gap: 10px; }
.vs-actions a { justify-content: center; text-align: center; }
.vs-edit { display: block; margin-top: 16px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); }

.vehicle-info-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 34px; align-items: start; }
.vehicle-description { color: var(--ink); font-size: 1rem; line-height: 1.75; margin-bottom: 34px; }
.vehicle-description p { margin-bottom: 14px; }
.spec-table { background: #fff; }
.spec-table td:first-child { color: var(--muted); font-weight: 600; }
.spec-table td:last-child { word-break: break-word; }

.sales-terms { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: 10px; padding: 24px 28px; }
.sales-terms h3 { font-size: 1.05rem; margin-bottom: 12px; }
.sales-terms ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.sales-terms li { margin-bottom: 6px; }
.sales-terms li:last-child { margin-bottom: 0; }
.sales-terms strong { color: var(--ink); }

/* ---------- manage inventory (staff front end) ---------- */
.manager .wrap { max-width: 980px; }
.manager-notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; font-size: .92rem; font-weight: 600; background: #eaf8ef; border: 1px solid #b9e3c8; color: #14622f; }
.manager-notice.is-warn { background: #fff6e5; border-color: #f2d79b; color: #7a5200; }
.manager-notice.is-error { background: #fdecea; border-color: #f3c2bc; color: #b42318; }
.manager-notice a { color: inherit; }

.manager-login { max-width: 440px; margin: 0 auto; padding-top: 34px; }
.manager-login form p { margin: 0 0 12px; }
.manager-login label { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 800; color: #343941; }
.manager-login input[type="text"], .manager-login input[type="password"] { width: 100%; border: 1px solid #cfd3d9; border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 1rem; }
.manager-login input[type="text"]:focus, .manager-login input[type="password"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(240,90,40,.14); }
.manager-login .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.manager-login input[type="submit"] { width: 100%; border: 0; border-radius: 6px; background: var(--primary); color: #fff; padding: 12px 16px; font: 800 .9rem var(--font-body); cursor: pointer; }
.manager-login input[type="submit"]:hover { background: var(--primary-dark); }
.manager-login-help { margin: 14px 0 0; font-size: .84rem; text-align: center; }
.manager-login-help a { color: var(--muted); }

.manager-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.manager-bar p { margin: 0; color: var(--muted); font-size: .9rem; }
.manager-bar p a { color: var(--primary); font-weight: 700; }
.manager-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.manager-back { margin-bottom: 18px; font-size: .9rem; font-weight: 700; }
.manager-back a { color: var(--muted); text-decoration: none; }
.manager-back a:hover { color: var(--primary); }

.manager-list { display: flex; flex-direction: column; gap: 12px; }
.manager-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 14px 14px; }
.manager-row-photo { width: 110px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-size: .72rem; font-weight: 700; }
.manager-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.manager-row-info h3 { font-size: 1.05rem; margin-bottom: 2px; }
.manager-row-info h3 a { color: var(--ink); text-decoration: none; }
.manager-row-info h3 a:hover { color: var(--primary); }
.manager-row-info p { margin: 0 0 8px; color: var(--muted); font-size: .86rem; }
.manager-status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #eaf8ef; color: #14622f; }
.manager-row.is-pending .manager-status-pill { background: #fff6e5; color: #7a5200; }
.manager-row.is-sold .manager-status-pill { background: #eceef1; color: #4b525c; }
.manager-row-actions, .manager-row-actions form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.manager-row-actions .secondary-link { padding: 10px 16px; font-size: .82rem; background: #fff; }
.manager-remove { background: none; border: 0; color: #b42318; font: 700 .82rem var(--font-body); cursor: pointer; padding: 10px 6px; text-decoration: underline; }

.manager-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 32px; }
.manager-group { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.manager-group legend { font-family: var(--font-heading); font-size: 1rem; padding: 0; margin-bottom: 14px; color: var(--ink); }
.manager-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.manager-form .field input[type="text"], .manager-form .field textarea { padding: 10px 12px; }
.manager-form .field input[type="file"] { padding: 12px; border-style: dashed; background: var(--soft); cursor: pointer; }
.manager-hint { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.manager-status { display: flex; gap: 10px; flex-wrap: wrap; }
.manager-status label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; font-size: .9rem; font-weight: 700; cursor: pointer; }
.manager-status input { accent-color: var(--primary); }
.manager-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; margin: 14px 0 20px; }
.manager-photos:empty { display: none; }
.manager-photo { border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; font-size: .78rem; }
.manager-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; margin-bottom: 6px; }
.manager-photo label { display: flex; align-items: center; gap: 6px; font-weight: 600; padding: 2px 2px; cursor: pointer; }
.manager-photo input { accent-color: var(--primary); }
.manager-photo.is-new span { display: block; text-align: center; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; }
.manager-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 24px; }
.manager-actions .primary-link { padding: 15px 30px; font-size: .95rem; }

@media (max-width: 1080px) {
  .dropdown.dropdown-wide { column-count: 1; min-width: 0; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .info-grid { grid-template-columns: 1fr; }
  .vehicle-detail-layout, .vehicle-info-layout { grid-template-columns: 1fr; }
  .vehicle-summary { position: static; }
  .financing-cards.two-up { grid-template-columns: 1fr; }
  .manager-row { grid-template-columns: 90px minmax(0, 1fr); }
  .manager-row-photo { width: 90px; height: 70px; }
  .manager-row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .manager-row-actions form { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .brand img { width: 108px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vg-thumbs { grid-template-columns: repeat(4, 1fr); }
  .manager-form { padding: 22px 18px; }
  .manager-fields { grid-template-columns: 1fr; }
  .manager-bar-actions { width: 100%; }
  .manager-bar-actions a { flex: 1; justify-content: center; text-align: center; }
  .manager-actions .primary-link, .manager-actions .secondary-link { flex: 1; justify-content: center; }
  .footer-bottom-links { flex-direction: column; gap: 8px; }
}
