/* ============================================================
   driver-management.css â€” Mastery Logistics Systems
   Driver Management page-specific styles.
   Global styles live in style.css.
   Desktop styles first. Mobile overrides at the bottom.

   COMPONENT REUSE:
   - .image-placeholder â€” same component used on configuration-portal,
     fleet-management, and partners pages. Modifiers --hero,
     --feature, --related added for the appropriate aspect ratios.
   - .feature / .feature--reverse â€” same alternating two-column
     feature block as fleet-management and configuration-portal.
   - .cta-link â€” small inline arrow-link CTA, reusable across pages.

   PAGE STRUCTURE:
   1. Hero (dark, full-bleed background photo)
   2. Customer logo strip
   3. Bridge (dark, copper highlight)
   4. Driver Record feature
   5. MasterMind Drive feature (iPhone mockup + pull quote)
   6. Lifecycle 3-card grid (3 custom non-UI visuals)
   7. Related content (3 blog cards)
   8. CTA banner
============================================================ */


/* ============================================================
   SHARED â€” IMAGE PLACEHOLDER COMPONENT
   Branded copper-on-dark frame with subtle grid texture. Reused
   site-wide for unbuilt screenshot zones.
============================================================ */
.image-placeholder {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(252, 147, 101, 0.16) 0%, transparent 62%),
    linear-gradient(135deg, #1a1a1a, #2a2320);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(252, 147, 101, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 147, 101, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.image-placeholder__label {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(252, 147, 101, 0.9);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 1rem;
}

.image-placeholder__note {
  position: relative;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-placeholder--feature {
  aspect-ratio: 16 / 11;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.image-placeholder--related {
  aspect-ratio: 16 / 10;
  border-radius: 0;  /* parent .related-card__thumb handles outer corners */
}


/* ============================================================
   CTA LINK (small inline arrow-link, reusable)
   Used in feature blocks and lifecycle cards. Color shifts on
   hover, arrow moves right.
============================================================ */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--color-copper);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cta-link:hover {
  color: var(--color-copper-dark);
}

.cta-link__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.cta-link:hover .cta-link__arrow {
  transform: translateX(4px);
}

.cta-link--sm {
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  margin-top: 0.75rem;
}


/* ============================================================
   SECTION 1 â€” DRIVER HERO
   Dark. Full-bleed background photo spanning the block; copy
   reads over its near-black left half. Same pattern as
   carrier-management.
============================================================ */
.driver-hero {
  position: relative;
  background-color: #0a0a0a;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 38vw, 620px);
}

/* Full-bleed hero photo. Its left half is near-black, so the copy
   column reads directly over it. Anchor the crop to the right so
   the driver and truck stay in view. */
.driver-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.driver-hero > .container {
  width: 100%;
}

/* Inline mobile hero image — hidden on desktop, shown between the
   sub text and the CTA on mobile (same pattern as fleet). */
.driver-hero__mobile-media {
  display: none;
}

.driver-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(178, 93, 66, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.driver-hero__inner {
  position: relative;
  z-index: 2;
}

.driver-hero__content {
  max-width: 480px;
}

.driver-hero .eyebrow {
  color: var(--color-copper-light);
}

.driver-hero__headline {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.driver-hero__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 460px;
}

.driver-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   SECTION 2 â€” CUSTOMER LOGO STRIP
   Same pattern as fleet-management. 10 logos in flex-wrap.
============================================================ */
.driver-logos {
  background: #000000;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 0.5px solid #1f1f1f;
  border-bottom: 0.5px solid #1f1f1f;
}

.driver-logos__tagline {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-inverse-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  margin: 0 0 1.5rem;
}

.driver-logos__slider {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

.driver-logos__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: driverLogoScroll 100s linear infinite; /* scales with the logos per loop half, keeping the scroll speed steady */
}

.driver-logos__slider:hover .driver-logos__track {
  animation-play-state: paused;
}

@keyframes driverLogoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.driver-logos__logo {
  flex: 0 0 auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.driver-logos__logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition-normal);
}

.driver-logos__slider:hover .driver-logos__logo img {
  opacity: 1;
}


/* ============================================================
   SECTION 3 â€” BRIDGE
   Dark, centered. Single bold H2 with copper highlight on the
   "take care of today" half â€” the retention thesis payoff.
============================================================ */
.bridge {
  background: #faf6f3;
  padding: 1.75rem 0;
  border-top: 0.5px solid rgba(178, 93, 66, 0.12);
  border-bottom: 0.5px solid rgba(178, 93, 66, 0.12);
  text-align: center;
}

.bridge__glow {
  display: none;
}

.bridge__content {
  max-width: 800px;
  margin: 0 auto;
}

.bridge__heading {
  color: var(--color-text-primary);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}

.bridge__highlight {
  color: var(--color-text-accent);
}


/* ============================================================
   FEATURE BLOCK (Sections 4 & 5)
   Same pattern as fleet-management and configuration-portal.
   .feature--reverse modifier flips column order so features
   alternate down the page.
============================================================ */
.feature {
  background: var(--color-white);
}

.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature--reverse .feature__content {
  order: 2;
}

.feature--reverse .feature__media {
  order: 1;
}

.feature__heading {
  font-size: var(--font-size-h3);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 1.75rem;
}

.feature__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: var(--leading-normal);
}

.feature__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(178, 93, 66, 0.12);
  color: var(--color-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.feature__media {
  position: relative;
  width: 100%;
}

.feature__image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.16));
}

/* Stacked UI bubble composition */
.ui-stack {
  position: relative;
  width: 100%;
  padding-bottom: 78%;
}

.ui-stack__base {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(0, 0, 0, 0.12);
}

.ui-stack__overlay {
  position: absolute;
  top: 18%;
  right: 0;
  width: 62%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12), 0 8px 22px rgba(0, 0, 0, 0.16);
}


/* ============================================================
   PULL QUOTE (inside MasterMind Drive feature block)
   Copper left border + quoted text + attribution. Sits below
   the bullets, above the CTA link.
============================================================ */
.pull-quote {
  margin: 1.5rem 0 0;
  padding: 0.875rem 1rem;
  border-left: 2px solid var(--color-copper);
  background: rgba(178, 93, 66, 0.04);
  border-radius: 0 6px 6px 0;
}

.pull-quote p {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-style: italic;
  line-height: var(--leading-normal);
  margin: 0 0 0.375rem;
}

.pull-quote cite {
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ============================================================
   PHONE MOCKUP ZONE (MasterMind Drive feature block)
   Designed placeholder for the iPhone mockup. Replace the entire
   .phone-zone div with an <img> of the real iPhone mockup file
   when you have it.

   The phone is a 200x410 rounded rectangle with a dark frame,
   notch, and a copper-tinted screen. Matches the brand placeholder
   pattern (copper-on-dark with grid texture).
============================================================ */
.phone-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 1.5rem;
}

.phone {
  width: 220px;
  height: 450px;
  background: #0a0a0a;
  border-radius: 36px;
  border: 6px solid #1a1a1a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(178, 93, 66, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone__screen {
  flex: 1;
  margin: 8px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(252, 147, 101, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #1a1a1a, #2a2320);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.phone__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(252, 147, 101, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 147, 101, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.phone__label {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(252, 147, 101, 0.9);
  letter-spacing: 0.02em;
}

.phone__note {
  position: relative;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.feature__image--phone {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

.phone__screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

/* For when the user drops in a real PNG with the iPhone mockup */
.phone-image {
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ============================================================
   SECTION 6 â€” LIFECYCLE (3-card grid with custom non-UI visuals)
   Light warm. Centered title block, then a 3-card grid. Each card
   contains a CUSTOM visual (not a screenshot or placeholder).

   The visuals â€” voucher, attribute matching, Gantt timeline â€” are
   designed as the permanent treatment. They tell the story without
   needing a UI screenshot.
============================================================ */
.lifecycle {
  background: #faf6f3;
}

.lifecycle__head {
  margin-bottom: 2.5rem;
}

.lifecycle__head .eyebrow {
  color: var(--color-copper-dark);
}

.lifecycle__head h2 {
  color: var(--color-text-primary);
  margin-top: 0.5rem;
  margin-bottom: 0.875rem;
}

.lifecycle__head .text-lead {
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.lifecycle__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}


/* ----- LIFECYCLE CARD (shell) ----- */
.lifecycle-card {
  background: var(--color-white);
  border: 0.5px solid rgba(178, 93, 66, 0.18);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lifecycle-card__visual {
  aspect-ratio: 16 / 10;
  background: #fafafa;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.lifecycle-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lifecycle-card__body h4 {
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.lifecycle-card__body p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin: 0;
  flex: 1;
}


/* ============================================================
   CUSTOM VISUAL 1 â€” VOUCHER (Driver Pay card)
   A stylized driver settlement document. Shows line items
   (route, bonus, detention) with a copper-highlighted total.
   Communicates "real driver, real money, accurate pay."
============================================================ */
.voucher {
  padding: 1.25rem 1.375rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-family);
}

.voucher__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.4rem;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0.25rem;
}

.voucher__title {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: var(--weight-bold);
}

.voucher__num {
  font-size: 9px;
  color: var(--color-text-tertiary);
}

.voucher__name {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0.125rem;
}

.voucher__row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.voucher__row-val {
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

.voucher__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 0.625rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.voucher__total-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: var(--weight-bold);
}

.voucher__total-val {
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--color-copper);
  letter-spacing: -0.02em;
}


/* ============================================================
   CUSTOM VISUAL 2 â€” ATTRIBUTE MATCHING (Driver Assignment card)
   Two columns of attribute pills (driver-side / load-side) with
   copper SVG lines connecting matched pairs. Communicates "we
   match drivers to loads on the things that matter."
============================================================ */
.match {
  padding: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.match__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.match__col-label {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: var(--weight-bold);
  text-align: center;
  margin-bottom: 0.25rem;
}

.match__pill {
  background: var(--color-white);
  border: 0.5px solid rgba(178, 93, 66, 0.25);
  border-radius: 5px;
  padding: 0.35rem 0.5rem;
  font-size: 10px;
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
  text-align: center;
}

.match__pill--driver {
  background: linear-gradient(135deg, rgba(178, 93, 66, 0.05), rgba(178, 93, 66, 0.12));
}

.match__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


/* ============================================================
   CUSTOM VISUAL 3 â€” DRIVER TIMELINE (Driver Capacity card)
   Gantt-style availability view. Driver rows, day columns,
   colored blocks for status (available, driving, home time).
   Communicates "see every driver's week at a glance."
============================================================ */
.gantt {
  padding: 1rem 1.125rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gantt__head {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  gap: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.gantt__head-empty {
  font-size: 8px;
}

.gantt__day {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: var(--weight-bold);
  text-align: center;
}

.gantt__row {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  gap: 0.25rem;
  align-items: center;
}

.gantt__name {
  font-size: 10px;
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

.gantt__cell {
  height: 14px;
  border-radius: 3px;
  background: #f0f0f0;
}

.gantt__cell--avail {
  background: linear-gradient(135deg, #fc9365, #b25d42);
}

.gantt__cell--driving {
  background: rgba(178, 93, 66, 0.4);
}

.gantt__cell--home {
  background: #e8e8e8;
}


/* ============================================================
   SECTION 7 â€” RELATED CONTENT (3 blog cards)
   Light warm. Same editorial pattern as partners.html spotlights.
   3 cards: image thumb + meta + headline + read link.
============================================================ */
.related {
  background: #faf6f3;
  border-top: 0.5px solid rgba(0, 0, 0, 0.04);
}

.related__head {
  margin-bottom: 2.5rem;
}

.related__head .eyebrow {
  color: var(--color-copper-dark);
}

.related__head h2 {
  color: var(--color-text-primary);
  margin-top: 0.5rem;
  margin-bottom: 0.875rem;
}

.related__head .text-lead {
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}


/* ----- RELATED CARD ----- */
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-normal);
}

.related-card:hover {
  border-color: rgba(178, 93, 66, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.related-card__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card__body {
  padding: 1.125rem 1.375rem 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
}

.related-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-copper);
  flex-shrink: 0;
}

.related-card__title {
  color: var(--color-text-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.875rem;
  flex: 1;
}

.related-card__link {
  color: var(--color-copper);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.related-card__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.related-card:hover .related-card__arrow {
  transform: translateX(4px);
}


/* ============================================================
   SECTION 8 â€” CTA BANNER
   Standard treatment matching fleet-management,
   configuration-portal, and platform.
============================================================ */
.cta-banner {
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(178, 93, 66, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner__heading {
  font-size: var(--font-size-h2);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: 1rem;
}


/* ============================================================
   RESPONSIVE â€” MOBILE OVERRIDES
============================================================ */
@media (max-width: 768px) {

  /* The slim strip is a single line of display copy that earns its
     place on a wide screen but reads as another wall of text on a
     phone. Hidden on mobile only; desktop is unchanged. */
  .bridge {
    display: none;
  }

  /* Hero â€” single column, portrait below text */
  .driver-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: 0;
  }

  .driver-hero__bg {
    display: none;
  }

  /* 16:10 right-anchored frame: crops the artwork's blank left half
     so the subject fills the slot; fixed ratio reserves space (CLS). */
  .driver-hero__mobile-media {
    display: block;
    margin: 0.25rem 0 1.75rem;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
  }

  .driver-hero__mobile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
  }

  .driver-hero__content {
    max-width: 100%;
  }

  .driver-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .driver-hero__actions > a {
    text-align: center;
    justify-content: center;
  }

  /* Logo strip â€” smaller logo height on mobile */
  .driver-logos__logo {
    height: 28px;
  }

  /* Feature blocks â€” single column, image always above content */
  .feature__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature--reverse .feature__content,
  .feature--reverse .feature__media {
    order: initial;
  }

  .feature__media {
    order: 2;
  }

  .feature__content {
    order: 1;
  }

  /* Phone mockup â€” smaller on mobile */
  .phone-zone {
    min-height: 360px;
    padding: 1rem;
  }

  .phone {
    width: 180px;
    height: 380px;
  }

  /* Lifecycle grid â€” stack to single column */
  .lifecycle__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Related content â€” single column */
  .related__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* CTA heading shrinks gracefully via existing styles */
  .cta-banner__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

}


@media (max-width: 480px) {

  /* Very small screens â€” reduce vouchers/Gantt font sizes */
  .voucher__total-val {
    font-size: 18px;
  }

  .gantt__name {
    font-size: 9px;
  }

}
