/* ============================================================
   Wheelchair Transport Service — Main Stylesheet
   Colors: Blue #2E558C (dominant), Orange #ED722C (accent)
   ============================================================ */

/* Brand fonts (Oswald + Source Sans 3) are self-hosted in assets/fonts/ and declared in assets/css/fonts.css,
   which includes/header.php and includes/layout.php load with a <link> (an @import here would delay font discovery). */

/* ── CSS Variables ── */
:root {
  --blue:       #2E558C;
  --blue-dark:  #1e3a61;
  --blue-light: #3d6fb5;
  --orange:     #ED722C;
  --orange-dark:#c55a1a;
  --white:      #ffffff;
  --off-white:  #f4f6fa;
  --gray-100:   #eef0f5;
  --gray-300:   #ccd1dc;
  --gray-500:   #7a859a;
  --gray-700:   #3d4556;
  --text:       #1c2233;
  --shadow-sm:  0 2px 8px rgba(46,85,140,0.10);
  --shadow-md:  0 6px 24px rgba(46,85,140,0.15);
  --shadow-lg:  0 16px 48px rgba(46,85,140,0.18);
  --radius:     6px;
  --transition: 0.25s ease;
  --font-head:  'Oswald', sans-serif;
  --font-body:  'Source Sans 3', sans-serif;
}

/* ── Section background utility classes (used instead of inline styles for dark mode support) ── */
.bg-white-section    { background: var(--white); }
.bg-offwhite-section { background: var(--off-white); }
.inline-callout-box  { background: var(--off-white); }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  padding-top: var(--header-height, 136px); /* JS sets this dynamically */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }
p  { font-size: 1.05rem; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 52px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: 1rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); border-left: 3px solid var(--orange); padding-left: 10px; margin-bottom: 12px;
}
.section-title { color: var(--blue); margin-bottom: 16px; }
.section-divider {
  width: 56px; height: 4px; background: var(--orange);
  border-radius: 2px; margin: 16px auto 32px;
}
.section-divider.left { margin-left: 0; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.82rem;
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  padding: 6px 0;
  overflow: hidden; /* prevent layout blowout */
}
.top-bar .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px;
}
.top-bar-slogan {
  font-weight: 400;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.top-bar-phones { display: flex; gap: 20px; }
.top-bar-phones a {
  color: var(--orange); font-weight: 600;
  transition: color var(--transition);
}
.top-bar-phones a:hover { color: var(--white); }

/* ============================================================
   STICKY HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(46,85,140,0.13);
}
.header-inner {
  overflow: visible; /* allow dropdown to extend below */
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.logo-icon svg { width: 30px; height: 30px; fill: var(--white); }
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.01em;
}
.logo-text span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange);
}

/* Nav */
.main-nav { display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gray-700);
  padding: 8px 14px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--orange); border-radius: 1px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--blue); }

/* ── Desktop nav dropdown ── */
.nav-has-dropdown { position: relative; }

.nav-has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-has-dropdown:hover .nav-dropdown-arrow,
.nav-has-dropdown:focus-within .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  /* Hidden by default — use opacity/visibility so hover bridge stays interactive */
  position: absolute;
  top: 100%; /* flush to the parent — bridge covers the gap */
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  list-style: none;
  z-index: 200;
  /* Use opacity+visibility instead of display:none so transition works */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Padding-top creates an invisible bridge so mouse can travel from link to dropdown */
  padding: 10px 0 6px;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Transparent bridge fills the gap between the link and the dropdown card */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;      /* extends above the dropdown to fill any gap */
  left: 0;
  right: 0;
  height: 10px;    /* matches padding-top on .nav-dropdown */
  background: transparent;
}

/* Visual triangle pointer — separate pseudo-element via a child span would be cleaner
   but ::after works fine here since ::before is the bridge */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 4px;   /* sits just inside the dropdown, above first item */
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--white);
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.08));
  pointer-events: none;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  color: var(--text) !important;
  font-size: .9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown li a::after { display: none !important; } /* hide underline from nav-list a::after */
.nav-dropdown li a:hover,
.nav-dropdown li a.active {
  background: var(--orange);
  color: var(--white) !important;
}

/* Main site top-nav dropdowns */
#topMain .dropdown-menu li a:hover,
#topMain .dropdown-menu li a:focus {
  background-color: var(--orange);
  color: var(--white) !important;
}

/* Dark mode */
body.dark-mode .nav-dropdown { background: #1a1f2e; border-color: #3a4160; }
body.dark-mode .nav-dropdown::before { border-bottom-color: #1a1f2e; }
body.dark-mode .nav-dropdown li a { color: #c0c8db !important; }
body.dark-mode .nav-dropdown li a:hover,
body.dark-mode .nav-dropdown li a.active { background: var(--orange); color: var(--white) !important; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { font-weight: 600; }

/* Search */
.header-search-btn {
  justify-self: end;
  width: 40px; height: 40px;
  border-radius: 50%; border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); transition: all var(--transition);
}
.header-search-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.header-search-btn svg { width: 18px; height: 18px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px 6px;
  background: transparent;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.nav-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.nav-toggle:hover span { background: var(--white); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(30,58,97,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay form {
  display: flex; width: min(600px, 90vw);
  border-bottom: 3px solid var(--orange);
}
.search-overlay input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--font-head); font-size: 1.6rem; color: var(--white);
  padding: 12px 16px;
}
.search-overlay input::placeholder { color: rgba(255,255,255,0.45); }
.search-overlay button[type="submit"] {
  background: var(--orange); color: var(--white); padding: 12px 20px; border-radius: 0 4px 4px 0;
}
.search-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 2rem; color: var(--white); opacity: 0.7;
  transition: opacity var(--transition);
}
.search-close:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-icon { background: rgba(255,255,255,0.15); box-shadow: none; }
.footer-brand p { font-size: 0.92rem; margin-top: 14px; line-height: 1.7; opacity: 0.8; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.92rem; opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}
.footer-col ul li a:hover { opacity: 1; color: var(--orange); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.92rem; opacity: 0.85; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; opacity: 0.7;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); opacity: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: 64px 0 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20640%20640'%3E%3Cpath%20fill='%23ffffff'%20fill-opacity='0.07'%20d='M408%20120C408%2089.1%20433.1%2064%20464%2064C494.9%2064%20520%2089.1%20520%20120C520%20150.9%20494.9%20176%20464%20176C433.1%20176%20408%20150.9%20408%20120zM301.4%20188.1C295%20182.9%20285.8%20183.4%20280%20189.2L246.6%20222.6C234.1%20235.1%20213.8%20235.1%20201.3%20222.6C188.8%20210.1%20188.8%20189.8%20201.3%20177.3L234.8%20144C263.8%20115%20310%20112.6%20341.8%20138.5L423.1%20204.5C444.5%20221.9%20446.9%20253.7%20428.3%20274L386.5%20320L484.5%20320C514.8%20320%20537.5%20347.7%20531.6%20377.4L503.4%20518.3C499.9%20535.6%20483.1%20546.9%20465.7%20543.4C448.3%20539.9%20437.1%20523.1%20440.6%20505.7L465%20384L412.8%20384C414.9%20394.3%20416%20405%20416%20416C416%20504.4%20344.4%20576%20256%20576C167.6%20576%2096%20504.4%2096%20416C96%20327.6%20167.6%20256%20256%20256C262%20256%20267.9%20256.3%20273.8%20257L324.2%20206.6L301.5%20188.1zM256%20512C309%20512%20352%20469%20352%20416C352%20363%20309%20320%20256%20320C203%20320%20160%20363%20160%20416C160%20469%20203%20512%20256%20512z'/%3E%3C/svg%3E") repeat;
  pointer-events: none; /* allow clicks to pass through to content below */
}
/* All page-hero content must be above the ::before overlay */
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-top: 10px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  margin-top: 16px;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   HOME — SLIDESHOW
   ============================================================ */
/* ============================================================
   HOME — SLIDESHOW
   ============================================================ */
.slideshow {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 60vh, 680px);
  background: var(--blue-dark);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* dark gradient left-to-right so text stays legible */
  background-color: var(--blue-dark);
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 28, 50, 0.88) 0%,
    rgba(15, 28, 50, 0.65) 45%,
    rgba(15, 28, 50, 0.15) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}
.slide-content-inner {
  max-width: 580px;
}
.slide-content .badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.slide-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.slide-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.slide-controls {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.slide-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
  cursor: pointer;
}
.slide-arrow:hover { background: var(--orange); border-color: var(--orange); }
.slide-arrow.prev  { left: 20px; }
.slide-arrow.next  { right: 20px; }

@media (max-width: 600px) {
  .slide-content         { padding: 0 20px; }
  .slide-content-inner   { max-width: 100%; }

  /* Very small phones — compress top bar slogan aggressively */
  .top-bar-slogan { font-size: 0.65rem; letter-spacing: 0.02em; }
  .top-bar-phones a { font-size: 0.75rem; }
  .top-bar-phones { gap: 12px; }

  /* Small mobile: compact header-right icons so nothing is cut off */
  .header-right          { gap: 4px; }
  .header-search-btn     { width: 32px; height: 32px; border-width: 1.5px; }
  .header-search-btn svg { width: 15px; height: 15px; }
  .theme-toggle          { width: 32px; height: 32px; padding: 2px; gap: 1px; }
  .theme-toggle svg      { width: 14px; height: 14px; }
  .theme-toggle-label    { display: none; }
  .account-icon-btn      { padding: 4px 6px; }
  .account-icon-btn svg  { width: 16px; height: 16px; }
  .account-icon-label    { font-size: 0.5rem; max-width: 60px; }
  .nav-toggle            { width: 30px; }
  /* Shrink logo on small mobile */
  .site-logo-img         { height: 46px; }
  .header-inner          { padding: 10px 14px; gap: 8px; }

  /* On mobile: move prev/next arrows into the dots bar at the bottom */
  .slide-arrow {
    position: static;
    transform: none;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    flex-shrink: 0;
  }
  .slide-arrow:hover { background: var(--orange); border-color: var(--orange); }
  .slide-arrow.prev,
  .slide-arrow.next  { left: auto; right: auto; top: auto; }

  /* Reflow controls bar to: [←] [• • • •] [→] */
  .slide-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    bottom: 16px;
    padding: 0 12px;
  }
}

/* ============================================================
   HOME — ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; height: 400px; object-fit: cover;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--orange); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  font-family: var(--font-head); text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 2.4rem; line-height: 1; }
.about-badge span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.about-content { padding-right: 16px; }
.about-content p { color: var(--gray-700); margin-bottom: 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0;
}
.stat-box {
  background: var(--off-white); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; border-top: 3px solid var(--blue);
}
.stat-box strong {
  display: block; font-family: var(--font-head);
  font-size: 1.8rem; color: var(--blue); font-weight: 700;
}
.stat-box span { font-size: 0.82rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   HOME — SERVICES SECTION
   ============================================================ */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-header {
  background: var(--blue); padding: 32px 28px;
  display: flex; align-items: center; gap: 16px;
}
.service-icon {
  width: 56px; height: 56px; background: var(--orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--white); }
.service-card-header h3 { color: var(--white); font-size: 1.25rem; }
.service-card-body { padding: 24px 28px; flex: 1; }
.service-card-body p { color: var(--gray-700); font-size: 0.97rem; margin-bottom: 20px; }
.service-card-body .btn { font-size: 0.85rem; padding: 10px 20px; }

/* ============================================================
   HOME — NEWS SECTION
   ============================================================ */
.news-section { background: var(--off-white); }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.news-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-sm);
}
.news-card--featured:hover {
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-md);
}
.news-card-img {
  height: 200px; overflow: hidden; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px 22px; }
.news-meta { font-size: 0.78rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.news-card-body h3 { font-size: 1.1rem; color: var(--blue); margin-bottom: 10px; line-height: 1.3; }
.news-card-body p { font-size: 0.92rem; color: var(--gray-500); }
.news-card-body a.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--orange);
  margin-top: 14px; transition: gap var(--transition);
}
.news-card-body a.read-more:hover { gap: 10px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detail { background: var(--white); }
.services-detail { position: relative; overflow: hidden; }
.services-detail > .container { position: relative; z-index: 1; }
.services-detail::before {
  content: attr(data-num); position: absolute; z-index: 0; top: 10px; right: 3%;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(10rem, 24vw, 22rem); line-height: 1;
  color: var(--blue); opacity: 0.06; pointer-events: none; user-select: none;
}
.services-detail:has(.service-detail-card.reverse)::before { right: auto; left: 3%; }
.services-detail.tone-light { background: var(--white); border-top: 6px solid var(--orange); padding-top: 96px; }
.services-detail.tone-tint {
  background: linear-gradient(180deg, #e3e9f4 0%, var(--off-white) 100%);
  border-top: 6px solid var(--blue); padding-top: 96px;
}
.services-detail.tone-dark {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 130px 0 120px; margin: -2px 0;
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.services-detail.tone-dark::before { color: #fff; opacity: 0.07; }
.tone-dark .section-title { color: var(--white); }
.tone-dark .service-detail-text p { color: rgba(255,255,255,0.86); }
.tone-dark .service-features li { background: rgba(255,255,255,0.10); color: var(--white); }
.tone-dark .service-detail-img::before { border-color: #fff; opacity: 0.4; }
.tone-dark .service-detail-tag { background: var(--orange); }
.tone-light .service-features li { background: var(--off-white); }
.tone-tint .service-features li { background: var(--white); box-shadow: var(--shadow-sm); }
.service-detail-text .section-title { font-size: clamp(2rem, 4vw, 2.9rem); }

/* Overview cards overlap the hero */
.services-overview { margin-top: -36px; position: relative; z-index: 2; }
.services-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services-overview-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 10px; padding: 20px 22px;
  box-shadow: var(--shadow-md); border-bottom: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}
.services-overview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.services-overview-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white); color: var(--blue);
}
.services-overview-body { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.services-overview-body strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--blue); }
.services-overview-body span { font-size: 0.88rem; color: var(--gray-500); }
.services-overview-arrow { color: var(--orange); font-size: 1.3rem; font-weight: 700; }

.services-detail { scroll-margin-top: var(--header-height, 136px); }
.service-detail-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  scroll-margin-top: calc(var(--header-height, 136px) + 20px);
}
.service-detail-card.reverse .service-detail-img { order: 2; }
.service-detail-card.reverse .service-detail-text { order: 1; }
.service-detail-img { position: relative; }
.service-detail-img::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--orange); border-radius: 12px; opacity: 0.35; z-index: 0;
}
.service-detail-card.reverse .service-detail-img::before { inset: 18px 18px -18px -18px; }
.service-detail-img img {
  position: relative; z-index: 1;
  border-radius: 12px; box-shadow: var(--shadow-lg);
  width: 100%; height: 420px; object-fit: cover;
}
.service-detail-num {
  position: absolute; z-index: 2; top: -18px; left: -18px;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.service-detail-card.reverse .service-detail-num { left: auto; right: -18px; }
.service-detail-tag {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  background: rgba(30,58,97,0.92); color: var(--white);
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.service-detail-text p { color: var(--gray-700); margin-bottom: 14px; }
.service-features {
  list-style: none; margin: 22px 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.service-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: var(--off-white); border-radius: 8px;
  font-size: 0.94rem; line-height: 1.4; color: var(--gray-700);
}
.service-features li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); font-size: 0.78rem; font-weight: 700;
}

/* How it works */
.services-steps {
  background: var(--white) radial-gradient(var(--gray-300) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  border-top: 6px solid var(--orange);
}
.services-steps .step-card { box-shadow: var(--shadow-md); }
.steps-grid {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 8px; counter-reset: none;
}
.step-card {
  position: relative; text-align: center;
  background: var(--off-white); border-radius: 12px; padding: 40px 28px 32px;
  border-top: 4px solid var(--blue);
}
.step-card + .step-card::before {
  content: ''; position: absolute; top: 50%; left: -29px; width: 30px;
  border-top: 2px dashed var(--gray-300);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
}
.step-card h3 { color: var(--blue); margin-bottom: 8px; font-size: 1.25rem; }
.step-card p { color: var(--gray-700); font-size: 0.97rem; }

@media (max-width: 1024px) {
  .services-overview-grid { grid-template-columns: 1fr; }
  .service-detail-card { gap: 44px; }
  .service-detail-img::before { inset: 14px -10px -14px 14px; }
  .service-detail-card.reverse .service-detail-img::before { inset: 14px 14px -14px -10px; }
  .service-detail-img img { height: 320px; }
  .service-detail-num { top: -14px; left: -8px; }
  .service-detail-card.reverse .service-detail-num { right: -8px; }
}
@media (max-width: 768px) {
  .service-features { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card + .step-card::before { display: none; }
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 64px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-intro { background: var(--off-white); }
.careers-intro .intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.careers-intro img { border-radius: var(--radius); box-shadow: var(--shadow-md); height: 380px; object-fit: cover; width: 100%; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.benefits-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: stretch;
}
.benefits-layout .benefits-grid-2col {
  grid-template-columns: repeat(2, 1fr); margin-top: 0;
}
.benefits-image {
  border-radius: var(--radius); box-shadow: 0 16px 48px rgba(46,85,140,0.18);
  width: 100%; height: 100%; object-fit: cover;
}
.benefit-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue); transition: transform var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
  width: 56px; height: 56px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.benefit-icon svg { width: 26px; height: 26px; fill: var(--white); }
.benefit-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 8px; }
.benefit-card p { font-size: 0.88rem; color: var(--gray-500); }

.jobs-section { background: var(--white); }
.job-listing {
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.job-listing:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.job-info h3 { color: var(--blue); font-size: 1.15rem; margin-bottom: 6px; }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.job-tag {
  background: var(--off-white); color: var(--gray-700);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
}
.job-tag.orange { background: #fdeee4; color: var(--orange-dark); }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-section { background: var(--off-white); }
.booking-wrapper {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.booking-form {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-md);
}
.booking-form h2 { color: var(--blue); margin-bottom: 8px; font-size: 1.7rem; }
.booking-form > p { color: var(--gray-500); margin-bottom: 32px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px; letter-spacing: 0.03em;
}
.form-group label span { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.97rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,85,140,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-section-title {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange);
  border-bottom: 2px solid var(--gray-100); padding-bottom: 10px; margin: 28px 0 20px;
}
.form-group input[type="submit"],
.form-submit-btn {
  width: 100%; padding: 14px; background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 8px;
}
.form-group input[type="submit"]:hover,
.form-submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* Embedded (MachForm) booking form.
   The embed brings its own dark text that we can't restyle, so keep this
   wrapper on a light surface in BOTH light and dark mode for readability. */
.embed-form-wrap {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--gray-200);
}
.embed-form-wrap iframe { width: 100%; border: 0; display: block; }
body.dark-mode .embed-form-wrap { background: #ffffff; border-color: #3a4160; }

.booking-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; color: var(--blue);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100);
}
.sidebar-phone {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--gray-100); color: var(--gray-700);
}
.sidebar-phone:last-child { border-bottom: none; }
.sidebar-phone svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; }
.sidebar-phone strong { display: block; font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }
.sidebar-phone a { font-size: 1.05rem; font-weight: 700; color: var(--blue); }
.sidebar-phone a:hover { color: var(--orange); }
.info-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem; color: var(--gray-700);
}
.info-list li:last-child { border-bottom: none; }
.info-list li svg { width: 16px; height: 16px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start;
}
.contact-form {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--blue); color: var(--white);
  border-radius: var(--radius); padding: 32px;
}
.contact-info-card h3 {
  font-family: var(--font-head); font-size: 1.15rem;
  margin-bottom: 20px; color: var(--white);
}
.contact-info-item {
  display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start;
}
.contact-info-item svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.8rem; opacity: 0.7; font-weight: 400; margin-bottom: 2px; }
.contact-info-item a { color: var(--white); font-size: 1rem; }
.contact-info-item a:hover { color: var(--orange); }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-placeholder {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  height: 220px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-size: 1rem; opacity: 0.85;
  text-align: center; padding: 20px;
}

/* ============================================================
   POLICY PAGES (Terms, Privacy, Sitemap)
   ============================================================ */
.policy-content { background: var(--white); }
.policy-body { max-width: 800px; }
.policy-body h2 { color: var(--blue); font-size: 1.4rem; margin: 36px 0 14px; }
.policy-body p, .policy-body li { color: var(--gray-700); font-size: 0.97rem; margin-bottom: 12px; line-height: 1.75; }
.policy-body ul { list-style: disc; padding-left: 24px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.sitemap-col h3 { color: var(--blue); font-size: 1.05rem; margin-bottom: 12px; }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul li a { color: var(--gray-700); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.sitemap-col ul li a:hover { color: var(--orange); }
.sitemap-col ul li a::before { content: '→'; color: var(--orange); font-size: 0.85rem; }

/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */
.mobile-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 88vw);
  height: 100vh;
  background: var(--blue-dark);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(0,0,0,0.35);
}
.mobile-sidebar.open { right: 0; }

/* Sidebar header row */
.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.mobile-sidebar-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* No filter — logo colours work on dark background */
}
.mobile-sidebar-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-sidebar-close:hover { background: rgba(255,255,255,0.22); }

/* Sidebar search */
.mobile-sidebar-search {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.mobile-search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 0 12px;
  gap: 8px;
  margin-bottom: 10px;
  transition: border-color var(--transition);
}
.mobile-search-input-wrap:focus-within {
  border-color: var(--orange);
  background: rgba(255,255,255,0.15);
}
.mobile-search-input-wrap svg {
  width: 18px; height: 18px;
  stroke: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.mobile-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 11px 0;
}
.mobile-search-input-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.mobile-search-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 11px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-search-submit:hover { background: var(--orange-dark); }

/* Sidebar nav list */
.mobile-nav-list {
  list-style: none;
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ── Mobile sidebar sub-menu ── */
.mobile-nav-group-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  justify-content: flex-start;
}
.mobile-group-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.mobile-nav-group-btn[aria-expanded="true"] .mobile-group-arrow {
  transform: rotate(180deg);
}
.mobile-nav-sub {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.15);
  border-radius: 0 0 var(--radius) var(--radius);
}
.mobile-nav-sub.open { max-height: 200px; }
.mobile-nav-sub-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px 11px 32px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.mobile-nav-sub-btn svg {
  width: 16px; height: 16px;
  fill: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.mobile-nav-sub-btn:hover,
.mobile-nav-sub-btn.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-left-color: var(--orange);
}
.mobile-nav-sub-btn:hover svg,
.mobile-nav-sub-btn.active svg { fill: var(--white); }

/* High contrast */
body.a11y-high-contrast .mobile-nav-sub { background: #000; }
body.a11y-high-contrast .mobile-nav-sub-btn { color: #ffffff; border-color: #555; }
body.a11y-high-contrast .mobile-nav-sub-btn:hover,
body.a11y-high-contrast .mobile-nav-sub-btn.active { background: #ffffff; color: #000000; }

.mobile-nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.mobile-nav-btn svg {
  width: 22px; height: 22px;
  fill: rgba(255,255,255,0.6);
  flex-shrink: 0;
  transition: fill var(--transition);
}
.mobile-nav-btn:hover,
.mobile-nav-btn.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.mobile-nav-btn:hover svg,
.mobile-nav-btn.active svg { fill: var(--white); }
.mobile-nav-btn.active { font-weight: 700; }

/* Sidebar phones */
.mobile-sidebar-phones {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.mobile-phones-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.mobile-phone-link:last-child { border-bottom: none; }
.mobile-phone-link svg {
  width: 18px; height: 18px;
  fill: var(--orange);
  flex-shrink: 0;
}
.mobile-phone-link:hover { color: var(--orange); }

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-wrapper,
  .contact-grid { grid-template-columns: 1fr; }
  .booking-sidebar,
  .contact-sidebar { order: -1; }
}
@media (max-width: 1024px) {
  body { padding-top: var(--header-height, 100px); }
  .top-bar .container { justify-content: center; text-align: center; flex-direction: column; gap: 2px; }
  .top-bar-slogan { font-size: 0.72rem; letter-spacing: 0.04em; white-space: normal; text-align: center; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .about-grid,
  .service-detail-card,
  .careers-intro .intro-grid { grid-template-columns: 1fr; }
  .service-detail-card.reverse .service-detail-img,
  .service-detail-card.reverse .service-detail-text { order: unset; }
  .about-badge { right: 0; bottom: -24px; }
  .services-grid,
  .news-grid,
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .benefits-layout { grid-template-columns: 1fr; }
  .benefits-layout .benefits-image { height: 240px; }
}
@media (max-width: 600px) {
  .services-grid,
  .news-grid,
  .benefits-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .benefits-layout .benefits-grid-2col { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job-listing { flex-direction: column; align-items: flex-start; }
  .slide-content { padding: 0 20px; }
  .slide-content-inner { max-width: 100%; }
  .sitemap-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   ANCHOR SCROLL OFFSET
   Ensures # links clear the sticky header when jumped to.
   ============================================================ */
[id] {
  scroll-margin-top: var(--header-height, 132px);
}
/* ============================================================
   LOGO IMAGE
   ============================================================ */
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo-img {
  width: auto;
  height: 72px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}
.site-logo:hover .site-logo-img { opacity: 0.85; }

.footer-brand .site-logo-img {
  height: 56px;
}

/* ── header-right groups search+hamburger ── */
.header-right {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  padding: 10px 20px; border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; outline: 3px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   ACCESSIBILITY TOOLBAR — bottom-left, orange
   ============================================================ */
.a11y-toolbar {
  position: fixed;
  bottom: 24px;
  left: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.a11y-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px 10px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  border: none;
  cursor: pointer;
  box-shadow: 3px 2px 12px rgba(237,114,44,0.4);
  transition: background var(--transition);
  white-space: nowrap;
  line-height: 1;
  order: 2;
}
.a11y-toggle:hover,
.a11y-toggle[aria-expanded="true"] { background: var(--orange-dark); }
.a11y-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  stroke: none;
  flex-shrink: 0;
  display: block;
}
.a11y-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.a11y-panel {
  order: 1;
  background: var(--white);
  border: 2px solid var(--orange);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 14px;
  width: 200px;
  box-shadow: 4px 0 20px rgba(237,114,44,0.22);
  margin-bottom: 6px;
}
.a11y-panel[hidden] {
  display: none !important;
  visibility: hidden !important;
}
.a11y-section-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin: 14px 0 6px;
}
.a11y-section-title:first-child { margin-top: 0; }
.a11y-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.a11y-btn {
  flex: 1;
  min-width: 40px;
  background: var(--off-white);
  color: var(--blue);
  border: 1.5px solid var(--gray-300);
  border-radius: 4px;
  padding: 7px 6px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.a11y-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.a11y-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.a11y-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.a11y-reset-all {
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
}
.a11y-reset-all:hover { background: var(--orange); color: var(--white); }
.a11y-reset-all:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   ACCESSIBILITY STATE CLASSES (applied to <body>)
   ============================================================ */

/* High Contrast
   IMPORTANT: Never apply filter to <body> — it creates a new stacking context
   that breaks ALL position:fixed elements (toolbar, sidebar, header, modal).
   Instead we apply the filter to every direct child of body EXCEPT fixed elements,
   using a selective approach that preserves fixed positioning throughout. */
body.a11y-high-contrast .site-header,
body.a11y-high-contrast main,
body.a11y-high-contrast .site-footer {
  filter: contrast(1.5) saturate(0);
}
/* Keep these unfiltered so fixed positioning and stacking works correctly */
body.a11y-high-contrast .page-loader,
body.a11y-high-contrast .a11y-toolbar,
body.a11y-high-contrast .mobile-sidebar,
body.a11y-high-contrast .nav-overlay,
body.a11y-high-contrast .search-overlay,
body.a11y-high-contrast .map-modal {
  filter: none;
}

/* Dyslexia Font */
body.a11y-dyslexia,
body.a11y-dyslexia p,
body.a11y-dyslexia li,
body.a11y-dyslexia label,
body.a11y-dyslexia input,
body.a11y-dyslexia select,
body.a11y-dyslexia textarea {
  font-family: 'Comic Sans MS', 'Arial', sans-serif !important;
  letter-spacing: 0.05em;
  word-spacing: 0.15em;
  line-height: 1.85 !important;
}

/* Highlight Links */
body.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  outline: 1.5px dashed var(--orange) !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}
body.a11y-links .btn,
body.a11y-links .nav-list a {
  outline: 2px solid var(--orange) !important;
}

/* Reduce Motion */
body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Focus ring enhancement — always-on for keyboard users */
:focus-visible {
  outline: 3px solid var(--orange) !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}

/* ── Responsive: hide toolbar text on small screens, keep icon ── */
@media (max-width: 600px) {
  .a11y-toggle { padding: 9px 12px 9px 10px; gap: 6px; font-size: 0.7rem; }
  .a11y-toggle svg { width: 18px; height: 18px; }
  .a11y-panel { width: min(200px, 80vw); border-left: none; border-radius: 0 var(--radius) var(--radius) 0; }
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-results-section { background: var(--white); }

.search-results-form-bar {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--blue);
}
.search-results-form-bar input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: none;
  outline: none;
  color: var(--text);
  background: var(--white);
}
.search-results-form-bar button[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
}
.search-results-form-bar button[type="submit"]:hover { background: var(--blue-dark); }
.search-results-form-bar button svg { width: 18px; height: 18px; }

.search-results-meta {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.search-results-meta strong { color: var(--blue); }

.search-result-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.search-result-item:last-child { border-bottom: none; }

.search-result-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  border: 1px solid var(--gray-300);
}
.search-result-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.search-result-item h3 a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
.search-result-item h3 a:hover { color: var(--orange); text-decoration: underline; }

.search-result-url {
  font-size: 0.8rem;
  color: #0a7a0a;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.search-result-item p {
  color: var(--gray-700);
  font-size: 0.97rem;
  line-height: 1.6;
}
.search-result-item p mark {
  background: #fff3cd;
  color: var(--text);
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 600;
}

.search-no-results {
  text-align: center;
  padding: 60px 20px;
}
.search-no-results svg {
  width: 64px; height: 64px;
  stroke: var(--gray-300);
  margin: 0 auto 20px;
  display: block;
}
.search-no-results h2 { color: var(--blue); margin-bottom: 12px; }
.search-no-results p { color: var(--gray-500); margin-bottom: 24px; }

.search-suggestions {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 40px;
}
.search-suggestions h3 {
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.search-suggestions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.search-suggestions ul li a {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.search-suggestions ul li a:hover {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Two-column grid used in legacy + fleet sections */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-page-grid.reverse .about-page-img-col { order: 2; }
.about-page-grid.reverse .about-page-text-col { order: 1; }

/* Image column */
.about-page-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blue);
  min-height: 380px;
}
.about-page-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 420px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-img-fallback svg { width: 80px; height: 80px; }

/* Badge on image */
.about-page-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius) 0 0 0;
  font-family: var(--font-head);
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}
.about-page-badge strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about-badge-year { display: block; font-size: 2.8rem; font-weight: 700; line-height: 1; margin: 4px 0; }

/* Highlight items (icons + text) */
.about-page-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.highlight-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.highlight-icon svg { width: 18px; height: 18px; fill: var(--white); }
.highlight-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}
.highlight-item span { font-size: 0.82rem; color: var(--gray-500); }

/* Quote */
.about-quote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-quote p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--blue);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* Mission grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mission-statement-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mission-statement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mission-icon {
  width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mission-icon svg { width: 26px; height: 26px; fill: var(--white); }
.mission-statement-card h3 {
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.mission-statement-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.mission-statement-card p:last-child { margin-bottom: 0; }

/* Mission goals list */
.mission-goals-list {
  list-style: none;
  margin-top: 4px;
}
.mission-goals-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.mission-goals-list li:last-child { border-bottom: none; }
.goal-check {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.mission-goals-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 2px;
}
.mission-goals-list span { font-size: 0.85rem; color: var(--gray-500); }

/* Stats strip */
.about-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats-strip-item {
  text-align: center;
  padding: 12px 48px;
  flex: 1;
  min-width: 140px;
}
.stats-strip-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stats-strip-item span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  font-family: var(--font-head);
}
.stats-strip-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Contact strip */
.about-contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-contact-icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-contact-icon svg { width: 20px; height: 20px; fill: var(--white); }
.about-contact-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.about-contact-item span,
.about-contact-item a {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.about-contact-item a:hover { color: var(--orange); }

/* ── About page responsive ── */
@media (max-width: 1024px) {
  .about-contact-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .about-page-grid,
  .about-page-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .about-page-grid.reverse .about-page-img-col,
  .about-page-grid.reverse .about-page-text-col { order: unset; }
  .mission-grid { grid-template-columns: 1fr; }
  .about-page-highlights { grid-template-columns: 1fr; }
  .stats-strip-divider { display: none; }
  .stats-strip-item { padding: 12px 24px; }
}
@media (max-width: 600px) {
  .about-contact-strip { grid-template-columns: 1fr; }
  .about-stats-strip { flex-direction: column; gap: 8px; }
}

/* ============================================================
   ACCOUNT ICON BUTTON (header — login / profile / logout)
   ============================================================ */
.account-menu {
  flex-shrink: 0;
}
.account-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-300);
  background: none;
  font: inherit;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.account-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  transition: stroke var(--transition);
}
.account-icon-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.account-icon-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
  transition: color var(--transition);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-icon-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.account-icon-btn:hover svg { stroke: var(--white); }
.account-icon-btn:hover .account-icon-label { color: var(--white); }

/* Account dropdown menu (Dashboard / Profile / Logout) */
.account-menu .account-dropdown {
  min-width: 160px;
}
.account-menu .account-dropdown li a {
  display: block;
}

/* Always show on all screen sizes */
@media (max-width: 900px) {
  .account-icon-btn { display: flex; }
}

/* ============================================================
   SIDEBAR HEADER RIGHT — account icon + close button group
   ============================================================ */
.mobile-sidebar-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Account icon inside the sidebar (login / my account) */
.sidebar-drivers-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--white);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  transition: all var(--transition);
  max-width: 90px;
}
.sidebar-drivers-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  flex-shrink: 0;
}
.sidebar-drivers-btn .account-icon-avatar {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.sidebar-drivers-btn span {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}
.sidebar-drivers-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ============================================================
   DRIVERS PAGE
   ============================================================ */

/* ── Top portal + survey cards ── */
.drivers-top-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.driver-top-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue);
  transition: transform var(--transition), box-shadow var(--transition);
}
.driver-top-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.driver-top-card--secondary { border-top-color: var(--orange); }

.driver-top-card-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.driver-top-card--secondary .driver-top-card-icon { background: var(--orange); }
.driver-top-card-icon svg { width: 28px; height: 28px; stroke: var(--white); }

.driver-top-card-body h2 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.driver-top-card--secondary .driver-top-card-body h2 { color: var(--orange-dark); }
.driver-top-card-body p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.driver-top-card-body .btn { font-size: 0.9rem; padding: 10px 22px; }

/* ── Resource grid ── */
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.driver-resource-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-100);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.driver-resource-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.driver-resource-card--alert { border-top: 3px solid #e74c3c; }
.driver-resource-card--alert:hover { border-color: #e74c3c; }

.driver-resource-icon {
  width: 46px; height: 46px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.driver-resource-card--alert .driver-resource-icon { background: #e74c3c; }
.driver-resource-icon svg { width: 22px; height: 22px; stroke: var(--white); }

.driver-resource-body { flex: 1; display: flex; flex-direction: column; }
.driver-resource-body h3 {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.driver-resource-card--alert .driver-resource-body h3 { color: #c0392b; }
.driver-resource-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}
.driver-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-300);
  transition: all var(--transition);
  margin-top: auto;
  width: fit-content;
}
.driver-resource-link:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.driver-resource-link svg { flex-shrink: 0; }
.driver-resource-link--alert { color: #c0392b; border-color: #e8a0a0; background: #fef5f5; }
.driver-resource-link--alert:hover { background: #e74c3c; color: var(--white); border-color: #e74c3c; }

.driver-resource-multi-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* ── Facility maps ── */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.maps-group-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1.5px solid var(--gray-100);
}
.maps-group-header {
  background: var(--blue);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.maps-group-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.maps-group-icon svg { width: 20px; height: 20px; stroke: var(--white); }
.maps-group-header h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}
.maps-link-list { list-style: none; padding: 12px 0; }
.map-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition);
}
.maps-link-list li:last-child .map-link { border-bottom: none; }
.map-link svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; stroke: none; }
/* map-btn SVGs must not inherit the fill above */
.map-link:hover { background: var(--off-white); color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .drivers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .drivers-top-cards { grid-template-columns: 1fr; }
  .driver-top-card { flex-direction: column; }
  .maps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .drivers-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FACILITY MAPS — ROW WITH VIEW & DOWNLOAD BUTTONS
   ============================================================ */
.map-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.map-row:last-child { border-bottom: none; }
.map-row:hover { background: var(--off-white); }

.map-row-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Shared base for both buttons */
.map-btn-view,
.map-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.map-btn-view svg {
  width: 13px; height: 13px; flex-shrink: 0;
  fill: none;
  stroke: var(--blue);
}
.map-btn-download svg {
  width: 13px; height: 13px; flex-shrink: 0;
  fill: none;
  stroke: var(--white);
}

/* View — blue outline */
.map-btn-view {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.map-btn-view:hover {
  background: var(--blue);
  color: var(--white);
}
.map-btn-view:hover svg { stroke: var(--white); fill: none; }

/* Download — orange filled */
.map-btn-download {
  background: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--orange);
}
.map-btn-download:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.map-row-label {
  font-size: 0.93rem;
  color: var(--gray-700);
  flex: 1;
  min-width: 0;
}


/* ============================================================
   MAP VIEWER MODAL
   ============================================================ */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;          /* JS sets to flex when open */
  align-items: stretch;
  justify-content: center;
}
.map-modal[hidden] { display: none !important; }

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(4px);
}

.map-modal-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
}

/* Modal header bar */
.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue-dark);
  padding: 12px 20px;
  gap: 16px;
  flex-shrink: 0;
}
.map-modal-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-modal-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Control buttons (zoom, reset, download, close) */
.map-modal-ctrl,
.map-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.map-modal-ctrl svg,
.map-modal-close svg { width: 18px; height: 18px; stroke: var(--white); }
.map-modal-ctrl:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.map-modal-dl { background: var(--orange); border-color: var(--orange); }
.map-modal-dl:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.map-modal-close { background: rgba(231,76,60,0.25); border-color: rgba(231,76,60,0.4); }
.map-modal-close:hover { background: #e74c3c; border-color: #e74c3c; }
.map-modal-close svg { width: 20px; height: 20px; }

/* Image viewport — fills remaining height */
.map-modal-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  background: #0d1520;
  user-select: none;
}
.map-modal-viewport:active { cursor: grabbing; }

.map-modal-img-wrap {
  transform-origin: center center;
  transition: transform 0.05s linear;
  cursor: grab;
  line-height: 0;
}
.map-modal-img-wrap:active { cursor: grabbing; }

#mapModalImg {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Loading spinner */
.map-modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.map-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: mapSpin 0.8s linear infinite;
}
@keyframes mapSpin { to { transform: rotate(360deg); } }

/* Hint bar at bottom */
.map-modal-hint {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  padding: 8px 16px;
  background: rgba(0,0,0,0.5);
  flex-shrink: 0;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

/* ── Responsive map rows ── */
@media (max-width: 600px) {
  .map-row { flex-wrap: wrap; gap: 8px; }
  .map-row-label { width: 100%; order: -1; font-weight: 600; color: var(--blue); }
  .map-modal-title { font-size: 0.95rem; }
  .map-modal-ctrl, .map-modal-close { width: 34px; height: 34px; }
  #mapModalImg { max-width: 98vw; max-height: 75vh; }
}


/* ============================================================
   FACILITY MAPS — ROW WITH VIEW & DOWNLOAD BUTTONS
   ============================================================ */
.map-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.map-row:last-child { border-bottom: none; }
.map-row:hover { background: var(--off-white); }

.map-row-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Shared base for both buttons */
.map-btn-view,
.map-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.map-btn-view svg {
  width: 13px; height: 13px; flex-shrink: 0;
  fill: none;
  stroke: var(--blue);
}
.map-btn-download svg {
  width: 13px; height: 13px; flex-shrink: 0;
  fill: none;
  stroke: var(--white);
}

/* View — blue outline */
.map-btn-view {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.map-btn-view:hover {
  background: var(--blue);
  color: var(--white);
}
.map-btn-view:hover svg { stroke: var(--white); fill: none; }

/* Download — orange filled */
.map-btn-download {
  background: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--orange);
}
.map-btn-download:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.map-row-label {
  font-size: 0.93rem;
  color: var(--gray-700);
  flex: 1;
  min-width: 0;
}


/* ============================================================
   MAP VIEWER MODAL
   ============================================================ */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;          /* JS sets to flex when open */
  align-items: stretch;
  justify-content: center;
}
.map-modal[hidden] { display: none !important; }

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(4px);
}

.map-modal-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
}

/* Modal header bar */
.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue-dark);
  padding: 12px 20px;
  gap: 16px;
  flex-shrink: 0;
}
.map-modal-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-modal-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Control buttons (zoom, reset, download, close) */
.map-modal-ctrl,
.map-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.map-modal-ctrl svg,
.map-modal-close svg { width: 18px; height: 18px; stroke: var(--white); }
.map-modal-ctrl:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.map-modal-dl { background: var(--orange); border-color: var(--orange); }
.map-modal-dl:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.map-modal-close { background: rgba(231,76,60,0.25); border-color: rgba(231,76,60,0.4); }
.map-modal-close:hover { background: #e74c3c; border-color: #e74c3c; }
.map-modal-close svg { width: 20px; height: 20px; }

/* Image viewport — fills remaining height */
.map-modal-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  background: #0d1520;
  user-select: none;
}
.map-modal-viewport:active { cursor: grabbing; }

.map-modal-img-wrap {
  transform-origin: center center;
  transition: transform 0.05s linear;
  cursor: grab;
  line-height: 0;
}
.map-modal-img-wrap:active { cursor: grabbing; }

#mapModalImg {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Loading spinner */
.map-modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.map-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: mapSpin 0.8s linear infinite;
}
@keyframes mapSpin { to { transform: rotate(360deg); } }

/* Hint bar at bottom */
.map-modal-hint {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  padding: 8px 16px;
  background: rgba(0,0,0,0.5);
  flex-shrink: 0;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

/* ── Responsive map rows ── */
@media (max-width: 600px) {
  .map-row { flex-wrap: wrap; gap: 8px; }
  .map-row-label { width: 100%; order: -1; font-weight: 600; color: var(--blue); }
  .map-modal-title { font-size: 0.95rem; }
  .map-modal-ctrl, .map-modal-close { width: 34px; height: 34px; }
  #mapModalImg { max-width: 98vw; max-height: 75vh; }
}


/* ============================================================
   LIGHT / DARK MODE TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  padding: 4px;
  position: relative;
}
.theme-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.theme-toggle:hover .theme-icon { stroke: var(--white); }
.theme-toggle:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.theme-icon {
  width: 17px;
  height: 17px;
  stroke: var(--blue);
  fill: none;
  flex-shrink: 0;
  transition: stroke var(--transition), opacity var(--transition);
  display: block;
}
.theme-toggle-label {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
  transition: color var(--transition);
}
.theme-toggle:hover .theme-toggle-label { color: var(--white); }

/* Which icon shows in each mode (reflects the resolved theme, not the
   raw preference — a "System" pick still shows sun/moon for how it
   currently resolves) */
/* Light mode (default): show sun, hide moon */
.theme-icon--sun  { display: block; }
.theme-icon--moon { display: none; }

/* Dark mode: show moon, hide sun */
body.dark-mode .theme-icon--sun  { display: none; }
body.dark-mode .theme-icon--moon { display: block; }

/* Label text ("Light" / "Dark" / "System") is set directly by theme.js
   to reflect the chosen preference. */

/* ── Theme picker menu (Light / Dark / System) ──────────────── */
/* Wraps the button so the menu (position: absolute) anchors to the
   button's own box instead of some unrelated positioned ancestor. */
.theme-toggle-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 152px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* Setting `display` above would otherwise override the `hidden`
   attribute's default display:none — keep it collapsed until opened. */
.theme-menu[hidden] { display: none; }
.theme-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.theme-menu-item-icon { font-size: 0.95rem; line-height: 1; flex-shrink: 0; width: 1.1em; text-align: center; }
.theme-menu-item:hover,
.theme-menu-item:focus-visible {
  background: var(--orange);
  color: var(--white);
  outline: none;
}
.theme-menu-item.is-active { font-weight: 700; }
.theme-menu-item.is-active::after { content: '\2713'; margin-left: auto; }

body.dark-mode .theme-menu { background: #1a1f2e; border-color: #3a4160; }
body.dark-mode .theme-menu-item { color: #c0c8db; }
body.dark-mode .theme-menu-item:hover,
body.dark-mode .theme-menu-item:focus-visible { background: var(--orange); color: #ffffff; }

/* ============================================================
   DARK MODE — targeted overrides only
   We do NOT remap --white or --blue globally because they are
   used for text-on-color (buttons, badges) that must stay white.
   Instead we override specific elements directly.
   ============================================================ */
body.dark-mode {
  /* Only remap neutral/background variables */
  --off-white:  #222839;
  --gray-100:   #2a3045;
  --gray-300:   #3a4160;
  --gray-500:   #8892aa;
  --gray-700:   #c0c8db;
  --text:       #dde2ee;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6);

  background: #1a1f2e;
  color: #dde2ee;
}

/* ── Header ── */
body.dark-mode .site-header       { background: #12161f; box-shadow: 0 2px 16px rgba(0,0,0,0.5); }
body.dark-mode .top-bar           { background: #0d1018; color: #dde2ee; }
body.dark-mode .top-bar-slogan    { color: #dde2ee; opacity: 0.9; }
body.dark-mode .top-bar-phones a  { color: var(--orange); }

/* ── Navigation ── */
body.dark-mode .nav-list a              { color: #c0c8db; }
body.dark-mode .nav-list a:hover        { color: #dde2ee; }
body.dark-mode .nav-list a.active       { color: #dde2ee; font-weight: 600; }
body.dark-mode .nav-list a::after       { background: var(--orange); }
body.dark-mode .logo-text strong        { color: #dde2ee; }

/* ── Header right icon buttons ── */
body.dark-mode .header-search-btn       { border-color: #3a4160; color: #c0c8db; }
body.dark-mode .header-search-btn svg   { stroke: #c0c8db; }
body.dark-mode .header-search-btn:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; }
body.dark-mode .header-search-btn:hover svg { stroke: #ffffff; }

body.dark-mode .theme-toggle            { border-color: #3a4160; color: #c0c8db; }
body.dark-mode .theme-icon              { stroke: #c0c8db; }
body.dark-mode .theme-toggle-label      { color: #c0c8db; }
body.dark-mode .theme-toggle:hover      { background: var(--blue); border-color: var(--blue); }
body.dark-mode .theme-toggle:hover .theme-icon  { stroke: #ffffff; }
body.dark-mode .theme-toggle:hover .theme-toggle-label { color: #ffffff; }

body.dark-mode .account-icon-btn        { border-color: #3a4160; color: #c0c8db; }
body.dark-mode .account-icon-btn svg    { stroke: #c0c8db; }
body.dark-mode .account-icon-label      { color: #c0c8db; }
body.dark-mode .account-icon-btn:hover  { background: var(--blue); border-color: var(--blue); }
body.dark-mode .account-icon-btn:hover svg  { stroke: #ffffff; }
body.dark-mode .account-icon-btn:hover .account-icon-label { color: #ffffff; }

body.dark-mode .nav-toggle { border-color: #3a4160; }
body.dark-mode .nav-toggle span { background: #c0c8db; }
body.dark-mode .nav-toggle:hover { background: var(--blue); border-color: var(--blue); }
body.dark-mode .nav-toggle:hover span { background: #ffffff; }

/* ── Buttons — .btn-outline uses white text/border on colored bg, must stay white ── */
body.dark-mode .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}
body.dark-mode .btn-outline:hover { background: #ffffff; color: var(--blue); }

/* btn-primary and btn-blue stay the same (orange/blue bg with white text — already fine) */

/* ── Accessibility toolbar panel ── */
body.dark-mode .a11y-panel          { background: #222839; border-color: var(--orange); }
body.dark-mode .a11y-section-title  { color: var(--orange); }
body.dark-mode .a11y-btn            { background: #2a3045; color: #dde2ee; border-color: #3a4160; }
body.dark-mode .a11y-btn:hover      { background: var(--blue); color: #ffffff; border-color: var(--blue); }
body.dark-mode .a11y-btn.active     { background: var(--blue); color: #ffffff; border-color: var(--blue); }
body.dark-mode .a11y-reset-all      { color: var(--orange); border-color: var(--orange); background: transparent; }
body.dark-mode .a11y-reset-all:hover { background: var(--orange); color: #ffffff; }

/* ── Section backgrounds — classes and named sections ── */
body.dark-mode .bg-white-section,
body.dark-mode .about-section,
body.dark-mode .services-detail,
body.dark-mode .policy-content,
body.dark-mode .jobs-section        { background: #1a1f2e !important; }

body.dark-mode .bg-offwhite-section,
body.dark-mode .inline-callout-box,
body.dark-mode .services-section,
body.dark-mode .careers-intro,
body.dark-mode .booking-section,
body.dark-mode .news-section,
body.dark-mode .search-results-section { background: #222839 !important; }

/* ── Cards ── */
body.dark-mode .service-card,
body.dark-mode .news-card,
body.dark-mode .benefit-card,
body.dark-mode .mission-statement-card,
body.dark-mode .sidebar-card,
body.dark-mode .contact-form,
body.dark-mode .booking-form,
body.dark-mode .driver-resource-card,
body.dark-mode .maps-group-card,
body.dark-mode .search-suggestions  { background: #222839; border-color: #3a4160; }

body.dark-mode .stat-box            { background: #222839; border-top-color: #5b87c8; }
body.dark-mode .stat-box strong     { color: #5b87c8; }
body.dark-mode .job-listing         { border-color: #3a4160; background: #222839; }
body.dark-mode .job-listing:hover   { border-color: var(--blue); }

/* ── Typography ── */
body.dark-mode h1, body.dark-mode h2,
body.dark-mode h3, body.dark-mode h4 { color: #dde2ee; }
body.dark-mode .section-title        { color: #a8c4f0; }
body.dark-mode p,
body.dark-mode .service-card-body p,
body.dark-mode .news-card-body p,
body.dark-mode .benefit-card p       { color: #b0bcd4; }
body.dark-mode .news-meta            { color: var(--orange); }
body.dark-mode .news-card-body h3    { color: #a8c4f0; }

/* ── Forms ── */
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea  { background: #2a3045; border-color: #3a4160; color: #dde2ee; }
body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,85,140,0.3); }
body.dark-mode .form-group label     { color: #b0bcd4; }
body.dark-mode .form-section-title   { color: var(--orange); }

/* ── Footer ── */
body.dark-mode .site-footer          { background: #0d1018; }
body.dark-mode .footer-bottom        { border-top-color: rgba(255,255,255,0.08); }

/* ── Search ── */
body.dark-mode .search-result-item   { border-color: #3a4160; }
body.dark-mode .search-result-item h3 a { color: #a8c4f0; }
body.dark-mode .search-result-item h3 a:hover { color: var(--orange); }
body.dark-mode .search-results-form-bar { border-color: var(--blue); }
body.dark-mode .search-results-form-bar input { background: #2a3045; color: #dde2ee; }
body.dark-mode mark                  { background: #4a3f00; color: #ffe066; }
body.dark-mode .search-result-url   { color: #5aaa5a; }
body.dark-mode .search-result-tag   { background: #2a3045; color: #a8c4f0; border-color: #3a4160; }

/* ── Policy pages ── */
body.dark-mode .policy-body h2      { color: #a8c4f0; }
body.dark-mode .policy-body p,
body.dark-mode .policy-body li      { color: #b0bcd4; }

/* ── About page ── */
body.dark-mode .about-page-img-wrap { background: #222839; }
body.dark-mode .about-quote         { background: #222839; border-left-color: var(--orange); }
body.dark-mode .about-quote p       { color: #a8c4f0; }
body.dark-mode .highlight-item      { background: #222839; border-left-color: var(--blue); }
body.dark-mode .highlight-item strong { color: #a8c4f0; }
body.dark-mode .highlight-item span  { color: #8892aa; }
body.dark-mode .about-stats-strip .stats-strip-item span { color: rgba(255,255,255,0.7); }

/* ── Map rows ── */
body.dark-mode .map-row             { border-color: #3a4160; }
body.dark-mode .map-row:hover       { background: #2a3045; }
body.dark-mode .map-row-label       { color: #b0bcd4; }
body.dark-mode .map-btn-view        { color: #a8c4f0; border-color: #a8c4f0; background: transparent; }
body.dark-mode .map-btn-view svg    { stroke: #a8c4f0; }
body.dark-mode .map-btn-view:hover  { background: var(--blue); border-color: var(--blue); color: #ffffff; }
body.dark-mode .map-btn-view:hover svg { stroke: #ffffff; }

/* ── Drivers resource cards ── */
body.dark-mode .driver-resource-body h3 { color: #a8c4f0; }
body.dark-mode .driver-resource-body p  { color: #8892aa; }
body.dark-mode .driver-resource-link    { background: #2a3045; color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .driver-resource-link:hover { background: var(--blue); color: #ffffff; border-color: var(--blue); }

/* ── Sidebar card inside booking/contact ── */
body.dark-mode .sidebar-card h3    { color: #a8c4f0; }
body.dark-mode .info-list li       { border-color: #3a4160; color: #b0bcd4; }
body.dark-mode .sidebar-phone      { border-color: #3a4160; color: #b0bcd4; }
body.dark-mode .sidebar-phone a    { color: #a8c4f0; }

/* ── Additional background overrides for classes using var(--white) ── */
/* Cards and panels */
body.dark-mode .service-card-header    { background: var(--blue-dark); }
body.dark-mode .booking-form,
body.dark-mode .contact-form           { background: #222839; }
body.dark-mode .search-results-form-bar button[type="submit"] { background: var(--blue); }

/* Careers page benefits + job sections */
body.dark-mode .benefit-card          { background: #222839; border-top-color: var(--blue); }
body.dark-mode .benefit-card h3       { color: #a8c4f0; }
body.dark-mode .benefit-card p        { color: #8892aa; }
body.dark-mode .job-tag               { background: #2a3045; color: #c0c8db; border-color: #3a4160; }
body.dark-mode .job-tag.orange        { background: #3a2010; color: #f0a070; }

/* Drivers page top cards */
body.dark-mode .driver-top-card       { background: #222839; border-color: #3a4160; }
body.dark-mode .driver-top-card-body h2 { color: #a8c4f0; }
body.dark-mode .driver-top-card-body p { color: #8892aa; }

/* About page mission cards */
body.dark-mode .mission-statement-card { background: #222839; border-top-color: var(--blue); }
body.dark-mode .mission-statement-card h3 { color: #a8c4f0; }
body.dark-mode .mission-statement-card p  { color: #8892aa; }
body.dark-mode .mission-goals-list li    { border-color: #3a4160; }
body.dark-mode .mission-goals-list strong { color: #a8c4f0; }
body.dark-mode .mission-goals-list span  { color: #8892aa; }

/* About contact strip */
body.dark-mode .about-contact-item strong { color: #a8c4f0; }
body.dark-mode .about-contact-item span,
body.dark-mode .about-contact-item a     { color: #b0bcd4; }

/* Service cards body */
body.dark-mode .service-card          { background: #222839; }
body.dark-mode .service-card-body     { background: #222839; }
body.dark-mode .service-card-body p   { color: #8892aa; }

/* News cards */
body.dark-mode .news-card             { background: #222839; border-color: #3a4160; }
body.dark-mode .news-card-body        { background: #222839; }

/* Service detail pages */
body.dark-mode .service-features li       { background: #222839; color: #b0bcd4; }
body.dark-mode .services-detail.tone-tint  { background: linear-gradient(180deg, #2a3045 0%, #222839 100%) !important; }
body.dark-mode .services-detail.tone-dark  { background: linear-gradient(135deg, #0d1018 0%, #1e3a61 100%) !important; }
body.dark-mode .services-detail.tone-dark .section-title { color: #fff; }
body.dark-mode .tone-dark .service-detail-text p { color: rgba(255,255,255,0.86); }
body.dark-mode .tone-dark .service-features li { background: rgba(255,255,255,0.10); color: #fff; }
body.dark-mode .tone-light .service-features li { background: #222839; }
body.dark-mode .tone-tint .service-features li { background: #1a1f2e; }
body.dark-mode .services-detail::before { color: #fff; }
body.dark-mode .service-detail-text p     { color: #b0bcd4; }
body.dark-mode .services-overview-card    { background: #222839; }
body.dark-mode .services-overview-icon    { background: #1a1f2e; color: #8fb2e6; }
body.dark-mode .services-overview-body strong { color: #dde2ee; }
body.dark-mode .services-steps            { background: #1a1f2e radial-gradient(#3a4160 1.2px, transparent 1.4px) 0 0 / 22px 22px; }
body.dark-mode .step-card                 { background: #222839; }
body.dark-mode .step-card h3              { color: #dde2ee; }

/* Stat boxes on home about section */
body.dark-mode .stat-box              { background: #222839; }

/* Search suggestions links */
body.dark-mode .search-suggestions ul li a { background: #2a3045; color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .search-suggestions ul li a:hover { background: var(--blue); color: #ffffff; }

/* Form submit buttons */
body.dark-mode .form-submit-btn       { background: var(--blue); color: #ffffff; }
body.dark-mode .form-submit-btn:hover { background: var(--blue-dark); }

/* Maps group card body rows */
body.dark-mode .maps-group-card .maps-link-list { background: #222839; }

/* Sitemap page */
body.dark-mode .sitemap-col a         { color: #b0bcd4; }
body.dark-mode .sitemap-col a:hover   { color: var(--orange); }
body.dark-mode .sitemap-col h3        { color: #a8c4f0; }

/* Policy page links */
body.dark-mode .policy-body a         { color: #a8c4f0; }

/* Booking sidebar */
body.dark-mode .booking-sidebar .sidebar-card,
body.dark-mode .contact-sidebar .contact-info-card { background: #222839; }

/* CTA banner stays the same (it's already blue) */

/* Footer contact column */
body.dark-mode .footer-col h4         { color: var(--orange); }
body.dark-mode .footer-col ul li a    { color: rgba(255,255,255,0.75); }
body.dark-mode .footer-col ul li a:hover { color: var(--orange); }

/* Page hero stays blue — no override needed */

/* Smooth transition for all color changes */
body, body * {
  transition:
    background-color 0.3s ease,
    border-color     0.3s ease,
    color            0.3s ease,
    box-shadow       0.3s ease;
}
/* But don't slow down transforms/animations */
body *, body *::before, body *::after {
  transition-property:
    background-color, border-color, color, box-shadow,
    opacity, transform, filter;
}

/* ============================================================
   PAGE LOADER — Spinning Wheel
   ============================================================ */

/* Overlay fills viewport, sits on top of everything */
/* Note: background is also set inline in <head> before this CSS loads
   to prevent any flash — see header.php anti-flash script */
html { background: #1e3a61; } /* matches loader so html bg = loader bg on first paint */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #1e3a61;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hidden state — added by JS once page is ready */
.page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Spinning wheel ── */
.loader-wheel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.loader-wheel {
  width: 110px;
  height: 110px;
  animation: wheelSpin 1s linear infinite;
  filter: drop-shadow(0 4px 16px rgba(237,114,44,0.35));
}

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Wind lines — left side of wheel, trailing behind as it moves right ── */
.loader-wind-lines {
  position: absolute;
  top: 50%;
  left: -48px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
}

.loader-wind-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  animation: windBlow 0.8s ease-in-out infinite;
}
.loader-wind-line--1 { width: 28px; animation-delay: 0s;    }
.loader-wind-line--2 { width: 20px; animation-delay: 0.15s; }
.loader-wind-line--3 { width: 24px; animation-delay: 0.3s;  }

@keyframes windBlow {
  0%   { opacity: 0;   transform: translateX(8px);  }
  40%  { opacity: 1;   transform: translateX(0px);  }
  100% { opacity: 0;   transform: translateX(-8px); }
}

/* ── Road beneath the wheel ── */
.loader-road {
  width: 160px;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 6px;
  position: relative;
}

.loader-road-dashes {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.5)   0px,
    rgba(255,255,255,0.5)   24px,
    transparent             24px,
    transparent             44px
  );
  animation: roadScroll 0.6s linear infinite;
}

@keyframes roadScroll {
  from { transform: translateY(-50%) translateX(0); }
  to   { transform: translateY(-50%) translateX(-44px); }
}

/* ── Brand / logo ── */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loader-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

.loader-tagline {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: 0;
  /* Subtle pulse */
  animation: loaderPulse 1.8s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.85; }
}

/* ── Dark mode variant — slightly different bg ── */
body.dark-mode .page-loader { background: #0d1018; }

/* ── Respect reduce-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  .loader-wheel, .loader-road-dashes,
  .loader-wind-line, .loader-tagline { animation: none; opacity: 0.7; }
}
body.a11y-reduce-motion .loader-wheel,
body.a11y-reduce-motion .loader-road-dashes,
body.a11y-reduce-motion .loader-wind-line,
body.a11y-reduce-motion .loader-tagline { animation: none; opacity: 0.7; }

/* ============================================================
   HIGH CONTRAST — Mobile Sidebar overrides
   (Can't use filter on fixed elements — use explicit colors instead)
   ============================================================ */
body.a11y-high-contrast .mobile-sidebar {
  background: #000000;
  border-right: 3px solid #ffffff;
}
body.a11y-high-contrast .mobile-sidebar-header {
  border-bottom-color: #ffffff;
  background: #000000;
}
body.a11y-high-contrast .mobile-sidebar-close {
  background: #ffffff;
  color: #000000;
}
body.a11y-high-contrast .mobile-sidebar-close:hover {
  background: #ffff00;
  color: #000000;
}
body.a11y-high-contrast .mobile-sidebar-search {
  border-bottom-color: #ffffff;
}
body.a11y-high-contrast .mobile-search-input-wrap {
  background: #111111;
  border-color: #ffffff;
}
body.a11y-high-contrast .mobile-search-input-wrap input {
  color: #ffffff;
}
body.a11y-high-contrast .mobile-search-input-wrap input::placeholder {
  color: #aaaaaa;
}
body.a11y-high-contrast .mobile-search-input-wrap svg {
  stroke: #ffffff;
}
body.a11y-high-contrast .mobile-search-submit {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
}
body.a11y-high-contrast .mobile-search-submit:hover {
  background: #ffff00;
  color: #000000;
}

/* Nav buttons */
body.a11y-high-contrast .mobile-nav-btn {
  background: #111111;
  color: #ffffff;
  border-color: #555555;
}
body.a11y-high-contrast .mobile-nav-btn svg {
  fill: #ffffff;
}
body.a11y-high-contrast .mobile-nav-btn:hover,
body.a11y-high-contrast .mobile-nav-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
body.a11y-high-contrast .mobile-nav-btn:hover svg,
body.a11y-high-contrast .mobile-nav-btn.active svg {
  fill: #000000;
}

/* Drivers button inside sidebar */
body.a11y-high-contrast .sidebar-drivers-btn {
  background: #111111;
  border-color: #ffffff;
  color: #ffffff;
}
body.a11y-high-contrast .sidebar-drivers-btn svg {
  stroke: #ffffff;
}
body.a11y-high-contrast .sidebar-drivers-btn span {
  color: #ffffff;
}
body.a11y-high-contrast .sidebar-drivers-btn:hover {
  background: #ffff00;
  border-color: #ffff00;
  color: #000000;
}
body.a11y-high-contrast .sidebar-drivers-btn:hover svg {
  stroke: #000000;
}

/* ============================================================
   HIGH CONTRAST — Accessibility Toolbar overrides
   (Same approach as sidebar — explicit colors, no filter)
   ============================================================ */
body.a11y-high-contrast .a11y-toggle {
  background: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 3px 2px 8px rgba(0,0,0,0.8);
}
body.a11y-high-contrast .a11y-toggle svg {
  fill: #ffffff;
}
body.a11y-high-contrast .a11y-toggle:hover,
body.a11y-high-contrast .a11y-toggle[aria-expanded="true"] {
  background: #ffffff;
  color: #000000;
}
body.a11y-high-contrast .a11y-toggle:hover svg,
body.a11y-high-contrast .a11y-toggle[aria-expanded="true"] svg {
  fill: #000000;
}
body.a11y-high-contrast .a11y-toggle::before {
  color: #ffffff;
}
body.a11y-high-contrast .a11y-toggle:hover::before,
body.a11y-high-contrast .a11y-toggle[aria-expanded="true"]::before {
  color: #000000;
}

body.a11y-high-contrast .a11y-panel {
  background: #000000;
  border: 2px solid #ffffff;
  border-left: none;
}
body.a11y-high-contrast .a11y-section-title {
  color: #ffff00;
  border-bottom: 1px solid #555555;
  padding-bottom: 4px;
}
body.a11y-high-contrast .a11y-btn {
  background: #111111;
  color: #ffffff;
  border-color: #555555;
}
body.a11y-high-contrast .a11y-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
body.a11y-high-contrast .a11y-btn.active {
  background: #ffff00;
  color: #000000;
  border-color: #ffff00;
}
body.a11y-high-contrast .a11y-reset-all {
  background: transparent;
  color: #ffff00;
  border-color: #ffff00;
}
body.a11y-high-contrast .a11y-reset-all:hover {
  background: #ffff00;
  color: #000000;
}

/* ============================================================
   SIDEBAR THEME TOGGLE BUTTON
   ============================================================ */
.sidebar-theme-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--white);
  padding: 7px 10px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  position: relative;
}
.sidebar-theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.9);
  fill: none;
  flex-shrink: 0;
  display: block;
}
.sidebar-theme-label {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}
.sidebar-theme-toggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

/* Icon visibility — mirrors the header toggle */
/* Light mode: show sun */
.sidebar-theme-toggle .theme-icon--sun  { display: block; }
.sidebar-theme-toggle .theme-icon--moon { display: none; }

/* Dark mode: show moon */
body.dark-mode .sidebar-theme-toggle .theme-icon--sun  { display: none; }
body.dark-mode .sidebar-theme-toggle .theme-icon--moon { display: block; }

/* Label text ("Light" / "Dark" / "System") is set directly by theme.js. */

/* High contrast override */
body.a11y-high-contrast .sidebar-theme-toggle {
  background: #111111;
  border-color: #ffffff;
  color: #ffffff;
}
body.a11y-high-contrast .sidebar-theme-toggle svg { stroke: #ffffff; }
body.a11y-high-contrast .sidebar-theme-toggle:hover {
  background: #ffff00;
  border-color: #ffff00;
}
body.a11y-high-contrast .sidebar-theme-toggle:hover svg { stroke: #000000; }

/* ============================================================
   DRIVERS — PIN GATE
   ============================================================ */
/* ============================================================
   DRIVERS — PIN GATE  (viewport-aware fluid layout)
   ============================================================ */

/* Section fills the remaining viewport height and centers the card in it.
   min-height (not height) + normal overflow: on any normal device the
   clamp()s below keep the card within this height so it looks identical
   to a hard-capped box (fills the screen, no visible scrollbar) — but on
   an extreme viewport (a very short landscape phone) where content can't
   shrink any further, the section grows instead of clipping content
   under a hidden overflow, and the page scrolls to reach it. A clipped,
   unreachable Unlock button is worse than an occasional scrollbar. */
.pin-gate-section {
  min-height: calc(100vh - var(--header-height, 132px));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
}
.pin-gate-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
}

/*
  Card uses clamp() throughout so it scales fluidly from a tiny
  phone (320px) all the way up to a large desktop, always fitting
  without a scrollbar.
*/
.pin-gate-card {
  background: var(--white);
  border-radius: clamp(8px, 2vw, 16px);
  box-shadow: var(--shadow-lg);
  /* Same vh-based scaling as before (already tuned to always fit without a
     scrollbar) — only the ceiling is raised, so short/landscape viewports
     are unaffected and tall/portrait ones (most tablets) get noticeably
     more breathing room. */
  padding: clamp(16px, 3.4vh, 52px) clamp(14px, 4vw, 48px) clamp(12px, 2.8vh, 40px);
  width: 100%;
  /* Most visitors here are on tablets — let the card grow to fill more of
     that screen instead of staying phone-sized. Still capped so it doesn't
     sprawl on a desktop monitor. */
  max-width: min(680px, 94vw);
  text-align: center;
  border-top: 4px solid var(--blue);
}

/* ── Landscape: go wide instead of staying a narrow phone-style column ──
   Splits the card into two columns — heading/instructions on the left,
   the PIN pad on the right — so it uses the empty space at the sides
   instead of just centering a narrow card, and each column has less to
   stack vertically (the heading/sub no longer sit above the pad), which
   is also why the pad/input/submit can size up further here than the
   single-column layout below allows without risking the clipping a
   previous pass into this ran into (see commit history). */
@media (orientation: landscape) and (min-width: 600px) and (min-height: 480px) {
  /* The two-column layout below makes the card much shorter than in the
     stacked/portrait layout. .pin-gate-section still forces a min-height
     of the full viewport (minus header) and vertically centers within
     it, so keeping align-items:center here left a large empty gap above
     (and below) the now-short card. Drop the forced min-height and
     anchor near the top instead, with just a small breathing-room
     padding, so the section hugs the card's actual height. */
  .pin-gate-section {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: clamp(16px, 3vh, 40px);
  }
  .pin-gate-wrap {
    padding-top: clamp(16px, 3vh, 40px);
  }
  .pin-gate-card {
    max-width: min(1120px, 92vw);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 56px);
    align-items: center;
    text-align: left;
    padding-top: clamp(16px, 2.6vh, 40px);
    padding-bottom: clamp(16px, 2.6vh, 40px);
  }
  .pin-gate-info   { grid-column: 1; grid-row: 1; }
  .pin-gate-action { grid-column: 2; grid-row: 1; }
  .pin-gate-help   { grid-column: 1 / -1; grid-row: 2; text-align: center; margin-top: clamp(6px, 1.4vh, 16px); }
}

/* Logo — shrinks on short/narrow screens */
.pin-gate-logo {
  height: clamp(44px, 8vh, 88px);
  width: auto;
  object-fit: contain;
  margin: 0 auto clamp(8px, 1.5vh, 20px);
  display: block;
}

.pin-gate-card h1 {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.8vw, 1.7rem);
  color: var(--blue);
  margin-bottom: clamp(2px, 0.5vh, 7px);
}
.pin-gate-sub {
  color: var(--gray-500);
  font-size: clamp(0.78rem, 2vw, 1.05rem);
  margin-bottom: clamp(8px, 1.5vh, 20px);
  line-height: 1.4;
}

/* ── Error / lockout messages ── */
.pin-error,
.pin-lockout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: clamp(6px, 1vh, 12px) 12px;
  border-radius: var(--radius);
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 600;
  margin-bottom: clamp(6px, 1.2vh, 16px);
  text-align: left;
}
.pin-error { background: #fef0f0; color: #c0392b; border: 1.5px solid #f5c6c6; }
.pin-info  { background: #e8f4fd; color: #1a5276; border: 1.5px solid #aed6f1; }
.pin-info svg { stroke: #1a5276; width: clamp(16px, 3vw, 20px); height: clamp(16px, 3vw, 20px); flex-shrink: 0; }
.pin-error svg { stroke: #c0392b; width: clamp(16px, 3vw, 20px); height: clamp(16px, 3vw, 20px); flex-shrink: 0; }
.pin-lockout { background: #fff8e1; color: #7a5800; border: 1.5px solid #ffe082; }
.pin-lockout svg { stroke: #7a5800; width: clamp(16px, 3vw, 20px); height: clamp(16px, 3vw, 20px); flex-shrink: 0; }

/* ── Mobile keyboard input — visible but styled like a PIN field ── */
.pin-keyboard-input {
  width: 100%;
  padding: clamp(8px, 1.5vh, 15px) 16px;
  margin-bottom: clamp(6px, 1.2vh, 14px);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 5.5vw, 2.3rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.4em;
  color: var(--blue);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* Show as large dots visually */
  -webkit-text-security: disc;
  text-security: disc;
}
.pin-keyboard-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237,114,44,0.2);
  background: var(--white);
}
.pin-keyboard-input:disabled { opacity: 0.4; cursor: not-allowed; }

/* Fallback for browsers that don't support -webkit-text-security */
@supports not (-webkit-text-security: disc) {
  .pin-keyboard-input { font-size: clamp(1rem, 3vw, 1.4rem); letter-spacing: 0.25em; }
}

body.dark-mode .pin-keyboard-input {
  background: #2a3045;
  border-color: #3a4160;
  color: #a8c4f0;
}
body.dark-mode .pin-keyboard-input:focus {
  border-color: var(--orange);
  background: #222839;
}


/* ── Shake animation for input error ── */
@keyframes pinShake {
  0%, 100% { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
}
.pin-input-error {
  animation: pinShake 0.45s ease !important;
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.25) !important;
}

/* ── Numpad ── */
.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1.4vw, 14px);
  margin-bottom: clamp(8px, 1.5vh, 16px);
}
/* 0 key: now 10th in a 3-col grid (row 4 col 1), spans 2 cols so it stretches left */
.pin-key[data-key="0"] {
  grid-column: span 2;
}
.pin-key {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Same vh coefficient as before (already tuned to always fit) — only
     the ceiling is raised, so this only grows on viewports with enough
     height to spare, like a tablet held in portrait. */
  height: clamp(44px, 7.5vh, 78px);
  border-radius: 10px;
  border: 1.5px solid var(--gray-300);
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3.2vw, 1.8rem);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pin-key:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.04);
}
.pin-key:active:not(:disabled) { transform: scale(0.94); }
.pin-key:disabled { opacity: 0.4; cursor: not-allowed; }
.pin-key--empty   { background: transparent; border-color: transparent; cursor: default; }
.pin-key--delete  { font-size: clamp(0.9rem, 2.4vw, 1.2rem); }
.pin-key--delete svg { width: clamp(18px, 4.2vw, 25px); height: clamp(18px, 4.2vw, 25px); stroke: currentColor; }
.pin-key--delete:hover:not(:disabled) svg { stroke: var(--white); }

/* ── Unlock / submit button — ORANGE ── */
.pin-submit {
  width: 100%;
  padding: clamp(10px, 1.8vh, 17px);
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: clamp(0.88rem, 2.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: clamp(6px, 1.2vh, 15px);
}
.pin-submit:hover:not(:disabled) {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.pin-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.pin-gate-help {
  font-size: clamp(0.68rem, 1.7vw, 0.85rem);
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Dark mode ── */
body.dark-mode .pin-gate-section { background: #1a1f2e; }
body.dark-mode .pin-gate-card    { background: #222839; border-color: var(--blue); }
body.dark-mode .pin-gate-card h1 { color: #a8c4f0; }
body.dark-mode .pin-gate-sub     { color: #8892aa; }
body.dark-mode .pin-dot          { border-color: #3a4160; }
body.dark-mode .pin-key          { background: #2a3045; border-color: #3a4160; color: #dde2ee; }
body.dark-mode .pin-key:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #ffffff; }
body.dark-mode .pin-error        { background: #3a1010; color: #ff8080; border-color: #7a2020; }
body.dark-mode .pin-lockout      { background: #2a2000; color: #ffd060; border-color: #5a4000; }
body.dark-mode .pin-submit       { background: var(--orange); }
body.dark-mode .pin-submit:hover:not(:disabled) { background: var(--orange-dark); }

/* ── Landscape: size the pad/input/submit up further ──
   Same idea as the .pin-gate-card landscape rule above — now that the
   heading/sub aren't stacked above the pad in this layout, the action
   column has more vertical budget to spend on the interactive
   elements, so they can grow past the single-column ceilings. */
@media (orientation: landscape) and (min-width: 600px) and (min-height: 480px) {
  .pin-gate-card h1  { font-size: clamp(1.2rem, 2.6vw, 2.1rem); }
  .pin-gate-sub      { font-size: clamp(0.85rem, 1.6vw, 1.15rem); }
  .pin-keyboard-input {
    font-size: clamp(1.6rem, 4.4vw, 2.6rem);
    padding: clamp(10px, 2.4vh, 20px) 18px;
  }
  .pin-pad { gap: clamp(8px, 1.4vw, 16px); }
  .pin-key {
    height: clamp(48px, 9.5vh, 84px);
    font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  }
  .pin-submit {
    padding: clamp(12px, 2.6vh, 20px);
    font-size: clamp(0.92rem, 1.8vw, 1.15rem);
  }
}

/* ── Lock Portal button in drivers hero — ORANGE ── */
.drivers-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 22px;
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.drivers-logout-btn svg {
  width: 15px; height: 15px;
  stroke: var(--white);
  flex-shrink: 0;
}
.drivers-logout-btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(237,114,44,0.45);
}
.drivers-logout-btn:hover svg { stroke: var(--white); }

/* ============================================================
   ERROR PAGES (400, 401, 403, 404, 500, etc.)
   ============================================================ */
.error-page-section {
  min-height: calc(100vh - var(--header-height, 132px) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
.error-page-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20640%20640'%3E%3Cpath%20fill='%23ffffff'%20fill-opacity='0.07'%20d='M408%20120C408%2089.1%20433.1%2064%20464%2064C494.9%2064%20520%2089.1%20520%20120C520%20150.9%20494.9%20176%20464%20176C433.1%20176%20408%20150.9%20408%20120zM301.4%20188.1C295%20182.9%20285.8%20183.4%20280%20189.2L246.6%20222.6C234.1%20235.1%20213.8%20235.1%20201.3%20222.6C188.8%20210.1%20188.8%20189.8%20201.3%20177.3L234.8%20144C263.8%20115%20310%20112.6%20341.8%20138.5L423.1%20204.5C444.5%20221.9%20446.9%20253.7%20428.3%20274L386.5%20320L484.5%20320C514.8%20320%20537.5%20347.7%20531.6%20377.4L503.4%20518.3C499.9%20535.6%20483.1%20546.9%20465.7%20543.4C448.3%20539.9%20437.1%20523.1%20440.6%20505.7L465%20384L412.8%20384C414.9%20394.3%20416%20405%20416%20416C416%20504.4%20344.4%20576%20256%20576C167.6%20576%2096%20504.4%2096%20416C96%20327.6%20167.6%20256%20256%20256C262%20256%20267.9%20256.3%20273.8%20257L324.2%20206.6L301.5%20188.1zM256%20512C309%20512%20352%20469%20352%20416C352%20363%20309%20320%20256%20320C203%20320%20160%20363%20160%20416C160%20469%20203%20512%20256%20512z'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.error-page-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Big error code number */
.error-code-badge {
  font-family: var(--font-head);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 700;
  color: var(--orange);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  user-select: none;
}

/* Icon */
.error-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
}
.error-icon-wrap svg {
  width: 40px;
  height: 40px;
  stroke: rgba(255,255,255,0.85);
}

/* Title */
.error-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}

/* Message */
.error-message {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* Detail */
.error-detail {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 36px;
}
.error-detail a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.error-detail a:hover { color: #ffaa66; }

/* Action buttons */
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.error-actions .btn { font-size: 0.9rem; padding: 11px 22px; }

/* Helpful links grid */
.error-links {
  margin-bottom: 40px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
}
.error-links p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 14px;
}
.error-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
}
.error-links ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.error-links ul li a::before {
  content: '→';
  color: var(--orange);
  font-size: 0.85rem;
}
.error-links ul li a:hover { color: var(--white); }

/* Phone strip */
.error-phone-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.error-phone-strip a {
  color: var(--orange);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition);
}
.error-phone-strip a:hover { color: #ffaa66; }
.error-phone-divider { color: rgba(255,255,255,0.25); }

/* Dark mode */
body.dark-mode .error-page-section {
  background: linear-gradient(160deg, #0a1220 0%, #0d1a30 60%, #132040 100%);
}

/* Responsive */
@media (max-width: 600px) {
  .error-code-badge { font-size: 5rem; margin-bottom: 8px; }
  .error-actions    { flex-direction: column; align-items: center; }
  .error-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .error-links ul   { flex-direction: column; align-items: center; }
}

/* ============================================================
   BLOG — Public styles
   ============================================================ */

/* ── Filter bar ── */
.blog-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 0;
  position: sticky;
  top: var(--header-height, 132px);
  z-index: 10;
}
.blog-filter-scroll {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 2px; scrollbar-width: none;
}
.blog-filter-scroll::-webkit-scrollbar { display: none; }
.blog-filter-btn {
  display: inline-flex; align-items: center;
  padding: 6px 16px; border-radius: 99px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--gray-700); background: var(--off-white);
  border: 1.5px solid var(--gray-300);
  transition: all var(--transition); white-space: nowrap; flex-shrink: 0;
}
.blog-filter-btn:hover,
.blog-filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Blog index grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-100);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-sm);
}
.blog-card--featured:hover {
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-md);
}
.blog-card-img-link { display: block; overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.blog-card-ribbon {
  position: absolute;
  top: 12px;
  left: -8px;
  background: var(--orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px 5px 18px;
  border-radius: 0 4px 4px 0;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.blog-card-ribbon::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  border-style: solid;
  border-width: 6px 8px 0 0;
  border-color: var(--orange-dark) transparent transparent transparent;
}
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card-img-placeholder svg { width: 48px; height: 48px; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-category {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; color: var(--white);
}
.blog-card-date { font-size: .8rem; color: var(--gray-500); }
.blog-card-title { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card-title a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
.blog-card-title a:hover { color: var(--orange); }
.blog-card-excerpt { font-size: .9rem; color: var(--gray-500); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-100);
}
.blog-card-author { font-size: .78rem; color: var(--gray-500); }
.blog-card-read-more {
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  color: var(--orange); text-decoration: none; transition: gap var(--transition);
  display: flex; align-items: center; gap: 4px;
}
.blog-card-read-more:hover { gap: 8px; }

/* ── Pagination ── */
.blog-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.blog-page-btn {
  padding: 8px 16px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  color: var(--blue); border: 1.5px solid var(--gray-300);
  background: var(--white); text-decoration: none; transition: all var(--transition);
}
.blog-page-btn:hover,
.blog-page-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Empty state ── */
.blog-empty { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.blog-empty p { font-size: 1.05rem; margin-bottom: 20px; }

/* ── Article hero ── */
.blog-article-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 64px 0 52px;
  position: relative; overflow: hidden;
}
.blog-article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-bg) center/cover no-repeat;
  opacity: .18; pointer-events: none;
}
.blog-article-hero-inner { position: relative; z-index: 1; max-width: 1100px; }
.blog-article-hero .blog-article-excerpt { max-width: 900px; }
.blog-article-hero .breadcrumb {
  display: inline-flex; flex-wrap: wrap; justify-content: flex-start;
  margin-top: 4px; padding: 8px 16px;
  background: rgba(10, 20, 40, .62);
  border-radius: 999px;
  color: #fff; font-size: .85rem;
}
.blog-article-hero .breadcrumb a { color: #ffb069; font-weight: 600; }
.blog-article-hero .breadcrumb a:hover { color: #fff; }
.blog-article-hero .breadcrumb span { opacity: 1; }
.blog-article-hero .breadcrumb span:not([aria-current]) { color: rgba(255,255,255,.6); }
.blog-article-meta-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px; font-size: .85rem; color: rgba(255,255,255,.75);
}
.blog-article-cat {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; color: var(--white); text-decoration: none;
}
.blog-article-hero h1 { color: var(--white); font-size: clamp(1.6rem,4vw,2.8rem); line-height: 1.2; margin-bottom: 14px; }
.blog-article-excerpt { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 20px; }

/* ── Article two-column layout ── */
.blog-article-layout { background: var(--off-white); }

.blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.blog-article-body {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}
/* Cap reading width and center it inside the full-width card (photo album stays wide) */
.blog-article-body > *:not(.blog-album) {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.blog-article-sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

/* ── Booking strip (below article) ── */
.blog-booking-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 26px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow-sm);
}
.blog-booking-strip h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 4px;
}
.blog-booking-strip p { margin: 0; color: rgba(255,255,255,.85); font-size: .98rem; }
.blog-booking-strip-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.blog-booking-strip-phone {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}
.blog-booking-strip-phone:hover { text-decoration: underline; }

/* ── Prose content ── */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.prose h2, .prose h3, .prose h4 {
  font-family: var(--font-head);
  color: var(--blue);
  margin: 32px 0 14px;
}
.prose h2 { font-size: 1.5rem; border-bottom: 2px solid var(--gray-100); padding-bottom: 8px; }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1rem; }
.prose p  { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 28px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose blockquote {
  border-left: 4px solid var(--orange);
  padding: 14px 22px; margin: 24px 0;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--gray-700);
}
.prose a  { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: var(--orange); }
.prose img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; display: block; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: .82rem; color: var(--gray-500); text-align: center; margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 16px; border: 1px solid var(--gray-300); text-align: left; }
.prose th { background: var(--off-white); font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.prose code { background: var(--off-white); padding: 2px 6px; border-radius: 3px; font-size: .88em; color: var(--blue-dark); }
.prose pre  { background: #1e2a3a; color: #e2e8f0; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin: 20px 0; }
.prose hr   { border: none; border-top: 2px solid var(--gray-100); margin: 32px 0; }
.prose strong, .prose b { color: var(--text); font-weight: 700; }

/* ── Video embeds ── */
.blog-article-videos { margin-top: 32px; border-top: 2px solid var(--gray-100); padding-top: 24px; }
.blog-video-embed { margin: 24px 0; }
.blog-video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.blog-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-video-embed figcaption { font-size: .82rem; color: var(--gray-500); text-align: center; margin-top: 8px; }

/* ── Tags ── */
.blog-article-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 28px 0; padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.blog-article-tags strong { color: var(--gray-700); font-size: .85rem; margin-right: 4px; }
.blog-tag {
  padding: 5px 14px; background: var(--off-white);
  border: 1.5px solid var(--gray-300); border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: var(--blue);
  text-decoration: none; transition: all var(--transition);
}
.blog-tag:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Share ── */
.blog-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 24px 0; padding: 18px 20px;
  background: var(--off-white); border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}
.blog-share strong { font-size: .85rem; color: var(--gray-700); }
.blog-share-btn {
  padding: 7px 14px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: none; transition: all var(--transition);
}
.blog-share-btn--fb   { background: #1877f2; color: #fff; }
.blog-share-btn--tw   { background: #000; color: #fff; }
.blog-share-btn--li   { background: #0a66c2; color: #fff; }
.blog-share-btn--copy { background: var(--white); color: var(--blue); border: 1.5px solid var(--gray-300); }
.blog-share-btn--copy:hover { background: #27ae60; color: #fff; border-color: #27ae60; }

/* ── Sidebar cards ── */
.blog-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  border: 1px solid var(--gray-100);
}
.blog-sidebar-card h3 {
  font-family: var(--font-head);
  font-size: 1rem; color: var(--blue);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.blog-sidebar-card p { font-size: .9rem; color: var(--gray-700); margin-bottom: 10px; line-height: 1.55; }

/* Events in sidebar */
.blog-sidebar-events { border-top: 4px solid var(--orange); }
.blog-event-item {
  display: flex; gap: 14px; padding: 12px 0;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}
.blog-event-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-event-dates {
  display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}
.blog-event-date {
  background: var(--blue); color: var(--white);
  border-radius: var(--radius); padding: 10px 12px;
  text-align: center; flex-shrink: 0; min-width: 56px;
}
.blog-event-date strong {
  display: block; font-size: .65rem; text-transform: uppercase;
  letter-spacing: .08em; opacity: .85; font-family: var(--font-head);
}
.blog-event-date span {
  display: block; font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 700; line-height: 1.1;
}
.blog-event-date time {
  display: block; font-size: .68rem; margin-top: 4px; opacity: .9;
}
.blog-event-info { min-width: 0; flex: 1; }
.blog-event-info strong {
  display: block; font-size: .92rem;
  color: var(--text); margin-bottom: 4px; line-height: 1.3;
}
.blog-event-loc { font-size: .78rem; color: var(--gray-500); display: block; margin-bottom: 6px; }
.blog-event-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 5px 12px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.blog-event-maps-btn svg {
  width: 13px; height: 13px;
  stroke: #ffffff;
  flex-shrink: 0;
}
.blog-event-maps-btn:hover {
  background: var(--orange);
  transform: translateY(-1px);
}
body.dark-mode .blog-event-maps-btn { background: var(--blue); color: #ffffff; }
body.dark-mode .blog-event-maps-btn:hover { background: var(--orange); }
.blog-event-info p { font-size: .82rem; color: var(--gray-500); margin: 4px 0 0; line-height: 1.5; }

/* Recent posts */
.blog-sidebar-recent { list-style: none; }
.blog-sidebar-recent li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
}
.blog-sidebar-recent li:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar-recent a {
  color: var(--blue); font-size: .9rem; text-decoration: none;
  display: block; margin-bottom: 3px; line-height: 1.35;
  transition: color var(--transition);
}
.blog-sidebar-recent a:hover { color: var(--orange); }
.blog-sidebar-recent time { font-size: .75rem; color: var(--gray-500); }

/* ── DARK MODE — comprehensive blog overrides ── */
/* Filter bar */
body.dark-mode .blog-filter-bar    { background: #12161f; border-color: #2a3045; }
body.dark-mode .blog-filter-btn    { background: #222839; color: #c0c8db; border-color: #3a4160; }
/* Cards on blog index */
body.dark-mode .blog-card          { background: #222839; border-color: #3a4160; }
body.dark-mode .blog-card-title a  { color: #a8c4f0; }
body.dark-mode .blog-card-excerpt  { color: #8892aa; }
body.dark-mode .blog-card-author   { color: #8892aa; }
body.dark-mode .blog-card-date     { color: #8892aa; }
body.dark-mode .blog-card-footer   { border-color: #3a4160; }
/* Article page */
body.dark-mode .blog-article-layout { background: #12161f; }
body.dark-mode .blog-article-body  { background: #1a1f2e; border-color: #3a4160; }
/* Prose content */
body.dark-mode .prose              { color: #c8d0e0 !important; }
/* Force all inline text elements to inherit — overrides any residual inline style="color:..." */
body.dark-mode .prose *:not(a):not(code):not(pre) { color: inherit !important; }
body.dark-mode .prose strong,
body.dark-mode .prose b  { color: #ffffff !important; }
body.dark-mode .prose em,
body.dark-mode .prose i  { color: #c8d0e0 !important; }

body.dark-mode .prose h2,
body.dark-mode .prose h3,
body.dark-mode .prose h4           { color: #a8c4f0; border-color: #2a3045; }
body.dark-mode .prose a            { color: #7aabf0; }
body.dark-mode .prose blockquote   { background: #222839; color: #b0bcd4; border-left-color: var(--orange); }
body.dark-mode .prose th           { background: #222839; color: #a8c4f0; }
body.dark-mode .prose td,
body.dark-mode .prose th           { border-color: #3a4160; }
body.dark-mode .prose code         { background: #222839; color: #a8c4f0; }
body.dark-mode .prose hr           { border-color: #2a3045; }
body.dark-mode .prose figcaption   { color: #8892aa; }
/* Tags */
body.dark-mode .blog-article-tags  { border-color: #2a3045; }
body.dark-mode .blog-article-tags strong { color: #b0bcd4; }
body.dark-mode .blog-tag           { background: #222839; color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .blog-tag:hover     { background: var(--blue); color: #fff; border-color: var(--blue); }
/* Share box */
body.dark-mode .blog-share         { background: #222839; border-color: #3a4160; }
body.dark-mode .blog-share strong  { color: #b0bcd4; }
body.dark-mode .blog-share-btn--copy { background: #2a3045; color: #a8c4f0; border-color: #3a4160; }
/* Sidebar */
body.dark-mode .blog-sidebar-card  { background: #1a1f2e; border-color: #3a4160; }
body.dark-mode .blog-sidebar-card h3 { color: #a8c4f0; border-color: #2a3045; }
body.dark-mode .blog-sidebar-card p  { color: #8892aa; }
/* Events */
body.dark-mode .blog-event-item    { border-color: #2a3045; }
body.dark-mode .blog-event-info strong { color: #dde2ee; }
body.dark-mode .blog-event-loc     { color: #8892aa; }
body.dark-mode .blog-event-info p  { color: #8892aa; }
/* Recent posts */
body.dark-mode .blog-sidebar-recent li  { border-color: #2a3045; }
body.dark-mode .blog-sidebar-recent a   { color: #a8c4f0; }
body.dark-mode .blog-sidebar-recent a:hover { color: var(--orange); }
body.dark-mode .blog-sidebar-recent time    { color: #8892aa; }
/* Pagination */
body.dark-mode .blog-page-btn      { background: #222839; color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .blog-page-btn.active,
body.dark-mode .blog-page-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .blog-article-body { padding: 28px 22px; }
  .blog-booking-strip { padding: 22px 24px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article-sidebar { grid-template-columns: 1fr; }
  .blog-article-body { padding: 20px 16px; }
  .blog-booking-strip-actions { width: 100%; }
  .blog-booking-strip-actions .btn { flex: 1; justify-content: center; }
}

/* ── Blog article cover image (displayed below hero) ── */
.blog-article-cover-wrap {
  background: var(--white);
  padding: 32px 0;
}
.blog-article-cover {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.blog-article-cover-img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  display: block;
}
.blog-article-cover figcaption {
  font-size: .82rem;
  color: var(--gray-500);
  text-align: center;
  padding: 8px;
  background: var(--off-white);
}
body.dark-mode .blog-article-cover-wrap { background: #1a1f2e; }
body.dark-mode .blog-article-cover figcaption { background: #222839; color: #8892aa; }

/* ============================================================
   PRISMHR HIRING WIDGET — blend with site styling
   ============================================================ */

.prismhr-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  padding: 12px;
  overflow: hidden;
}

/* Font and base text */
#hiringthing-jobs,
#hiringthing-jobs * {
  font-family: var(--font-body) !important;
}

/* Job title links — target all anchor tags inside the widget headings */
#hiringthing-jobs h2,
#hiringthing-jobs h3,
#hiringthing-jobs h4,
#hiringthing-jobs .ht-job-title,
#hiringthing-jobs .hiringthing-job-title {
  color: var(--blue) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
}
#hiringthing-jobs h2 a,
#hiringthing-jobs h3 a,
#hiringthing-jobs h4 a,
#hiringthing-jobs .ht-job-title a,
#hiringthing-jobs .hiringthing-job-title a,
#hiringthing-jobs a.ht-job-title {
  color: var(--blue) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
#hiringthing-jobs h2 a:hover,
#hiringthing-jobs h3 a:hover,
#hiringthing-jobs h4 a:hover,
#hiringthing-jobs .ht-job-title a:hover,
#hiringthing-jobs a.ht-job-title:hover {
  color: var(--orange) !important;
  text-decoration: underline !important;
}

/* Location text */
#hiringthing-jobs .ht-job-location,
#hiringthing-jobs .hiringthing-job-location {
  color: var(--gray-500) !important;
  font-size: 0.82rem !important;
}

/* Body/description text */
#hiringthing-jobs p,
#hiringthing-jobs .ht-job-description {
  color: var(--gray-700) !important;
  line-height: 1.65 !important;
  font-size: 0.92rem !important;
}

/* Dividers between jobs */
#hiringthing-jobs .ht-job-listing,
#hiringthing-jobs .hiringthing-job {
  border-bottom: 2px solid var(--gray-100) !important;
  padding: 28px 8px !important;
  position: relative !important;
}
#hiringthing-jobs .ht-job-listing:last-child,
#hiringthing-jobs .hiringthing-job:last-child {
  border-bottom: none !important;
}
/* Orange accent line before each job (except first) */
#hiringthing-jobs .ht-job-listing + .ht-job-listing::before,
#hiringthing-jobs .hiringthing-job + .hiringthing-job::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Apply Now button — compact, brand orange */
#hiringthing-jobs a.ht-apply-link,
#hiringthing-jobs .ht-apply-link,
#hiringthing-jobs a[class*="apply"],
#hiringthing-jobs a[href*="apply"] {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  padding: 8px 20px !important;
  background: var(--orange) !important;
  border: 2px solid var(--orange) !important;
  color: #ffffff !important;
  font-family: var(--font-head) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: var(--radius) !important;
  transition: background 0.2s, border-color 0.2s !important;
  white-space: nowrap !important;
}
#hiringthing-jobs a.ht-apply-link:hover,
#hiringthing-jobs a[class*="apply"]:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #ffffff !important;
}

/* Dark mode */
body.dark-mode .prismhr-wrap         { background: #222839; border-color: #3a4160; }
body.dark-mode #hiringthing-jobs h2 a,
body.dark-mode #hiringthing-jobs h3 a { color: #a8c4f0 !important; }
body.dark-mode #hiringthing-jobs p    { color: #b0bcd4 !important; }
body.dark-mode #hiringthing-jobs .ht-job-location { color: #8892aa !important; }
body.dark-mode #hiringthing-jobs .ht-job-listing  { border-color: #3a4160 !important; }



/* ============================================================
   PORTAL SECTION — homepage
   ============================================================ */
.portal-section { background: var(--white); }
.portal-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.portal-text .section-title { text-align: left; }
.portal-text p { color: var(--gray-700); line-height: 1.7; margin-bottom: 8px; font-size: 1.02rem; }
.portal-features {
  list-style: none;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portal-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.portal-features li svg {
  width: 18px; height: 18px;
  stroke: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Portal mockup card */
.portal-visual { display: flex; justify-content: center; }
.portal-card-mockup {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(46,85,140,0.18);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  border-top: 4px solid var(--blue);
}
.portal-card-header {
  background: var(--blue);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.portal-card-badge {
  background: #27ae60;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portal-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
}
.portal-card-label { color: var(--gray-500); font-size: 0.8rem; }
.portal-card-value { font-weight: 600; color: var(--text); }
.portal-card-value--green { color: #27ae60; }
.portal-card-value--orange { color: var(--orange); }
.portal-card-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--off-white);
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Dark mode */
body.dark-mode .portal-section { background: #1a1f2e; }
body.dark-mode .portal-text p { color: #b0bcd4; }
body.dark-mode .portal-features li { color: #b0bcd4; }
body.dark-mode .portal-card-mockup { background: #222839; border-color: #3a4160; }
body.dark-mode .portal-card-row { border-color: #3a4160; }
body.dark-mode .portal-card-label { color: #8892aa; }
body.dark-mode .portal-card-value { color: #dde2ee; }
body.dark-mode .portal-card-footer { background: #12161f; color: #8892aa; }

@media (max-width: 900px) {
  .portal-inner { grid-template-columns: 1fr; gap: 36px; }
  .portal-visual { order: -1; }
  .portal-card-mockup { max-width: 100%; }
}

/* ============================================================
   EMBEDDED FORMS — survey, contact, booking
   ============================================================ */
.embedded-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--blue);
  padding: 24px;
  overflow: hidden;
}
.survey-form-wrap { max-width: 860px; margin: 0 auto; }

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.contact-form-wrap { min-width: 0; }

/* Booking page layout */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.booking-form-wrap { min-width: 0; }
.booking-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-hours { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.sidebar-hours h4 { font-family: var(--font-head); font-size: 0.88rem; color: var(--blue); margin-bottom: 6px; }
.sidebar-hours p  { font-size: 0.85rem; color: var(--gray-700); margin-bottom: 4px; }

/* Dark mode */
body.dark-mode .embedded-form-wrap { background: #1a1f2e; border-color: #3a4160; }
body.dark-mode .sidebar-hours { border-color: #3a4160; }
body.dark-mode .sidebar-hours h4 { color: #a8c4f0; }
body.dark-mode .sidebar-hours p  { color: #8892aa; }

/* Responsive */
@media (max-width: 900px) {
  .contact-layout,
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .booking-sidebar { grid-template-columns: 1fr; }
}

/* ============================================================
   SURVEY PAGE
   ============================================================ */
.survey-intro { text-align: center; }

/* ============================================================
   ABOUT PAGE — redesign (stats card, tone sections)
   ============================================================ */
.am-stats { margin-top: -40px; position: relative; z-index: 2; }
.am-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--orange); overflow: hidden;
}
.am-stats-grid div { padding: 26px 16px; text-align: center; border-right: 1px solid var(--gray-100); }
.am-stats-grid div:last-child { border-right: none; }
.am-stats-grid strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--blue); line-height: 1; }
.am-stats-grid span { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); }

.am-light { position: relative; overflow: hidden; background: var(--white); padding-top: 96px; }
.am-light::before {
  content: attr(data-num); position: absolute; right: 2%; top: 0;
  font: 700 clamp(9rem, 22vw, 20rem)/1 var(--font-head);
  color: var(--blue); opacity: 0.05; pointer-events: none; user-select: none;
}
.am-light > .container { position: relative; }
.am-light .about-page-img-wrap { box-shadow: var(--shadow-lg); }
.am-light .about-page-img-wrap::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--orange); opacity: 0.35; border-radius: 12px; pointer-events: none;
}
.am-light .about-page-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.am-dark {
  position: relative; background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 130px 0 120px; margin: -2px 0;
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.am-dark .section-title { color: var(--white); }
.am-dark p { color: rgba(255,255,255,0.86); }
.am-dark .about-quote {
  background: rgba(255,255,255,0.10); border-left: 5px solid var(--orange);
  border-radius: 0 10px 10px 0; padding: 22px 26px;
}
.am-dark .about-quote p { color: var(--white); font-size: 1.25rem; font-family: var(--font-head); font-weight: 500; }

.am-tint { background: linear-gradient(180deg, #e3e9f4, var(--off-white)); border-top: 6px solid var(--blue); }
.am-tint .mission-statement-card { border-top: 4px solid var(--orange); box-shadow: var(--shadow-md); background: var(--white); }

@media (max-width: 1024px) {
  .am-light .about-page-img-wrap::before { inset: 14px -10px -14px 14px; }
}
@media (max-width: 768px) {
  .am-stats-grid { grid-template-columns: 1fr 1fr; }
  .am-stats-grid div:nth-child(2) { border-right: none; }
  .am-stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .am-light .about-page-highlights { grid-template-columns: 1fr; }
}

body.dark-mode .am-stats-grid { background: #222839; }
body.dark-mode .am-stats-grid div { border-color: #3a4160; }
body.dark-mode .am-stats-grid strong { color: #a8c4f0; }
body.dark-mode .am-light { background: #1a1f2e; }
body.dark-mode .am-light::before { color: #fff; }
body.dark-mode .am-dark { background: linear-gradient(135deg, #0d1018, #1e3a61); }
body.dark-mode .am-dark .section-title { color: #fff; }
body.dark-mode .am-dark p { color: rgba(255,255,255,0.86); }
body.dark-mode .am-tint { background: linear-gradient(180deg, #2a3045, #222839); }
body.dark-mode .am-tint .mission-statement-card { background: #1a1f2e; }

/* ============================================================
   CONTACT PAGE — redesign
   ============================================================ */
.cm-cards { margin-top: -40px; position: relative; z-index: 2; }
.cm-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 12px; padding: 22px 24px;
  box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cm-card:hover { transform: translateY(-4px); }
.cm-ico {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.cm-card.blue .cm-ico { background: var(--blue); }
.cm-card small { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
.cm-card strong { font-family: var(--font-head); font-size: 1.55rem; color: var(--blue); line-height: 1.2; }

.cm-main { padding: 72px 0 80px; background: var(--white); }
.cm-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.cm-grid > * { min-width: 0; }
.cm-form {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--orange); padding: 36px;
}
.cm-form-intro { color: var(--gray-700); margin-bottom: 20px; }
.cm-side { display: flex; flex-direction: column; gap: 24px; }
.cm-side .map-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.cm-ride {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white);
  border-radius: 14px; padding: 30px; box-shadow: var(--shadow-md);
}
.cm-ride h3 { color: var(--white); margin-bottom: 8px; }
.cm-ride p { color: rgba(255,255,255,0.86); font-size: 0.97rem; margin-bottom: 18px; }
.cm-ride .btn { display: block; text-align: center; margin-top: 10px; }

@media (max-width: 1024px) {
  .cm-cards-grid { grid-template-columns: 1fr; }
  .cm-grid { grid-template-columns: 1fr; gap: 32px; }
  .cm-side { order: -1; }
}
@media (max-width: 600px) {
  .cm-form { padding: 22px 16px; }
  .cm-card strong { font-size: 1.35rem; }
}

body.dark-mode .cm-card { background: #222839; }
body.dark-mode .cm-card strong { color: #dde2ee; }
body.dark-mode .cm-main { background: #1a1f2e; }
body.dark-mode .cm-form { background: #222839; }
body.dark-mode .cm-form-intro { color: #b0bcd4; }
body.dark-mode .cm-ride { background: linear-gradient(135deg, #0d1018, #1e3a61); }
body.dark-mode .cm-side .map-card,
body.dark-mode .cm-loc-body { background: #222839; }
body.dark-mode .cm-loc-body strong { color: #a8c4f0; }

/* Ride card as the divider between the two map cards */
.cm-ride {
  position: relative; overflow: hidden; text-align: center; padding: 38px 30px;
  background:
    radial-gradient(circle at 15% 0%, rgba(237,114,44,0.35) 0, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(111,163,230,0.35) 0, transparent 50%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-top: 5px solid var(--orange); border-bottom: 5px solid var(--orange);
  margin: 6px 0;
}
.cm-ride > * { position: relative; z-index: 1; }
.cm-ride-deco {
  position: absolute !important; z-index: 0 !important; right: -26px; bottom: -34px;
  width: 170px; height: 170px; fill: #fff; opacity: 0.09; transform: rotate(-12deg);
}
.cm-ride h3 { font-size: 1.7rem; }
.cm-ride h3::after { content: ''; display: block; width: 56px; height: 4px; background: var(--orange); border-radius: 2px; margin: 12px auto 0; }
.cm-ride p { margin: 14px 0 20px; }

/* Location cards: larger titles + Get Directions button */
.cm-loc-body { background: var(--white); padding: 22px 26px 8px; }
.cm-loc-body strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.2; color: var(--blue); }
.cm-loc-body p { margin: 6px 0 0; font-size: 1.05rem; color: var(--gray-700); }
.cm-side .map-card { background: var(--white); }
.map-embed {
  height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px; text-align: center;
  background-color: #e8eef6;
  background-image:
    linear-gradient(rgba(46, 85, 140, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 85, 140, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-embed-pin { width: 44px; height: 44px; fill: var(--orange); }
.map-embed-note { margin: 0; font-size: 0.9rem; color: var(--gray-700); }
body.dark-mode .map-embed { background-color: #1b2536; }
body.dark-mode .map-embed-note { color: #c3cad6; }
.cm-side .cm-dir-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 26px 24px; padding: 14px 20px; font-size: 1.1rem; font-weight: 600; border-radius: var(--radius);
}
.cm-side .cm-dir-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   HOME PAGE — redesign
   ============================================================ */
.hm-strip{margin-top:-34px;position:relative;z-index:5}
.hm-strip-inner{background:#fff;border-radius:12px;box-shadow:var(--shadow-lg);border-bottom:4px solid var(--orange);padding:20px 28px;display:flex;flex-wrap:wrap;gap:12px 14px;align-items:center;justify-content:center}
.hm-strip-inner b{font-family:var(--font-head);color:var(--blue);letter-spacing:.06em;text-transform:uppercase;margin-right:6px}
.hm-chip{background:var(--off-white);color:var(--blue);font-family:var(--font-head);padding:8px 16px;border-radius:999px;font-size:.95rem;letter-spacing:.04em;border:1px solid var(--gray-100)}
.hm-chip.you{background:var(--orange);color:#fff;border-color:var(--orange)}
.hm-about{position:relative;overflow:hidden;background:#fff;padding-top:96px;margin-top:-34px}
.hm-about::before{content:"1973";position:absolute;right:2%;top:50px;font:700 clamp(9rem,22vw,20rem)/1 var(--font-head);color:var(--blue);opacity:.05}
.hm-about>.container{position:relative}
.hm-about .about-image{position:relative}
.hm-about .about-image::before{content:"";position:absolute;inset:18px -18px -18px 18px;border:3px solid var(--orange);opacity:.35;border-radius:12px}
.hm-about .about-image img{position:relative;border-radius:12px;box-shadow:var(--shadow-lg)}
.hm-about .about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hm-about .stat-box{background:var(--off-white);border-radius:10px;border-bottom:3px solid var(--orange);padding:16px 10px;text-align:center}
.hm-dark{position:relative;background:linear-gradient(135deg,var(--blue-dark),var(--blue));padding:140px 0 130px;margin:-2px 0;clip-path:polygon(0 48px,100% 0,100% calc(100% - 48px),0 100%)}
.hm-dark .section-title{color:#fff}.hm-dark .section-label{color:var(--orange)}
.hm-dark .container.text-center > p{color:rgba(255,255,255,.86)!important}
.hm-dark .services-grid{margin-top:40px}
.hm-dark .service-card{border-top:5px solid var(--orange);box-shadow:var(--shadow-lg);transition:.25s}
.hm-dark .service-card:hover{transform:translateY(-6px)}
.hm-steps{background:#fff radial-gradient(var(--gray-300) 1.2px,transparent 1.4px) 0 0/22px 22px;border-top:6px solid var(--orange);padding:80px 0}
.hm-steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:8px}
.hm-step{text-align:center;background:var(--off-white);border-radius:12px;padding:36px 26px;border-top:4px solid var(--blue);box-shadow:var(--shadow-md)}
.hm-step span{display:inline-flex;width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;font:700 1.4rem var(--font-head);align-items:center;justify-content:center;margin-bottom:14px}
.hm-step h3{color:var(--blue);margin-bottom:6px;font-size:1.25rem}.hm-step p{color:var(--gray-700);font-size:.97rem}
.hm-portal{background:linear-gradient(180deg,#e3e9f4,var(--off-white));border-top:6px solid var(--blue)}

@media (max-width: 1024px) {
  .hm-about { padding-top: 80px; }
  .hm-about .about-image::before { inset: 14px -10px -14px 14px; }
}
@media (max-width: 768px) {
  .hm-strip-inner { padding: 16px; }
  .hm-strip-inner b { width: 100%; text-align: center; margin: 0 0 4px; }
  .hm-chip { font-size: 0.85rem; padding: 6px 12px; }
  .hm-steps-grid { grid-template-columns: 1fr; }
  .hm-dark { padding: 110px 0 100px; }
  .hm-about .about-stats { grid-template-columns: 1fr; }
}
body.dark-mode .hm-strip-inner { background: #222839; }
body.dark-mode .hm-strip-inner b { color: #a8c4f0; }
body.dark-mode .hm-chip { background: #1a1f2e; color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .hm-chip.you { background: var(--orange); color: #fff; border-color: var(--orange); }
body.dark-mode .hm-about { background: #1a1f2e; }
body.dark-mode .hm-about::before { color: #fff; }
body.dark-mode .hm-about .stat-box { background: #222839; }
body.dark-mode .hm-dark { background: linear-gradient(135deg, #0d1018, #1e3a61); }
body.dark-mode .hm-dark .section-title { color: #fff; }
body.dark-mode .hm-steps { background: #1a1f2e radial-gradient(#3a4160 1.2px, transparent 1.4px) 0 0 / 22px 22px; }
body.dark-mode .hm-step { background: #222839; }
body.dark-mode .hm-step h3 { color: #dde2ee; }
body.dark-mode .hm-step p { color: #b0bcd4; }
body.dark-mode .hm-portal { background: linear-gradient(180deg, #2a3045, #222839); }
body.dark-mode .services-section.hm-dark { background: linear-gradient(135deg, #0d1018, #1e3a61) !important; }
body.dark-mode .hm-dark .service-card-body p { color: #c0c8db; }
body.dark-mode .hm-portal .btn-outline { color: #a8c4f0 !important; border-color: #a8c4f0 !important; }

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 1099;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
  box-shadow: var(--shadow-md); border: 3px solid var(--white);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.scroll-top[hidden] { display: none; }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); }
.scroll-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* Sit above the cookie consent bar while it is on screen */
html.wts-cb-open .scroll-top { bottom: min(calc(var(--wts-cb-h, 0px) + 16px), 55vh); z-index: 100001; }
body.dark-mode .scroll-top { border-color: #1a1f2e; }
@media (max-width: 600px) { .scroll-top { right: 14px; bottom: 14px; width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .scroll-top { transition: none; } }

/* ============================================================
   BOOKING PAGE — redesign (reuses .cm-* contact page components)
   ============================================================ */
.bk-main .cm-grid { grid-template-columns: 1.5fr 1fr; }
.bk-main .embed-form-wrap { border-radius: 10px; }
.bk-side { align-self: start; }
@media (min-height: 1000px) and (min-width: 1025px) { .bk-side { position: sticky; top: calc(var(--header-height, 136px) + 20px); } }
.bk-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md);
  border-top: 5px solid var(--orange); padding: 28px;
}
.bk-card h3 { color: var(--blue); margin-bottom: 16px; font-size: 1.5rem; }
.bk-info { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.bk-info li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; line-height: 1.55; color: var(--gray-700); }
.bk-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.bk-areas { text-align: left; }
.bk-areas h3::after { margin-left: 0; }
.bk-areas p { margin: 14px 0 16px; }
.bk-cities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-cities li {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: var(--white); font-size: 0.88rem; padding: 6px 14px; border-radius: 999px;
}
.bk-cities li.more { background: var(--orange); border-color: var(--orange); font-weight: 600; }
@media (max-width: 1024px) {
  .bk-main .cm-grid { grid-template-columns: 1fr; }
  .bk-side { position: static; order: 2; }
}
body.dark-mode .bk-card { background: #222839; }
body.dark-mode .bk-card h3 { color: #dde2ee; }
body.dark-mode .bk-info li { color: #b0bcd4; }
body.dark-mode .bk-main { background: #1a1f2e; }

/* ============================================================
   CAREERS PAGE — redesign
   ============================================================ */
.cr-light { position: relative; overflow: hidden; background: var(--white); padding-top: 96px; border-top: 6px solid var(--orange); }
.cr-light::before {
  content: attr(data-num); position: absolute; right: 2%; top: 0;
  font: 700 clamp(9rem, 22vw, 20rem)/1 var(--font-head);
  color: var(--blue); opacity: 0.05; pointer-events: none; user-select: none;
}
.cr-light > .container { position: relative; }
.cr-img { position: relative; }
.cr-img::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--orange); opacity: 0.35; border-radius: 12px; pointer-events: none;
}
.cr-img img { position: relative; border-radius: 12px; box-shadow: var(--shadow-lg); height: 420px; object-fit: cover; width: 100%; }
.cr-light p { color: var(--gray-700); }

.cr-dark {
  position: relative; background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 140px 0 130px; margin: -2px 0;
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.cr-dark .section-title { color: var(--white); }
.cr-dark .benefit-card { border-top: 5px solid var(--orange); box-shadow: var(--shadow-lg); }
.cr-dark .benefit-icon { background: var(--orange); }
.cr-dark .benefits-image { box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,0.25); border-radius: 12px; }

.cr-tint { background: linear-gradient(180deg, #e3e9f4, var(--off-white)); border-top: 6px solid var(--blue); }
.cr-widget { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); border-top: 5px solid var(--orange); padding: 28px; }
.cr-callout {
  margin-top: 40px; padding: 28px 32px; border-radius: 14px; color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-left: 6px solid var(--orange);
  box-shadow: var(--shadow-md);
}
.cr-callout p { color: rgba(255,255,255,0.9); margin: 0; }
.cr-callout a { color: var(--orange); font-weight: 600; text-decoration: underline; }

@media (max-width: 1024px) {
  .cr-img::before { inset: 14px -10px -14px 14px; }
  .cr-img img { height: 320px; }
  .cr-dark { padding: 110px 0 100px; }
}
@media (max-width: 600px) { .cr-widget { padding: 16px; } }

body.dark-mode .cr-light { background: #1a1f2e; }
body.dark-mode .cr-light::before { color: #fff; }
body.dark-mode .cr-light p { color: #b0bcd4; }
body.dark-mode .cr-dark { background: linear-gradient(135deg, #0d1018, #1e3a61) !important; }
body.dark-mode .cr-dark .section-title { color: #fff; }
body.dark-mode .cr-tint { background: linear-gradient(180deg, #2a3045, #222839) !important; }
body.dark-mode .cr-widget { background: #fff; }

/* Booking: high-emphasis "Before You Book" notice above the form */
.bk-notice-wrap { padding: 40px 0 0; background: var(--white); }
.bk-main-after { padding-top: 40px; }
.bk-notice {
  border-radius: 14px; overflow: hidden; background: #fff4ec;
  border: 3px solid var(--orange); box-shadow: 0 10px 36px rgba(237,114,44,0.28);
}
.bk-notice-head {
  display: flex; align-items: center; gap: 16px; padding: 18px 30px;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange)); color: var(--white);
}
.bk-notice-head svg { flex-shrink: 0; animation: bk-notice-pulse 2s ease-in-out infinite; }
.bk-notice-kicker { display: block; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.95; }
.bk-notice-head h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; margin: 2px 0 0; }
.bk-notice-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px 30px 30px; }
.bk-notice-item { display: flex; gap: 16px; align-items: flex-start; }
.bk-notice-item p { font-size: 1.1rem; line-height: 1.6; color: var(--text); margin: 0; }
.bk-notice-item strong { color: var(--orange-dark); }
.bk-notice .bk-ico { background: var(--orange); width: 52px; height: 52px; }
@keyframes bk-notice-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (max-width: 900px) { .bk-notice-body { grid-template-columns: 1fr; gap: 22px; } .bk-notice-head { padding: 16px 20px; } .bk-notice-body { padding: 22px 20px; } }
@media (prefers-reduced-motion: reduce) { .bk-notice-head svg { animation: none; } }
body.dark-mode .bk-notice-wrap { background: #1a1f2e; }
body.dark-mode .bk-notice { background: #2b2118; box-shadow: 0 10px 36px rgba(237,114,44,0.2); }
body.dark-mode .bk-notice-item p { color: #e6dccf; }
body.dark-mode .bk-notice-item strong { color: #ffa066; }

/* Booking sidebar: services + careers boxes */
.bk-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md);
  border-top: 5px solid var(--orange); padding: 24px 26px;
}
.bk-card h3 { color: var(--blue); margin-bottom: 14px; font-size: 1.4rem; }
.bk-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bk-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 8px; background: var(--off-white);
  font-family: var(--font-head); font-size: 1.05rem; color: var(--blue);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.bk-links a b { color: var(--orange); transition: transform var(--transition); }
.bk-links a:hover, .bk-links a:focus-visible { background: var(--blue); color: var(--white); }
.bk-links a:hover b, .bk-links a:focus-visible b { color: var(--white); transform: translateX(4px); }
.bk-careers p { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 16px; }
body.dark-mode .bk-card { background: #222839; }
body.dark-mode .bk-card h3 { color: #dde2ee; }
body.dark-mode .bk-links a { background: #1a1f2e; color: #a8c4f0; }
body.dark-mode .bk-links a:hover { background: var(--blue); color: #fff; }
body.dark-mode .bk-careers p { color: #b0bcd4; }

/* Booking sidebar: more visual flair for the services + careers boxes */
.bk-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bk-card-head h3 { margin: 0; }
.bk-head-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white);
  box-shadow: 0 4px 12px rgba(237,114,44,0.4);
}
.bk-services .bk-links a { padding: 12px 14px; border-left: 4px solid var(--orange); }
.bk-services .bk-links li:nth-child(2) a { border-left-color: var(--blue); }
.bk-link-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); transition: transform var(--transition);
}
.bk-link-ico.alt { background: var(--blue); }
.bk-links a:hover .bk-link-ico { transform: rotate(-8deg) scale(1.08); }
.bk-link-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bk-link-text strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.bk-link-text small { font-family: var(--font-body); font-size: 0.82rem; color: var(--gray-500); transition: color var(--transition); }
.bk-links a:hover .bk-link-text small, .bk-links a:focus-visible .bk-link-text small { color: rgba(255,255,255,0.85); }

.bk-careers-card {
  position: relative; overflow: hidden; border-radius: 14px; padding: 28px 26px;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange) 70%, #f59a5f);
  color: var(--white); box-shadow: 0 10px 30px rgba(237,114,44,0.35);
}
.bk-careers-card > * { position: relative; z-index: 1; }
.bk-careers-card h3 { color: var(--white); font-size: 1.7rem; margin: 10px 0 8px; }
.bk-careers-card p { color: rgba(255,255,255,0.95); font-size: 1rem; margin-bottom: 14px; }
.bk-careers-deco { position: absolute !important; z-index: 0 !important; right: -22px; bottom: -30px; width: 160px; height: 160px; fill: #fff; opacity: 0.16; transform: rotate(-10deg); }
.bk-careers-badge {
  display: inline-block; background: var(--white); color: var(--orange-dark);
  font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.bk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bk-chips li { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.45); padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.bk-careers-btn { background: var(--white); color: var(--orange-dark); font-weight: 700; }
.bk-careers-btn:hover { background: var(--blue-dark); color: var(--white); }
body.dark-mode .bk-link-text small { color: #8892aa; }
body.dark-mode .bk-links a { background: #1a1f2e; color: #dde2ee; }
/* Middle service tile hovers orange so it contrasts with its blue icon/accent */
.bk-services .bk-links li:nth-child(2) a:hover,
.bk-services .bk-links li:nth-child(2) a:focus-visible,
body.dark-mode .bk-services .bk-links li:nth-child(2) a:hover { background: var(--orange-dark); color: var(--white); }
.bk-services .bk-links li:nth-child(2) a:hover .bk-link-text small,
.bk-services .bk-links li:nth-child(2) a:focus-visible .bk-link-text small { color: rgba(255,255,255,0.92); }

/* ============================================================
   TERMS / PRIVACY / SITEMAP — redesign
   ============================================================ */
.pl-main { background: linear-gradient(180deg, #e3e9f4 0, var(--off-white) 320px); border-top: 6px solid var(--orange); }
.pl-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.pl-grid > * { min-width: 0; }
.pl-toc {
  /* Not sticky and not scrollable: with 25 sections the box is taller than a
     typical screen, and a sticky or scrolling box would hide the last
     sections. It scrolls away with the page so every section is visible. */
  position: static;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md);
  border-top: 5px solid var(--orange); padding: 24px 22px;
}
.pl-toc-title { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--blue); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.pl-toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pl-toc-list a {
  display: block; padding: 7px 10px; border-radius: 6px; border-left: 3px solid transparent;
  font-size: 0.9rem; line-height: 1.35; color: var(--gray-700);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pl-toc-list a:hover { background: var(--off-white); color: var(--blue); }
.pl-toc-list a.is-active { background: #fdeee4; border-left-color: var(--orange); color: var(--orange-dark); font-weight: 600; }
.pl-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 4px; font-size: 0.92rem; }
.pl-help strong { font-family: var(--font-head); color: var(--blue); }
.pl-help a { color: var(--orange-dark); font-weight: 600; word-break: break-word; }
.pl-help a:hover { text-decoration: underline; }

.pl-body {
  max-width: none; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 40px 44px 28px;
}
.pl-updated {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px !important;
  background: var(--off-white); border: 1px solid var(--gray-100); border-radius: 999px;
  padding: 6px 16px; font-size: 0.88rem !important; color: var(--gray-700);
}
.pl-updated span { font-family: var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-dark); font-size: 0.78rem; font-weight: 600; }
.pl-body h2 {
  scroll-margin-top: calc(var(--header-height, 136px) + 20px);
  display: flex; align-items: center; gap: 14px; font-size: 1.5rem; color: var(--blue);
  margin: 40px 0 14px; padding-top: 28px; border-top: 1px solid var(--gray-100);
}
.pl-body h2:first-of-type { border-top: none; padding-top: 12px; }
.pl-body h2 .pl-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); font-size: 1.05rem; font-weight: 700;
}
.pl-body ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pl-body ul li {
  position: relative; padding: 10px 14px 10px 40px; margin: 0; background: var(--off-white); border-radius: 8px;
}
.pl-body ul li::before {
  content: '✓'; position: absolute; left: 12px; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); font-size: 0.7rem; font-weight: 700;
}
.pl-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.pl-body a:hover { color: var(--orange-dark); }

/* Sitemap */
.sm-main { background: linear-gradient(180deg, #e3e9f4 0, var(--off-white) 320px); border-top: 6px solid var(--orange); }
.sm-main .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 0; }
.sm-card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); border-top: 5px solid var(--orange); padding: 28px; }
.sm-card.alt { border-top-color: var(--blue); }
.sm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sm-head h3 { margin: 0; font-size: 1.4rem; }
.sm-ico {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
}
.sm-card.alt .sm-ico { background: var(--blue); }
.sm-card ul { display: flex; flex-direction: column; gap: 8px; }
.sm-card ul li { margin: 0; }
.sm-card ul li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 8px; background: var(--off-white);
  font-family: var(--font-head); font-size: 1.05rem; color: var(--blue);
  transition: background var(--transition), color var(--transition);
}
.sm-card ul li a::before { content: none; }
.sm-card ul li a b { color: var(--orange); transition: transform var(--transition); }
.sm-card ul li a:hover, .sm-card ul li a:focus-visible { background: var(--blue); color: var(--white); }
.sm-card ul li a:hover b, .sm-card ul li a:focus-visible b { color: var(--white); transform: translateX(4px); }

@media (max-width: 1024px) {
  .pl-grid { grid-template-columns: 1fr; gap: 24px; }
  .pl-toc-list { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pl-body { padding: 24px 18px 12px; }
  .pl-toc-list { grid-template-columns: 1fr; }
  .sm-main .sitemap-grid { grid-template-columns: 1fr; }
  .pl-body h2 { font-size: 1.3rem; }
}

body.dark-mode .pl-main, body.dark-mode .sm-main { background: linear-gradient(180deg, #2a3045 0, #1a1f2e 320px); }
body.dark-mode .pl-toc, body.dark-mode .pl-body, body.dark-mode .sm-card { background: #222839; }
body.dark-mode .pl-toc-title, body.dark-mode .pl-help strong { color: #a8c4f0; }
body.dark-mode .pl-toc-list a { color: #b0bcd4; }
body.dark-mode .pl-toc-list a:hover { background: #1a1f2e; color: #fff; }
body.dark-mode .pl-toc-list a.is-active { background: #3a2010; color: #ffa066; }
body.dark-mode .pl-help { border-color: #3a4160; }
body.dark-mode .pl-help a { color: #ffa066; }
body.dark-mode .pl-updated { background: #1a1f2e; border-color: #3a4160; color: #b0bcd4; }
body.dark-mode .pl-body h2 { color: #a8c4f0; border-color: #3a4160; }
body.dark-mode .pl-body ul li { background: #1a1f2e; }
body.dark-mode .pl-body a { color: #a8c4f0; }
body.dark-mode .sm-card ul li a { background: #1a1f2e; color: #a8c4f0; }
body.dark-mode .sm-card ul li a:hover { background: var(--blue); color: #fff; }

/* Draft notice shown on policy pages while awaiting legal review */
.pl-draft {
  background: #fff4ec; border: 2px dashed var(--orange); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 18px; color: var(--text); font-size: 0.95rem; line-height: 1.55;
}
.pl-draft strong { color: var(--orange-dark); }
body.dark-mode .pl-draft { background: #2b2118; color: #e6dccf; }
body.dark-mode .pl-draft strong { color: #ffa066; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
img.lb-trigger { cursor: zoom-in; transition: filter var(--transition); }
img.lb-trigger:hover { filter: brightness(1.05); }
img.lb-trigger:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }
.about-page-img-wrap .lb-hint {
  position: absolute; top: 14px; right: 14px; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(30,58,97,0.88); color: var(--white); border-radius: 999px;
  padding: 7px 14px 7px 11px; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.92; transition: opacity var(--transition), transform var(--transition);
}
.about-page-img-wrap:hover .lb-hint { opacity: 1; transform: scale(1.05); }
.about-page-badge { pointer-events: none; }

html.lb-open { overflow: hidden; }
.lb-overlay {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(8, 12, 22, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 72px; opacity: 0; transition: opacity 0.2s ease;
}
.lb-overlay[hidden] { display: none; }
.lb-overlay.is-open { opacity: 1; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-img {
  max-width: min(100%, 1400px); max-height: calc(100vh - 150px); width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); background: #111;
  transform: scale(0.97); transition: transform 0.2s ease;
}
.lb-overlay.is-open .lb-img { transform: scale(1); }
.lb-caption { color: rgba(255,255,255,0.9); font-size: 1rem; text-align: center; max-width: 800px; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 2.2rem; line-height: 1;
  border: 2px solid rgba(255,255,255,0.35); transition: background var(--transition), transform var(--transition);
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--orange); border-color: var(--orange); transform: scale(1.08); outline: none; }
.lb-btn[hidden] { display: none; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -26px; }
.lb-next { right: 14px; top: 50%; margin-top: -26px; }
.lb-counter { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-family: var(--font-head); letter-spacing: 0.1em; }
@media (max-width: 700px) {
  .lb-overlay { padding: 64px 12px 56px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; margin-top: 0; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-overlay, .lb-img, .lb-btn, img.lb-trigger, .about-page-img-wrap .lb-hint { transition: none; }
}

/* Main nav: one line per item, tighter spacing to fit the Facility Portal link,
   and switch to the hamburger menu a little earlier than before so the nav
   never wraps or crowds the header controls. */
.nav-list { gap: 2px; }
.nav-list a { white-space: nowrap; padding: 8px 10px; font-size: 0.9rem; letter-spacing: 0.03em; }
.nav-list .nav-dropdown a { white-space: normal; }
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Slideshow text legibility ──
   Keep text inside the dark part of the overlay (not running across the
   bright vehicles on the right), make it larger/brighter, and add a soft
   shadow so letters hold up over bright spots in the photo. */
.slide-content h2,
.slide-content p { max-width: 640px; }
.slide-content h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5); }
.slide-content p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.6);
}
.slide-content .badge {
  font-size: 0.85rem;
  padding: 5px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
@media (max-width: 700px) {
  /* On phones the text spans the full width, so darken the whole overlay. */
  .slide-bg::after {
    background: linear-gradient(90deg, rgba(15, 28, 50, 0.88) 0%, rgba(15, 28, 50, 0.78) 60%, rgba(15, 28, 50, 0.62) 100%);
  }
  .slide-content p { font-size: 1.1rem; }
}

/* On phones, overlap the "We proudly serve" card less so it doesn't cover the slideshow arrows/dots. */
@media (max-width: 700px) { .hm-strip { margin-top: -14px; } }

/* Homepage: the first slide's headline is the page <h1> — style it exactly like the slide <h2>s. */
.slide-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== Blog photo / video album ===== */
.blog-album { margin-top: 32px; border-top: 2px solid var(--gray-100); padding-top: 24px; }
.blog-album-title { font-size: 1.4rem; margin: 0 0 16px; }
.blog-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.blog-album-item { margin: 0; }
.blog-album-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.blog-album-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.blog-album-img:hover img { transform: scale(1.04); }
.blog-album-clip { grid-column: span 2; }
.blog-album-clip video { width: 100%; border-radius: var(--radius); background: #000; display: block; }
.blog-album-item figcaption { font-size: .82rem; color: var(--gray-500); margin-top: 6px; }
@media (max-width: 520px) { .blog-album-grid { grid-template-columns: repeat(2, 1fr); } .blog-album-clip { grid-column: span 2; } }
.blog-album-img .lb-hint { display: none; }

/* Slim footer (account/admin pages, no news grid): no empty top padding */
.site-footer--slim { padding-top: 0; }
.site-footer--slim .footer-bottom { border-top: 0; }

/* Careers job widget: it stays on a white card in dark mode, so give everything inside it
   the light-mode neutral colors again (dark mode remaps --gray-* to pale shades). */
body.dark-mode .cr-widget,
body.dark-mode .prismhr-wrap {
  --gray-100: #e9ecef;
  --gray-300: #ced4da;
  --gray-500: #6c757d;
  --gray-700: #374151;
  --text: #1c2233;
  color: #374151;
}
body.dark-mode .cr-widget #hiringthing-jobs p,
body.dark-mode .cr-widget #hiringthing-jobs li,
body.dark-mode .cr-widget #hiringthing-jobs span,
body.dark-mode .cr-widget #hiringthing-jobs div,
body.dark-mode .cr-widget #hiringthing-jobs strong,
body.dark-mode .cr-widget #hiringthing-jobs b,
body.dark-mode .cr-widget #hiringthing-jobs em,
body.dark-mode .cr-widget #hiringthing-jobs .ht-job-description { color: #374151 !important; opacity: 1 !important; }
body.dark-mode .cr-widget #hiringthing-jobs .ht-job-location,
body.dark-mode .cr-widget #hiringthing-jobs .hiringthing-job-location { color: #6c757d !important; }

/* ============================================================
   HIRING PROMO — home page bar + band (toggle: Admin > Settings)
   ============================================================ */
.hire-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(237,114,44,.7); animation: hire-pulse 1.8s infinite;
}
@keyframes hire-pulse {
  70%  { box-shadow: 0 0 0 9px rgba(237,114,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(237,114,44,0); }
}

.hire-bar {
  position: relative; z-index: 2; background: var(--blue); color: var(--white);
  font-family: var(--font-head); letter-spacing: .03em;
  border-bottom: 3px solid var(--orange); animation: hire-glow 1.8s ease-in-out infinite;
}
@keyframes hire-glow {
  0%, 100% { box-shadow: 0 4px 18px rgba(237,114,44,.25); }
  50%      { box-shadow: 0 6px 32px rgba(237,114,44,.85); }
}
.hire-bar[hidden] { display: none; }
.hire-bar-inner { display: flex; align-items: center; gap: 12px; height: 40px; }
.hire-bar-title { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.hire-bar-roles { opacity: .92; white-space: nowrap; margin-right: -6px; }
.hire-bar-where { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hire-bar-link-short, .hire-bar-title-short { display: none; }
.hire-bar-link {
  margin-left: auto; white-space: nowrap; font-weight: 600; font-size: .85rem;
  background: var(--white); color: var(--blue); padding: 4px 14px; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.hire-bar-link:hover { background: var(--orange); color: var(--white); }
.hire-bar-close {
  background: none; border: 0; color: var(--white); font-size: 1.5rem; line-height: 1;
  width: 32px; height: 32px; cursor: pointer; border-radius: 50%; opacity: .85; flex-shrink: 0;
}
.hire-bar-close:hover { opacity: 1; background: rgba(255,255,255,.15); }
@media (max-width: 860px) {
  .hire-bar-roles { display: none; }
}
@media (max-width: 640px) {
  .hire-bar-inner { gap: 6px; }
  .hire-bar-inner > .hire-dot { display: none; }
  .hire-bar-title { font-size: .76rem; letter-spacing: .04em; }
  .hire-bar-where { font-size: .76rem; }
  .hire-bar-link { padding: 4px 12px; }
  .hire-bar-link-long, .hire-bar-title-long { display: none; }
  .hire-bar-link-short, .hire-bar-title-short { display: inline; }
}
@media (max-width: 380px) {
  .hire-bar-link span[aria-hidden] { display: none; }
  .hire-bar-link { padding: 4px 10px; }
  .hire-bar-title, .hire-bar-where { font-size: .72rem; }
}

.hire-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white); padding: 72px 0; position: relative; overflow: hidden;
}
.hire-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px);
}
.hire-band-inner {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
}
.hire-band-label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); font-size: .9rem;
}
.hire-band h2 { color: var(--white); margin-bottom: 16px; }
.hire-band p { color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 22px; max-width: 560px; }
.hire-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 28px !important; font-family: var(--font-head); letter-spacing: .04em; }
.hire-where strong { text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; margin-right: 2px; }
.hire-pin { display: inline-flex; align-items: center; gap: 5px; background: var(--white); color: var(--blue); border-radius: 999px; padding: 5px 14px 5px 10px; font-weight: 600; font-size: .95rem; }
.hire-pin svg { width: 16px; height: 16px; fill: var(--orange); }
.hire-band .btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hire-band-photo { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hire-band-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--orange);
  border-radius: 14px; z-index: 0;
}
.hire-band-photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: 400px; object-fit: cover;
  border-radius: 14px; box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) {
  .hire-band { padding: 56px 0; }
  .hire-band-inner { grid-template-columns: 1fr; gap: 40px; }
  .hire-band-photo { max-width: 320px; margin-right: 14px; }
  .hire-band-photo img { height: 280px; }
}
body.dark-mode .hire-band { background: linear-gradient(135deg, #0d1018 0%, #1e3a61 100%); }
body.dark-mode .hire-bar { background: #1e3a61; }
@media (prefers-reduced-motion: reduce) {
  .hire-dot, .hire-bar { animation: none; }
  .hire-bar { box-shadow: 0 4px 22px rgba(237,114,44,.6); }
}
body.a11y-reduce-motion .hire-dot, body.a11y-reduce-motion .hire-bar { animation: none; }
body.a11y-reduce-motion .hire-bar { box-shadow: 0 4px 22px rgba(237,114,44,.6); }
