/**
 * STEP 6V-P1 — industry-specific heroes, empty states, responsive title polish.
 * Scoped to page body classes only. Does NOT style Tow (.tow-page / tow-specific).
 */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=DM+Sans:wght@400;600;700;800&family=Figtree:wght@500;700;800&family=IBM+Plex+Sans:wght@500;700;800&family=Manrope:wght@600;700;800&family=Nunito+Sans:wght@600;700;800&family=Outfit:wght@600;700;800&family=Source+Sans+3:wght@600;700;800&display=swap");

/* —— Shared: stop truncated / clipped hero titles —— */
.svc-hub-page .svc-hero,
.taxi-page .taxi-hero {
  overflow: hidden;
}
.svc-hub-page .svc-hero-title,
.svc-hub-page .svc-hero h1,
.taxi-page .hero-title {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
  padding-inline: 0.25rem;
  -webkit-text-fill-color: #fff;
  background: none;
  color: #fff;
}
.svc-hub-page .svc-hero {
  padding: 3.25rem 0 2.75rem;
}
@media (max-width: 767.98px) {
  .svc-hub-page .svc-hero {
    padding: 2.25rem 0 1.85rem;
  }
  .svc-hub-page .svc-hero-title,
  .svc-hub-page .svc-hero h1,
  .taxi-page .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem) !important;
    line-height: 1.15;
  }
  .svc-hub-page .svc-hero-search-stack {
    max-width: 100%;
  }
}

/* Soft notes: customer copy, not debug banners */
.eqx-soft-note,
.care-pillar-soft-note {
  border-left: 3px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 10px 14px;
  margin: 0 0 14px;
}

/* Empty states */
.hub-empty,
.taxi-empty,
.care-empty,
.loading-msg:not(:has(.fa-spinner)) {
  text-align: center;
  padding: 2.25rem 1.25rem;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #fff;
  color: #475569;
}
.hub-empty i,
.taxi-empty i,
.care-empty i,
.loading-msg:not(:has(.fa-spinner)) > i {
  display: block;
  margin: 0 auto 0.75rem;
  color: #94a3b8;
}
.hub-empty p,
.taxi-empty p,
.care-empty p {
  margin: 0 auto 1rem;
  max-width: 28rem;
  line-height: 1.5;
}
.hub-empty .hub-empty-actions,
.taxi-empty .hub-empty-actions,
.care-empty .hub-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.hub-empty .hub-empty-actions a,
.hub-empty .hub-empty-actions button,
.taxi-empty a,
.care-empty a.hub-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}
.hub-empty .hub-empty-actions a.primary,
.care-empty a.hub-empty-btn.primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

/* —— Motorbikes: charcoal / crimson, typography-led —— */
.motorbikes-page .svc-hero {
  background:
    linear-gradient(160deg, rgba(20, 20, 20, 0.92), rgba(28, 31, 38, 0.88)),
    repeating-linear-gradient(
      -28deg,
      transparent,
      transparent 12px,
      rgba(200, 16, 46, 0.08) 12px,
      rgba(200, 16, 46, 0.08) 13px
    ),
    linear-gradient(135deg, #141414 0%, #2a3140 55%, #1c1f26 100%);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.28);
  font-family: "Outfit", "Segoe UI", sans-serif;
}
.motorbikes-page .svc-hero-title {
  font-family: "Archivo Black", "Outfit", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.motorbikes-page .svc-hero-search {
  border: 2px solid rgba(200, 16, 46, 0.45);
}

/* —— Commercial: steel / amber industrial —— */
.commercial-page .svc-hero {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9)),
    linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #92400e 160%);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
}
.commercial-page .svc-hero-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.commercial-page .svc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #b45309, #f59e0b, transparent);
}

/* —— Car pooling: cyan journey —— */
.pool-page .svc-hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(8, 145, 178, 0.35), transparent 50%),
    linear-gradient(150deg, #082f49 0%, #0c4a6e 48%, #0891b2 100%);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
}
.pool-page .svc-hero-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
}

/* —— Car share: warm amber / brown —— */
.cshare-page .svc-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(217, 119, 6, 0.28), transparent 45%),
    linear-gradient(140deg, #451a03 0%, #78350f 45%, #b45309 100%);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.cshare-page .svc-hero-title {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 800;
}

/* —— Driving coaches: forest —— */
.coach-page .svc-hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(34, 197, 94, 0.18), transparent 50%),
    linear-gradient(145deg, #14532d 0%, #166534 40%, #15803d 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}
.coach-page .svc-hero-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

/* —— Care pillars: distinct heroes —— */
.care-page--car-wash .svc-hero {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(125, 211, 252, 0.35), transparent 55%),
    linear-gradient(145deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
.care-page--vehicle-detailing .svc-hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(251, 191, 36, 0.22), transparent 45%),
    linear-gradient(150deg, #1c1917 0%, #44403c 55%, #78716c 100%);
  font-family: "Figtree", "Segoe UI", sans-serif;
}
.care-page--dent-repairs .svc-hero {
  background:
    linear-gradient(145deg, #1e3a5f 0%, #1e40af 55%, #3b82f6 100%);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
.care-page--spray-painting .svc-hero {
  background:
    radial-gradient(ellipse at 15% 80%, rgba(251, 146, 60, 0.3), transparent 45%),
    linear-gradient(145deg, #422006 0%, #9a3412 50%, #ea580c 100%);
  font-family: "Figtree", "Segoe UI", sans-serif;
}
.care-page .svc-hero-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* —— Farm / Plant / Construction —— */
.farm-page .svc-hero {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(74, 222, 128, 0.2), transparent 50%),
    linear-gradient(145deg, #1e4630 0%, #2f6b3c 45%, #3f8f4e 100%);
  font-family: "Source Sans 3", "IBM Plex Sans", sans-serif;
}
.farm-page .svc-hero-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
}
.farm-page .eqx-soft-note {
  color: #1e4630;
  border-color: #c5ddd0;
  background: #f3faf5;
}

.plant-page .svc-hero {
  background:
    linear-gradient(145deg, #243447 0%, #3d4f66 50%, #c45c26 160%);
  font-family: "IBM Plex Sans", sans-serif;
}
.plant-page .svc-hero-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
}
.plant-page .eqx-soft-note {
  color: #3d4f66;
  border-color: #d7dde6;
  background: #f7f8fa;
}

.construction-page .svc-hero {
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.04) 10px,
      rgba(255, 255, 255, 0.04) 20px
    ),
    linear-gradient(145deg, #5c320c 0%, #8a4b12 48%, #c2782a 100%);
  font-family: "IBM Plex Sans", sans-serif;
}
.construction-page .svc-hero-title {
  font-family: "Bebas Neue", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.construction-page .eqx-soft-note {
  color: #5c320c;
  border-color: #e8d3bc;
  background: #fffaf3;
}

/* Page surface identities (beyond shared navy bg) */
.motorbikes-page.svc-hub-page { background: #f6f7f9; }
.commercial-page.svc-hub-page { background: #f1f5f9; }
.pool-page.svc-hub-page { background: #f5f9fb; }
.cshare-page.svc-hub-page { background: #faf6f1; }
.coach-page.svc-hub-page { background: #f3faf5; }
.farm-page.svc-hub-page { background: #f3f7f4; }
.plant-page.svc-hub-page { background: #f4f5f7; }
.construction-page.svc-hub-page { background: #f7f4ef; }

/* Mobile filter CTA clarity */
@media (max-width: 991.98px) {
  .svc-hub-page .filter-panel .btn-apply,
  .care-page .btn-apply {
    position: sticky;
    bottom: 12px;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  }
}
