/* NextGen Home (homepage-only sections) */
/* These classes are used by includes/nextgen/*.php */

.hero{
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 14px;
}
.hero__inner{ max-width: 980px; margin: 0 auto; padding: 0 12px; }
.hero__content{ text-align:center; }
.hero__eyebrow{ margin:0 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.hero__title{ margin:0 0 8px; font-size: 24px; line-height: 1.15; font-weight: 900; color: var(--ink); }
.hero__subtitle{ margin:0 auto 12px; max-width: 720px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.hero__search{ margin: 10px auto 10px; max-width: 720px; }
.hero__search-label{ display:block; text-align:left; font-size: 12px; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.hero__search-row{ display:flex; gap: 8px; }
.hero__search-input{
  flex:1;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #c5d3e2;
  background:#fff;
  font-size: 14px;
}
.hero__search-input:focus{ outline:none; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(0,122,195,.10); }
.hero__search-button{
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  white-space:nowrap;
}
.hero__search-button:hover{ background: var(--brand2); border-color: var(--brand2); }

.hero__stats{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
  margin: 10px 0 8px;
}
.hero__stat{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  padding: 10px 12px;
  border: 1px solid #d6e2ef;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  text-decoration:none;
}
.hero__stat-number{ font-weight: 900; color: var(--ink); font-size: 14px; line-height: 1.1; }
.hero__stat-label{ color: var(--muted); font-size: 12px; margin-top: 2px; }

.hero__trust-badges{ margin-top: 6px; font-size: 12px; color: var(--muted); }
.hero__trust-badges strong{ color: var(--ink); }
.hero__trust-sep{ margin: 0 6px; opacity:.7; }

/* Reviews */
.home-reviews{ padding: 18px 0; }
.home-reviews__inner{ max-width: 980px; margin: 0 auto; padding: 0 12px; }
.home-reviews__head{ text-align:center; margin-bottom: 14px; }
.home-reviews__title{ margin:0 0 6px; font-size: 20px; font-weight: 900; }
.home-reviews__subtitle{ margin:0 auto; max-width: 680px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.home-reviews__grid{ display:grid; grid-template-columns: 1fr; gap: 12px; }
.home-reviews__google{
  display:block; text-decoration:none; color:inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background:#fff;
}
.home-reviews__cta{ margin-top: 10px; font-weight: 900; color: var(--brand); }
.home-reviews__quotes{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background:#fff;
}
.home-reviews__quote{ margin:0 0 12px; }
.home-reviews__quote:last-child{ margin-bottom:0; }
.home-reviews__quote blockquote{ margin:0 0 6px; color: var(--ink); }
.home-reviews__quote figcaption{ font-size: 12px; color: var(--muted); }

/* How it works */
.home-how{ padding: 18px 0; background:#f8fafc; border-top: 1px solid var(--line); }
.home-how__inner{ max-width: 980px; margin: 0 auto; padding: 0 12px; }
.home-how__head{ text-align:center; margin-bottom: 12px; }
.home-how__title{ margin:0 0 6px; font-size: 20px; font-weight: 900; }
.home-how__subtitle{ margin:0 auto; max-width: 680px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.home-how__steps{ list-style:none; margin:0; padding:0; display:grid; gap: 10px; }
.home-how__step{
  display:grid; grid-template-columns: 34px 1fr; gap: 10px;
  padding: 12px; border: 1px solid #d6e2ef; border-radius: 16px; background:#fff;
}
.home-how__num{
  width:34px; height:34px; border-radius:999px;
  background:#e7f2ff; color: var(--brand);
  display:grid; place-items:center; font-weight:900;
}
.home-how__h{ margin:0 0 4px; font-size: 14px; font-weight: 900; }
.home-how__p{ margin:0; font-size: 13px; line-height: 1.5; color: var(--muted); }

@media (min-width: 900px){
  .hero__title{ font-size: 30px; }
  .home-reviews__grid{ grid-template-columns: 1.1fr .9fr; align-items:start; }
  .home-how__steps{ grid-template-columns: repeat(3,1fr); gap: 12px; }
}


/* ======================================================================
   ===== HEADER LOCKED (GOLDEN 2026-01-14-1708) =====
   Single source of truth for header layout + logo + Bob/Ken badge.
   ====================================================================== */

/* Lane layout so brand never fights menu/actions */
.ng-header .ng-header__inner{
  --hdr-left: 64px;
  --hdr-right: 168px;
  grid-template-columns: var(--hdr-left) 1fr var(--hdr-right) !important;
  align-items: center !important;
  padding-inline: 10px !important;
}

/* Left */
.ng-header .ng-menu{
  justify-self: start !important;
  align-self: center !important;
}

/* Brand group */
.ng-header .ng-brand{
  justify-self: center !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;                 /* logo↔badge closer */
  transform: translateX(-12px) !important; /* overall push left */
}

/* 2CarPros wordmark */
.ng-header .ng-brand__logo{
  display: block !important;
  width: 168px !important;
  height: 36px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  flex: 0 0 auto !important;
}

/* Bob/Ken badge (new asset) */
.ng-header .ng-brand__mark{
  /* badge removed */
  content: "" !important;  display: inline-block !important;
  width: auto !important;
  height: 18px !important;
  opacity: .88 !important;

  /* remove divider + tighten */
  border-left: none !important;
  padding-left: 2px !important;
  margin-left: 1px !important;
}

/* Right actions */
.ng-header .ng-header__actions{
  justify-self: end !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

.ng-header .ng-header__actions a.ng-btn{
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
}

/* Modern iPhones (last ~5 years) */
@media (max-width: 420px){
  .ng-header .ng-header__inner{
    --hdr-left: 64px;
    --hdr-right: 160px;
  }
  .ng-header .ng-brand{
    transform: translateX(-16px) !important;
    gap: 4px !important;
  }
  .ng-header .ng-brand__logo{
    width: 172px !important;
    height: 36px !important;
  }
  .ng-header .ng-header__actions a.ng-btn{
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }
}

/* Ultra-small only: hide badge */
@media (max-width: 359px){
  .ng-header .ng-brand__mark{ display: none !important; }
}


/* ===== HEADER FINAL (HOME): micro nudge brand left =====
   home.css loads after base.css, so this guarantees the nudge is applied on the homepage.
*/
.ng-header .ng-brand{
  margin-left: -2px !important;
}

/* AIO: HERO VEHICLE CSS START */
/* Compact vehicle row under hero search */
.hero__vehicle-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.hero__vehicle-row select,
.hero__vehicle-row input{
  min-height:42px;
  padding:8px 12px;
  border:1px solid rgba(0,0,0,.2);
  border-radius:10px;
}
.hero__vehicle-row select{
  flex:0 0 110px;
  padding:8px;
}
.hero__vehicle-row input[name="make"]{ flex:1 1 180px; }
.hero__vehicle-row input[name="model"]{ flex:1 1 200px; }

@media (max-width: 520px){
  .hero__vehicle-row select{ flex:1 1 110px; }
  .hero__vehicle-row input[name="make"],
  .hero__vehicle-row input[name="model"]{ flex:1 1 100%; }
}
/* AIO: HERO VEHICLE CSS END */
