/* Shahid Al Hayat Transport: navigation dropdowns, quote form states and motion (added 30 Nov 2026 at the client's request).
   Layout rules apply always; every animation and hover movement sits inside prefers-reduced-motion: no-preference,
   so visitors who ask their system for less motion get a still site. Scroll reveals need the "sah-motion" class,
   which wp_head adds only outside the Oxygen builder (see inc/assets.php). */

:root {
  --sah-ease-out: cubic-bezier(.2, .8, .2, 1);
  --sah-shadow-lift: 0 22px 40px -18px rgba(14, 27, 44, .30);
  --sah-shadow-drop: 0 18px 44px -12px rgba(14, 27, 44, .22);
}

/* ---------- desktop dropdowns ---------- */

.sah-nav__item--sub { position: relative; }
.sah-nav .sah-nav__parent { display: inline-flex; align-items: center; gap: 7px; }
.sah-nav .sah-nav__parent::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--sah-ease-out), margin .3s var(--sah-ease-out);
}
.sah-nav__item--sub:is(:hover, :focus-within, .is-open):not(.is-closed) > .sah-nav__parent { color: var(--brand); }
.sah-nav__item--sub:is(:hover, :focus-within, .is-open):not(.is-closed) > .sah-nav__parent::after { margin-top: 3px; transform: rotate(-135deg); }

.sah-subnav {
  position: absolute; top: calc(100% + 8px); left: -16px; z-index: 60;
  min-width: 236px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--sah-shadow-drop);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: 24px 0;
  transition: opacity .2s ease, transform .3s var(--sah-ease-out), visibility 0s linear .3s;
}
.sah-subnav::before { content: ""; position: absolute; inset-inline: 0; top: -18px; height: 18px; } /* hover bridge */
.sah-subnav::after { /* little pointer */
  content: ""; position: absolute; top: -7px; left: 30px; width: 12px; height: 12px;
  background: var(--surface-raised); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.sah-nav__item--sub:is(:hover, :focus-within, .is-open):not(.is-closed) > .sah-subnav {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
/* Two columns, each as wide as its longest name (capped); a name that is still too long wraps inside its own cell. */
.sah-subnav--cols { display: grid; grid-template-columns: repeat(2, minmax(200px, max-content)); column-gap: 4px; width: max-content; max-width: min(600px, calc(100vw - 48px)); }
.sah-subnav--cols .sah-subnav__all { grid-column: 1 / -1; }
.sah-nav .sah-subnav--cols a { white-space: normal; min-width: 0; }
.sah-subnav--cols > li { min-width: 0; }
.sah-subnav > li { position: relative; z-index: 1; }
.sah-nav .sah-subnav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: var(--radius-md);
  color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; background: none;
  transition: background-color .2s ease, color .2s ease, padding .25s var(--sah-ease-out);
}
.sah-nav .sah-subnav a::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  opacity: 0; transform: translateX(-6px) rotate(45deg); transition: opacity .2s ease, transform .25s var(--sah-ease-out);
}
.sah-nav .sah-subnav a:is(:hover, :focus-visible) { background: var(--brand-soft); color: var(--brand); padding-inline: 16px 10px; }
.sah-nav .sah-subnav a:is(:hover, :focus-visible)::after { opacity: 1; transform: rotate(45deg); }
.sah-nav .sah-subnav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.sah-subnav__all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.sah-nav .sah-subnav__all a { color: var(--brand); font-weight: 700; }
.sah-nav .sah-subnav__all a::after { opacity: 1; transform: rotate(45deg); }

/* ---------- mobile menu groups ---------- */

.sah-menu__list { max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.sah-menu__group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-3); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.sah-menu__group > summary::-webkit-details-marker { display: none; }
.sah-menu__group > summary::after {
  content: ""; width: 8px; height: 8px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--sah-ease-out);
}
.sah-menu__group[open] > summary { color: var(--brand); }
.sah-menu__group[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.sah-menu__group.is-current > summary { color: var(--brand); }
.sah-menu__sub { margin: 0; padding: 4px 0 10px 14px; list-style: none; border-bottom: 1px solid var(--line); }
.sah-menu__list .sah-menu__sub a { padding-block: 9px; border-bottom: 0; color: var(--ink-soft); font-weight: 500; }
.sah-menu__list .sah-menu__sub li:first-child a { color: var(--brand); font-weight: 700; }
.sah-menu__list .sah-menu__sub a[aria-current="page"] { color: var(--brand); font-weight: 700; }

/* ---------- quote form states ---------- */

.sah-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sah-quote { position: relative; }
.sah-quote__status:empty { display: none; }
.sah-quote__status { margin: 0; color: var(--ink-soft); }
.sah-quote__status.is-error { color: var(--danger); font-weight: 600; }
.sah-field__error { margin: 0; }
.sah-btn.is-loading { pointer-events: none; opacity: .9; }
.sah-btn.is-loading::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent; animation: sah-spin .7s linear infinite;
}
.sah-quote--sent { justify-content: center; }
.sah-quote__done { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; outline: none; }
.sah-quote__done > * { margin: 0; }
.sah-quote__done:focus, .sah-quote__done:focus-visible { outline: none; box-shadow: none; }
.sah-quote__done a { color: var(--brand); font-weight: 700; }
.sah-quote__tick { width: 68px; height: 68px; color: #1a7f4b; }
.sah-actionbar { transition: transform .35s var(--sah-ease-out), visibility 0s linear 0s; }
.sah-actionbar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--sah-ease-out), visibility 0s linear .35s; }

@keyframes sah-spin { to { transform: rotate(360deg); } }

/* ---------- button hover text colours ----------
   Oxygen's global "a:hover" rule recolours link text on hover, and the design's hover rules for these buttons change
   only the background, so the text took the link colour (blue on blue, blue on yellow). Each style keeps its text colour. */
:root .sah-btn--primary:hover { color: var(--on-brand); }
:root .sah-btn--quote:hover { color: var(--on-accent); }
:root .sah-btn--outline:hover { color: var(--on-dark); }
:root .sah-btn--on-brand:hover { color: var(--ink); }

/* ---------- Home hero slider (client chose option A, 30 Nov 2026) ----------
   Photos fill the hero behind the headline; the quote form stays on the right as a card. Below 1024px the photo sits
   behind the headline only and the form follows on the page ground. quote.js adds the controls; without it the first
   photo shows. */
.sah-hero--slider { position: relative; display: grid; isolation: isolate; overflow: hidden; background: var(--ink); }
.sah-hero--slider > .sah-hero__slides, .sah-hero--slider > .sah-hero__inner { grid-area: 1 / 1; }
.sah-hero__slides { position: relative; z-index: 0; min-height: 100%; margin: 0; overflow: hidden; }
.sah-hero__slides::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 38, .9) 0%, rgba(10, 22, 38, .74) 40%, rgba(10, 22, 38, .4) 68%, rgba(10, 22, 38, .25) 100%);
}
.sah-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.sah-hero__slide:first-child, .sah-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; }
.sah-hero__slides.is-ready .sah-hero__slide:not(.is-active) { opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.sah-hero__slide .sah-hero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.sah-hero__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sah-hero--slider .sah-hero__inner { position: relative; z-index: 2; padding-block: 88px; }
.sah-hero--slider .sah-hero__title { color: #fff; }
.sah-hero--slider .sah-hero__lead { color: var(--on-dark); }
.sah-hero--slider .sah-eyebrow { color: var(--accent); }
.sah-hero--slider .sah-quote { background: var(--surface-raised); border-color: transparent; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.sah-hero__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 560px; }
.sah-hero__tabs { display: flex; gap: 16px; flex: 1 1 300px; margin: 0; padding: 0; }
.sah-hero__tab {
  all: unset; box-sizing: border-box; flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; padding-block: 6px;
  color: var(--on-dark-muted); font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: color .25s ease;
}
.sah-hero__tab i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.sah-hero__tab i::after { content: ""; display: block; width: 0; height: 100%; background: var(--accent); }
.sah-hero__tab:hover, .sah-hero__tab.is-active { color: #fff; }
.sah-hero__tab.is-active i::after { width: 100%; transition: width var(--sah-hero-dur, 6s) linear; }
.sah-hero--paused .sah-hero__tab.is-active i::after { transition: none; }
.sah-hero__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.sah-hero__arrows { display: flex; gap: 8px; }
.sah-hero__arrow {
  all: unset; box-sizing: border-box; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .6); background: rgba(14, 27, 44, .35); color: #fff; transition: background-color .25s ease, border-color .25s ease;
}
.sah-hero__arrow:hover { background: rgba(14, 27, 44, .75); border-color: #fff; }
.sah-hero__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sah-hero__arrow svg { width: 18px; height: 18px; }
@media (max-width: 1023px) {
  .sah-hero--slider { grid-template-areas: "photo" "form"; background: var(--surface); }
  .sah-hero--slider > .sah-hero__slides { grid-area: photo; }
  .sah-hero--slider > .sah-hero__inner { display: contents; }
  .sah-hero--slider .sah-hero__copy, .sah-hero--slider .sah-hero__aside {
    box-sizing: border-box; width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad);
  }
  .sah-hero--slider .sah-hero__copy { grid-area: photo; position: relative; z-index: 2; padding-block: 56px 40px; }
  .sah-hero--slider .sah-hero__aside { grid-area: form; padding-block: 32px 48px; }
  .sah-hero__slides::after { background: linear-gradient(180deg, rgba(10, 22, 38, .8) 0%, rgba(10, 22, 38, .72) 55%, rgba(10, 22, 38, .86) 100%); }
  .sah-hero--slider .sah-quote { border-color: var(--line); box-shadow: none; }
}
@media (max-width: 767px) {
  .sah-hero--slider .sah-hero__copy { padding-block: 40px 32px; }
  .sah-hero__controls { flex-wrap: nowrap; gap: 12px; }
  .sah-hero__tabs { gap: 10px; flex-basis: auto; }
  .sah-hero__tab { font-size: 13px; }
  .sah-hero__arrow[data-go] { display: none; } /* tapping a tab moves between photos; pause stays */
}

/* "Read every review on Google" card beside the reviews on Home */
.sah-review-more { justify-content: center; background: var(--brand-soft); }
.sah-review-more > * { margin: 0; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes sah-rise { from { opacity: 0; transform: translateY(26px); } }
  @keyframes sah-slide-in { from { opacity: 0; transform: translateX(40px) scale(.98); } }
  @keyframes sah-fade-down { from { opacity: 0; transform: translateY(-8px); } }
  @keyframes sah-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
  @keyframes sah-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
  @keyframes sah-draw { to { stroke-dashoffset: 0; } }
  @keyframes sah-up { from { transform: translateY(110%); } }
  @keyframes sah-menu-in { from { opacity: 0; transform: translateY(-10px); } }

  /* Home hero slider: a slow, gentle zoom on the photo on screen. */
  .sah-hero__slides.is-ready .sah-hero__img { transform: scale(1.001); transition: transform 0s linear 1.2s; }
  .sah-hero__slides.is-ready .is-active .sah-hero__img { transform: scale(1.05); transition: transform 9s linear; }

  /* Hero entrance: CSS only, so it starts with the first paint. */
  .sah-motion .sah-hero__copy > * { animation: sah-rise .8s var(--sah-ease-out) backwards; }
  .sah-motion .sah-hero__copy > :nth-child(2) { animation-delay: .08s; }
  .sah-motion .sah-hero__copy > :nth-child(3) { animation-delay: .16s; }
  .sah-motion .sah-hero__copy > :nth-child(4) { animation-delay: .24s; }
  .sah-motion .sah-hero__copy > :nth-child(5) { animation-delay: .32s; }
  .sah-motion .sah-hero__copy > :nth-child(n+6) { animation-delay: .4s; }
  .sah-motion .sah-hero__aside { animation: sah-slide-in .9s .12s var(--sah-ease-out) backwards; }
  .sah-motion .sah-badge { animation: sah-pop .5s var(--sah-ease-out) backwards; }
  .sah-motion .sah-badge:nth-child(1) { animation-delay: .45s; }
  .sah-motion .sah-badge:nth-child(2) { animation-delay: .53s; }
  .sah-motion .sah-badge:nth-child(3) { animation-delay: .61s; }
  .sah-motion .sah-badge:nth-child(n+4) { animation-delay: .69s; }

  /* Scroll reveal (assets/js/motion.js adds .sah-reveal, then .is-in when the block scrolls into view). */
  .sah-motion .sah-reveal { opacity: 0; transform: translateY(32px); }
  .sah-motion .sah-reveal--fade { transform: none; }
  .sah-motion .sah-reveal--zoom { transform: scale(.94); }
  .sah-motion .sah-reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s ease var(--sah-d, 0ms), transform .9s var(--sah-ease-out) var(--sah-d, 0ms);
  }
  .sah-motion .sah-step.is-in::before { animation: sah-pop .6s var(--sah-ease-out) backwards; animation-delay: calc(var(--sah-d, 0ms) + .15s); }

  /* Header */
  .sah-header { transition: box-shadow .3s ease; }
  .sah-nav > li > a {
    background: linear-gradient(var(--brand), var(--brand)) no-repeat left bottom / 0 2px;
    background-origin: border-box;
    transition: color .2s ease, background-size .35s var(--sah-ease-out);
  }
  .sah-nav > li > a:hover, .sah-nav__item--sub:is(:hover, .is-open) > .sah-nav__parent { border-bottom-color: transparent; background-size: 100% 2px; }
  .sah-nav > li > a[aria-current="page"] { border-bottom-color: var(--brand); }
  .sah-subnav > li { opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s var(--sah-ease-out); }
  .sah-nav__item--sub:is(:hover, :focus-within, .is-open):not(.is-closed) .sah-subnav > li { opacity: 1; transform: none; }
  .sah-subnav > li:nth-child(2) { transition-delay: .03s; }
  .sah-subnav > li:nth-child(3) { transition-delay: .06s; }
  .sah-subnav > li:nth-child(4) { transition-delay: .09s; }
  .sah-subnav > li:nth-child(5) { transition-delay: .12s; }
  .sah-subnav > li:nth-child(6) { transition-delay: .15s; }
  .sah-subnav > li:nth-child(7) { transition-delay: .18s; }
  .sah-subnav > li:nth-child(n+8) { transition-delay: .21s; }
  .sah-menu > summary { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
  .sah-menu > summary:active { transform: scale(.92); }
  .sah-menu[open] > summary { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
  .sah-menu[open] .sah-menu__list { animation: sah-menu-in .3s var(--sah-ease-out) backwards; }
  .sah-menu__group[open] .sah-menu__sub { animation: sah-fade-down .3s var(--sah-ease-out) backwards; }
  .sah-actionbar { animation: sah-up .5s .5s var(--sah-ease-out) backwards; }

  /* Hover effects. Oxygen's selectors.css loads after this file and sets "transition" on buttons, cards and chips
     to colour only, which made lifts jump instead of glide. The ":root" prefix keeps these transitions in charge.
     Corporate feel (client request): no bounce, no sweep, no wiggle; short calm moves with one easing. */
  :root { --sah-ease-hover: cubic-bezier(.25, .1, .25, 1); }

  /* Buttons: the colour change from the design, eased, plus a soft shadow. No movement. */
  :root .sah-btn {
    transition: background-color .25s var(--sah-ease-hover), border-color .25s var(--sah-ease-hover),
      color .25s var(--sah-ease-hover), box-shadow .25s var(--sah-ease-hover);
  }
  :root .sah-btn:hover { box-shadow: 0 6px 16px -8px rgba(14, 27, 44, .35); }
  :root .sah-btn--quote:hover { box-shadow: 0 6px 16px -8px rgba(160, 110, 0, .45); }
  :root .sah-btn:active { box-shadow: 0 2px 6px -3px rgba(14, 27, 44, .35); transition-duration: .1s; }
  .sah-link svg { transition: transform .3s var(--sah-ease-hover); }
  .sah-link:hover svg, a:hover > .sah-link svg, .sah-card:hover .sah-link svg { transform: translateX(4px); }

  /* Cards: a small lift and a soft shadow, the photo zooms slightly. */
  :root :is(.sah-fleet-card, .sah-post-card, a.sah-card, .sah-review) {
    transition: border-color .3s var(--sah-ease-hover), transform .45s var(--sah-ease-hover), box-shadow .45s var(--sah-ease-hover);
    backface-visibility: hidden;
  }
  :root :is(.sah-fleet-card, .sah-post-card, a.sah-card, .sah-review):hover { transform: translateY(-4px); box-shadow: var(--sah-shadow-lift); }
  :root .sah-post-card--feature:hover { transform: translateY(-3px); }
  :root :is(.sah-fleet-card__media, .sah-post-card__media) { transition: transform .8s var(--sah-ease-hover); backface-visibility: hidden; }
  :root :is(.sah-fleet-card, .sah-post-card):hover :is(.sah-fleet-card__media, .sah-post-card__media) { transform: scale(1.04); }
  :root :is(.sah-fleet-card, .sah-post-card) :is(h2, h3) { transition: color .25s var(--sah-ease-hover); }
  :root :is(.sah-fleet-card, .sah-post-card):hover :is(h2, h3) { color: var(--brand); }
  :root .sah-photo-grid__item img { transition: transform .8s var(--sah-ease-hover); }
  :root .sah-photo-grid__item:hover img { transform: scale(1.04); }

  /* Service rows: an accent bar grows and the row content eases a little to the right. */
  .sah-service { position: relative; }
  .sah-service::before {
    content: ""; position: absolute; left: 0; top: var(--space-6); bottom: var(--space-6); width: 3px;
    border-radius: 2px; background: var(--brand); transform: scaleY(0); transform-origin: top;
    transition: transform .4s var(--sah-ease-hover);
  }
  :root .sah-service > * { transition: transform .4s var(--sah-ease-hover), color .25s var(--sah-ease-hover); }
  .sah-service:hover::before { transform: scaleY(1); }
  :root .sah-service:hover > * { transform: translateX(8px); }

  /* Small controls */
  :root :is(.sah-chip, .sah-pagination a) {
    transition: background-color .25s var(--sah-ease-hover), border-color .25s var(--sah-ease-hover),
      color .25s var(--sah-ease-hover), box-shadow .25s var(--sah-ease-hover);
  }
  :root :is(.sah-chip, .sah-pagination a):hover { box-shadow: 0 4px 12px -8px rgba(14, 27, 44, .4); }
  :root .sah-pill span { transition: background-color .25s var(--sah-ease-hover), border-color .25s var(--sah-ease-hover), color .25s var(--sah-ease-hover); }
  :root .sah-input { transition: background-color .25s var(--sah-ease-hover), border-color .25s var(--sah-ease-hover), box-shadow .25s var(--sah-ease-hover); }
  .sah-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(32, 104, 176, .15); outline: none; }
  :root .sah-badge { transition: border-color .25s var(--sah-ease-hover); }
  :root .sah-badge:hover { border-color: var(--brand); }
  .sah-footer a { transition: color .2s ease, opacity .2s ease; }
  .sah-topbar a { transition: opacity .2s ease; }

  /* FAQ: smooth chevron and answer */
  .sah-faq__item { transition: box-shadow .3s ease, transform .3s var(--sah-ease-out); }
  .sah-faq__item:hover { box-shadow: 0 10px 26px -16px rgba(14, 27, 44, .35); }
  .sah-faq__item > summary::after { transition: transform .35s var(--sah-ease-out), margin .35s var(--sah-ease-out); }
  .sah-faq__item[open] > .sah-faq__answer, .sah-faq__item[open] > summary + * { animation: sah-fade-down .4s var(--sah-ease-out) backwards; }
  .sah-toc a { transition: color .2s ease, padding .25s var(--sah-ease-out); }
  .sah-toc a:hover { padding-left: 4px; }

  /* Quote form feedback */
  .sah-shake { animation: sah-shake .5s ease; }
  .sah-field__error { animation: sah-fade-down .25s ease backwards; }
  .sah-quote__done { animation: sah-rise .6s var(--sah-ease-out) backwards; }
  .sah-quote__tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: sah-draw .7s .1s var(--sah-ease-out) forwards; }
  .sah-quote__tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: sah-draw .45s .6s var(--sah-ease-out) forwards; }
}

/* Touch screens have no hover: keep cards and buttons still there (no stuck "lifted" state after a tap). */
@media (hover: none) {
  :root :is(.sah-btn, .sah-fleet-card, .sah-post-card, a.sah-card, .sah-review, .sah-chip, .sah-pagination a):hover { transform: none; box-shadow: none; }
  :root :is(.sah-fleet-card, .sah-post-card):hover :is(.sah-fleet-card__media, .sah-post-card__media), :root .sah-photo-grid__item:hover img { transform: none; }
  :root .sah-service:hover > * { transform: none; }
  .sah-service:hover::before { transform: scaleY(0); }
}

/* Google Map in the handoff's map box (inc/business.php fills it) */
.sah-map:has(> .sah-map__frame) { display: block; min-height: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface-sunken); }
.sah-map__frame { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 767px) { .sah-map__frame { height: 300px; } }

/* The 14 and 34 seater images are real photos since 30 Nov 2026 (were white-background stock cut-outs), so fleet cards
   fill the frame with them like the other photo cards (.sah-fleet-card__media--photo) instead of letterboxing. */
.sah-fleet-card__media[src*="/bus-14"], .sah-fleet-card__media[src*="/bus-34"] { object-fit: cover; }

/* ---------- contact card + map: same height (Home, About, Areas, Contact) ---------- */
.sah-split:has(> .sah-map) { align-items: stretch; }
.sah-map:has(> .sah-map__frame) { display: flex; align-items: stretch; justify-content: stretch; min-height: 360px; }
.sah-map:has(> .sah-map__frame) .sah-map__frame { flex: 1 1 auto; height: auto; min-height: 360px; }
@media (max-width: 767px) {
  .sah-map:has(> .sah-map__frame), .sah-map:has(> .sah-map__frame) .sah-map__frame { min-height: 300px; }
}

/* ---------- "What customers say" (Home): dark band, rating summary, gold stars, slider ---------- */
.sah-stars { display: inline-flex; gap: 3px; }
/* Oxygen wraps each star svg in div.oxy-svg-icon2 (display: contents in sah-base.css) and gives it per-element size and
   colour rules, so these need !important to stay small and gold. */
body .sah-stars svg { width: 18px !important; height: 18px !important; max-width: none; flex: none; color: #f5b301 !important; fill: #f5b301 !important; stroke: #f5b301 !important; }
body .sah-review__rating .sah-stars svg { width: 20px !important; height: 20px !important; }
.sah-review__rating { display: block; }
.sah-reviews { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.sah-reviews::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(33, 109, 176, .35), transparent); pointer-events: none;
}
.sah-reviews > .sah-container { position: relative; }
.sah-reviews .sah-heading .h2 { color: #fff; }
.sah-reviews .sah-heading__intro { color: var(--on-dark-muted); }
.sah-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.sah-reviews__score {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease;
}
.sah-reviews__score:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.sah-reviews__num { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.sah-reviews__meta { display: flex; flex-direction: column; gap: 6px; }
.sah-reviews__meta .small { color: var(--on-dark-muted); }
/* the track: a row of cards that scrolls and snaps; quote.js adds arrows, dots and autoplay */
.sah-reviews .sah-reviews__track {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 2px 12px; margin: -8px -2px -12px; scrollbar-width: none;
}
.sah-reviews .sah-reviews__track::-webkit-scrollbar { display: none; }
.sah-reviews .sah-reviews__track > * { scroll-snap-align: start; min-width: 0; }
.sah-reviews .sah-review {
  position: relative; gap: 18px; padding: 28px; background: #fff; color: var(--ink); border: 0;
  border-radius: var(--radius-lg); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6);
}
.sah-reviews .sah-review::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px; font-size: 96px; line-height: 1; font-weight: 800;
  color: var(--brand); opacity: .12; pointer-events: none;
}
.sah-reviews .sah-review blockquote { margin: 0; color: var(--ink-soft); }
.sah-reviews .sah-review__by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.sah-review__avatar {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .02em;
}
.sah-review__who { display: flex; flex-direction: column; line-height: 1.3; }
.sah-review__who .small { color: var(--ink-muted); }
.sah-reviews .sah-review-more { justify-content: center; gap: 14px; padding: 28px; border: 1px dashed rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; }
.sah-reviews .sah-review-more .body { color: var(--on-dark-muted); }
.sah-reviews .sah-review-more .sah-link { color: #fff; }
.sah-reviews .sah-review-more:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.sah-reviews__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sah-reviews__dots { display: flex; flex-wrap: wrap; gap: 8px; }
.sah-reviews__dot {
  all: unset; box-sizing: border-box; width: 10px; height: 10px; border-radius: 5px; cursor: pointer;
  background: rgba(255, 255, 255, .3); transition: width .3s ease, background-color .3s ease;
}
.sah-reviews__dot[aria-current="true"] { width: 28px; background: #f5b301; }
.sah-reviews__dot:focus-visible { outline: 2px solid #f5b301; outline-offset: 3px; }
.sah-reviews__arrows { display: flex; gap: 10px; }
.sah-reviews__arrow {
  all: unset; box-sizing: border-box; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .45); color: #fff; transition: background-color .25s ease, border-color .25s ease, opacity .25s ease;
}
.sah-reviews__arrow:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.sah-reviews__arrow:focus-visible { outline: 2px solid #f5b301; outline-offset: 2px; }
.sah-reviews__arrow[disabled] { opacity: .35; cursor: default; }
.sah-reviews__arrow svg { width: 20px; height: 20px; }
@media (max-width: 1023px) { .sah-reviews .sah-reviews__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 767px) {
  .sah-reviews .sah-reviews__track { grid-auto-columns: 86%; gap: 16px; }
  .sah-reviews .sah-review, .sah-reviews .sah-review-more { padding: 22px; }
  .sah-reviews__num { font-size: 36px; }
}

/* "Why customers choose us" cards in the same band (1 Dec 2026: no reviews yet, so facts instead of quotes) */
.sah-reviews .sah-reason { gap: 14px; }
.sah-reviews .sah-reason::before { content: none; }
.sah-reason__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
body .sah-reason__icon svg { width: 28px !important; height: 28px !important; color: var(--brand) !important; stroke: currentColor; fill: none; }
.sah-reviews .sah-reason h3 { margin: 4px 0 0; color: var(--ink); }
.sah-reviews .sah-reason p { margin: 0; color: var(--ink-soft); }
.sah-reviews__meta strong { color: #fff; font-size: 17px; }
.sah-reviews__dot[hidden], .sah-reviews__controls[hidden] { display: none; } /* all: unset on the dots cancels the browser rule for [hidden] */

/* ---------- contact icons in the top bar and footer, logo in the footer (1 Dec 2026) ----------
   Oxygen wraps each svg in div.oxy-svg-icon2 with per-element sizes, hence !important on the svg size and colour. */
.sah-topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.sah-topbar__links { align-items: center; }
.sah-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
body .sah-topbar__item svg { width: 15px !important; height: 15px !important; flex: none; color: var(--accent) !important; }
.sah-footer__brand { gap: 6px; }
.sah-footer__logo { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 0; }
.sah-footer__logo img { display: block; height: 64px; width: auto; max-width: 100%; }
.sah-footer__item { display: flex; align-items: flex-start; gap: 10px; padding-block: 3px; }
.sah-footer__item > a, .sah-footer__item > span { padding-block: 0; overflow-wrap: anywhere; }
body .sah-footer__item svg { width: 18px !important; height: 18px !important; flex: none; margin-top: 2px; color: var(--accent) !important; }
@media (max-width: 767px) { .sah-topbar__group { display: none; } }
/* Footer: the brand column holds the email address, which needs more room than a quarter of the width. */
@media (min-width: 1024px) { :root .sah-footer__inner { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } } /* :root: Oxygen selectors.css loads later */
@media (min-width: 560px) and (max-width: 1023px) { :root .sah-footer__brand { grid-column: 1 / -1; } }

/* ---------- Image crops (1 Dec 2026 full image check) ----------
   The design's fleet card frame (full width x 170px, about 2.2:1) cut the real bus photos to a strip (roof and wheels
   gone), and the phone layout stretched it into a tall sliver. Cards now use a 4:3 frame, which fits the photos and keeps
   the white cut-outs centred; on phones the image is a 4:3 thumbnail. The 14 and 34 seater pages show their real photos
   full-frame. Blog headers are 16:9 instead of 2:1, and blog images sit lower in the frame so the wheels stay in view.
   :root because Oxygen's selectors.css (which carries the design's rules) loads after this file. */
:root .sah-fleet-card__media { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 479px) {
  :root .sah-fleet-card__media {
    width: 120px; height: 90px; min-height: 0; aspect-ratio: auto; align-self: center;
    margin: 12px 0 12px 12px; border: 0; border-radius: 8px;
  }
}
:root .sah-hero__media--contain[src*="/bus-14"], :root .sah-hero__media--contain[src*="/bus-34"] { object-fit: cover; border: 0; }
:root .sah-post-hero { aspect-ratio: 16 / 9; }
:root :is(.sah-post-hero, .sah-post-card__media) { object-position: 50% 65%; }

/* ---------- Price calculator (/bus-rental-price-calculator/, assets/js/calc.js) ---------- */
.sah-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.sah-calc .sah-calc__form { max-width: none; }
.sah-calc .sah-pill.is-disabled span { opacity: .45; cursor: not-allowed; }
.sah-calc__result {
  position: sticky; top: 110px; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6);
  background: var(--surface-raised); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-xl);
}
.sah-calc__result > * { margin: 0; }
.sah-calc__total { display: flex; flex-direction: column; gap: 4px; }
.sah-calc__total .display { font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--ink); }
.sah-calc__lines { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 18px; color: var(--ink-soft); }
.sah-calc__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.sah-calc [hidden] { display: none !important; }
@media (max-width: 899px) { .sah-calc { grid-template-columns: minmax(0, 1fr); } .sah-calc__result { position: static; } }

/* Top bar links: a 28px tall tap area (WCAG 2.5.8 asks for at least 24px) without making the bar taller. */
:root .sah-topbar__inner { padding-block: 6px; }
:root .sah-topbar a { display: inline-flex; align-items: center; min-height: 28px; }

/* Bigger tap areas without changing the look (WCAG 2.5.8, at least 24px). */
.sah-reviews__dot { position: relative; }
.sah-reviews__dot::before { content: ""; position: absolute; inset: -8px -3px; } /* the dots stay 10px; the touch area is 26px tall */
:root .sah-toc a { display: inline-block; padding-block: 3px; }
:root .sah-contact a { display: inline-flex; align-items: center; min-height: 28px; }
