/* Honey Motors Inc. — shared stylesheet.
   Brand: red #c8102e, navy #1a2340, dark footer #161616.
   Keep it dependency-free (no frameworks, no webfonts) so the site
   stays fast, free to host, and easy to maintain. */

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; background: #fff; color: #222; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: #c8102e; }

/* ---------- top bar / header ---------- */
.topbar { background: #c8102e; color: #fff; font-size: 13px; padding: 8px 16px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: bold; }
.site-header { text-align: center; padding: 14px 12px 10px; border-bottom: 3px solid #1a2340; background: #fff; }
.logo { font-size: 30px; font-weight: 900; letter-spacing: 2px; color: #1a2340; }
.logo span { color: #c8102e; }
.logo a { color: inherit; text-decoration: none; }
.mainnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; margin-top: 8px; font-size: 13px; font-weight: bold; }
.mainnav a { color: #1a2340; text-decoration: none; }
.mainnav a:hover { color: #c8102e; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 16px; }
h1.page-title { font-size: 28px; margin: 6px 0 4px; }
.red-rule { border: 0; border-top: 2px solid #c8102e; margin: 10px 0 18px; }
.lede { font-size: 15px; color: #444; margin-bottom: 16px; }

/* ---------- hero (homepage) ---------- */
.hero { background: #1a2340; color: #fff; padding: 44px 16px; text-align: center; }
.hero h1 { font-size: 34px; margin-bottom: 10px; }
.hero h1 span { color: #ff5b74; }
.hero p { font-size: 16px; color: #d7dbe6; max-width: 640px; margin: 0 auto 20px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 4px; font-weight: bold;
  font-size: 15px; text-decoration: none; }
.btn-red { background: #c8102e; color: #fff; border: 2px solid #c8102e; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; } }
.trust .t { border: 1px solid #e3e3e3; border-radius: 6px; padding: 14px; text-align: center; }
.trust .t b { display: block; font-size: 15px; margin-bottom: 4px; }
.trust .t span { font-size: 13px; color: #666; }

/* ---------- inventory cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; align-items: end; }
.filters label { font-size: 12px; font-weight: bold; color: #555; display: block; margin-bottom: 4px; }
.filters input, .filters select { padding: 9px 10px; font-size: 14px; border: 1px solid #ccc; border-radius: 4px; }
.filters .fld { min-width: 150px; }
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .car-grid { grid-template-columns: 1fr; } }
.car-card { border: 1px solid #e0e0e0; border-radius: 6px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; }
.car-card .photo { background: #f1f1f1; aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; color: #999; font-size: 13px; }
.car-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.car-card .info { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.car-card h3 { font-size: 16px; margin-bottom: 4px; }
.car-card h3 a { color: #1a2340; text-decoration: none; }
.car-card .meta { font-size: 13px; color: #777; margin-bottom: 8px; }
.car-card .price { font-size: 20px; font-weight: 900; color: #c8102e; margin-top: auto; }
.car-card .price small { display: block; font-size: 11px; color: #888; font-weight: 400; }
.empty-note { padding: 30px; text-align: center; color: #777; border: 1px dashed #ccc; border-radius: 6px; }

/* ---------- car detail page ---------- */
.backrow { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.backrow a { color: #c8102e; text-decoration: none; font-weight: bold; }
.titlerow { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  gap: 8px; border-bottom: 2px solid #c8102e; padding-bottom: 10px; margin-bottom: 16px; }
.titlerow h1 { font-size: 26px; }
.titlerow h1 .light { font-weight: 400; }
.price { font-size: 30px; font-weight: 900; color: #c8102e; text-align: right; }
.price small { display: block; font-size: 12px; color: #666; font-weight: 400; }
.detail-main { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
@media (max-width: 760px) { .detail-main { grid-template-columns: 1fr; } }
.gallery { background: #f4f4f4; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.gallery .main-photo { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 14px; text-align: center; }
.gallery .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; border-radius: 4px; padding: 0; cursor: pointer;
  width: 76px; height: 57px; overflow: hidden; background: #eee; }
.thumbs button.active { border-color: #c8102e; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.specs tr:nth-child(odd) { background: #f7f7f7; }
.specs td { padding: 7px 10px; border-bottom: 1px solid #e5e5e5; }
.specs td:first-child { font-weight: bold; width: 45%; color: #444; }
.cta { display: block; text-align: center; padding: 11px; margin-bottom: 8px; border-radius: 4px;
  font-weight: bold; font-size: 14px; text-decoration: none; }
.cta.ghost { background: #fff; color: #c8102e; border: 2px solid #c8102e; }
.cta.ghost:hover { background: #c8102e; color: #fff; }
.cta.solid { background: #c8102e; color: #fff; border: 2px solid #c8102e; }
.carfax-box { border: 2px solid #1a2340; border-radius: 6px; padding: 14px; margin: 18px 0;
  display: flex; align-items: center; gap: 14px; background: #f8fafc; flex-wrap: wrap; }
.carfax-badge { background: #1a2340; color: #fff; font-weight: 900; padding: 10px 14px;
  border-radius: 4px; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.carfax-box p { font-size: 13px; color: #444; flex: 1; min-width: 180px; }
.carfax-box a.btn { background: #c8102e; color: #fff; text-decoration: none; font-weight: bold;
  padding: 10px 18px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.statcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 4px 0 18px; }
@media (max-width: 560px) { .statcards { grid-template-columns: repeat(2, 1fr); } }
.statcard { border: 1px solid #e0e0e0; border-radius: 6px; padding: 12px 8px; text-align: center; }
.statcard .dot { width: 10px; height: 10px; background: #c8102e; border-radius: 50%; margin: 0 auto 6px; }
.statcard b { display: block; font-size: 14px; }
.statcard span { font-size: 12px; color: #777; }
h2.sec { font-size: 20px; margin: 20px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #ddd; }
.desc { font-size: 14px; color: #444; }
.desc p { margin-bottom: 10px; }
.feat-list { columns: 2; font-size: 14px; color: #444; list-style: none; }
@media (max-width: 560px) { .feat-list { columns: 1; } }
.feat-list li { padding: 4px 0 4px 22px; position: relative; break-inside: avoid; }
.feat-list li::before { content: "✓"; color: #c8102e; font-weight: bold; position: absolute; left: 4px; }

/* ---------- finance calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } }
.calc .panel { border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px; }
.calc label { display: block; font-size: 13px; font-weight: bold; color: #555; margin: 12px 0 4px; }
.calc label:first-child { margin-top: 0; }
.calc input, .calc select { width: 100%; padding: 10px; font-size: 15px; border: 1px solid #ccc; border-radius: 4px; }
.calc .result { background: #1a2340; color: #fff; border-radius: 6px; padding: 18px; }
.calc .result .pay { font-size: 38px; font-weight: 900; color: #ff5b74; }
.calc .result .row { display: flex; justify-content: space-between; font-size: 14px;
  padding: 6px 0; border-bottom: 1px solid #2c3a5e; }
.calc .result .row:last-child { border-bottom: 0; }
.calc .fine { font-size: 12px; color: #aab; margin-top: 10px; }
.steps { counter-reset: step; list-style: none; margin: 12px 0; }
.steps li { counter-increment: step; padding: 10px 0 10px 44px; position: relative; font-size: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 30px; height: 30px;
  background: #c8102e; color: #fff; border-radius: 50%; text-align: center; line-height: 30px; font-weight: bold; }

/* ---------- upload page ---------- */
.upload-hero { text-align: center; padding: 18px 0 6px; }
.upload-hero h1 { font-size: 24px; }
.bigbtn { display: block; width: 100%; padding: 16px; font-size: 17px; font-weight: bold; border-radius: 8px;
  border: 2px solid #c8102e; background: #fff; color: #c8102e; margin: 10px 0; cursor: pointer; }
.bigbtn.primary { background: #c8102e; color: #fff; }
.bigbtn:disabled { opacity: .5; cursor: default; }
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.previews .pv { position: relative; aspect-ratio: 1; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews .st { position: absolute; bottom: 0; left: 0; right: 0; font-size: 11px; text-align: center;
  background: rgba(0,0,0,.65); color: #fff; padding: 3px; }
.urlbox { font-size: 12px; background: #f6f6f6; border: 1px solid #ddd; border-radius: 6px;
  padding: 10px; margin: 8px 0; word-break: break-all; }
.urlbox button { margin-top: 6px; padding: 8px 14px; font-size: 13px; font-weight: bold;
  border: 2px solid #c8102e; background: #fff; color: #c8102e; border-radius: 4px; cursor: pointer; }
.setup-note { background: #fff8e6; border: 1px solid #e8c96a; border-radius: 6px; padding: 14px; margin: 14px 0; font-size: 14px; }
.setup-note ol { margin: 8px 0 0 20px; }
.setup-note li { margin-bottom: 6px; }

/* ---------- contact strip ---------- */
.contact-strip { background: #1a2340; color: #fff; border-radius: 6px; padding: 20px; margin: 24px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-strip h3 { font-size: 15px; margin-bottom: 6px; color: #ff5b74; }
.contact-strip p, .contact-strip a { font-size: 14px; color: #e6e9f2; }
.contact-strip a.tel { font-size: 20px; font-weight: 900; color: #fff; text-decoration: none; }

/* ---------- footer ---------- */
footer { background: #161616; color: #ccc; border-top: 4px solid #c8102e; margin-top: 28px;
  padding: 22px 16px; font-size: 13px; }
footer .cols { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 640px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { color: #fff; margin-bottom: 8px; font-size: 14px; }
footer a { color: #ccc; }
.copy { text-align: center; margin-top: 16px; font-size: 12px; color: #888; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.inquiry-form label { display: block; margin-bottom: 14px; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid #c9ccd4; border-radius: 6px; font: inherit; background: #fff;
}
.inquiry-form .fineprint { color: #177245; font-weight: 600; }

/* --- finance wizard + sell-your-vehicle --- */
.wiz-progress { height: 10px; background: #e9e9e9; border-radius: 99px; overflow: hidden; margin: 16px 0 8px; }
.wiz-bar { height: 100%; width: 16.6%; background: #c8102e; transition: width .3s ease; }
.wiz-count { font-weight: 700; color: #555; margin-bottom: 6px; }
.wiz-step { display: none; }
.wiz-step.active { display: block; }
.wiz-nav { display: flex; gap: 12px; margin-top: 20px; }
.wiz-nav .btn { flex: 1; padding: 16px; font-size: 18px; }
.decoded-box { background: #f2fbf5; border: 1px solid #bfe3cc; border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-weight: 600; }

/* ---------- offers ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0; }
@media (max-width: 700px) { .offers-grid { grid-template-columns: 1fr; } }
.offer-card { border: 1px solid #e3e3e3; border-top: 4px solid #c8102e; border-radius: 6px; padding: 20px; background: #fff; }
.offer-stat { font-size: 34px; font-weight: 800; color: #c8102e; line-height: 1; }
.offer-card h3 { margin: 8px 0 6px; font-size: 19px; }
.offer-card p { color: #444; font-size: 14.5px; }
.offer-card .offer-terms { font-size: 11.5px; color: #888; margin-top: 10px; }
.offers-more { text-align: center; margin: 4px 0 22px; }
.fineprint { font-size: 11.5px; color: #888; line-height: 1.55; margin: 26px 0 8px; }

/* ---------- nav offers tab (franchise-style highlight) ---------- */
.card-cxf { margin-top: 10px; }
.card-cxf a { display: inline-block; color: #c8102e; border: 1px solid #c8102e; border-radius: 4px; padding: 5px 12px; font-size: 13px; font-weight: 700; text-decoration: none; }
.card-cxf a:hover { background: #c8102e; color: #fff; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin: 8px 0 8px; }
.faq-item h3 { font-size: 16px; margin: 0 0 6px; color: #1a2340; }
.faq-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #444; }
@media (max-width: 700px) { .faq { grid-template-columns: 1fr; } }

/* mobile polish: clean nav wrap, calmer spacing, no choppy jumps */
@media (max-width: 760px) {
  .topbar { font-size: 12px; text-align: center; line-height: 1.7; }
  .site-header { padding: 10px 8px 8px; }
  .logo { font-size: 24px; letter-spacing: 1px; }
  .mainnav { gap: 2px 14px; font-size: 12.5px; margin-top: 6px; line-height: 2; }
  .hero { padding: 34px 16px 30px; }
  .hero h1 { font-size: 30px; }
  section { padding-left: 14px; padding-right: 14px; }
  .card { padding: 12px; }
  .car-grid { gap: 14px; }
}

/* ---- franchise header + photo hero (ported from the approved preview design) ---- */
body { font-family: 'Barlow', Arial, Helvetica, sans-serif; }
h1, h2, h3, .mainnav a { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; letter-spacing: .02em; }
.brandband { background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px; flex-wrap: wrap; }
.brand-logo img { height: 68px; width: auto; display: block; }
.brand-info { text-align: right; font-size: 14px; color: #333; line-height: 1.45; }
.brand-addr { font-weight: 600; color: #1a2340; }
.brand-hours { color: #555; margin: 2px 0 8px; }
.brand-apply { display: inline-block; padding: 9px 20px; font-size: 15px; }
.navbar { background: #151515; position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.navbar .mainnav { margin: 0; padding: 0 12px; gap: 6px 26px; }
.navbar .mainnav a { color: #fff; font-size: 16px; font-weight: 600; text-transform: uppercase; padding: 11px 2px; display: inline-block; }
.navbar .mainnav a:hover { color: #ff5b74; }
.hero-photo img { width: 100%; height: auto; max-height: 540px; object-fit: cover; display: block; }
.hero-band { background: #000; color: #fff; text-align: center; padding: 20px 16px 24px; }
.hero-band h1 { font-family: 'Barlow', Arial, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: 0; text-transform: none; max-width: 840px; margin: 0 auto 16px; line-height: 1.5; }
.hero-band .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  .brandband { justify-content: center; text-align: center; }
  .brand-info { text-align: center; }
  .brand-logo img { height: 52px; }
  .hero-band h1 { font-size: 17px; }
}
