/* =========================================================================
   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); }

/* ===== Hero slider (homepage) ===== */
.hero-slider { position: relative; overflow: hidden; padding: 2rem 0 1.5rem; color: var(--site-heading); background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 70%); }
.hero-slider > .container { position: relative; z-index: 1; }
.hero-slider .hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slider .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-slider .hero-slide.is-active { opacity: 1; }
/* light: picture on the right */
.hero-slider .hero-slide--light { background: radial-gradient(900px 420px at 85% 30%, rgba(37, 99, 235, .14), transparent 65%), radial-gradient(500px 300px at 10% 100%, rgba(37, 99, 235, .08), transparent 60%); }
.hero-slider .hero-slide--light .hero-visual { position: absolute; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%); }
/* dark: full photo + overlay */
.hero-slider .hero-slide--dark { background: linear-gradient(135deg, var(--site-primary-dark) 0%, var(--site-primary) 55%, color-mix(in srgb, var(--site-primary) 55%, var(--site-secondary)) 100%); }
.hero-slider .hero-slide--dark.has-image { background: var(--hero-image) center / cover no-repeat; }
.hero-slider .hero-slide--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 64, var(--overlay, .6)) 0%, rgba(8, 22, 64, calc(var(--overlay, .6) - .15)) 55%, rgba(8, 22, 64, .3) 100%); }
.hero-slider--dark { color: #fff; }

.hero-copy-wrap { position: relative; max-width: 640px; min-height: 300px; }
.hero-copy-slide { display: none; }
.hero-copy-slide.is-active { display: block; animation: heroIn .6s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-slider .hero-kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: var(--site-radius-pill); background: rgba(37, 99, 235, .1); border: 1px solid rgba(37, 99, 235, .2); color: var(--site-primary); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.hero-slider--dark .hero-kicker { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 .9rem; color: var(--site-heading); }
.hero-title .accent { color: var(--site-primary); }
.hero-slider--dark .hero-title { color: #fff; }
.hero-slider--dark .hero-title .accent { color: var(--site-accent); }
.hero-lead { font-size: 1.05rem; color: var(--site-muted); max-width: 560px; margin: 0; }
.hero-slider--dark .hero-lead { color: rgba(255, 255, 255, .88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.btn-hero-ghost { color: var(--site-primary); border: 1px solid rgba(37, 99, 235, .35); background: #fff; padding: .6rem 1.1rem; font-weight: 600; }
.btn-hero-ghost:hover { background: var(--site-primary); color: #fff; }
.hero-slider--dark .btn-hero-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.hero-stats { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero-stat { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--site-border); border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--site-shadow-sm); min-width: 150px; }
.hero-stat i { color: var(--site-primary); font-size: 1.25rem; }
.hero-stat strong { display: block; font-size: 1.05rem; line-height: 1.1; color: var(--site-heading); }
.hero-stat small { color: var(--site-muted); font-size: .78rem; }
.hero-slider--dark .hero-stat { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.hero-slider--dark .hero-stat strong { color: #fff; } .hero-slider--dark .hero-stat small { color: rgba(255, 255, 255, .8); } .hero-slider--dark .hero-stat i { color: var(--site-accent); }
.hero-nav { display: flex; align-items: center; gap: .55rem; margin-top: 1rem; }
.hero-dots { display: flex; gap: .35rem; }
.hero-dot { width: 9px; height: 9px; border-radius: 6px; border: 0; padding: 0; background: rgba(37, 99, 235, .3); transition: all .25s; cursor: pointer; }
.hero-dot.is-active { width: 26px; background: var(--site-primary); }
.hero-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--site-border); background: #fff; color: var(--site-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-arrow:hover { background: var(--site-primary); color: #fff; }
.hero-slider--dark .hero-dot { background: rgba(255, 255, 255, .45); } .hero-slider--dark .hero-dot.is-active { background: var(--site-accent); }
.hero-slider--dark .hero-arrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }

/* search bar: tabs on top-left, one row of fields with dividers, button at the end */
.hero-bar { margin-top: 1.5rem; position: relative; z-index: 2; }
.hero-bar .sw, .hero-bar .sw.is-compact { padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
.hero-bar .sw-tabs { display: inline-flex; width: auto; background: transparent; padding: 0; gap: .25rem; border-radius: 0; margin-left: .25rem; }
.hero-bar .sw-tab { background: #fff; border: 1px solid var(--site-border); border-bottom: 0; border-radius: 12px 12px 0 0; padding: .65rem 1.1rem; font-size: .9rem; color: var(--site-heading); box-shadow: none; }
.hero-bar .sw-tab.active { background: var(--site-primary); color: #fff; border-color: var(--site-primary); }
.hero-bar .sw-tab.active i { color: #fff; }
.hero-bar .sw-panel { background: #fff; border: 1px solid var(--site-border); border-radius: 0 16px 16px 16px; box-shadow: var(--site-shadow-lg); padding: .5rem; }
.hero-bar .sw-panel.active { display: block; }
.hero-bar .sw-subtabs { margin: .35rem .35rem .5rem; }
.hero-bar .sw-grid { grid-template-columns: 1fr; gap: 0; }
.hero-bar .sw-field { padding: .35rem .5rem; }
.hero-bar .sw-field .sw-label { font-size: .8rem; letter-spacing: .02em; text-transform: none; color: var(--site-heading); font-weight: 700; margin-bottom: .15rem; }
.hero-bar .sw-control { border: 0; background: transparent; padding: 0; min-height: 40px; border-radius: 0; }
.hero-bar .sw-control:focus-within { box-shadow: none; }
.hero-bar .sw-control > i { order: 2; margin-left: auto; }
.hero-bar .sw-control input, .hero-bar .sw-control select { font-size: 1rem; padding: .35rem 0; font-weight: 500; }
.hero-bar .sw-field.is-invalid .sw-control { box-shadow: none; }
.hero-bar .sw-field.is-invalid { background: rgba(220, 53, 69, .05); border-radius: 10px; }
.hero-bar .sw-swap { right: 2.2rem; }
.hero-bar .sw-actions { margin: .25rem .5rem .35rem; flex-direction: column; }
.hero-bar .sw-actions .btn { min-width: 0; width: 100%; min-height: 54px; border-radius: 14px; font-size: 1rem; }
.hero-bar .sw-note { text-align: center; font-size: .78rem; }
@media (min-width: 992px) {
  .hero-slider { padding: 2.5rem 0 1.5rem; min-height: calc(100vh - 72px); display: flex; align-items: center; }
  .hero-copy-wrap { max-width: 58%; min-height: 0; }
  .hero-bar .sw-panel form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hero-bar .sw-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
  .hero-bar .sw-field { flex: 1 1 150px; min-width: 150px; border-right: 1px solid var(--site-border); padding: .45rem .9rem; }
  .hero-bar .sw-grid > .sw-stops { flex: 1 1 100%; border-right: 0; padding: .2rem .9rem .5rem; }
  .hero-bar .sw-grid > .sw-field:last-child { border-right: 0; }
  .hero-bar .sw-actions { margin: .35rem .5rem .35rem .75rem; }
  .hero-bar .sw-actions .btn { min-width: 170px; }
  .hero-bar .sw-note { display: none; }
}
@media (min-width: 1400px) {
  .hero-copy-wrap { max-width: 55%; }
}
.hero-trust { position: relative; margin-top: 1rem; }
.hero-trust-slide { display: none; flex-wrap: wrap; gap: .5rem .6rem; justify-content: center; }
.hero-trust-slide.is-active { display: flex; }
.hero-trust-slide span, .hero-trust-slide a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: var(--site-radius-pill); background: #fff; border: 1px solid var(--site-border); font-size: .82rem; font-weight: 600; color: var(--site-heading); }
.hero-trust-slide i { color: var(--site-primary); }
.hero-slider--dark .hero-trust-slide span, .hero-slider--dark .hero-trust-slide a { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero-slider--dark .hero-trust-slide i { color: var(--site-accent); }
@media (max-width: 991.98px) {
  .hero-slider { padding: 1.5rem 0 1.5rem; }
  .hero-slider .hero-slide--light .hero-visual { width: 100%; height: 42%; top: auto; bottom: 0; object-position: center; opacity: .18; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .hero-slider .hero-slide--dark.has-image { background-image: var(--hero-image-m, var(--hero-image)); }
  .hero-copy-wrap { max-width: none; min-height: 0; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-lead { font-size: .95rem; }
  .hero-stats { gap: .5rem; }
  .hero-stat { min-width: 0; flex: 1 1 calc(50% - .5rem); padding: .55rem .7rem; }
  .hero-stat strong { font-size: .95rem; }
  .hero-bar { margin-top: 1.1rem; }
  .hero-bar .sw-tab { padding: .55rem .7rem; font-size: .82rem; }
  .hero-bar .sw-field { border-bottom: 1px solid var(--site-border); }
  .hero-bar .sw-grid > .sw-field:last-child { border-bottom: 0; }
  .hero-trust-slide { justify-content: flex-start; }
  .hero-trust-slide span:nth-child(n+4), .hero-trust-slide a { display: none; }
}
.hero-bar .sw-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== hero fixes: extras row, dropdown clipping, icons ===== */
.hero-slider { overflow: visible; }
.hero-slider .hero-slides { overflow: hidden; }
.hero-copy-wrap { min-height: 0; }
.hero-extras { position: relative; z-index: 1; margin-top: 1rem; }
.hero-extra-slide { display: none; }
.hero-extra-slide.is-active { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; animation: heroIn .5s ease both; }
.hero-extra-slide .hero-ctas, .hero-extra-slide .hero-stats { margin-top: 0; }
.hero-extras .hero-nav { margin-top: .75rem; }
.hero-trust { margin-top: 1rem; }
/* the swap button sits between the input and the pin icon instead of over the placeholder */
.hero-bar .sw-swap { position: static; transform: rotate(90deg); order: 1; margin: 0 .1rem 0 .25rem; }
/* selects: one dropdown cue only; date / time: the native picker icon only */
.hero-bar .sw-control:has(select) > i:not(.sw-caret) { display: none; }
.hero-bar .sw-control:has(input[type="date"], input[type="time"]) > i { display: none; }
.hero-bar .sw-control input[type="date"]::-webkit-calendar-picker-indicator, .hero-bar .sw-control input[type="time"]::-webkit-calendar-picker-indicator { opacity: .75; }
/* suggestion list can extend past the bar */
.hero-bar .sw-suggest { max-height: 320px; top: calc(100% + 4px); min-width: 300px; }
@media (max-width: 991.98px) {
  .hero-extras { margin-top: .9rem; }
  .hero-extra-slide.is-active { gap: .6rem; }
  .hero-extra-slide .hero-stats { width: 100%; }
}

/* ===== hero bar: no empty slot, styled select lists ===== */
.hero-bar .sw-grid > .js-sw-actions-slot:empty { display: none; }
.hero-bar .sw-grid > .sw-field { flex: 1 1 0; }
.hero-bar .sw-control select { cursor: pointer; }
.sw-suggest .item.is-active i { color: var(--site-primary); }
.sw-suggest .item i.bi-check2-circle { opacity: .35; }
.sw-suggest .item.is-active i.bi-check2-circle { opacity: 1; }
