/* =========================================================
   InMotion theme layer for the TugVan landing pages
   (homepage, /services/*, location pages).

   Loaded by layouts/inmotion/layout.ejs AFTER each page's own pageCss, so it
   re-maps the --tug-* design tokens and the few hard-coded dark/gold rules to
   the InMotion look: light hero, purple primary, yellow highlight marks,
   Raleway type. The page markup is untouched.
========================================================= */

body.inmotion {
  --tug-dark: #1d1d24;            /* used as heading/text colour */
  --tug-dark-deeper: #1d1d24;
  --tug-gold: #6549E8;            /* TugVan's accent becomes InMotion purple */
  --tug-gold-hover: #3f23c4;
  --tug-bg-light: #F8F7FC;
  --tug-text-main: #1d1d24;
  --tug-text-muted: #6C6C76;
  --tug-border: #eeecf7;
}

body.inmotion .svc-landing { font-family: "Raleway", system-ui, sans-serif; }
body.inmotion .svc-landing h1,
body.inmotion .svc-landing h2,
body.inmotion .svc-landing h3 { letter-spacing: -0.01em; }

/* ---------- Buttons: purple primary, purple outline ---------- */
body.inmotion .svc-landing .btn-gold {
  background: #6549E8; border-color: #6549E8; color: #fff !important;
}
body.inmotion .svc-landing .btn-gold:hover,
body.inmotion .svc-landing .btn-gold:focus {
  background: #3f23c4; border-color: #3f23c4; color: #fff !important;
  box-shadow: 0 8px 18px rgba(101, 73, 232, 0.3);
}
body.inmotion .svc-landing .btn-outline-gold { border-color: #6549E8; color: #6549E8; }
body.inmotion .svc-landing .btn-outline-gold:hover,
body.inmotion .svc-landing .btn-outline-gold:focus { background: #6549E8; color: #fff; }
body.inmotion .home-landing .btn-outline-dark-custom:hover { background: #6549E8; border-color: #6549E8; }

/* ---------- Badges / eyebrows ---------- */
body.inmotion .svc-landing .badge-gold,
body.inmotion .home-landing .badge-gold,
body.inmotion .home-landing .badge-gold-dark {
  background: rgba(101, 73, 232, 0.08); color: #6549E8; border: 1px solid rgba(101, 73, 232, 0.2);
}

/* ---------- Gold text inside headings -> InMotion yellow highlight mark ---------- */
body.inmotion .svc-landing h1 .text-tug-gold,
body.inmotion .svc-landing h2 .text-tug-gold {
  color: #000 !important;
  background: linear-gradient(transparent 52%, #FFD500 52%, #FFD500 92%, transparent 92%);
  padding: 0 .12em;
}
body.inmotion .svc-landing .text-tug-gold { color: #6549E8 !important; }

/* ---------- Hero: light, like the InMotion homepage ---------- */
body.inmotion .home-landing .hero-home,
body.inmotion .svc-landing .hero-section,
body.inmotion .svc-landing .svc-hero {
  background: #F8F7FC !important;
  background-image: none !important;
  color: #1d1d24;
}
body.inmotion .home-landing .hero-home .text-white,
body.inmotion .svc-landing .svc-hero .text-white { color: #1d1d24 !important; }
body.inmotion .home-landing .hero-home .text-white-50 { color: #6C6C76 !important; }
body.inmotion .home-landing .hero-lead { color: #4b4b55; }
body.inmotion .home-landing .hero-pill {
  background: #fff; color: #1d1d24; border: 1px solid #eeecf7; box-shadow: 0 4px 14px rgba(31, 18, 92, 0.05);
}
body.inmotion .home-landing .hero-booking-card {
  border-radius: 14px; border: 1px solid #eeecf7; box-shadow: 0 10px 30px rgba(31, 18, 92, 0.10);
}
body.inmotion .home-landing .hero-booking-steps i { color: #6549E8; }

/* ---------- Dark bands -> InMotion purple gradient (text stays white) ---------- */
body.inmotion .svc-landing .bg-tug-dark,
body.inmotion .svc-landing .bg-tug-dark-deeper,
body.inmotion .home-landing .coverage-card,
body.inmotion .home-landing .cta-banner-large,
body.inmotion .svc-landing .coverage-box,
body.inmotion .svc-landing .cta-box,
body.inmotion .svc-landing .sticky-call-bar {
  background: linear-gradient(135deg, #6549E8 0%, #3f23c4 100%) !important;
  color: #fff;
}
/* Accents that sit on those purple bands use InMotion yellow, not purple */
body.inmotion .svc-landing .bg-tug-dark .text-tug-gold,
body.inmotion .svc-landing .bg-tug-dark-deeper .text-tug-gold,
body.inmotion .home-landing .coverage-card .text-tug-gold,
body.inmotion .home-landing .cta-banner-large .text-tug-gold,
body.inmotion .svc-landing .coverage-box .text-tug-gold,
body.inmotion .svc-landing .cta-box .text-tug-gold { color: #FFD500 !important; background: none; }
body.inmotion .svc-landing .bg-tug-dark .btn-gold,
body.inmotion .home-landing .coverage-card .btn-gold,
body.inmotion .home-landing .cta-banner-large .btn-gold,
body.inmotion .svc-landing .coverage-box .btn-gold,
body.inmotion .svc-landing .cta-box .btn-gold,
body.inmotion .svc-landing .sticky-call-bar .btn-gold {
  background: #FFD500; border-color: #FFD500; color: #000 !important;
}
body.inmotion .home-landing .cta-banner-large .btn-outline-gold,
body.inmotion .svc-landing .cta-box .btn-outline-gold { border-color: #FFD500; color: #FFD500; }
body.inmotion .home-landing .cta-banner-large .btn-outline-gold:hover,
body.inmotion .svc-landing .cta-box .btn-outline-gold:hover { background: #FFD500; color: #000; }

/* ---------- Cards ---------- */
body.inmotion .home-landing .scenario-card:hover,
body.inmotion .svc-landing .service-card:hover { border-color: #A78BFA; box-shadow: 0 10px 30px rgba(31, 18, 92, 0.08); }

/* Inside the purple bands TugVan's accent token must be yellow, not purple,
   or gold-coloured text disappears into the background. */
body.inmotion .svc-landing .bg-tug-dark,
body.inmotion .svc-landing .bg-tug-dark-deeper,
body.inmotion .home-landing .coverage-card,
body.inmotion .home-landing .cta-banner-large,
body.inmotion .svc-landing .coverage-box,
body.inmotion .svc-landing .cta-box,
body.inmotion .svc-landing .sticky-call-bar { --tug-gold: #FFD500; --tug-gold-hover: #F2C900; }
body.inmotion .svc-landing .bg-tug-dark strong,
body.inmotion .svc-landing .bg-tug-dark h2,
body.inmotion .svc-landing .bg-tug-dark h3,
body.inmotion .home-landing .coverage-card strong,
body.inmotion .home-landing .cta-banner-large h2 { color: #fff; }

/* Service-page hero (hero-service): light like the homepage hero */
body.inmotion .svc-landing .hero-service {
  background: #F8F7FC !important; background-image: none !important; color: #1d1d24;
}
body.inmotion .svc-landing .hero-service .text-white,
body.inmotion .svc-landing .hero-service h1 { color: #1d1d24 !important; }
body.inmotion .svc-landing .hero-service .text-white-50,
body.inmotion .svc-landing .hero-service p { color: #4b4b55 !important; }
body.inmotion .svc-landing .hero-service .btn-outline-light { border-color: #6549E8; color: #6549E8; }
body.inmotion .svc-landing .hero-service .btn-outline-light:hover { background: #6549E8; color: #fff; }

/* Polo gives every .btn wide letter-spacing; keep InMotion's tighter caps */
body.inmotion .svc-landing .btn { letter-spacing: .03em; font-size: 1rem; }
body.inmotion .svc-landing .btn-sm { font-size: .85rem; }

/* Polo's ".btn:not(.close):not(.mfp-close)" forces white text on every button,
   which blanks TugVan's light outline buttons. */
body.inmotion .svc-landing .btn.btn-outline-dark-custom { color: #1d1d24; background: #fff; border-color: #dcd8ef; }
body.inmotion .svc-landing .btn.btn-outline-dark-custom:hover { color: #fff; background: #6549E8; border-color: #6549E8; }
body.inmotion .svc-landing .btn.btn-outline-gold { color: #6549E8; background: transparent; }
body.inmotion .svc-landing .btn.btn-outline-gold:hover { color: #fff; background: #6549E8; }
body.inmotion .svc-landing .cta-banner-large .btn.btn-outline-gold,
body.inmotion .svc-landing .cta-box .btn.btn-outline-gold { color: #FFD500; }
body.inmotion .svc-landing .cta-banner-large .btn.btn-outline-gold:hover,
body.inmotion .svc-landing .cta-box .btn.btn-outline-gold:hover { color: #000; background: #FFD500; }
