/* Home page only. Brand greens match the live site's hero gradient. */
.home-page {
  --home-green: #077f0b;
  --home-bright-green: #3eba42;
  --home-panel: #e8f4f8;
}
.home-page .main-nav .nav-link { font-weight: 700; color: #151515; }
.home-page .main-nav .nav-link[aria-current] { color: var(--home-green); border-color: var(--home-green); }
.home-page .main-nav .navbar-toggler { min-height: 44px; min-width: 44px; }
.home-page a:focus-visible { outline: 3px solid var(--home-bright-green); outline-offset: 5px; }
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  background: linear-gradient(45deg, rgba(255,255,255,.75) 0%, rgba(62,186,66,.75) 20%, rgba(7,127,11,.75) 50%), url('../images/evrescueextrication.png') center / cover;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,35,8,.34);
  pointer-events: none;
}
.home-hero-layout { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 22px; }
.home-hero-copy h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.03; font-weight: 800; letter-spacing: -2px; margin: 0 0 12px; color: white; }
.home-hero-copy h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.13; font-weight: 700; margin: 0 0 16px; color: white; }
.home-hero-copy p { color: white; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; margin-bottom: 16px; }
.home-phones { width: 100%; height: auto; }
.home-store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.home-store-badges a { display: inline-flex; max-width: 100%; }
.home-store-badges img { width: 164px; height: 54px; object-fit: fill; }
.home-overview { padding-top: 24px; padding-bottom: 32px; text-align: center; }
.home-overview h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.14; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.home-overview h2 span { color: var(--home-green); }
.home-tagline { color: #111; font-size: clamp(22px, 2.7vw, 34px); line-height: 1.2; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; }
.home-features { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0 0 20px; }
.home-features li { color: #343434; padding: 0 8px; border-right: 2px solid #dceef3; line-height: 1.35; font-size: 13px; }
.home-features li:last-child { border-right: 0; }
.home-features svg { width: 64px; height: 64px; display: block; margin: 0 auto 10px; color: var(--home-green); }
.home-features span { display: block; }
.home-features:focus-visible { outline: 3px solid var(--home-green); outline-offset: 3px; }
.home-features-toggle { margin: -8px 0 16px; border: 1px solid var(--home-green); border-radius: 4px; background: white; color: var(--home-green); padding: 6px 12px; font-size: 12px; cursor: pointer; }
.home-features-toggle:focus-visible { outline: 3px solid var(--home-green); outline-offset: 3px; }
.home-features.is-autoscrolling { scroll-snap-type: none; }
.home-vehicle-diagram { margin: 0 0 24px; }
.home-vehicle-diagram a { display: block; }
.home-vehicle-diagram img { display: block; width: 100%; height: auto; }
.home-vehicle-diagram figcaption { margin-top: 8px; color: #343434; font-size: 13px; }
.home-download-panel, .home-department-panel { background: var(--home-panel); border-radius: 4px; margin-bottom: 10px; padding: 18px 24px; }
.home-download-panel { display: grid; grid-template-columns: 1fr; align-items: center; gap: 20px; text-align: center; }
.home-overview h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; margin-bottom: 6px; letter-spacing: -1px; }
.home-download-callout { text-align: center; }
.home-download-callout h3 { font-size: 26px; }
.home-download-callout p { color: var(--home-green); font-size: clamp(22px, 7vw, 28px); line-height: 1.15; font-weight: 800; }
.home-download-details > p { color: #1758a3; font-size: 18px; line-height: 1.4; }
.home-download-details .home-store-badges { justify-content: center; margin: 7px 0 4px; }
.home-download-details .home-download-hint { color: #222; }
.home-inquiry { display: inline-block; padding: 10px 18px; background: #080808; color: white; border-radius: 4px; font-size: 14px; line-height: 1.35; }
.home-inquiry span { display: block; font-size: 18px; }
.home-inquiry:hover { color: white; background: var(--home-green); }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px 8px; margin: 0; background: #e4f3f0; border-radius: 4px; }
.home-stats div { display: flex; flex-direction: column; justify-content: center; border-right: 2px solid var(--home-bright-green); padding: 0 10px; }
.home-stats div:last-child { border: 0; }
.home-stats dt { font-size: 23px; font-weight: 400; line-height: 1.25; color: #242424; }
.home-stats dd { order: -1; font-size: 30px; line-height: 1.2; font-weight: 800; color: #111; margin-bottom: 4px; }
.home-stats div:nth-child(3) dt { font-size: 17px; }
.home-standard { color: var(--home-green); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3; font-weight: 800; margin-top: 24px; }
@media (max-width: 1199px) and (min-width: 768px) {
  .home-store-badges img { width: 132px; height: 44px; }
}
@media (max-width: 991px) {
  .home-features { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 10px; }
  .home-features li { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; text-align: left; font-size: 12px; line-height: 1.3; }
  .home-features svg { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; }
  .home-stats dt { font-size: 19px; }
}
@media (max-width: 767px) {
  .home-features { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
  .home-features li { flex: 0 0 124px; flex-direction: column; justify-content: flex-start; gap: 6px; text-align: center; scroll-snap-align: start; }
  .home-features svg { flex: 0 0 auto; width: 28px; height: 28px; }
  .home-hero { padding: 32px 0 24px; }
  .home-hero-layout { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .home-hero-copy h1 { letter-spacing: -1px; }
  .home-hero-copy h2 { max-width: 500px; margin-left: auto; margin-right: auto; }
  .home-store-badges { justify-content: center; }
  .home-phones { max-width: 480px; justify-self: center; }
  .home-overview h2 { letter-spacing: -1px; }
  .home-download-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .home-stats div:nth-child(2) { border-right: 0; }
  .home-stats dd { font-size: 26px; }
  .home-stats dt, .home-stats div:nth-child(3) dt { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Keep the retained supporting sections within the viewport. */
.home-page .service > .container-fluid > .row { margin-left: 0; margin-right: 0; }
.home-page .service > .container-fluid > .row > center { width: 100%; }
.home-page [data-aos] { transform: none !important; }
