/* =========================================================================
   Home page — builds on site.css tokens (--site-*). No hard-coded brand colours.
   ========================================================================= */

/* hero */
.hero-home { padding-bottom: 3rem; }
.hero-home .hero-copy { max-width: 680px; }
.hero-points { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .45rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.hero-points i { color: var(--site-accent); margin-top: .15rem; }
.hero-side-card { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); border-radius: var(--site-radius-lg); padding: 1.1rem 1.25rem; color: #fff; }
.hero-side-card .row-item { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.hero-side-card .row-item:last-child { border-bottom: 0; padding-bottom: .2rem; }
.hero-side-card .row-item:first-child { padding-top: .2rem; }
.hero-side-card .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--site-accent); flex: 0 0 auto; }
.hero-side-card strong { display: block; font-size: .95rem; color: #fff; line-height: 1.2; }
.hero-side-card small { color: rgba(255, 255, 255, .78); }
.hero-rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--site-radius-pill); padding: .4rem .9rem .4rem .5rem; font-size: .85rem; }
.hero-rating .avatars { display: flex; }
.hero-rating .avatars span { width: 26px; height: 26px; border-radius: 50%; background: var(--site-accent); color: var(--site-heading); font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--site-primary); margin-left: -8px; }
.hero-rating .avatars span:first-child { margin-left: 0; }
.hero-rating .stars { font-size: .8rem; }

/* trip type quick cards */
.type-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; color: inherit; }
.type-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--site-soft); color: var(--site-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; flex: 0 0 auto; transition: all .25s var(--site-ease); }
.type-card:hover .ic { background: var(--site-primary); color: #fff; }
.type-card strong { display: block; color: var(--site-heading); font-family: var(--site-font-heading); font-size: .98rem; }
.type-card small { color: var(--site-muted); font-size: .82rem; }
.type-card .arrow { margin-left: auto; color: var(--site-muted); transition: transform .2s; }
.type-card:hover .arrow { transform: translateX(4px); color: var(--site-primary); }

/* stats band */
.home-stats { padding: 1.25rem 0; }


/* alternating section backgrounds */
.section-alt { background: var(--site-soft); }
.section-dark { background: var(--site-heading); color: #fff; }
.section-dark .section-heading h2, .section-dark .section-heading p { color: #fff; }
.section-dark .section-heading p { opacity: .8; }

/* routes */
.routes-grid .route-card { height: 100%; }
.routes-grid .route-card .route-title i.bi-arrow-right { color: var(--site-secondary); }

/* testimonials track (snap on mobile, grid on desktop) */
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem .5rem; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.testi-track > * { scroll-snap-align: start; }
@media (min-width: 768px) { .testi-track { grid-auto-columns: minmax(320px, 48%); } }
@media (min-width: 992px) { .testi-track { grid-auto-columns: minmax(340px, 360px); } }

/* fleet row */
.fleet-card .btn { width: 100%; }

/* how it works connector */
.how-grid { position: relative; }
@media (min-width: 992px) {
  .how-grid::before { content: ""; position: absolute; left: 16%; right: 16%; top: 58px; border-top: 2px dashed var(--site-border); z-index: 0; }
  .how-grid .how-step { position: relative; z-index: 1; background: var(--site-card-bg); }
}

/* why-us band inside dark section */
.promise-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.promise-item:last-child { border-bottom: 0; }
.promise-item i { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--site-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 auto; }
.promise-item strong { display: block; color: #fff; font-size: .98rem; }
.promise-item span { color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* app / offer tiles */
.offer-tile { border-radius: var(--site-radius-lg); padding: 1.5rem; background: linear-gradient(135deg, var(--site-secondary), color-mix(in srgb, var(--site-secondary) 60%, var(--site-accent))); color: #fff; height: 100%; position: relative; overflow: hidden; }
.offer-tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.offer-tile h4 { color: #fff; }
.offer-tile .btn { position: relative; z-index: 1; }

/* blog cards height */
.blog-card { height: 100%; }

@media (max-width: 575.98px) {
  .hero-home { padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .hero-home h1 { font-size: 1.75rem; }
  .hero-home .lead { font-size: .98rem; }
}


/* ── Fleet rail (horizontally scrollable car picker) ───────────────── */
.fleet-rail { grid-auto-columns: minmax(200px, 210px); }
.fleet-rail-item { width: 100%; }
.fleet-rail .fleet-card { height: 100%; display: flex; flex-direction: column; }
.fleet-rail .fleet-card .btn { margin-top: auto; }
@media (min-width: 576px) { .fleet-rail { grid-auto-columns: minmax(215px, 225px); } }

.testi-track::-webkit-scrollbar { display: none; width: 0; height: 0; }


/* ── Stats band ─────────────────────────────────────────────────────── */
.home-stats { padding: .35rem 0; }
.home-stats .stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 768px) { .home-stats .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; } }
.home-stats .stat {
  display: flex; align-items: center; gap: .7rem; text-align: left;
  padding: .9rem .75rem; border-radius: var(--site-radius); text-decoration: none;
  transition: background .2s var(--site-ease), transform .2s var(--site-ease);
}
.home-stats .stat.is-link:hover { background: var(--site-card-bg); transform: translateY(-2px); box-shadow: var(--site-shadow-sm); }
.home-stats .stat-ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--site-primary) 12%, transparent);
  color: var(--site-primary); font-size: 1.15rem;
}
.home-stats .stat-body { display: flex; flex-direction: column; min-width: 0; }
.home-stats .stat strong { font-size: 1.45rem; letter-spacing: -.02em; }
.home-stats .stat .stat-label { font-size: .82rem; font-weight: 700; color: var(--site-heading); }
.home-stats .stat .stat-sub { font-size: .72rem; color: var(--site-muted); font-weight: 500; line-height: 1.3; }
@media (min-width: 992px) {
  .home-stats { padding: .75rem 0; }
  .home-stats .stat strong { font-size: 1.8rem; }
  .home-stats .stat .stat-label { font-size: .88rem; }
  .home-stats .stat .stat-sub { font-size: .76rem; }
}
@media (max-width: 400px) {
  .home-stats .stat { gap: .5rem; padding: .7rem .4rem; }
  .home-stats .stat-ic { flex-basis: 34px; width: 34px; height: 34px; font-size: 1rem; }
  .home-stats .stat strong { font-size: 1.15rem; }
  .home-stats .stat .stat-sub { display: none; }
}


/* ── Internal link cloud (crawlable route/city links) ───────────────── */
.link-cloud { border-top: 1px dashed var(--site-border); padding-top: 1.1rem; }
.link-cloud-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--site-muted); font-weight: 700; margin-bottom: .6rem; }
.link-cloud-items { display: flex; flex-wrap: wrap; gap: .45rem; }
.link-cloud-items a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem .75rem; border-radius: var(--site-radius-pill);
  background: var(--site-card-bg); border: 1px solid var(--site-border);
  color: var(--site-body-text); font-size: .82rem; font-weight: 500; text-decoration: none;
  transition: all .18s var(--site-ease);
}
.link-cloud-items a:hover { border-color: var(--site-primary); color: var(--site-primary); background: var(--site-soft); }
.link-cloud-items a.all { background: var(--site-primary); border-color: var(--site-primary); color: #fff; font-weight: 600; }
.link-cloud-items a.all:hover { background: var(--site-primary-dark); color: #fff; }
@media (max-width: 575px) {
  .link-cloud-items { gap: .35rem; }
  .link-cloud-items a { font-size: .78rem; padding: .3rem .6rem; }
}
.js-view-more[aria-expanded="true"] { background: var(--site-soft); }
