/* =====================================================================
   iTULOD — Design tokens + landing page
   Signature idea: the hero reads like a jeepney destination board —
   a route strip carrying the booking journey from pickup to drop-off,
   with service "plates" styled after the painted boards on a jeepney's
   windshield. Poppins (bold, geometric) carries headlines; Inter
   carries body copy and UI so long text stays calm and legible.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  /* =====================================================================
     PALETTE — two families, applied consistently across every surface.
       Blue  : #E3F2FD  #90CAF9  #2196F3  #0D47A1   (primary / brand)
       Warm  : #FFF5F5  #F7D6D0  #E2B4BD  #4A4A4A   (accent / neutrals)
     ===================================================================== */

  /* --- Brand Primary (Blue) --- */
  --blue-50:  #e3f2fd;
  --blue-100: #d3e9fb;
  --blue-200: #90caf9;
  --blue-400: #42a5f5;
  --blue: #2196f3;          /* primary action */
  --blue-600: #1a7fd4;
  --blue-dark: #0d47a1;     /* deep navy — hovers, gradient ends, dark panels */
  --blue-tint: #e3f2fd;     /* legacy alias */

  /* --- Brand Accent (Warm Rose) --- */
  --rose-50:  #fff5f5;
  --rose-100: #f7d6d0;
  --rose-200: #e2b4bd;
  --rose: #e2b4bd;
  --rose-deep: #b06b79;     /* readable rose for text/icons on light */
  --orange: #e2b4bd;        /* legacy alias → accent */
  --orange-tint: #fff5f5;   /* legacy alias */

  /* --- Semantic Colors (functional — kept separable at a glance) --- */
  --green: #1a9d63;
  --green-dark: #157a4d;
  --green-tint: #e9f8f0;
  --yellow: #d98e04;
  --yellow-tint: #fdf4e3;
  --red: #e0455f;
  --red-dark: #c22f49;
  --red-tint: #fdedf0;

  /* --- Neutrals --- */
  --ink: #2b3440;          /* headings — cool charcoal */
  --text-body: #4a4a4a;    /* body copy (spec) */
  --text-muted: #7b8794;
  --white: #ffffff;
  --surface: #ffffff;      /* cards */
  --surface-2: #fbfcfe;    /* nested / inset panels */
  --bg: #faf6f5;           /* app + page background — quiet warm white
                              (the fuller #fff5f5 is --rose-50, used on
                              accent bands and tinted surfaces) */
  --border: #ecdedd;       /* warm hairline */
  --border-strong: #ddc9c8;
  --border-blue: #90caf9;

  /* --- Slate scale (kept for backward-compat, remapped to the new neutrals) --- */
  --slate-700: #3c4650;
  --slate-500: #7b8794;
  --slate-300: #cbd5e1;
  --slate-100: #eef2f7;
  --slate-50:  #f6f8fb;

  /* --- Typography --- */
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* --- Geometry --- */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(13, 71, 161, 0.06);
  --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.07), 0 1px 2px rgba(13, 71, 161, 0.05);
  --shadow-md: 0 12px 30px rgba(13, 71, 161, 0.10);
  --shadow-lg: 0 30px 64px rgba(13, 71, 161, 0.16);
  --shadow-blue: 0 12px 26px rgba(33, 150, 243, 0.28);
  --ring: 0 0 0 3px rgba(33, 150, 243, 0.30);
  --grad-blue: linear-gradient(135deg, #2196f3 0%, #0d47a1 100%);
  --grad-blue-soft: linear-gradient(135deg, #e3f2fd 0%, #f7d6d0 100%);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--blue-200);
  color: var(--blue-dark);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* Dark panels set their own light text — let their headings inherit it
   instead of the default ink colour above. */
.route-board :is(h1, h2, h3, h4),
.cta-band :is(h1, h2, h3, h4),
.footer :is(h1, h2, h3, h4),
.service-plate :is(h1, h2, h3, h4) {
  color: inherit;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 30px rgba(33, 150, 243, 0.36);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--rose-100);
  color: var(--blue-dark);
  border-color: var(--rose-200);
}
.btn-accent:hover {
  background: var(--rose-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--white);
  color: var(--blue-dark);
  border: 1.5px solid var(--border-blue);
}
.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-50);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 8px 12px;
}
.btn-ghost:hover {
  background: var(--blue-50);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-danger {
  background: var(--red);
  color: var(--white);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- nav -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}
.brand span.dot {
  color: var(--rose-deep);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  color: var(--slate-700);
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--slate-700);
}

.nav-login-mobile {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    /* fixed + dvh so the panel is always exactly the on-screen space below the
       bar; if the list is taller than that it scrolls inside itself, so the
       last item (Log in) is always reachable and never clipped by the screen. */
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    padding: 4px 22px calc(28px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.nav-links--open {
    display: flex;
  }
  .nav-links a:not(.nav-login-mobile) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--slate-100);
    flex-shrink: 0;
  }
  .nav-links a:not(.nav-login-mobile):last-of-type {
    border-bottom: none;
  }
  .nav-links a.nav-login-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    margin-top: 14px;
    flex-shrink: 0;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ---- hero: the route board ------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 52px;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(144, 202, 249, 0.45), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(247, 214, 208, 0.5), transparent 55%),
    var(--blue-50);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 71, 161, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 71, 161, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 420px at 30% 40%, #000, transparent 75%);
  mask-image: radial-gradient(720px 420px at 30% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
/* Grid/flex children default to min-width:auto and refuse to shrink below their
   content — which lets a long line push past the viewport. Let them shrink. */
.hero .container > * {
  min-width: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  padding: 7px 15px;
  border-radius: 14px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.eyebrow i {
  margin-top: 1px;
  flex-shrink: 0;
}
.eyebrow i {
  color: var(--blue-200);
}
.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 800;
  margin: 20px 0 16px;
  overflow-wrap: break-word;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--slate-700);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats div {
  position: relative;
  padding-right: 28px;
}
.hero-stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}
.hero-stats div span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* the destination board itself */
.route-board {
  background: linear-gradient(160deg, #0d47a1 0%, #10233f 100%);
  border: 1px solid rgba(144, 202, 249, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  color: var(--white);
}
.route-board .board-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 18px;
  display: block;
}
.route-track {
  position: relative;
  padding: 10px 0 28px;
}
.route-line {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--slate-500) 0 8px,
    transparent 8px 16px
  );
}
.route-line::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-200);
  left: 0;
  animation: travel 5s linear infinite;
  box-shadow: 0 0 0 5px rgba(144, 202, 249, 0.25);
}
@keyframes travel {
  0% {
    left: 0%;
  }
  100% {
    left: calc(100% - 18px);
  }
}
.route-stops {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.route-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  text-align: center;
}
.route-stop .pin {
  width: 44px;
  height: 44px;
  /* inverted teardrop / map-pin: round top, point at the bottom */
  border-radius: 50% 50% 50% 0;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  margin-bottom: 8px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  transform: rotate(-45deg);
}
.route-stop .pin > i {
  /* keep the icon upright inside the rotated pin */
  transform: rotate(45deg);
}
.route-stop.origin .pin {
  background: var(--green);
  color: var(--white);
}
.route-stop.dest .pin {
  background: var(--blue);
  color: var(--white);
}
.route-stop span.label {
  font-size: 0.72rem;
  color: var(--slate-300);
}
.board-fare {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--slate-500);
}
.board-fare strong {
  font-size: 1.3rem;
  font-family: var(--font-display);
}

/* ---- section scaffolding ---------------------------------------------- */
.section {
  padding: 88px 0;
}
.section--muted {
  background: var(--rose-50);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow {
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 14px;
  border-radius: 999px;
  align-items: center;
}
.section-head .eyebrow i {
  color: var(--blue);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--slate-500);
  font-size: 1.05rem;
}

/* ---- about / feature grid ---------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-blue);
}
.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--grad-blue);
  box-shadow: 0 8px 18px rgba(43, 52, 64, 0.16);
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--slate-500);
  font-size: 0.92rem;
}

/* ---- services: numbered because they are real booking steps ------------- */
.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-plate {
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-plate .step {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  opacity: 0.35;
}
.service-plate i {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.service-plate h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.service-plate p {
  font-size: 0.9rem;
  opacity: 0.9;
}
.plate--ride {
  background: linear-gradient(135deg, #42a5f5, #0d47a1);
}
.plate--food {
  background: linear-gradient(135deg, #b06b79, #7d3f4a);
}
.plate--parcel {
  background: linear-gradient(135deg, #0d47a1, #10233f);
}
.service-plate {
  box-shadow: var(--shadow-md);
}
.service-plate::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* ---- vehicle categories -------------------------------------------------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}
.vehicle-chip {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.vehicle-chip:hover {
  border-color: var(--blue);
}
.vehicle-chip i {
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.vehicle-chip span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.vehicle-chip small {
  color: var(--slate-500);
}

/* ---- testimonials ---------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.testimonial-card .stars {
  color: #f2b01e;
  margin-bottom: 12px;
}
.testimonial-card p.quote {
  color: var(--slate-700);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testimonial-card .who strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-card .who span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ---- CTA / contact ------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #0d47a1 0%, #10233f 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-band h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--slate-300);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ---- forms (shared: auth + contact) -------------------------------------- */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--slate-700);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
/* The border-color change alone is 1.5px and easy to miss when tabbing, so
   keyboard focus also gets a ring. Mouse focus is unchanged. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.field small.hint {
  color: var(--slate-500);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Two inputs side by side leaves them 137px wide on a 375px screen. */
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---- footer -------------------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, #10233f 0%, #0b1a2f 100%);
  color: #b8c6d9;
  padding: 56px 0 28px;
}
.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer .brand {
  color: var(--white);
  margin-bottom: 12px;
}
.footer p.tag {
  font-size: 0.88rem;
  max-width: 32ch;
}
.footer li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer li a:hover {
  color: var(--white);
}
.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a:hover {
  background: var(--blue);
}

/* ---- auth pages ----------------------------------------------------------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual {
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-visual h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  max-width: 18ch;
}
.auth-visual p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 34ch;
}
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card h1 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.auth-card p.sub {
  color: var(--slate-500);
  margin-bottom: 28px;
}
.role-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.role-option {
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}
.role-option i {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--slate-500);
}
.role-option input {
  display: none;
}
.role-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue);
}
.role-option:has(input:checked) i {
  color: var(--blue);
}
.auth-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.auth-switch a {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 40px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-grid,
  .service-strip,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .footer .container {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
}

/* Small phones (and in-app browsers like Messenger) — keep the hero tidy
   and edge-safe at any width. */
@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    padding: 6px 12px;
  }
  .hero p.lead {
    font-size: 1rem;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .hero-stats {
    gap: 12px 18px;
    flex-wrap: wrap;
  }
  .hero-stats div {
    padding-right: 0;
    flex: 1 0 40%;
  }
  .hero-stats div::after {
    display: none;
  }
  .hero-stats div strong {
    font-size: 1.4rem;
  }
}

/* ---- toasts & spinner (shared everywhere) ---------------------------------- */
#toast-host {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--ink);
  color: var(--white);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.25s ease;
  max-width: 320px;
}
.toast--show {
  opacity: 1;
  transform: translateX(0);
}
.toast--success i {
  color: var(--green);
}
.toast--error i {
  color: #f87171;
}
.toast--info i {
  color: var(--blue);
}
.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- badges (shared everywhere) ------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge--pending {
  background: rgba(217, 142, 4, 0.15);
  color: #9a6400;
}
.badge--accepted {
  background: rgba(33, 150, 243, 0.12);
  color: var(--blue-dark);
}
.badge--ongoing {
  background: rgba(217, 142, 4, 0.14);
  color: #8a5a00;
}
.badge--completed,
.badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.badge--cancelled,
.badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
/* Timed out on its own — distinct from a deliberate cancellation. */
.badge--expired {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}
.badge--no-show {
  background: rgba(217, 70, 4, 0.14);
  color: #9a3d00;
}
.badge--info {
  background: rgba(33, 150, 243, 0.1);
  color: var(--blue-dark);
}
.badge--warning {
  background: rgba(217, 142, 4, 0.15);
  color: #8a5a00;
}
.badge--approved {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.badge--rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.badge--active {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.badge--inactive {
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-muted);
}
.badge--role-admin {
  background: rgba(33, 150, 243, 0.12);
  color: var(--blue-dark);
  font-size: 0.68rem;
  padding: 2px 8px;
}
.badge--role-customer {
  background: rgba(176, 107, 121, 0.16);
  color: var(--rose-deep);
  font-size: 0.68rem;
  padding: 2px 8px;
}
.badge--role-rider {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  font-size: 0.68rem;
  padding: 2px 8px;
}
