/* Motors Classified Five — static staging clone */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red: #eb232c;
  --red-dark: #c8102e;
  --dark: #232f3e;
  --dark2: #1a242f;
  --topbar: #10161c;
  --grey-bg: #eef2f7;
  --text: #2b2b2b;
  --muted: #7a8794;
  --border: #e3e8ee;
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: var(--text); font-size: 15px; line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.center { text-align: center; margin-top: 28px; }

/* ---------- top bar ---------- */
.topbar { background: var(--topbar); color: #9aa5b1; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; flex-wrap: wrap; }
.tb-item { margin-right: 26px; white-space: nowrap; }
.tb-right .soc { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; color: #c7d0d9; font-size: 13px; font-weight: 700; margin-left: 6px; border: 1px solid #3a4653; border-radius: 50%; }
.tb-right .soc:hover { color: #fff; border-color: var(--red); background: var(--red); }

/* ---------- header ---------- */
.site-header { background: var(--dark); }
.header-in { display: flex; align-items: center; gap: 34px; min-height: 72px; }
.logo { flex: 0 0 auto; font-style: italic; font-weight: 800; font-size: 32px; color: #fff; letter-spacing: -1px; }
.logo img { height: 26px; width: auto; }
.main-nav { flex: 1 1 auto; }
.main-nav > ul { display: flex; gap: 26px; }
.main-nav > ul > li { position: relative; }
.main-nav a { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 10px 0; display: block; }
.main-nav a:hover, .main-nav li.active > a { color: var(--red); }
.main-nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 50; }
.main-nav .sub a { color: var(--text); font-size: 12px; padding: 10px 16px; text-transform: none; font-weight: 600; }
.main-nav .sub a:hover { background: var(--grey-bg); color: var(--red); }
.main-nav li.has-sub:hover .sub { display: block; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.h-ico { position: relative; color: #fff; font-size: 20px; line-height: 1; }
.h-ico .badge { position: absolute; top: -8px; right: -10px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 50%; }
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding: 13px 26px; border: none; cursor: pointer; border-radius: 3px; }
.btn:hover { background: var(--red-dark); }
.btn-add { padding: 11px 18px; white-space: nowrap; }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #000; }
.btn-green { background: #7ac143; }
.btn-green:hover { background: #68a838; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 10px; }

/* ---------- hero ---------- */
.hero { background: #3a3f45 url('../img/hero-moto.jpg') center/cover no-repeat; min-height: 560px; display: flex; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,20,.55) 0%, rgba(10,15,20,.15) 55%, rgba(10,15,20,0) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 620px; color: #fff; padding: 60px 0; }
.hero-text h1 { font-size: 46px; line-height: 1.15; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.hero-text p { font-size: 15px; color: #e8edf2; margin-bottom: 26px; max-width: 520px; }

/* ---------- search ---------- */
.search-area { background: #fff; }
.search-tabs { display: flex; gap: 2px; margin-top: -1px; position: relative; z-index: 3; }
.stab { border: none; background: #e8edf2; color: #4a5a6a; font-family: inherit; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 14px 34px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.stab.active { background: #fff; color: var(--red); box-shadow: 0 -3px 0 var(--red) inset; }
.stab .tic { font-size: 16px; }
.search-form { padding: 22px 0 26px; }
.sf-row { display: flex; gap: 14px; margin-bottom: 14px; }
.sf-row:last-child { margin-bottom: 0; }
.search-form select { flex: 1 1 0; min-width: 0; height: 46px; border: 1px solid #dfe4ea; background: #f2f4f7; color: #5a6a7a; font-family: inherit; font-size: 13px; padding: 0 12px; border-radius: 2px; }
.btn-search { flex: 1 1 0; height: 46px; padding: 0; }
.sf-spacer { flex: 1 1 0; }

/* ---------- sections ---------- */
.section { padding: 58px 0; }
.section-grey { background: var(--grey-bg); }
.section-dark { background: var(--dark2); color: #fff; }
.sec-title { text-align: center; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 34px; position: relative; padding-bottom: 16px; }
.sec-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 44px; height: 3px; background: var(--red); }
.sec-title.left { text-align: left; }
.sec-title.left::after { left: 0; transform: none; }
.sec-title.light { color: #fff; }
.sec-sub { text-align: center; color: #9fb0c0; max-width: 760px; margin: -18px auto 34px; font-size: 14px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- vehicle cards ---------- */
.vcard { background: #fff; box-shadow: 0 2px 10px rgba(20,30,45,.06); }
.vimg { position: relative; overflow: hidden; }
.vimg img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.vcard:hover .vimg img { transform: scale(1.05); }
.ribbon { position: absolute; top: 14px; left: -34px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 40px; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.offer-tag { position: absolute; right: 0; bottom: 44px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.price-tag { position: absolute; right: 0; bottom: 0; background: var(--red); color: #fff; padding: 6px 14px; text-align: right; line-height: 1.25; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.price-tag .old { display: block; font-size: 12px; text-decoration: line-through; opacity: .85; }
.price-tag .now { font-size: 16px; font-weight: 800; }
.vbody { padding: 16px 18px 18px; }
.vbody h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.vbody h3 a:hover { color: var(--red); }
.vmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.vmeta span::before { content: "\2022"; color: var(--red); margin-right: 5px; }

/* ---------- browse by type ---------- */
.browse-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.browse-head .sec-title { margin-bottom: 0; padding-bottom: 0; }
.browse-head .sec-title::after { display: none; }
.type-tabs { display: flex; gap: 4px; }
.type-tabs .tt { padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--red); border-bottom: 2px solid transparent; }
.type-tabs .tt.active { background: var(--red); color: #fff; }
.type-tabs .tt:not(.active) { text-decoration: underline; }

/* ---------- features ---------- */
.features { margin-bottom: 8px; }
.feature { text-align: left; padding: 10px 6px; }
.f-ico { width: 62px; height: 62px; border: 2px solid var(--red); border-radius: 50%; color: var(--red); font-size: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.feature p { font-size: 13px; color: #5a6a7a; }

/* ---------- carousel nav ---------- */
.carousel-nav { text-align: center; margin-top: 30px; color: #8b98a5; font-size: 22px; }
.cn-arrow { cursor: pointer; padding: 0 10px; }
.cn-arrow:hover { color: var(--red); }
.cn-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #c3ccd5; margin: 0 3px; vertical-align: middle; }
.cn-dot.on { background: #5a6a7a; }

/* ---------- blog ---------- */
.posts .post { color: #fff; }
.post-img { position: relative; margin-bottom: 16px; }
.post-img img { width: 100%; height: 210px; object-fit: cover; }
.date-badge { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; text-align: center; padding: 8px 12px; line-height: 1.1; }
.date-badge .d { display: block; font-size: 22px; font-weight: 800; }
.date-badge .m { font-size: 12px; }
.post h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.post h3 a:hover { color: var(--red); }
.post p { font-size: 13px; color: #9fb0c0; }
.posts-light .post { color: var(--text); }
.posts-light .post p { color: #5a6a7a; }
.logos-strip { padding-top: 10px; }
.logos { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; opacity: .55; filter: grayscale(1); }
.logos img { height: 40px; width: auto; }

/* ---------- page head / archives ---------- */
.page-head { background: var(--dark); color: #fff; padding: 44px 0; }
.page-head h1 { font-size: 32px; font-weight: 800; text-transform: uppercase; }
.crumb { color: #9fb0c0; font-size: 13px; margin-top: 6px; }
.crumb a { color: #fff; }
.crumb a:hover { color: var(--red); }
.archive-intro { color: #5a6a7a; margin-bottom: 24px; max-width: 820px; }
.filter-bar { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.filter-bar select { height: 42px; border: 1px solid #dfe4ea; background: #f2f4f7; font-family: inherit; font-size: 13px; padding: 0 12px; }
.result-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.pagination { text-align: center; margin-top: 36px; }
.pagination .pg { display: inline-block; min-width: 38px; height: 38px; line-height: 38px; border: 1px solid var(--border); margin: 0 3px; font-weight: 700; font-size: 13px; }
.pagination .pg.on, .pagination .pg:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- listing detail ---------- */
.listing-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.gallery .g-main { width: 100%; height: 460px; object-fit: cover; }
.g-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.g-thumbs img { height: 84px; width: 100%; object-fit: cover; cursor: pointer; opacity: .7; border: 2px solid transparent; }
.g-thumbs img.on, .g-thumbs img:hover { opacity: 1; border-color: var(--red); }
.listing-main p { margin-bottom: 14px; color: #4a5a6a; }
.listing-main .sec-title { margin: 30px 0 18px; font-size: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.specs th { background: var(--grey-bg); width: 18%; font-size: 12px; text-transform: uppercase; color: #5a6a7a; }
.price-box { background: var(--grey-bg); padding: 22px; position: relative; margin-bottom: 24px; }
.pb-old { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.pb-now { font-size: 34px; font-weight: 800; color: var(--red); margin-bottom: 14px; }
.ribbon-static { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; }
.dealer-box, .stats-box { border: 1px solid var(--border); padding: 20px 22px; margin-bottom: 24px; }
.dealer-box h3, .stats-box h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 12px; }
.dealer-box p, .stats-box p { font-size: 13px; color: #5a6a7a; margin-bottom: 6px; }

/* ---------- pricing ---------- */
.plans { align-items: stretch; }
.plan { border: 1px solid var(--border); padding: 30px 26px; text-align: center; position: relative; background: #fff; }
.plan.popular { border: 2px solid var(--red); box-shadow: 0 6px 24px rgba(20,30,45,.1); }
.pop-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 14px; border-radius: 2px; }
.plan h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; }
.plan-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan-price { margin-bottom: 20px; }
.plan-price .cur { font-size: 20px; font-weight: 700; vertical-align: top; }
.plan-price .amt { font-size: 44px; font-weight: 800; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 13px; }
.plan-feats { text-align: left; margin-top: 22px; font-size: 13px; color: #4a5a6a; }
.plan-feats li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.plan-feats li:last-child { border-bottom: none; }

/* ---------- contact / about / legal ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info p { margin-bottom: 10px; color: #4a5a6a; }
.map-ph { background: var(--grey-bg); border: 1px solid var(--border); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; margin-top: 20px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dfe4ea; background: #f7f8fa; font-family: inherit; font-size: 14px; padding: 12px 14px; margin-bottom: 14px; border-radius: 2px; }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-img img { width: 100%; height: 340px; object-fit: cover; }
.about-text p { margin-bottom: 14px; color: #4a5a6a; }
.legal { max-width: 860px; }
.legal p { margin-bottom: 16px; color: #4a5a6a; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark2); color: #8b98a5; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 15px; border-bottom: 1px solid #2b3846; flex-wrap: wrap; }
.footer-search { display: flex; }
.footer-search input { width: 260px; height: 42px; border: 1px solid #2b3846; background: #141c24; color: #fff; padding: 0 14px; font-family: inherit; font-size: 13px; }
.footer-search button { width: 46px; height: 42px; border: none; background: #2b3846; color: #fff; font-size: 16px; cursor: pointer; }
.footer-links a { color: #c7d0d9; font-size: 13px; }
.footer-links a:hover { color: var(--red); }
.footer-links span { margin: 0 14px; color: #3a4653; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 15px; font-size: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #c7d0d9; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .main-nav > ul { gap: 16px; }
  .hero-text h1 { font-size: 36px; }
  .listing-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-in { flex-wrap: wrap; gap: 12px; padding: 12px 15px; }
  .main-nav > ul { flex-wrap: wrap; gap: 12px; }
  .sf-row { flex-wrap: wrap; }
  .search-form select, .btn-search { flex: 1 1 45%; }
  .hero { min-height: 420px; }
  .hero-text h1 { font-size: 28px; }
  .contact-wrap, .about-wrap { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { justify-content: center; text-align: center; }
  .gallery .g-main { height: 300px; }
}
