/* ==========================================================================
   HERO — split white/accent stage, bus grounded on the color block.
   Locked to exactly one viewport (100vh) so both the white and accent
   bands are always fully visible without scrolling.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  /* Nav is 66px and sits in normal flow above the hero (not overlaid), so
     subtract it here -- nav + hero together fill exactly one viewport,
     with both the white and accent bands fully visible without scrolling. */
  height: calc(100vh - 66px);
  min-height: 560px;
  max-height: 914px;
}

/* Solid accent band pinned to the bottom, sized as a share of the fixed
   hero height -- the bus straddles this seam. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: var(--accent);
  z-index: 0;
}

/* Copy sits as a compact block pinned to the top of the hero. */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 12vh 32px 0;
}

/* Headline (left) and paragraph+CTA (right), side by side on desktop. */
.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero-title {
  flex: 1 1 520px;
  max-width: 640px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  font-style: oblique 12deg;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--accent);
}

.hero-side {
  flex: 1 1 320px;
  max-width: 400px;
  padding-top: 6vh;
}

.hero-sub-copy {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 22px -6px rgba(var(--accent-rgb), .55);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hero-btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -6px rgba(var(--accent-rgb), .6);
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s ease;
}
.hero-secondary-link:hover { opacity: .7; }

.hero-play-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

/* ---- Bus stage ---- */

/* Centered and deliberately oversized so it bleeds past the hero's own
   bottom edge -- .hero's overflow:hidden crops it there, matching the
   reference's cropped vehicle instead of a bus neatly contained on-screen. */
.hero-bus-stage {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -160px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-bus-photo {
  width: min(780px, 56vw);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28));
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-bus-photo { width: min(760px, 70vw); }
}

@media (max-width: 860px) {
  .hero {
    height: auto;
    max-height: none;
    min-height: 0;
    padding-bottom: 40px;
  }
  .hero::after { height: 200px; }
  .hero-inner { padding-top: 56px; text-align: center; }
  .hero-row { flex-direction: column; align-items: center; gap: 0; }
  /* flex-basis is a HEIGHT hint once the row becomes a column -- reset both
     to content-sized, or the desktop 520px/320px basis values force huge
     empty boxes here. */
  .hero-title,
  .hero-side { flex: none; }
  .hero-title { max-width: 100%; margin: 0 auto; }
  .hero-side { max-width: 460px; padding-top: 0; }
  .hero-sub-copy { margin: 18px auto 0; }
  .hero-actions { justify-content: center; }
  .hero-bus-stage { position: relative; bottom: auto; margin-top: 24px; }
  .hero-bus-photo { width: min(480px, 78vw); }
}

@media (max-width: 480px) {
  .hero::after { height: 160px; }
  .hero-inner { padding-top: 40px; }
  .hero-title { font-size: clamp(28px, 8.5vw, 36px); }
  .hero-actions { flex-direction: column; gap: 14px; width: 100%; }
  .hero-btn-primary { width: 100%; }
  .hero-bus-photo { width: 88vw; }
}
