/* ============================================
   HOME PAGE — Hero, featured cars, stats, reviews
   High-conversion mobile-first layout
   ============================================ */

/* ── Hero layout ── */
.hero-row { display: flex; min-height: 430px; }

/* CTA Sidebar */
.hero-cta-panel {
  width: 200px;
  flex-shrink: 0;
  background: #0f1219;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.hero-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  color: #fff;
  position: relative;
  transition: background .2s;
  min-height: 80px;
  text-decoration: none;
  cursor: pointer;
}
.hero-cta-btn:last-child { border-bottom: none; }
.hero-cta-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .2s;
}
.hero-cta-btn:hover            { background: var(--blue-glow); }
.hero-cta-btn:hover::before    { background: var(--blue); }
.hero-cta-btn:hover .cta-title { color: var(--blue); }
.cta-label {
  font-size: .6rem;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  transition: color .2s;
}

/* Hero image */
.hero-image-wrap { flex: 1; position: relative; overflow: hidden; }
.hero-image-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,12,16,.72) 0%, rgba(10,12,16,.05) 55%);
}
.hero-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--blue); color: #fff;
  font-family: var(--font-display);
  font-size: .85rem; letter-spacing: 2px;
  padding: 5px 12px; border-radius: 3px; z-index: 2;
}
.hero-headline {
  position: absolute; bottom: 72px; left: 28px; right: 100px; z-index: 2;
}
.hero-headline h2 {
  font-family: var(--font-display);
  font-size: 2.6rem; letter-spacing: 3px; color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,.9);
}
.hero-headline h2 em { color: var(--blue); font-style: normal; }

/* Mobile hero CTA button */
.hero-mobile-cta {
  display: none;
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--blue);
  color: #fff;
  font-weight: 700; font-size: .88rem;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(96,165,250,.4);
}

.hero-arrow {
  position: absolute;
  bottom: 18px;
  background: rgba(10,12,16,.65);
  border: 1px solid var(--border); color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: all .2s;
  top: auto;
  transform: none;
}
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero-arrow.left  { right: 58px; }
.hero-arrow.right { right: 16px; }
.hero-dots {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25); cursor: pointer; transition: background .2s;
}
.hero-dot.active { background: var(--blue); }

/* ── Mobile conversion bar (below hero on mobile) ── */
.mobile-cta-bar {
  display: none;
  background: var(--blue);
  padding: 0;
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1;
  padding: 14px 10px;
  color: #fff;
  font-weight: 700; font-size: .82rem;
  text-decoration: none;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a:nth-child(2) { background: rgba(0,0,0,.15); }

/* ── Featured cars carousel ── */
.section-featured {
  background: var(--nav-bg);
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
}
.carousel-wrapper  { display: flex; align-items: center; gap: 8px; }
.cars-viewport     { flex: 1; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.cars-viewport::-webkit-scrollbar { display: none; }
.cars-track {
  display: flex; gap: 14px; flex-wrap: nowrap;
}
.car-card {
  width: 190px; flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(96,165,250,.13);
}
.car-card img        { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; flex-shrink: 0; }
.car-card-body       { padding: 10px 12px 13px; display: flex; flex-direction: column; flex: 1; }
.car-name {
  font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .4px;
  color: #fff; line-height: 1.35;
  /* Fixed 2-line height so all cards align regardless of name length */
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.car-miles { font-size: .71rem; color: var(--muted); margin: 3px 0 9px; }
.car-price {
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: .8rem;
  padding: 5px 10px; border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: auto;
}
/* Coming Soon placeholder cards */
.car-card-placeholder { cursor: default; opacity: .85; }
.car-card-placeholder:hover { transform: none; border-color: var(--border); box-shadow: none; }
.car-card-placeholder-img {
  position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: #0d1017;
}
.car-card-placeholder-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.placeholder-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}

.feat-arrow {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--card-bg); border: 1px solid var(--border);
  color: var(--muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.feat-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── Section banners ── */
.section-banner {
  background: var(--blue); color: #fff;
  text-align: center; padding: 11px 0;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 5px;
}

/* ── Welcome ── */
.welcome-section { background: #0d1017; padding: 52px 0; text-align: center; }
.welcome-section .tagline   { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.welcome-section .body-copy { color: #a0b0c8; font-size: .95rem; line-height: 1.85; max-width: 620px; margin: 0 auto; text-align: center; }
.welcome-section .body-copy strong { color: #fff; }

/* ── Stats grid ── */
.stats-bar {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid { display: flex; flex-wrap: wrap; }
.stats-grid .stat-item {
  flex: 1 1 25%; min-width: 140px; text-align: center; padding: 10px 0;
}
.stat-number {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--blue); line-height: 1;
}
.stat-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }

/* ── Why choose us bar (conversion section) ── */
.trust-bar {
  background: #0d1017;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: flex; flex-wrap: wrap; gap: 0;
}
.trust-item {
  flex: 1 1 25%; min-width: 180px;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue-glow);
  border: 1px solid rgba(0,139,205,.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
/* Fallback text icons when icon font blocked */
.trust-icon i { display: block; }
.trust-icon svg { display: block; }
.trust-title { font-weight: 700; font-size: .85rem; color: #fff; margin-bottom: 3px; }
.trust-desc  { font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ── Reviews ── */
.reviews-section { background: var(--dark); padding: 52px 0; text-align: center; }
.review-inner    { max-width: 660px; margin: 0 auto; }
.review-text     { font-size: 1rem; color: #bccde0; line-height: 1.85; font-style: italic; margin-bottom: 20px; }
.review-stars    { font-size: 1.2rem; color: var(--blue); letter-spacing: 4px; margin-bottom: 8px; }
.review-author   { font-weight: 600; font-style: italic; color: var(--muted); font-size: .88rem; }
.review-pause {
  margin-top: 18px; background: var(--border); border: none;
  color: var(--muted); width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .8rem; transition: all .2s;
}
.review-pause:hover { background: var(--blue); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-row           { flex-direction: column; min-height: auto; }
  .hero-cta-panel     { width: 100%; flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-cta-btn       { border-bottom: none; border-right: 1px solid var(--border); min-height: 64px; padding: 0 14px; }
  .hero-cta-btn:last-child { border-right: none; }
  .hero-image-wrap    { min-height: 320px; position: relative; }
  .cta-title          { font-size: 1.1rem; }
  .cta-label          { font-size: .55rem; }
  .trust-item         { flex: 1 1 50%; }
  .trust-item:nth-child(2) { border-right: none; }
}

@media (max-width: 600px) {
  /* Hero — hide sidebar, show full-width hero with CTA button */
  .hero-cta-panel     { display: none; }
  .hero-image-wrap    { min-height: 260px; }
  .hero-headline      { bottom: 70px; left: 16px; right: 16px; }
  .hero-headline h2   { font-size: 1.8rem; }
  .hero-mobile-cta    { display: flex; }
  .hero-dots          { bottom: 44px; }

  /* Show mobile CTA bar below hero */
  .mobile-cta-bar     { display: flex; }

  /* Stats 2x2 */
  .stats-grid .stat-item { flex: 1 1 50%; }
  .stat-number        { font-size: 2rem; }

  /* Trust items stack */
  .trust-item         { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }

  /* Welcome text smaller */
  .welcome-section    { padding: 36px 0; }
  .welcome-section .tagline { font-size: 1rem; }

  /* Reviews */
  .reviews-section    { padding: 36px 0; }
  .review-text        { font-size: .92rem; }
}

/* ══════════════════════════════════════════
   HOMEPAGE SECTIONS — Real business content
   ══════════════════════════════════════════ */

/* Hero sub-headline + CTA buttons */
.hero-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin: 8px 0 20px;
  letter-spacing: .3px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn-primary {
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: .85rem;
  padding: 12px 24px; border-radius: 30px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.hero-btn-primary:hover { background: var(--blue-dark); color: #fff; }
.hero-btn-secondary {
  background: rgba(255,255,255,.12); color: #fff;
  font-weight: 600; font-size: .85rem;
  padding: 12px 24px; border-radius: 30px;
  text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,.2); }

/* ── What We Offer ── */
.offer-section   { background: var(--dark); padding: 48px 0; }
.offer-subtitle  { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.offer-grid      { display: flex; flex-wrap: wrap; gap: 20px; }
.offer-card      {
  flex: 1 1 200px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  transition: border-color .2s, transform .2s;
}
.offer-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.offer-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0,139,205,.12);
  border: 1px solid rgba(0,139,205,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.offer-title { font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: 8px; }
.offer-desc  { font-size: .82rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.offer-link  { font-size: .8rem; color: var(--blue); text-decoration: none; font-weight: 600; }
.offer-link:hover { text-decoration: underline; }

/* ── Consignment callout ── */
.consign-section { background: var(--nav-bg); padding: 56px 0; border-top: 1px solid var(--border); }
.consign-inner   { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.consign-img     { flex: 0 0 380px; border-radius: var(--radius-xl); overflow: hidden; }
.consign-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.consign-content { flex: 1; min-width: 260px; }
.consign-label   { font-size: .68rem; letter-spacing: 3px; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.consign-title   { font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px; color: #fff; margin-bottom: 16px; line-height: 1.15; }
.consign-list    { list-style: none; padding: 0; margin: 0 0 24px; }
.consign-list li { font-size: .85rem; color: #a0b0c8; padding: 5px 0; line-height: 1.5; }

/* ── Turo section ── */
.turo-section  { background: #0d1017; padding: 56px 0; border-top: 1px solid var(--border); }
.turo-inner    { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.turo-content  { flex: 1; min-width: 260px; }
.turo-label    { font-size: .68rem; letter-spacing: 3px; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.turo-title    { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.turo-desc     { font-size: .88rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.turo-features { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 18px; }
.turo-feat     { display: flex; align-items: flex-start; gap: 14px; }
.turo-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue-glow); border: 1px solid rgba(0,139,205,.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.turo-feat strong { display: block; font-size: .87rem; color: #fff; margin-bottom: 2px; }
.turo-feat p      { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Schedule section ── */
.schedule-section { background: var(--card-bg); padding: 56px 0; border-top: 1px solid var(--border); }
.schedule-inner   { display: flex; gap: 48px; flex-wrap: wrap; }
.schedule-left    { flex: 1; min-width: 260px; }
.schedule-label   { font-size: .68rem; letter-spacing: 3px; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.schedule-title   { font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px; color: #fff; margin-bottom: 12px; }
.schedule-desc    { font-size: .88rem; color: var(--muted); line-height: 1.75; max-width: 440px; }
.schedule-right   { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 20px; }
.schedule-feat    { display: flex; align-items: flex-start; gap: 14px; }
.sf-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--blue-glow); border: 1px solid rgba(0,139,205,.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.schedule-feat strong { display: block; font-size: .87rem; color: #fff; margin-bottom: 3px; }
.schedule-feat p      { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-headline h2 { font-size: 1.6rem; }
  .hero-sub         { font-size: .78rem; }
  .hero-btns        { gap: 8px; }
  .hero-btn-primary,
  .hero-btn-secondary { padding: 10px 18px; font-size: .8rem; }

  .offer-grid    { gap: 14px; }
  .offer-card    { flex: 1 1 calc(50% - 14px); }

  .consign-img   { flex: 0 0 100%; }
  .consign-img img { height: 200px; }

  .turo-inner    { gap: 28px; }
  .schedule-inner{ gap: 28px; }
}
@media (max-width: 480px) {
  .offer-card { flex: 1 1 100%; }
}