/* frankfordautocenter.com — Frankford Auto Center
   Palette: signal red + gold on near-black, taken from their own flyers,
   the red-lit bay signage on the building, and the gold shop sign.
   NOTE: the --blue/--orange variable NAMES are inherited from the original
   template. They now hold red and gold. Names kept so the whole sheet
   re-themes from this one block. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #b3151c; --blue-d: #850f15; --orange: #f0a323;
  --red: #b3151c; --red-hot: #e01b24; --gold: #f0a323;
  --char: #16181d; --char2: #1f2229; --char3: #26292f; --charx: #0c0d10;
  --ink: #1b2333; --mut: #5b6b85; --line: #e4e9f2; --bg: #f6f8fc;
}
body { font-family: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.head-italic { font-style: italic; font-weight: 800; font-size: 34px; color: #fff; letter-spacing: .5px; margin-bottom: 22px; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 6px; }
.eyebrow.light { color: #fff; opacity: .95; }
.link-orange { color: var(--orange); font-weight: 700; }
.link-orange:hover { color: #ffb45a; text-decoration: none; }
.center-links { text-align: center; margin: 26px 0 6px; }
.empty { color: #97a2b8; padding: 24px 0; }

/* keyframes (from design) */
@keyframes nmSweep { 0% { transform: translateX(-30vw); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(115vw); opacity: 0; } }
@keyframes nmSweepBack { 0% { transform: translateX(115vw); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-30vw); opacity: 0; } }
@keyframes nmBeamDrift { 0% { transform: skewX(-18deg) translateX(0); opacity: .55; } 50% { transform: skewX(-18deg) translateX(60px); opacity: .9; } 100% { transform: skewX(-18deg) translateX(0); opacity: .55; } }
@keyframes nmPulse { 0% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.08); opacity: .6; } 100% { transform: scale(1); opacity: .35; } }
@keyframes nmRoad { 0% { background-position: 0 0; } 100% { background-position: -640px 0; } }
@keyframes nmWatermark { 0% { transform: translateX(0); } 50% { transform: translateX(-70px); } 100% { transform: translateX(0); } }

/* ===== top utility bar ===== */
.utilbar { background: var(--blue); color: #dce9f7; font-size: 12.5px; }
.utilbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 12px; flex-wrap: wrap; }
.utilbar-links { display: flex; gap: 26px; }
.utilbar-links a { color: #fff; font-weight: 600; letter-spacing: 1px; font-size: 12px; white-space: nowrap; }
.utilbar-links a:hover { color: #ffd9a8; text-decoration: none; }
.utilbar-right { display: flex; align-items: center; gap: 16px; }
.utilbar-phone { color: #fff; font-weight: 700; }
.utilbar-loc { color: #9cc4e8; font-size: 12px; }
.social { display: inline-flex; gap: 10px; }
.social a { display: inline-flex; width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.14); align-items: center; justify-content: center; }
.social a:hover { background: var(--orange); }
.social svg { width: 15px; height: 15px; fill: #fff; }

/* ===== nav ===== */
.nav { background: rgba(16,18,22,.92); border-bottom: 3px solid var(--blue); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 18px; }
.nav-side { display: flex; gap: 30px; flex: 1; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-side a { color: #cfd6e4; font-weight: 700; font-size: 13.5px; font-style: italic; letter-spacing: .8px; white-space: nowrap; }
.nav-side a:hover { color: var(--orange); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-logo { flex: 0 0 auto; width: 44px; height: 44px; }
.brand-name { font-weight: 800; letter-spacing: 1.5px; color: #fff; font-size: 16px; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--orange); }
.nav-toggle, .nav-burger, .nav-mobile { display: none; }

/* ===== buttons ===== */
.btn2 { display: inline-flex; align-items: center; justify-content: center; padding: 13px 30px; border-radius: 8px; font-weight: 800; font-size: 15px; letter-spacing: .08em; cursor: pointer; text-decoration: none !important; }
.btn2-orange { background: var(--orange); color: #16181d; }
.btn2-orange:hover { background: #ffa940; }
.btn2-ghost { background: rgba(20,40,62,.85); border: 1px solid rgba(120,170,215,.4); color: #eef2f6; }
.btn2-ghost:hover { border-color: var(--orange); }
.btn2-dark { background: var(--charx); color: #fff; border: 1px solid #33363e; font-size: 14px; letter-spacing: .6px; }
.btn2-dark:hover { border-color: var(--orange); }
/* legacy buttons still used by inner pages */
.btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 800; font-size: 14px; letter-spacing: .6px; border: 0; cursor: pointer; text-decoration: none !important; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-ghost { color: var(--blue); background: rgba(28,105,176,.08); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 10px; }

/* ===== HERO ===== */
.hero2 { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a1522 0%, #102638 55%, #163a5c 100%); }
.hero2-pulse { position: absolute; border-radius: 50%; }
.hero2-pulse-a { right: 18%; top: 42%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(46,109,164,.35) 0%, rgba(46,109,164,0) 70%); animation: nmPulse 9s ease-in-out infinite; }
.hero2-pulse-b { left: -6%; top: -20%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(27,79,138,.30) 0%, rgba(27,79,138,0) 70%); animation: nmPulse 12s ease-in-out infinite; animation-delay: -4s; }
.hero2-beam { position: absolute; top: -10%; height: 130%; }
.hero2-beam-a { right: 24%; width: 340px; background: linear-gradient(180deg, rgba(70,140,200,.16) 0%, rgba(70,140,200,.05) 100%); animation: nmBeamDrift 14s ease-in-out infinite; }
.hero2-beam-b { right: 8%; width: 120px; background: linear-gradient(180deg, rgba(245,166,35,.07) 0%, rgba(245,166,35,.02) 100%); animation: nmBeamDrift 18s ease-in-out infinite; animation-delay: -6s; }
.hero2-watermark { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; pointer-events: none; }
.hero2-watermark span { font-size: 170px; font-weight: 900; font-style: italic; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px rgba(120,170,215,.10); white-space: nowrap; animation: nmWatermark 26s ease-in-out infinite; user-select: none; }
.hero2-guideline { position: absolute; left: 0; right: 0; bottom: 120px; height: 3px; background: linear-gradient(90deg, rgba(150,190,225,0) 0%, rgba(150,190,225,.22) 20%, rgba(150,190,225,.22) 80%, rgba(150,190,225,0) 100%); }
.hero2-road { position: absolute; left: 0; right: 0; bottom: 78px; height: 5px; background-image: repeating-linear-gradient(90deg, rgba(245,166,35,.55) 0 90px, rgba(245,166,35,0) 90px 320px); background-size: 640px 100%; animation: nmRoad 2.6s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); }
.hero2-trails { position: absolute; inset: 0; pointer-events: none; }
.trail { position: absolute; left: 0; border-radius: 4px; }
.trail-1 { bottom: 96px; width: 420px; height: 4px; background: linear-gradient(90deg, rgba(245,166,35,0) 0%, rgba(245,166,35,.9) 85%, #ffd88a 100%); box-shadow: 0 0 18px rgba(245,166,35,.7); animation: nmSweep 7s cubic-bezier(.45,0,.4,1) infinite; }
.trail-2 { bottom: 150px; width: 380px; height: 3px; background: linear-gradient(90deg, #cfe6ff 0%, rgba(160,205,250,.8) 15%, rgba(160,205,250,0) 100%); box-shadow: 0 0 16px rgba(160,205,250,.6); animation: nmSweepBack 9.5s cubic-bezier(.45,0,.4,1) infinite; animation-delay: -3.5s; }
.trail-3 { bottom: 52px; width: 300px; height: 3px; background: linear-gradient(90deg, rgba(245,166,35,0) 0%, rgba(232,135,30,.8) 85%, #ffc966 100%); box-shadow: 0 0 14px rgba(232,135,30,.55); animation: nmSweep 11s cubic-bezier(.45,0,.4,1) infinite; animation-delay: -6s; }
.hero2-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,26,.55) 0%, rgba(8,16,26,.15) 45%, rgba(8,16,26,0) 70%); pointer-events: none; }
.hero2-inner { position: relative; padding: 64px 24px 110px; }
.hero2-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .28em; color: var(--orange); text-transform: uppercase; margin-bottom: 14px; }
.hero2-title { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; font-weight: 900; font-style: italic; color: #f4f6f8; letter-spacing: .01em; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero2-sub { margin-top: 16px; max-width: 480px; font-size: 16px; color: #b8c6d8; line-height: 1.6; }
.hero2-cta { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ===== INVENTORY ===== */
.inv2 { background: var(--char); padding: 72px 0; color: #dfe4ee; }
.inv2-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.inv2-head .head-italic { margin-bottom: 26px; white-space: nowrap; }
.inv2-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 26px; }
.inv2-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-select { appearance: auto; background: var(--char2); border: 1px solid #33363e; border-radius: 999px; padding: 11px 18px; color: #fff; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.inv2-sort { display: flex; align-items: center; gap: 8px; }
.inv2-sort > span { color: #97a2b8; font-size: 14px; font-weight: 700; }
.sort-select { appearance: auto; background: transparent; border: none; border-bottom: 2px solid var(--orange); padding: 6px 4px; color: #fff; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.inv2-noresults { padding: 40px 0; color: #97a2b8; font-size: 15px; }
.inv2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ic { border-radius: 12px; overflow: hidden; background: var(--char2); border: 1px solid #2c303a; cursor: pointer; transition: transform .15s, border-color .15s; text-decoration: none !important; color: #dfe4ee; display: block; }
.ic:hover { transform: translateY(-3px); border-color: var(--orange); }
/* the [hidden] attribute must beat .ic's display:block (used by filter JS on both home + inventory) */
.ic[hidden], .ic-seefull[hidden] { display: none; }
.ic-photo { position: relative; aspect-ratio: 4 / 3; background: #0f1116; }
.ic-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.ic-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #58627a; font-size: 13px; }
.ic-noimg span { font-size: 42px; font-weight: 800; font-style: italic; color: #333d52; }
.ic-num { position: absolute; top: 0; left: 16px; width: 44px; padding: 12px 0 16px; background: linear-gradient(160deg, #7b5cf0, #3b4fd8); color: #fff; font-weight: 800; font-size: 19px; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 11px), 0 100%); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.ic-pager { display: flex; align-items: center; justify-content: space-between; background: #15171c; padding: 7px 20px; border-top: 1px solid #2c303a; border-bottom: 1px solid #2c303a; }
.ic-prev, .ic-next { color: #97a2b8; font-size: 13px; cursor: pointer; padding: 2px 10px; user-select: none; }
.ic-prev:hover, .ic-next:hover { color: var(--orange); }
.ic-page { color: #dfe4ee; font-size: 13.5px; font-weight: 600; letter-spacing: 2px; }
.ic-body { padding: 16px 18px 18px; }
.ic-top { display: flex; justify-content: space-between; gap: 14px; }
.ic-titles { min-width: 0; }
.ic-year { color: #97a2b8; font-size: 13.5px; }
.ic-model { margin: 2px 0 0; font-size: 19px; color: #fff; font-weight: 700; }
.ic-price { font-size: 20px; font-weight: 800; color: var(--orange); margin-top: 6px; }
.ic-photolink { display: block; text-decoration: none !important; }
.ic-model a { color: inherit; text-decoration: none; }
.ic-model a:hover { color: var(--orange); }
.ic-actions { display: flex; flex-direction: column; gap: 8px; width: 152px; flex: 0 0 auto; align-self: center; }
.ic-fin { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; background: var(--blue); border: 1px solid #7db4e8; border-radius: 6px; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; cursor: pointer; }
.ic-fin:hover { background: var(--blue-d); border-color: var(--orange); }
.ic-avail { display: flex; align-items: center; justify-content: center; padding: 9px 6px; background: transparent; border: 1px solid #33363e; border-radius: 6px; color: var(--orange); font-weight: 700; font-size: 13px; white-space: nowrap; cursor: pointer; }
.ic-avail:hover { border-color: var(--orange); }
.ic-specs { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #2c303a; }
.ic-spec { display: flex; align-items: center; gap: 9px; color: #b9c2d4; font-size: 13.5px; }
.ic-spec svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ic-viewdesc { display: block; text-align: center; margin-top: 12px; color: #7db4e8; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ic-viewdesc:hover { color: var(--orange); }
.ic-seefull { border-radius: 12px; border: 1px dashed #3a4152; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 280px; cursor: pointer; color: #97a2b8; text-decoration: none !important; }
.ic-seefull:hover { border-color: var(--orange); color: var(--orange); }
.ic-plus { font-size: 40px; font-weight: 900; font-style: italic; }
.ic-seefull span:last-child { font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.inv2-shopping { text-align: center; margin-top: 28px; color: #aab4c8; font-size: 14px; }
.inv2-shopping strong { color: #fff; }
.shoptype-head { color: #fff; font-size: 15px; letter-spacing: 1px; margin: 40px 0 14px; font-weight: 700; }
.shoptype-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shoptype-card { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); border-radius: 8px; padding: 14px; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; border: 1px solid transparent; text-decoration: none !important; }
.shoptype-card:hover { border-color: var(--orange); background: var(--blue-d); }

/* ===== VISIT THE LOT BANNER ===== */
.visitlot-band { background: var(--char); padding: 0 0 72px; }
.visitlot { background: linear-gradient(115deg, var(--blue), var(--blue-d)); border-radius: 14px; display: flex; align-items: center; gap: 32px; padding: 40px 44px; color: #fff; flex-wrap: wrap; position: relative; overflow: hidden; }
.visitlot-orb { position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.visitlot-text { flex: 1; min-width: min(300px, 100%); position: relative; }
.visitlot-text h3 { font-size: 28px; font-weight: 800; }
.visitlot-text h3 em { font-style: italic; }
.visitlot-text h3 span { color: var(--orange); font-style: italic; }
.visitlot-text p { margin-top: 10px; color: #dce9f7; max-width: 560px; line-height: 1.6; }
.visitlot-cta { display: flex; flex-direction: column; gap: 10px; position: relative; }
.visitlot-hours { text-align: center; font-size: 13px; color: #cfe0f2; }

/* ===== CUSTOMER STORIES ===== */
.stories2 { background: var(--blue); padding: 64px 0; position: relative; overflow: hidden; }
.stories2-carve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stories2-inner { position: relative; }
.stories2 .head-italic { color: #fff; }
.stories2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story2 { background: var(--char); border-radius: 12px; padding: 26px; color: #dfe4ee; }
.story2-stars { color: var(--orange); font-size: 19px; letter-spacing: 3px; margin-bottom: 12px; }
.story2 p { font-size: 14.5px; line-height: 1.65; }
.story2-name { margin-top: 16px; font-weight: 700; color: #fff; font-size: 13.5px; }

/* ===== WHY NEXUS ===== */
.why2 { background: var(--char); padding: 72px 0 0; }
.why2-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.why2-photo { margin-top: 26px; border-radius: 12px; overflow: hidden; border: 1px solid #2c303a; }
.why2-photo img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.why2-cards { display: flex; flex-direction: column; gap: 16px; }
.why2-card { background: var(--char2); border: 1px solid #2c303a; border-radius: 12px; padding: 22px 26px; }
.why2-card h3 { margin-bottom: 8px; color: #7db4e8; font-size: 17px; font-weight: 700; }
.why2-card p { color: #b9c2d4; font-size: 14.5px; line-height: 1.6; }
.why2-quick { padding-top: 44px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick2 { background: var(--char3); border-radius: 12px; padding: 26px 24px; border: 1px solid #2c303a; display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-decoration: none !important; }
.quick2:hover { border-color: var(--orange); }
.quick2 span { color: #fff; font-weight: 800; letter-spacing: .5px; }
.quick2 small { color: var(--orange); font-weight: 700; }

/* ===== BLOG (home + blog pages share .blog-grid/.blog-card) ===== */
.blog2 { background: var(--char); padding: 0 0 72px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--char2); border: 1px solid #2c303a; border-radius: 12px; overflow: hidden; text-decoration: none !important; color: #dfe4ee; transition: border-color .15s; display: block; }
.blog-card:hover { border-color: var(--orange); }
.blog-cover { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; }
.blog-cover span { font-size: 40px; font-weight: 900; color: rgba(255,255,255,.5); font-style: italic; }
.blog-cover-img { background-size: cover; background-position: center; }
.cover-1 { background: linear-gradient(120deg, var(--blue), #0e2c4a); }
.cover-2 { background: linear-gradient(120deg, var(--orange), #8a4d05); }
.cover-3 { background: linear-gradient(120deg, #3b4252, #101216); }
.blog-body { padding: 18px 20px 20px; }
.blog-body h3 { color: #7db4e8; font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.blog-date { color: #97a2b8; font-size: 12.5px; margin-bottom: 8px; }
.blog-body p { font-size: 13.5px; color: #b9c2d4; line-height: 1.55; margin-bottom: 10px; }

/* ===== VISIT THE LOT CTA (Claude Design "Visit the lot" section) ===== */
.visitcta { background: var(--blue); padding: 72px 0; }
.visitcta-inner { display: flex; align-items: center; gap: 54px; flex-wrap: wrap; }
.visitcta-text { flex: 1; min-width: min(320px, 100%); }
.visitcta-text h2 { margin: 0; font-size: 32px; font-weight: 800; color: #fff; }
.visitcta-text h2 em { color: var(--orange); }
.visitcta-text p { margin: 14px 0 26px; color: #dce9f7; max-width: 560px; line-height: 1.6; }
.visitcta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.visitcta-btns .btn2 { font-size: 14px; letter-spacing: .5px; padding: 13px 28px; }
.visitcta-cards { flex: 0 1 auto; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: min(320px, 100%); max-width: 100%; }
.visitcta-card { background: rgba(10,42,74,.45); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 22px 24px; }
.visitcta-label { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #9cc4e8; }
.visitcta-value { margin-top: 8px; color: #fff; font-weight: 700; font-size: 17px; line-height: 1.5; }
.visitcta-value a { color: #fff; }
.visitcta-findus { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.visitcta-findus img { flex: 0 0 auto; }
.visitcta-findus .visitcta-value { margin-top: 4px; }

/* ===== footer ===== */
.footer { background: var(--charx); color: #97a2b8; border-top: 3px solid var(--blue); }
.footer-links { display: flex; gap: 14px; align-items: center; padding: 28px 24px 8px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a { color: #cfd6e4; }
.footer-links span { color: #3a3f4a; }
.footer-bottom { padding: 10px 24px 32px; font-size: 13px; }
.footer-bottom a { color: #cfd6e4; }
.fineprint { margin-top: 12px; font-size: 11.5px; font-style: italic; color: #5d6675; }

/* ===== inner pages (inventory / car / blog / financing / about / contact / 404) ===== */
.page-head { background: var(--char); color: #fff; padding: 44px 0; border-bottom: 3px solid var(--blue); }
.page-head h1 { font-style: italic; font-weight: 800; }
.page-head p { color: #aab4c8; margin-top: 6px; }
.crumb { color: #aab4c8; font-size: 13px; display: inline-block; margin-bottom: 8px; }
.section { padding: 56px 0; background: #fff; }
.band { padding: 56px 0; }
.band-dark { background: var(--char); color: #dfe4ee; }
.band-blue { background: var(--blue); color: #fff; }

.inv-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.inv-filters { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; position: sticky; top: 84px; }
.inv-filters h3 { margin-bottom: 10px; font-style: italic; }
.inv-filters label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 12px; }
.inv-filters input, .inv-filters select { width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-filters .btn-block { margin-top: 16px; padding: 11px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 30px; color: var(--char); font-style: italic; }

/* car cards on inventory/detail pages (light) */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.car-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.car-photo { position: relative; aspect-ratio: 4 / 3; background: #0f1116; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #58627a; font-size: 13px; }
.car-nophoto span { font-size: 44px; font-weight: 800; color: #333d52; }
.car-nophoto.tall { aspect-ratio: 16 / 9; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.badge-pending { background: var(--orange); }
.badge-featured { background: var(--blue); left: auto; right: 10px; }
.car-body { padding: 16px 18px 18px; }
.car-body h3 { font-size: 17px; color: var(--ink); }
.car-meta { color: var(--mut); font-size: 13px; margin: 5px 0 10px; }
.car-price { font-size: 22px; font-weight: 800; color: var(--blue); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.gallery img#gallery-main { width: 100%; border-radius: 12px; display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img { width: 92px; height: 69px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img:hover { border-color: var(--orange); }
.detail-desc, .detail-specs { margin-top: 34px; }
.detail-desc h2, .detail-specs h2 { font-size: 22px; color: var(--char); margin-bottom: 12px; font-style: italic; }
.detail-desc p { white-space: pre-line; }
.detail-specs table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.detail-specs th, .detail-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.detail-specs th { color: var(--mut); font-weight: 600; width: 130px; }
@media (max-width: 420px) { .detail-specs th { width: 104px; } }
.price-card, .inquiry-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.price-card { background: var(--bg); text-align: center; }
.price-big { font-size: 36px; font-weight: 800; color: var(--char); margin-bottom: 10px; }
.inquiry-card { margin-top: 20px; }
.inquiry-card h3 { margin-bottom: 12px; font-style: italic; }
.inquiry-card label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 10px; }
.inquiry-card input, .inquiry-card textarea { width: 100%; margin-top: 4px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; }
.inquiry-card .btn { margin-top: 14px; }
.ok-note { background: #e8f9ee; border: 1px solid #b7ebc8; color: #1e7d3d; padding: 10px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; }
.content-page { max-width: 760px; font-size: 16px; }
.content-page h2 { color: var(--char); margin: 24px 0 10px; font-style: italic; }
.contact-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; }
.contact-info h3 { color: var(--char); margin: 18px 0 4px; font-style: italic; }
.contact-info p { color: var(--mut); }
.post-body { max-width: 760px; font-size: 16px; color: #dfe4ee; }
.post-body h2 { color: #fff; margin: 26px 0 10px; }
.post-body p { margin: 12px 0; }
.post-body ul, .post-body ol { margin: 12px 0 12px 24px; }
.post-body a { color: var(--orange); }
.post-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ===== responsive ===== */
@media (max-width: 980px) {
  .shoptype-grid { grid-template-columns: repeat(3, 1fr); }
  .why2-top { grid-template-columns: 1fr; }
  .visitcta-inner { flex-direction: column; text-align: center; }
  .visitcta-btns { justify-content: center; }
  .visitcta-findus { text-align: left; }
}
@media (max-width: 900px) {
  .inv2-grid, .stories2-grid, .blog-grid, .why2-quick, .car-grid { grid-template-columns: repeat(2, 1fr); }
  .inv-layout, .detail-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .inv-filters { position: static; }
  .nav-side { display: none; }
  .nav-burger { display: block; color: #fff; font-size: 24px; cursor: pointer; }
  .nav-mobile { position: absolute; top: 100%; left: 0; right: 0; background: var(--char); flex-direction: column; padding: 18px 24px; gap: 16px; border-bottom: 3px solid var(--blue); }
  .nav-toggle:checked ~ .nav-mobile { display: flex; }
  .nav-mobile a { color: #cfd6e4; font-weight: 700; font-style: italic; }
  .ic-top { flex-direction: column; }
  .ic-actions { width: 100%; flex-direction: row; }
  .ic-actions span { flex: 1; }
  .visitlot { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .inv2-grid, .stories2-grid, .blog-grid, .why2-quick, .car-grid, .shoptype-grid { grid-template-columns: 1fr; }
  .hero2-inner { padding: 54px 24px 90px; }
  .utilbar-inner { justify-content: center; }
  .utilbar-loc { display: none; }
  /* The four utility links are one nowrap flex row, 512px wide. On a 375px
     phone that made the WHOLE PAGE 444px and scroll sideways — every page,
     because this bar is in the shared header. Let them wrap. */
  .utilbar-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .utilbar-links a { letter-spacing: .5px; }
}

/* ===== inventory page (Claude Design "Nexus Inventory Page") ===== */
.invhead { background: linear-gradient(115deg, #0e1319 0%, #152638 60%, #1b3550 100%); border-bottom: 3px solid var(--blue); position: relative; overflow: hidden; }
.invhead-road { position: absolute; left: 0; right: 0; bottom: 14px; height: 4px; background-image: repeating-linear-gradient(90deg, rgba(245,166,35,.4) 0 90px, rgba(245,166,35,0) 90px 320px); background-size: 640px 100%; animation: nmRoad 2.6s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); }
.invhead .container { padding-top: 44px; padding-bottom: 52px; position: relative; }
.invhead-title { margin: 0; font-style: italic; font-weight: 900; font-size: 42px; color: #fff; }
.invhead-sub { margin: 8px 0 0; color: #aab4c8; font-size: 16px; }

.invp-wrap { background: #0c1118; }
.invp-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; padding-top: 40px; padding-bottom: 72px; background: transparent; }
.invp-side { background: var(--char); border: 1px solid #2c303a; border-radius: 12px; padding: 22px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.invp-filter-title { margin: 0; font-style: italic; font-weight: 800; color: #fff; font-size: 19px; }
.invp-field { display: flex; flex-direction: column; gap: 5px; }
.invp-field label { font-size: 12.5px; font-weight: 700; color: #97a2b8; letter-spacing: .5px; }
.invp-field input, .invp-field select { width: 100%; box-sizing: border-box; padding: 10px 12px; background: #0f1116; border: 1px solid #33363e; border-radius: 8px; color: #fff; font-size: 14px; font-family: inherit; outline: none; }
.invp-field select { cursor: pointer; }
.invp-field input:focus, .invp-field select:focus { border-color: var(--blue); }
.invp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.invp-clear { display: flex; justify-content: center; padding: 11px; background: transparent; border: 1px solid #33363e; border-radius: 8px; color: #97a2b8; font-weight: 700; font-size: 13.5px; cursor: pointer; margin-top: 4px; font-family: inherit; }
.invp-clear:hover { border-color: var(--orange); color: var(--orange); }
.invp-instant { text-align: center; color: #5d6675; font-size: 12px; font-style: italic; }

.invp-results { min-width: 0; }
.invp-resulthead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.invp-count { color: #aab4c8; font-size: 14.5px; }
.invp-sortwrap { display: flex; align-items: center; gap: 8px; }
.invp-sortwrap > span { color: #97a2b8; font-size: 14px; font-weight: 700; }
.invp-noresults { padding: 60px 20px; text-align: center; border: 1px dashed #3a4152; border-radius: 12px; color: #97a2b8; }
.invp-noresults-h { font-size: 20px; font-weight: 800; font-style: italic; color: #cfd6e4; margin-bottom: 8px; }
.invp-noresults strong { color: var(--orange); }
.invp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 24px; }

@media (max-width: 820px) {
  .invp-layout { grid-template-columns: 1fr; }
  .invp-side { position: static; }
  .invhead-title { font-size: 32px; }
}

/* ===== Check Availability modal + lead form pages (Claude Design) ===== */
.ic-call { text-decoration: none !important; }
.ca-overlay { position: fixed; inset: 0; background: rgba(5,8,14,.78); z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.ca-overlay[hidden] { display: none; }
.ca-modal { background: #16181d; border: 1px solid #33363e; border-radius: 14px; width: 560px; max-width: 100%; padding: 26px 30px 30px; box-sizing: border-box; box-shadow: 0 40px 90px rgba(0,0,0,.65); }
.ca-head { display: flex; justify-content: space-between; align-items: center; }
.ca-head h2 { margin: 0; font-style: italic; font-weight: 900; font-size: 26px; color: #fff; }
.ca-close { color: #97a2b8; font-size: 20px; cursor: pointer; padding: 2px 8px; user-select: none; }
.ca-close:hover { color: var(--orange); }
.ca-car { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid #2c303a; }
.ca-thumb { width: 76px; height: 56px; border-radius: 8px; flex: 0 0 auto; background: #0f1116 center/cover no-repeat; }
.ca-carname { font-size: 18px; font-weight: 800; color: #fff; }
.ca-carmeta { color: #97a2b8; font-size: 13px; margin-top: 2px; }
.ca-req { text-align: right; color: #5d6675; font-size: 12.5px; font-style: italic; margin: 12px 0 4px; }
.ca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ca-field { display: flex; flex-direction: column; gap: 5px; }
.ca-field span { font-size: 12.5px; font-weight: 700; color: #97a2b8; letter-spacing: .5px; }
.ca-field input { width: 100%; box-sizing: border-box; padding: 10px 12px; background: #0f1116; border: 1px solid #33363e; border-radius: 8px; color: #fff; font-size: 14px; font-family: inherit; outline: none; }
.ca-field input:focus { border-color: var(--blue); }
.ca-q { margin-top: 22px; font-size: 17px; font-weight: 800; font-style: italic; color: #fff; }
.ca-q span { color: var(--orange); }
.ca-chips { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.ca-chip { display: inline-flex; align-items: center; padding: 10px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; user-select: none; border: 1px solid #33363e; background: transparent; color: #cfd6e4; }
.ca-chip.active { border-color: var(--orange); background: var(--orange); color: #16181d; }
.ca-consent { display: flex; gap: 10px; margin-top: 22px; cursor: pointer; align-items: flex-start; }
.ca-consent input { margin-top: 3px; accent-color: var(--orange); width: 15px; height: 15px; flex: 0 0 auto; }
.ca-consent span { font-size: 12px; color: #8892a6; line-height: 1.55; }
.ca-consent strong { color: #b9c2d4; }
.ca-privacy { color: var(--orange); text-decoration: underline; }
.ca-err { margin-top: 14px; color: #ff7b6b; font-size: 13.5px; font-weight: 600; }
.ca-actions { display: flex; gap: 12px; margin-top: 24px; }
.ca-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; font-weight: 800; font-size: 14px; letter-spacing: .5px; border-radius: 8px; cursor: pointer; border: 0; font-family: inherit; text-decoration: none !important; }
.ca-btn-primary { background: var(--orange); color: #16181d; }
.ca-btn-primary:hover { background: #ffa940; }
.ca-btn-primary.busy { opacity: .6; pointer-events: none; }
.ca-btn-ghost { background: transparent; border: 1px solid #33363e; color: #97a2b8; }
.ca-btn-ghost:hover { border-color: #97a2b8; color: #cfd6e4; }
.ca-done { text-align: center; padding: 30px 10px 10px; }
.ca-check { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: rgba(247,148,30,.15); border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 26px; font-weight: 800; }
.ca-done-h { font-size: 21px; font-weight: 800; font-style: italic; color: #fff; }
.ca-done-p, .ca-done p { margin: 10px auto 0; max-width: 380px; color: #aab4c8; font-size: 14.5px; line-height: 1.6; }

/* lead form pages (/check-availability/{id}, /get-approved) */
.leadwrap { background: #0c1118; }
.leadpage { padding-top: 40px; padding-bottom: 72px; max-width: 640px; }
.leadform { background: #16181d; border: 1px solid #2c303a; border-radius: 14px; padding: 26px 30px 30px; }
.lead-done { background: #16181d; border: 1px solid #2c303a; border-radius: 14px; padding: 44px 30px; text-align: center; }
.lead-done .ca-check { margin-bottom: 16px; }
.lead-done p { margin: 10px auto 22px; color: #aab4c8; }
.leadform .ca-actions .ca-btn { padding: 13px 34px; }

@media (max-width: 560px) { .ca-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FRANKFORD AUTO CENTER — additions
   Sales + service + detailing under one roof, so the template's
   sales-only vocabulary is extended here rather than replaced.
   ============================================================ */

/* --- preview banner (remove when the domain goes live) --- */
.fac-banner { background: linear-gradient(90deg, #b3151c, #e01b24); color: #fff; font-size: 13px;
  font-weight: 700; letter-spacing: .3px; padding: 7px 16px; display: flex; gap: 14px;
  align-items: center; justify-content: center; flex-wrap: wrap; position: relative; z-index: 9999; }
.fac-banner a { color: #16181d; background: #f0a323; padding: 3px 12px; border-radius: 4px;
  font-weight: 800; font-size: 12px; letter-spacing: .5px; }
.fac-banner a:hover { background: #ffc35c; text-decoration: none; }
.fac-banner .fac-banner-dim { opacity: .82; font-weight: 600; }

/* --- nav wordmark (their real shop sign, cropped) --- */
.brand-wordmark { height: 54px; width: auto; display: block; }
@media (max-width: 900px) { .brand-wordmark { height: 40px; } }

/* --- generic section scaffolding --- */
.fac-sec { padding: 62px 0; }
.fac-sec-dark { background: var(--charx); color: #fff; }
.fac-sec-light { background: var(--bg); }
.fac-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.fac-head h2 { font-size: 34px; font-weight: 900; font-style: italic; letter-spacing: .5px; }
.fac-head p { color: var(--mut); margin-top: 10px; font-size: 16px; }
.fac-sec-dark .fac-head p { color: #9aa6bb; }
.fac-kicker { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px; }

/* --- service cards --- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: 18px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px;
  border-top: 4px solid var(--red); transition: transform .18s ease, box-shadow .18s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,18,22,.13); }
.fac-sec-dark .svc-card { background: var(--char2); border-color: #2c3039; color: #e8ecf3; }
.svc-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(179,21,28,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.fac-sec-dark .svc-icon { background: rgba(240,163,35,.14); }
.svc-icon svg { width: 25px; height: 25px; fill: var(--red); }
.fac-sec-dark .svc-icon svg { fill: var(--gold); }
.svc-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { color: var(--mut); font-size: 14.5px; }
.fac-sec-dark .svc-card p { color: #9fabc0; }
.svc-card ul { list-style: none; margin-top: 12px; }
.svc-card li { font-size: 14px; color: var(--mut); padding-left: 18px; position: relative; margin-bottom: 5px; }
.fac-sec-dark .svc-card li { color: #9fabc0; }
.svc-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.fac-sec-dark .svc-card li::before { color: var(--gold); }

/* --- price list --- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--char2); border: 1px solid #2c3039; border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 18px 20px; }
.price-row-name { font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .2px; }
.price-row-sub { font-size: 12.5px; color: #8e9bb0; margin-top: 2px; }
.price-row-amt { font-size: 24px; font-weight: 900; color: var(--gold); white-space: nowrap; }
.price-row-amt small { display: block; font-size: 11px; font-weight: 700; color: #8e9bb0;
  letter-spacing: 1px; text-transform: uppercase; }
.price-note { text-align: center; color: #8e9bb0; font-size: 13px; margin-top: 22px; }

/* --- 0% financing band --- */
.fin-band { background: linear-gradient(120deg, #850f15 0%, #b3151c 55%, #e01b24 100%);
  color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.fin-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.fin-big { font-size: 58px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -1px; }
.fin-big span { color: #ffd67a; }
.fin-text h3 { font-size: 25px; font-weight: 900; margin-bottom: 6px; }
.fin-text p { opacity: .92; max-width: 520px; font-size: 15.5px; }
.fin-fine { font-size: 12px; opacity: .72; margin-top: 8px; }
.fin-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- trust strip --- */
.trust-strip { background: var(--char); border-top: 1px solid #2a2e36; border-bottom: 1px solid #2a2e36; }
.trust-inner { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; padding: 20px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #cfd6e4; font-weight: 700;
  font-size: 14px; letter-spacing: .4px; }
.trust-item svg { width: 21px; height: 21px; fill: var(--gold); flex: 0 0 auto; }

/* --- work gallery --- */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.gal-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--char2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 11px;
  background: linear-gradient(transparent, rgba(8,9,11,.9)); color: #fff; font-size: 13px; font-weight: 700; }
.gal-wide { grid-column: span 2; aspect-ratio: 8/5; }
@media (max-width: 640px) { .gal-wide { grid-column: span 1; aspect-ratio: 4/5; } }

/* --- hours / find-us panel --- */
.hours-card { background: var(--char2); border: 1px solid #2c3039; border-radius: 12px; padding: 24px; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0;
  border-bottom: 1px dashed #333844; font-size: 15px; color: #cfd6e4; }
.hours-row:last-child { border-bottom: 0; }
.hours-row.closed { color: #8e9bb0; }
.hours-row b { color: #fff; }
.hours-open-now { display: inline-flex; align-items: center; gap: 7px; background: rgba(34,197,94,.14);
  color: #4ade80; font-weight: 800; font-size: 12.5px; letter-spacing: .6px; padding: 5px 11px;
  border-radius: 999px; text-transform: uppercase; }
.hours-open-now.shut { background: rgba(148,163,184,.14); color: #94a3b8; }
.hours-open-now i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* --- buttons: gold variant --- */
.btn2-gold { background: var(--gold); color: #16181d; }
.btn2-gold:hover { background: #ffc35c; }
.btn2-red { background: var(--red-hot); color: #fff; }
.btn2-red:hover { background: #f43f48; }

/* --- hero re-tone: the template shipped a blue night-sky; Frankford is a
       red-lit garage bay, so the gradients and glows move to red/gold --- */
.hero2 { background: linear-gradient(135deg, #0b0c0f 0%, #1a0d10 45%, #3a0f14 100%); }
.hero2-pulse-a { background: radial-gradient(circle, rgba(224,27,36,.30) 0%, rgba(224,27,36,0) 70%); }
.hero2-pulse-b { background: radial-gradient(circle, rgba(240,163,35,.16) 0%, rgba(240,163,35,0) 70%); }
.hero2-beam-a { background: linear-gradient(180deg, rgba(224,27,36,.15) 0%, rgba(224,27,36,.04) 100%); }
.hero2-beam-b { background: linear-gradient(180deg, rgba(240,163,35,.10) 0%, rgba(240,163,35,.02) 100%); }
.hero2-watermark span { -webkit-text-stroke: 2px rgba(240,163,35,.09); }
.hero2-guideline { background: linear-gradient(90deg, rgba(224,27,36,0) 0%, rgba(224,27,36,.28) 20%, rgba(224,27,36,.28) 80%, rgba(224,27,36,0) 100%); }
.btn2-ghost { background: rgba(38,14,17,.8); border-color: rgba(240,163,35,.42); }
.btn2-ghost:hover { border-color: var(--gold); }
.utilbar-loc { color: #eab8ba; }
.utilbar-links a:hover { color: #ffd67a; }

/* hero: sales + service split, and the stat row underneath */
.hero-split { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; }
.hero-stat b { display: block; font-size: 27px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.hero-stat span { font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #b9c2d0; font-weight: 700; }

/* --- detailing before/after --- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.ba-card { border-radius: 12px; overflow: hidden; background: var(--char2); border: 1px solid #2c3039; }
.ba-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ba-card-body { padding: 18px 20px; }
.ba-card-body h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ba-card-body p { color: #9fabc0; font-size: 14.5px; }

/* --- package tiers --- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; position: relative; }
.pkg.featured { border: 2px solid var(--red); box-shadow: 0 16px 40px rgba(179,21,28,.15); }
.pkg-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red);
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; padding: 5px 15px;
  border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.pkg h3 { font-size: 21px; font-weight: 900; margin-bottom: 4px; }
.pkg-price { font-size: 38px; font-weight: 900; color: var(--red); line-height: 1.1; margin: 12px 0 2px; }
.pkg-price small { font-size: 14px; color: var(--mut); font-weight: 700; }
.pkg-from { font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--mut); font-weight: 800; }
.pkg ul { list-style: none; margin: 18px 0 22px; flex: 1; }
.pkg li { font-size: 14.5px; color: #40506b; padding-left: 22px; position: relative; margin-bottom: 8px; }
.pkg li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

/* --- contact / map split --- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }

/* --- misc polish --- */
.fineprint { font-size: 12px; opacity: .7; }
.badge-sold { background: #64748b; color: #fff; }
@media (max-width: 900px) {
  .fin-big { font-size: 42px; }
  .fac-head h2 { font-size: 27px; }
}

/* --- customer stories (placeholder copy; see the comment in home.html) --- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.story-card { background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px 24px; position: relative; display: flex; flex-direction: column; }
.story-card::before { content: "\201C"; position: absolute; top: 4px; right: 20px;
  font-size: 84px; line-height: 1; color: rgba(179,21,28,.10); font-family: Georgia, serif; }
.story-stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }
.story-card blockquote { font-size: 15.5px; color: #3a4761; line-height: 1.62; flex: 1;
  font-style: italic; }
.story-card figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; }
.story-card figcaption strong { font-size: 15px; color: var(--ink); font-style: normal; }
.story-card figcaption span { font-size: 12.5px; color: var(--mut); letter-spacing: .4px; }

/* A stock number like 'A-104' needs room a position counter never did. */
.ic-num.ic-num-stock { width: auto; min-width: 44px; padding-left: 10px; padding-right: 10px; font-size: 15px; letter-spacing: .3px; white-space: nowrap; }

/* ===== credit application form (/apply) =====
   These rows used inline `grid-template-columns: 1fr 1fr`, which looks fluid but
   is not: `1fr` means `minmax(auto, 1fr)`, and the `auto` floor is the field's
   min-content width. A default <input> is about 20 characters wide, so the two
   columns sat at 196px each and the PAGE scrolled sideways by 292px on a phone.
   Fixed columns need `minmax(0, 1fr)` and the grid items need `min-width: 0`. */
.applyrow { display: grid; gap: 16px; margin-top: 16px; }
.applyrow-1 { grid-template-columns: minmax(0, 1fr); }
.applyrow-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.applyrow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.applyfield { display: flex; flex-direction: column; min-width: 0;
  font-size: 13.5px; font-weight: 600; color: #334155; }
.applyrow input, .applyrow select, .applyrow textarea {
  width: 100%; min-width: 0; margin-top: 6px; padding: 10px 12px;
  border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; }
.applyrow select { background: #fff; }

@media (max-width: 720px) { .applyrow-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .applyrow-2, .applyrow-3 { grid-template-columns: minmax(0, 1fr); }
  /* iOS zooms the whole page when a focused field is under 16px. On a form
     this long that is genuinely disorienting, so bump every control on phones. */
  .applyrow input, .applyrow select, .applyrow textarea,
  input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
  input[type="number"], input[type="search"], select, textarea { font-size: 16px; }
}

/* Every `minmax(Npx, 1fr)` below was rewritten as `minmax(min(Npx, 100%), 1fr)`
   on 2026-09-19. A bare pixel floor cannot shrink, so on a 320px phone (where the
   padded container is only 272px wide) a 300px card pushed the whole page
   sideways. `min(Npx, 100%)` keeps the intended card width on a roomy screen and
   lets it collapse to the container on a narrow one. Use that form for any new
   auto-fit/auto-fill grid. */

/* ---- legal pages, the text-message program page, phone-form notes (2026-10-05) ---- */
.legal-page ul { margin: 8px 0 14px 20px; }
.legal-page li { margin: 6px 0; line-height: 1.6; }
.legal-page p { margin: 8px 0; line-height: 1.65; }
.legal-clause { border-left: 3px solid var(--orange); padding: 8px 14px; background: rgba(0,0,0,.03); }
.consent-copy { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 14px 0; font-size: 14.5px; }
.consent-copy-label { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; opacity: .7; margin: 0 0 6px; }
.consent-box { display: inline-block; width: 15px; height: 15px; border: 2px solid currentColor; vertical-align: -2px; }
.sms-samples dt { font-weight: 700; margin-top: 12px; }
.sms-samples dd { margin: 4px 0 0; padding: 9px 13px; border-radius: 12px; background: rgba(0,0,0,.05); font-size: 14.5px; max-width: 560px; }
.phone-note { font-size: 12px; line-height: 1.55; opacity: .8; margin: 10px 0 0; }
.phone-note a, .ca-consent a { text-decoration: underline; }
.footer-legal { font-size: 12px; margin-top: 6px; }
.footer-legal a { text-decoration: underline; }
