/* ==========================================================================
   Public route landing — /route/<from>/<to>/
   Reuses .ride-card from dashboard.css; this file styles only the hero,
   header chrome, and empty-state.
   ========================================================================== */

.page-route-landing { background: var(--color-bg); }

.route-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--container-padding-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.route-header__home img {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  display: block;
}

.route-header__action {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.route-header__action:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Hero ----------------------------------------------------------------- */
.route-hero {
  padding: clamp(32px, 5vw, 56px) var(--container-padding-x) clamp(20px, 3vw, 32px);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.route-hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.route-hero__title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: var(--shadow-text);
  color: var(--color-text);
}

.route-hero__arrow {
  display: inline-flex;
  align-items: center;
  width: clamp(32px, 4vw, 56px);
  color: var(--color-accent-from);
}

.route-hero__arrow svg {
  width: 100%;
  height: auto;
}

.route-hero__subtitle {
  max-width: 640px;
  margin: 22px auto 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* Main + cards --------------------------------------------------------- */
.route-main {
  max-width: 1160px;
  margin: 0 auto 96px;
  padding: 0 var(--container-padding-x);
}

.route-main__section-title {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--color-text);
}

/* Empty state ---------------------------------------------------------- */
.route-empty {
  padding: clamp(28px, 5vw, 48px) clamp(20px, 3vw, 32px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.route-empty__text {
  margin: 0 0 20px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.route-empty__cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s ease;
}

.route-empty__cta:hover { opacity: 0.85; }
