/* Miller Cars Detailing production fixes, 2026-09-02 */

html {
  background: #050505;
}

body {
  overflow-x: hidden;
}

main,
section,
footer,
.page-shell,
.header-inner,
.split-heading > *,
.craft-grid > *,
.business-grid > *,
.location-grid > *,
.two-column-content > *,
.faq-grid > *,
.contact-grid > *,
.story-grid > *,
.b2b-detail-grid > *,
.subpage-hero-inner > *,
.service-card,
.package-card,
.b2b-benefit-grid article {
  min-width: 0;
}

h1,
h2,
h3,
.service-card-topline span,
.footer-contact a,
.mobile-menu-contact a {
  overflow-wrap: break-word;
  hyphens: auto;
}

.button {
  max-width: 100%;
}

/* Static HTML navigation. Removes the old SPA transition flicker. */
body.menu-open {
  overflow: hidden;
}

.mobile-services-list[hidden] {
  display: none !important;
}

.mobile-services-trigger svg {
  transition: transform .18s ease;
}

.mobile-services-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Hero image is now a real image element for accessibility and image SEO. */
.hero-image {
  background-image: none !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.02);
}

/* Reduce the oversized gap before the services section. */
#leistungen.section {
  padding-top: 62px;
}

#leistungen .section-heading {
  margin-bottom: 46px;
}

/* Each primary service has a distinct visual symbol. */
.mcd-service-icon {
  width: 24px;
  height: 24px;
}

/* Contrast fixes for sections that previously used dark ink on a dark background. */
.section-heading.dark-copy h2 {
  color: #fff;
}

.section-heading.dark-copy .eyebrow {
  color: var(--gold-light);
}

.story-grid {
  color: #fff;
}

.story-grid .eyebrow {
  color: var(--gold-light);
}

.story-copy {
  color: var(--text-soft);
}

/* Service hero: tighter vertical rhythm and safer text wrapping. */
.subpage-hero-inner {
  min-height: 570px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.subpage-hero h1 {
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
}

.subpage-hero-inner > div:first-child > p:not(.eyebrow) {
  max-width: 700px;
  line-height: 1.72;
}

/* Footer bottom: cleaner branding plus subtle AI image disclosure. */
.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 28px;
  row-gap: 8px;
}

.footer-bottom > span:nth-child(2) {
  justify-self: end;
  color: #8b8881;
}

.ai-image-note {
  grid-column: 1 / -1;
  color: #55534e;
  font-size: .68rem;
  line-height: 1.45;
  letter-spacing: .01em;
}

/* Contact details may contain long mail addresses on small screens. */
.footer-contact a,
.mobile-menu-contact a {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Tablet */
@media (width <= 900px) {
  #leistungen.section {
    padding-top: 52px;
  }

  #leistungen .section-heading {
    margin-bottom: 40px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .subpage-hero-inner {
    min-height: auto;
    gap: 34px;
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .service-price-orbit {
    width: 210px;
    height: 210px;
  }

  .service-price-orbit strong {
    font-size: 1.75rem;
  }

  .story-grid {
    gap: 38px;
  }
}

/* Smartphone */
@media (width <= 640px) {
  :root {
    --mobile-contact-height: 68px;
  }

  body {
    padding-bottom: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-phone {
    display: none !important;
  }

  .menu-toggle {
    justify-self: end;
  }

  .header-logo {
    width: 142px;
    max-width: min(46vw, 142px);
  }

  /* Home hero was too tall on phones. */
  .hero-section,
  .hero-content {
    min-height: 650px;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-content h1 {
    font-size: clamp(3.15rem, 15.2vw, 4.35rem);
    line-height: .94;
    margin-bottom: 20px;
  }

  .hero-lead {
    line-height: 1.62;
    margin-bottom: 24px;
  }

  .hero-section .hero-actions .button-ghost,
  .subpage-hero .hero-actions .button-ghost,
  .simple-hero .hero-actions .button-ghost {
    display: none;
  }

  #leistungen.section {
    padding-top: 38px;
  }

  #leistungen .section-heading {
    margin-bottom: 32px;
  }

  #leistungen .split-heading {
    gap: 20px;
  }

  #leistungen .split-heading h2 {
    font-size: clamp(2.45rem, 11.2vw, 3.15rem);
    line-height: 1.01;
  }

  .trust-grid > div {
    min-height: 78px;
  }

  /* Fix long service headings and the large empty top area seen on multiple pages. */
  .subpage-hero-inner {
    min-height: auto;
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .subpage-hero h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.45rem);
    line-height: .99;
    letter-spacing: -.038em;
    margin-bottom: 22px;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .subpage-hero-inner > div:first-child > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 26px;
  }

  .subpage-hero .eyebrow {
    margin-bottom: 13px;
    font-size: .72rem;
    letter-spacing: .19em;
  }

  /* The large circular price badge becomes a compact mobile price strip. */
  .service-price-orbit {
    width: 100%;
    height: auto;
    min-height: 64px;
    border-radius: 0;
    justify-self: stretch;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 13px 16px;
    box-shadow: inset 0 0 35px #d4a02d12;
  }

  .service-price-orbit:after {
    display: none;
  }

  .service-price-orbit svg {
    width: 22px;
    height: 22px;
    margin: 0 3px 0 0;
    flex: 0 0 22px;
  }

  .service-price-orbit span {
    font-size: .65rem;
    letter-spacing: .15em;
  }

  .service-price-orbit strong {
    margin-left: auto;
    font-size: 1.45rem;
    white-space: nowrap;
  }

  /* Make all dark section headlines readable. */
  .section-heading.dark-copy h2,
  .story-grid h2 {
    color: #fff;
  }

  .story-copy {
    color: #aaa7a0;
  }

  /* Prevent labels and prices from colliding. */
  .service-card-topline {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .service-card-topline span {
    min-width: 0;
  }

  .service-card-topline strong {
    flex: 0 0 auto;
  }

  /* Exactly half and half. Contact left, call right and emphasized. */
  .mobile-contact-bar {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: var(--mobile-contact-height);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-contact-bar a {
    min-width: 0;
    min-height: var(--mobile-contact-height);
    padding: 0 10px;
    white-space: nowrap;
    font-size: .80rem;
    line-height: 1;
  }

  .mobile-contact-bar a:first-child {
    background: #080808;
    color: #fff;
  }

  .mobile-contact-bar a:last-child {
    background: linear-gradient(120deg, var(--gold-dark), var(--gold-light));
    color: #080808;
  }

  .mobile-contact-bar svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
  }

  /* Cleaner mobile footer finishing line. */
  .footer-grid {
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    row-gap: 7px;
    padding-top: 18px;
    padding-bottom: 22px;
    font-size: .76rem;
  }

  .footer-bottom > span:first-child {
    color: #87847d;
  }

  .footer-bottom > span:nth-child(2) {
    justify-self: end;
    color: var(--gold-light);
    opacity: .72;
    font-style: italic;
  }

  .ai-image-note {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #ffffff0d;
    color: #55534e;
    font-size: .64rem;
  }

  .footer-contact a {
    max-width: 100%;
  }

  .faq-list summary {
    padding-right: 36px;
  }

  .faq-list details p {
    padding-right: 12px;
  }

  .b2b-benefit-grid article {
    padding: 30px;
  }

  .contact-info-card,
  .contact-form {
    padding: 24px;
  }
}

@media (width <= 390px) {
  .page-shell,
  .header-inner {
    width: calc(100% - 24px);
  }

  .mobile-contact-bar a {
    padding: 0 7px;
    font-size: .75rem;
    gap: 6px;
  }

  .subpage-hero h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.1rem);
  }

  .service-card {
    padding: 24px;
  }
}

/* Final responsive safeguards found during cross-viewport audit. */
@media (width <= 900px) and (width > 640px) {
  .extras-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 640px) {
  .hero-section,
  .hero-content {
    min-height: 610px;
  }

  .hero-section .eyebrow {
    max-width: 100%;
    font-size: .68rem;
    letter-spacing: .22em;
    line-height: 1.55;
  }
}

@media (width <= 640px) {
  .hero-overlay {
    background:
      linear-gradient(#01010124 16%, #01010173 48%, #010101dc 76%, #010101fa 100%),
      linear-gradient(90deg, #01010173, #01010114);
  }
}


/* V3 refinement: tighter spacing, clearer icons and accessibility. */

/* Keyboard access and visible focus */
.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  background: #fff;
  color: #050505;
  border: 2px solid var(--gold);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2cf67;
  outline-offset: 4px;
}

.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Less empty space across the complete site. */
.section { padding: 78px 0; }
.related-services { padding: 60px 0; }
.final-cta-inner { padding-top: 60px; padding-bottom: 60px; }
.section-heading { margin-bottom: 42px; }
.centered-heading { margin-bottom: 44px; }

.subpage-hero-inner {
  min-height: 520px;
  padding-top: 54px;
  padding-bottom: 54px;
}

/* The fleet illustration replaces the old MC circle on desktop. */
.business-fleet-visual {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(12,12,12,.16);
  background: radial-gradient(circle at 52% 48%, rgba(255,255,255,.26), transparent 55%);
}
.business-fleet-visual:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(12,12,12,.12);
  border-radius: 50%;
}
.business-fleet-visual svg {
  width: min(92%, 520px);
  position: relative;
  z-index: 1;
}
.business-fleet-visual .fleet-car,
.business-fleet-visual .fleet-road,
.business-fleet-visual .fleet-sparkles {
  fill: none;
  stroke: #14120d;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.business-fleet-visual .fleet-car-back { opacity: .38; animation: fleetFloat 4.8s ease-in-out infinite; }
.business-fleet-visual .fleet-car-mid { opacity: .62; animation: fleetFloat 4.8s ease-in-out .35s infinite; }
.business-fleet-visual .fleet-car-front { stroke: url(#fleetGold); stroke-width: 4; animation: fleetFloat 4.8s ease-in-out .7s infinite; }
.business-fleet-visual .fleet-road { opacity: .28; stroke-dasharray: 12 12; animation: fleetRoad 9s linear infinite; }
.business-fleet-visual .fleet-sparkles { stroke: #7b5006; opacity: .75; animation: fleetSpark 2.8s ease-in-out infinite; }
.business-fleet-visual > span {
  position: relative;
  z-index: 1;
  color: #17130b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
@keyframes fleetFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes fleetRoad { to{stroke-dashoffset:-96} }
@keyframes fleetSpark { 0%,100%{opacity:.35} 50%{opacity:1} }

/* Clearer car and price symbols. */
.mcd-car-icon,
.mcd-price-icon { width: 24px; height: 24px; }

/* One intentionally placed service radius note, only in the regional graphic. */
.service-area .area-radius {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  padding: 7px 12px;
  border: 1px solid rgba(16,16,16,.18);
  background: rgba(247,244,235,.88);
  color: #201b11;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

/* Better contrast on pale sections. */
.location-section .eyebrow,
.service-includes .eyebrow,
.contact-section .eyebrow {
  color: #805600;
}

@media (width <= 900px) {
  .section { padding: 60px 0; }
  .related-services { padding: 52px 0; }
  .final-cta-inner { padding-top: 54px; padding-bottom: 54px; }
  .section-heading { margin-bottom: 36px; }
  .subpage-hero-inner { padding-top: 46px; padding-bottom: 46px; }
  .business-fleet-visual { display: none; }
}

@media (width <= 640px) {
  .section { padding: 46px 0; }
  .related-services { padding: 44px 0; }
  .final-cta-inner { padding-top: 48px; padding-bottom: 48px; }
  .section-heading,
  .centered-heading { margin-bottom: 30px; }

  /* Home hero: remove the large empty area above the heading. */
  .hero-section,
  .hero-content {
    min-height: 0;
  }
  .hero-content {
    justify-content: flex-start;
    padding-top: 62px;
    padding-bottom: 42px;
  }
  .hero-content h1 { margin-bottom: 17px; }
  .hero-lead { margin-bottom: 20px; }
  .hero-note { margin-top: 22px; }

  /* Restore the direct call CTA under the primary hero button. */
  .hero-section .hero-actions .button-ghost,
  .subpage-hero .hero-actions .button-ghost {
    display: inline-flex;
  }

  .subpage-hero-inner {
    padding-top: 32px;
    padding-bottom: 36px;
    gap: 20px;
  }
  .subpage-hero h1 { margin-bottom: 18px; }
  .subpage-hero-inner > div:first-child > p:not(.eyebrow) { margin-bottom: 20px; }

  #leistungen.section { padding-top: 30px; }
  #leistungen .section-heading { margin-bottom: 27px; }

  .service-area .area-radius {
    bottom: 8%;
    font-size: .61rem;
    padding: 6px 9px;
  }

  .service-price-orbit {
    min-height: 62px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

@media (width <= 390px) {
  .hero-content { padding-top: 52px; }
  .section { padding: 42px 0; }
  .mobile-contact-bar a { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .business-fleet-visual .fleet-car-back,
  .business-fleet-visual .fleet-car-mid,
  .business-fleet-visual .fleet-car-front,
  .business-fleet-visual .fleet-road,
  .business-fleet-visual .fleet-sparkles {
    animation: none !important;
  }
}


/* V4 polish: touch menu, B2B heading and regional visual. */

/* Touch taps must not look like an active gold selection. Keyboard focus stays visible. */
@media (hover: none) and (pointer: coarse) {
  .mobile-menu a:focus-visible,
  .mobile-menu button:focus-visible,
  .menu-toggle:focus-visible {
    outline: none;
    outline-offset: 0;
  }
}

/* Clean line composition on the Firmenkunden benefit heading. */
.b2b-flow-heading h2 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

@media (width <= 640px) {
  .b2b-flow-heading {
    margin-bottom: 32px;
  }

  .b2b-flow-heading h2 {
    font-size: clamp(2.35rem, 10.2vw, 2.85rem);
    line-height: .98;
    letter-spacing: -.035em;
  }

  .b2b-flow-heading h2 span {
    display: block;
  }
}

/* No radius copy in the regional graphic. City names and center remain. */
.service-area .area-radius {
  display: none !important;
}


/* V5 polish: remove false mobile active state, clean B2B heading, cleaner fleet visual. */

@media (hover: none) and (pointer: coarse) {
  .mobile-menu a,
  .mobile-menu button,
  .menu-toggle {
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu a:focus,
  .mobile-menu a:active,
  .mobile-menu button:focus,
  .mobile-menu button:active,
  .menu-toggle:focus,
  .menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    color: inherit;
    background: transparent;
  }
}

.business-fleet-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 12px 0 0;
  background: none;
  border: 0;
  overflow: visible;
}

.business-fleet-visual:before,
.business-fleet-visual > span,
.business-fleet-visual .fleet-sparkles {
  display: none !important;
}

.business-fleet-visual svg {
  width: min(96%, 540px);
}

.business-fleet-visual .fleet-car,
.business-fleet-visual .fleet-road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-fleet-visual .fleet-car-back {
  stroke: rgba(28, 23, 16, .36);
  stroke-width: 3;
  opacity: 1;
  animation: none;
}

.business-fleet-visual .fleet-car-mid {
  stroke: rgba(28, 23, 16, .58);
  stroke-width: 3;
  opacity: 1;
  animation: none;
}

.business-fleet-visual .fleet-car-front {
  stroke: #ab7416;
  stroke-width: 3.4;
  animation: none;
}

.business-fleet-visual .fleet-road {
  stroke: rgba(28, 23, 16, .24);
  stroke-width: 2.4;
  stroke-dasharray: none;
  animation: none;
}

.b2b-flow-heading {
  margin-bottom: 36px;
}

.b2b-flow-heading h2 {
  max-width: 12ch;
  margin-inline: auto;
  text-wrap: balance;
}

@media (width <= 640px) {
  .b2b-flow-heading {
    margin-bottom: 28px;
  }

  .b2b-flow-heading h2 {
    max-width: 9ch;
    font-size: clamp(2.05rem, 9.2vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -.028em;
  }

  .business-fleet-visual {
    display: none;
  }
}


/* Round 2 visual refinements, 2026-09-02 */

/* The radius note should be communicated in copy, not duplicated inside the graphic. */
.service-area::before,
.service-area .area-radius {
  content: none !important;
  display: none !important;
}

/* Clearer icon for interior detailing. */
.mcd-icon-interior {
  stroke-width: 1.85;
}

/* More premium animated fleet scene with visible road movement. */
.business-fleet-visual {
  min-height: 400px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 27, 7, 0.12);
  background: radial-gradient(circle at 26% 22%, rgba(255,255,255,0.78), rgba(255,255,255,0) 38%), linear-gradient(145deg, rgba(249,246,238,1) 0%, rgba(235,218,169,0.95) 52%, rgba(209,163,63,0.86) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38);
}

.business-fleet-visual::before {
  content: "";
  position: absolute;
  inset: auto auto 28px 50%;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(78, 54, 7, 0.16);
  opacity: 0.55;
}

.business-fleet-visual::after {
  content: "";
  position: absolute;
  inset: 34px 42px auto auto;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.44) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 70%);
}

.business-fleet-visual > span {
  position: relative;
  z-index: 1;
  color: #241a0b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.business-fleet-visual svg {
  width: min(96%, 600px);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.business-fleet-visual .fleet-road-shadow {
  fill: rgba(57, 39, 7, 0.13);
  filter: url(#fleetSoftBlur);
}

.business-fleet-visual .fleet-road-surface {
  fill: none;
  stroke: rgba(29, 21, 9, 0.22);
  stroke-width: 26;
  stroke-linecap: round;
}

.business-fleet-visual .fleet-road-accent {
  fill: none;
  stroke: rgba(255,255,255,0.25);
  stroke-width: 5;
  stroke-linecap: round;
}

.business-fleet-visual .fleet-road-line {
  fill: none;
  stroke: rgba(255, 247, 226, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 18;
  animation: fleetLane 2.4s linear infinite;
}

.business-fleet-visual .lane-two {
  animation-duration: 2s;
}

.business-fleet-visual .fleet-motion path {
  fill: none;
  stroke: rgba(74, 52, 14, 0.3);
  stroke-width: 2.2;
  stroke-linecap: round;
  animation: fleetMotion 2.1s ease-in-out infinite;
}

.business-fleet-visual .fleet-glow path {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.72;
  animation: fleetGlow 2.4s ease-in-out infinite;
}

.business-fleet-visual .fleet-car {
  fill: none;
  stroke: rgba(34, 25, 11, 0.56);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-fleet-visual .fleet-car-back {
  opacity: 0.28;
  transform: translate(120px, 24px);
  animation: fleetCruiseBack 7.2s ease-in-out infinite;
}

.business-fleet-visual .fleet-car-mid {
  opacity: 0.46;
  transform: translate(236px, 6px);
  animation: fleetCruiseMid 5.8s ease-in-out infinite;
}

.business-fleet-visual .fleet-car-front {
  stroke: url(#fleetGoldLine);
  stroke-width: 3.8;
  transform: translate(272px, -14px);
  animation: fleetCruiseFront 4.6s ease-in-out infinite;
}

.business-fleet-visual .fleet-headlight {
  stroke: rgba(255, 241, 196, 0.9);
  stroke-width: 4.2;
}

@keyframes fleetLane {
  to {
    stroke-dashoffset: -72;
  }
}

@keyframes fleetMotion {
  0%, 100% {
    opacity: 0.15;
    transform: translateX(0);
  }
  50% {
    opacity: 0.6;
    transform: translateX(12px);
  }
}

@keyframes fleetGlow {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes fleetCruiseBack {
  0%, 100% {
    transform: translate(120px, 24px);
  }
  50% {
    transform: translate(144px, 22px);
  }
}

@keyframes fleetCruiseMid {
  0%, 100% {
    transform: translate(236px, 6px);
  }
  50% {
    transform: translate(270px, 3px);
  }
}

@keyframes fleetCruiseFront {
  0%, 100% {
    transform: translate(272px, -14px);
  }
  50% {
    transform: translate(326px, -18px);
  }
}

/* Safer heading size on smaller screens for the B2B overview. */
.b2b-flow-heading h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.1rem);
  line-height: 1.08;
}

@media (width <= 900px) {
  .b2b-flow-heading h2 {
    font-size: clamp(2rem, 5.8vw, 2.7rem);
  }
}

@media (width <= 640px) {
  .b2b-flow-heading h2 {
    font-size: clamp(1.95rem, 9vw, 2.35rem);
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-fleet-visual .fleet-road-line,
  .business-fleet-visual .fleet-motion path,
  .business-fleet-visual .fleet-glow path,
  .business-fleet-visual .fleet-car-back,
  .business-fleet-visual .fleet-car-mid,
  .business-fleet-visual .fleet-car-front {
    animation: none !important;
  }
}


/* V7 final visual polish */
.service-area::before,
.service-area .area-radius {
  content: none !important;
  display: none !important;
}

.business-fleet-visual {
  min-height: 400px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 32, 10, .12);
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.68), rgba(255,255,255,0) 27%),
    linear-gradient(145deg, #f7f1e1 0%, #ead49a 52%, #c9962d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.44);
}

.business-fleet-visual::before,
.business-fleet-visual::after {
  display: none !important;
}

.business-fleet-visual svg {
  width: min(98%, 680px);
  height: auto;
  overflow: visible;
}

.business-fleet-visual .fleet-horizon {
  fill: none;
  stroke: rgba(60,43,14,.18);
  stroke-width: 1.5;
}

.business-fleet-visual .fleet-road-dashes path {
  fill: none;
  stroke: rgba(255,249,231,.82);
  stroke-width: 4;
  stroke-linecap: round;
  animation: fleetRoadDrive 1.9s linear infinite;
}

.business-fleet-visual .fleet-speed-lines path {
  fill: none;
  stroke: rgba(86,61,17,.25);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: fleetSpeed 2s ease-in-out infinite;
}

.business-fleet-visual .fleet-car-shadow {
  fill: rgba(28,20,8,.18);
  filter: blur(6px);
  animation: fleetShadow 3.6s ease-in-out infinite;
}

.business-fleet-visual .fleet-drive-car {
  fill: none;
  stroke: url(#fleetGoldLine);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: fleetCruise 3.6s ease-in-out infinite;
}

.business-fleet-visual .fleet-car-body {
  fill: rgba(35,28,18,.035);
}

.business-fleet-visual .fleet-window-line {
  stroke: rgba(83,59,15,.48);
  stroke-width: 2.2;
}

.business-fleet-visual .fleet-bumper {
  stroke: rgba(72,51,14,.42);
  stroke-width: 2;
}

.business-fleet-visual .fleet-headlight {
  stroke: #fff1bf;
  stroke-width: 5;
}

.business-fleet-visual .fleet-tail-light {
  stroke: rgba(113,76,10,.8);
  stroke-width: 4;
}

.business-fleet-visual .fleet-wheel {
  stroke: rgba(44,32,13,.72);
  stroke-width: 2.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: fleetWheelSpin 2.4s linear infinite;
}

.business-fleet-visual .fleet-light-glow {
  fill: rgba(255,235,170,.54);
  filter: url(#fleetGlow);
  animation: fleetLight 2.1s ease-in-out infinite;
}

@keyframes fleetCruise {
  0%,100% { transform: translateX(-18px) translateY(0); }
  50% { transform: translateX(22px) translateY(-3px); }
}

@keyframes fleetShadow {
  0%,100% { transform: translateX(-12px) scaleX(.95); opacity: .15; }
  50% { transform: translateX(18px) scaleX(1); opacity: .22; }
}

@keyframes fleetRoadDrive {
  0% { transform: translateX(34px); opacity: .2; }
  25% { opacity: .9; }
  100% { transform: translateX(-54px); opacity: .15; }
}

@keyframes fleetSpeed {
  0%,100% { transform: translateX(0); opacity: .12; }
  50% { transform: translateX(-24px); opacity: .55; }
}

@keyframes fleetWheelSpin {
  to { rotate: 360deg; }
}

@keyframes fleetLight {
  0%,100% { opacity: .28; scale: .86; }
  50% { opacity: .72; scale: 1.05; }
}

@media (prefers-reduced-motion: reduce) {
  .business-fleet-visual .fleet-road-dashes path,
  .business-fleet-visual .fleet-speed-lines path,
  .business-fleet-visual .fleet-car-shadow,
  .business-fleet-visual .fleet-drive-car,
  .business-fleet-visual .fleet-wheel,
  .business-fleet-visual .fleet-light-glow {
    animation: none !important;
  }
}


/* V8 final fleet animation: premium side profile driving on a moving road. */
.premium-drive-scene {
  min-height: 430px !important;
  display: grid !important;
  place-items: center !important;
  align-content: stretch !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: #090909 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.premium-drive-scene::before,
.premium-drive-scene::after {
  display: none !important;
}

.premium-drive-scene > span {
  position: absolute !important;
  z-index: 4 !important;
  top: 24px !important;
  left: 26px !important;
  color: #ddb650 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .19em !important;
  text-transform: uppercase !important;
}

.premium-drive-scene svg {
  width: 100% !important;
  height: 100% !important;
  min-height: 430px !important;
  display: block !important;
  overflow: hidden !important;
}

.premium-drive-scene .premium-night {
  fill: #090909;
}

.premium-drive-scene .premium-sky-lines path,
.premium-drive-scene .premium-speed path {
  fill: none;
  stroke: #d4a42c;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .12;
}

.premium-drive-scene .premium-horizon-lights {
  fill: #e5c369;
  opacity: .55;
}

.premium-drive-scene .premium-road-edge {
  fill: none;
  stroke: #7d5a16;
  stroke-width: 1.5;
  opacity: .55;
}

.premium-drive-scene .premium-road-lines path {
  fill: none;
  stroke: #d9cfae;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 44 22;
  opacity: .68;
  animation: premiumRoadMove 1.25s linear infinite;
}

.premium-drive-scene .premium-car-wrap {
  animation: premiumDriveAcross 7s cubic-bezier(.45,.04,.2,1) infinite;
}

.premium-drive-scene .premium-car {
  transform-origin: center;
  animation: premiumCarBob .9s ease-in-out infinite;
}

.premium-drive-scene .premium-car-shadow {
  fill: #000;
  opacity: .5;
  filter: blur(5px);
}

.premium-drive-scene .premium-body {
  fill: url(#premiumBody);
  stroke: #d3a331;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.premium-drive-scene .premium-lower {
  fill: #050607;
  stroke: #8a671e;
  stroke-width: 1.4;
}

.premium-drive-scene .premium-window {
  fill: url(#premiumGlass);
  stroke: #c99b38;
  stroke-width: 2;
}

.premium-drive-scene .premium-belt,
.premium-drive-scene .premium-door,
.premium-drive-scene .premium-trim {
  fill: none;
  stroke: #9c7526;
  stroke-width: 1.4;
}

.premium-drive-scene .premium-tail {
  fill: none;
  stroke: #a45123;
  stroke-width: 6;
  stroke-linecap: round;
}

.premium-drive-scene .premium-head {
  fill: none;
  stroke: #fff2b9;
  stroke-width: 6;
  stroke-linecap: round;
}

.premium-drive-scene .premium-wheel {
  fill: #080808;
  stroke: #a9791d;
  stroke-width: 3;
}

.premium-drive-scene .premium-rim {
  fill: none;
  stroke: #d7b65e;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: premiumWheelSpin .75s linear infinite;
}

.premium-drive-scene .premium-head-glow {
  filter: blur(9px);
  opacity: .75;
}

.premium-drive-scene .premium-speed path {
  animation: premiumSpeed 1.4s ease-in-out infinite;
}

.premium-drive-scene .premium-speed path:nth-child(2) { animation-delay: .2s; }
.premium-drive-scene .premium-speed path:nth-child(3) { animation-delay: .4s; }

@keyframes premiumRoadMove {
  to { stroke-dashoffset: -66; }
}

@keyframes premiumWheelSpin {
  to { rotate: 360deg; }
}

@keyframes premiumCarBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes premiumDriveAcross {
  0% { transform: translateX(-620px); opacity: 0; }
  8% { opacity: 1; }
  26% { transform: translateX(-120px); opacity: 1; }
  68% { transform: translateX(40px); opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(720px); opacity: 0; }
}

@keyframes premiumSpeed {
  0%, 100% { transform: translateX(0); opacity: .08; }
  50% { transform: translateX(-18px); opacity: .24; }
}

@media (width <= 900px) {
  .premium-drive-scene { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-drive-scene .premium-road-lines path,
  .premium-drive-scene .premium-rim,
  .premium-drive-scene .premium-car-wrap,
  .premium-drive-scene .premium-car,
  .premium-drive-scene .premium-speed path {
    animation: none !important;
  }

  .premium-drive-scene .premium-car-wrap {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
}


/* V9: mobile legal hero alignment and accessible contact security challenge. */
.security-challenge {
  margin: 8px 0 4px;
  padding: 22px;
  border: 1px solid rgba(128, 86, 0, .32);
  background: linear-gradient(145deg, #fffdf8, #f6f0e2);
  color: #211d15;
}

.security-challenge legend {
  padding: 0 8px 0 0;
  color: #19160f;
  font-size: 1rem;
  font-weight: 800;
}

.security-challenge-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.security-kicker {
  margin: 0 0 4px;
  color: #805600;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.security-task {
  margin: 0;
  color: #27231b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.security-audio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.security-audio-button,
.security-refresh-button {
  min-height: 44px;
  border: 1px solid rgba(38, 30, 16, .2);
  background: #fff;
  color: #2a251b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.security-audio-button:hover,
.security-refresh-button:hover {
  border-color: #a97613;
}

.security-audio-button:disabled,
.security-refresh-button:disabled {
  opacity: .55;
  cursor: wait;
}

.security-symbols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.security-symbol-button {
  min-width: 0;
  min-height: 98px;
  border: 1px solid #d3c9b5;
  background: #fff;
  color: #373126;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px 8px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.security-symbol-button svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-symbol-button span {
  font-size: .75rem;
  font-weight: 800;
}

.security-symbol-button:hover {
  border-color: #b07b14;
  color: #805600;
  transform: translateY(-1px);
}

.security-symbol-button.is-selected {
  border-color: #9d6a09;
  background: #17140e;
  color: #f0cd70;
  box-shadow: inset 0 0 0 1px rgba(240, 205, 112, .22);
}

.security-help,
.security-status,
.security-noscript {
  margin: 12px 0 0;
  font-size: .76rem;
  line-height: 1.55;
}

.security-help {
  color: #686052;
}

.security-status {
  min-height: 1.2em;
  color: #805600;
  font-weight: 700;
}

.security-noscript {
  color: #8a2e20;
  font-weight: 700;
}

.security-challenge.is-loading .security-symbols {
  min-height: 98px;
  background: linear-gradient(90deg, transparent, rgba(161, 117, 32, .08), transparent);
}

@media (width <= 640px) {
  .legal-hero::after {
    display: none;
  }

  .legal-hero .narrow-hero {
    min-height: auto;
    width: calc(100% - 28px);
    padding-top: 42px;
    padding-bottom: 42px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .legal-hero .narrow-hero .eyebrow {
    max-width: 100%;
    margin-bottom: 13px;
    font-size: .66rem;
    letter-spacing: .16em;
    line-height: 1.5;
  }

  .legal-hero .narrow-hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(2.05rem, 9.2vw, 2.7rem);
    line-height: 1.03;
    letter-spacing: -.025em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .security-challenge {
    padding: 18px;
  }

  .security-challenge-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .security-audio-actions {
    justify-content: flex-start;
  }

  .security-audio-button,
  .security-refresh-button {
    flex: 1 1 150px;
  }

  .security-symbols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-symbol-button {
    min-height: 88px;
  }
}

@media (width <= 390px) {
  .legal-hero .narrow-hero {
    width: calc(100% - 24px);
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .legal-hero .narrow-hero h1 {
    font-size: clamp(1.92rem, 9vw, 2.28rem);
  }

  .security-audio-button,
  .security-refresh-button {
    flex-basis: 100%;
  }
}


/* V10 final cleanup: stable desktop legal hero and clean homepage drive animation. */
.legal-hero {
  position: relative;
  overflow: hidden;
}

.legal-hero .narrow-hero {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: left;
}

.legal-hero .narrow-hero .eyebrow {
  margin-bottom: 14px;
}

.legal-hero .narrow-hero h1 {
  width: 100%;
  max-width: 900px;
  margin: 0;
}

.clean-drive-scene {
  min-height: 410px !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(45, 32, 10, .12) !important;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.46), rgba(255,255,255,0) 28%), linear-gradient(145deg, #f7f1de 0%, #ead49a 50%, #c6942d 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.44) !important;
}

.clean-drive-scene::before,
.clean-drive-scene::after {
  display: none !important;
}

.clean-drive-scene > span {
  position: absolute !important;
  top: 24px !important;
  left: 26px !important;
  z-index: 2 !important;
  color: #7f5d1b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.clean-drive-scene .clean-drive-svg {
  width: min(98%, 700px) !important;
  height: auto !important;
  overflow: visible !important;
}

.clean-drive-scene .clean-bg-lines path {
  fill: none;
  stroke: rgba(83, 59, 15, .16);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.clean-drive-scene .clean-horizon {
  fill: none;
  stroke: rgba(60, 43, 14, .18);
  stroke-width: 1.5;
}

.clean-drive-scene .clean-road-shadow {
  fill: rgba(28, 20, 8, .18);
}

.clean-drive-scene .clean-road {
  fill: url(#cleanRoadFill);
}

.clean-drive-scene .clean-lanes path {
  fill: none;
  stroke: rgba(255, 249, 231, .9);
  stroke-width: 4;
  stroke-linecap: round;
}

.clean-drive-scene .clean-speed-lines path {
  fill: none;
  stroke: rgba(86, 61, 17, .22);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.clean-drive-scene .clean-car-body,
.clean-drive-scene .clean-car-roof {
  fill: none;
  stroke: url(#cleanBodyGold);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clean-drive-scene .clean-car-lower {
  fill: rgba(35, 28, 18, .04);
  stroke: rgba(72, 51, 14, .42);
  stroke-width: 2;
  stroke-linejoin: round;
}

.clean-drive-scene .clean-window {
  fill: rgba(255,255,255,.06);
  stroke: rgba(83, 59, 15, .48);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.clean-drive-scene .clean-door-line,
.clean-drive-scene .clean-belt-line,
.clean-drive-scene .clean-bumper-line {
  fill: none;
  stroke: rgba(83, 59, 15, .48);
  stroke-width: 2;
  stroke-linecap: round;
}

.clean-drive-scene .clean-headlight {
  fill: none;
  stroke: #fff1bf;
  stroke-width: 5;
  stroke-linecap: round;
}

.clean-drive-scene .clean-taillight {
  fill: none;
  stroke: rgba(113, 76, 10, .82);
  stroke-width: 4;
  stroke-linecap: round;
}

.clean-drive-scene .clean-headlight-glow {
  fill: rgba(255, 235, 170, .58);
  filter: url(#cleanLightGlow);
}

.clean-drive-scene .clean-car-shadow {
  fill: rgba(28, 20, 8, .2);
}

.clean-drive-scene .clean-wheel-tyre {
  fill: rgba(28, 23, 15, .96);
  stroke: rgba(44, 32, 13, .78);
  stroke-width: 2.6;
}

.clean-drive-scene .clean-wheel-rim {
  fill: none;
  stroke: rgba(220, 191, 112, .88);
  stroke-width: 2.2;
}

.clean-drive-scene .clean-wheel-spokes path {
  fill: none;
  stroke: rgba(220, 191, 112, .88);
  stroke-width: 2;
  stroke-linecap: round;
}

@media (width <= 900px) {
  .legal-hero .narrow-hero {
    width: min(100% - 36px, 740px);
    min-height: 360px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .clean-drive-scene {
    display: none !important;
  }
}


/* V11 final homepage drive scene: cleaner premium road animation with stable wheels. */
.luxury-drive-scene {
  min-height: 410px !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  background: radial-gradient(circle at 70% 14%, rgba(255,255,255,.22), rgba(255,255,255,0) 38%), linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  border: 0 !important;
  box-shadow: none !important;
}

.luxury-drive-scene::before,
.luxury-drive-scene::after {
  content: none !important;
}

.luxury-drive-scene > span {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 228, .45);
  color: rgba(61, 44, 13, .88);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.luxury-drive-scene svg {
  width: 100%;
  max-width: 760px;
  height: auto;
  overflow: visible;
}

.luxury-drive-scene .luxury-scene-glow {
  fill: url(#luxuryGlow);
}

.luxury-drive-scene .luxury-speed-lines path {
  fill: none;
  stroke: rgba(103, 75, 22, .2);
  stroke-width: 2.4;
  stroke-linecap: round;
  animation: luxurySpeedFade 2.8s ease-in-out infinite;
}

.luxury-drive-scene .luxury-speed-lines path:nth-child(2) { animation-delay: .25s; }
.luxury-drive-scene .luxury-speed-lines path:nth-child(3) { animation-delay: .45s; }
.luxury-drive-scene .luxury-speed-lines path:nth-child(4) { animation-delay: .15s; }
.luxury-drive-scene .luxury-speed-lines path:nth-child(5) { animation-delay: .55s; }

.luxury-drive-scene .luxury-horizon {
  fill: none;
  stroke: rgba(74, 54, 17, .18);
  stroke-width: 1.6;
}

.luxury-drive-scene .luxury-road-shadow {
  fill: rgba(35, 26, 11, .14);
}

.luxury-drive-scene .luxury-road-surface {
  fill: url(#luxuryRoadFill);
}

.luxury-drive-scene .luxury-road-edge {
  fill: none;
  stroke: rgba(130, 95, 30, .34);
  stroke-width: 3;
  stroke-linecap: round;
}

.luxury-drive-scene .luxury-road-lines path {
  fill: none;
  stroke: rgba(255, 248, 229, .92);
  stroke-width: 4;
  stroke-linecap: round;
  animation: luxuryRoadMove 1.25s linear infinite;
}

.luxury-drive-scene .luxury-road-lines .line-two { animation-delay: -.22s; }
.luxury-drive-scene .luxury-road-lines .line-three { animation-delay: -.44s; }
.luxury-drive-scene .luxury-road-lines .line-four { animation-delay: -.66s; }

.luxury-drive-scene .luxury-car-shadow-group {
  transform-origin: center;
  animation: luxuryShadowFloat 3.6s ease-in-out infinite;
}

.luxury-drive-scene .luxury-car-shadow {
  fill: rgba(27, 19, 8, .18);
}

.luxury-drive-scene .luxury-car-group {
  transform-origin: center;
  animation: luxuryCarCruise 3.6s ease-in-out infinite;
}

.luxury-drive-scene .luxury-car-body,
.luxury-drive-scene .luxury-roof {
  fill: none;
  stroke: url(#luxuryBodyGold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.luxury-drive-scene .luxury-car-lower {
  fill: rgba(31, 23, 10, .05);
  stroke: rgba(78, 57, 18, .42);
  stroke-width: 2.2;
}

.luxury-drive-scene .luxury-window {
  fill: rgba(255,255,255,.06);
  stroke: rgba(84, 60, 16, .46);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.luxury-drive-scene .luxury-window-split,
.luxury-drive-scene .luxury-door-line,
.luxury-drive-scene .luxury-belt-line,
.luxury-drive-scene .luxury-bumper-line {
  fill: none;
  stroke: rgba(84, 60, 16, .48);
  stroke-width: 2.1;
  stroke-linecap: round;
}

.luxury-drive-scene .luxury-headlight {
  fill: none;
  stroke: #fff3c7;
  stroke-width: 5;
  stroke-linecap: round;
}

.luxury-drive-scene .luxury-taillight {
  fill: none;
  stroke: rgba(124, 84, 14, .8);
  stroke-width: 4.2;
  stroke-linecap: round;
}

.luxury-drive-scene .luxury-headlight-glow {
  fill: rgba(255, 240, 183, .42);
  filter: url(#luxuryLightBlur);
  animation: luxuryLightPulse 2.2s ease-in-out infinite;
}

.luxury-drive-scene .luxury-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: luxuryWheelSpin .82s linear infinite;
}

.luxury-drive-scene .luxury-wheel-tyre {
  fill: rgba(26, 20, 13, .98);
  stroke: rgba(61, 45, 16, .66);
  stroke-width: 2.8;
}

.luxury-drive-scene .luxury-wheel-rim {
  fill: none;
  stroke: rgba(226, 194, 108, .95);
  stroke-width: 2.4;
}

.luxury-drive-scene .luxury-wheel-spokes path {
  fill: none;
  stroke: rgba(226, 194, 108, .95);
  stroke-width: 2.1;
  stroke-linecap: round;
}

@keyframes luxuryRoadMove {
  from { transform: translateX(0); }
  to { transform: translateX(-118px); }
}

@keyframes luxuryCarCruise {
  0%, 100% { transform: translateY(0) translateX(-10px); }
  50% { transform: translateY(-3px) translateX(10px); }
}

@keyframes luxuryShadowFloat {
  0%, 100% { transform: translateX(-9px) scaleX(1); opacity: .92; }
  50% { transform: translateX(10px) scaleX(.98); opacity: .74; }
}

@keyframes luxuryWheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes luxurySpeedFade {
  0%, 100% { opacity: .12; transform: translateX(0); }
  50% { opacity: .34; transform: translateX(-10px); }
}

@keyframes luxuryLightPulse {
  0%, 100% { opacity: .36; }
  50% { opacity: .72; }
}

@media (width <= 900px) {
  .luxury-drive-scene {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .luxury-drive-scene .luxury-speed-lines path,
  .luxury-drive-scene .luxury-road-lines path,
  .luxury-drive-scene .luxury-car-shadow-group,
  .luxury-drive-scene .luxury-car-group,
  .luxury-drive-scene .luxury-headlight-glow,
  .luxury-drive-scene .luxury-wheel {
    animation: none !important;
  }
}


/* V12 final: static premium B2B visual, no fleet animation. */
.business-premium-visual {
  min-height: 410px;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  overflow: hidden;
  padding: 18px 10px 10px;
  background: radial-gradient(circle at 68% 14%, rgba(255,255,255,.22), rgba(255,255,255,0) 38%), linear-gradient(145deg, rgba(255,248,229,.18), rgba(126,84,12,.05));
}

.business-premium-visual svg {
  width: min(100%, 690px);
  height: auto;
}

.business-premium-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -14px;
}

.business-premium-caption span {
  padding: 7px 11px;
  border: 1px solid rgba(76,55,14,.18);
  border-radius: 999px;
  background: rgba(255,247,224,.26);
  color: rgba(52,39,16,.82);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (width <= 900px) {
  .business-premium-visual {
    display: none;
  }
}


/* V14 compact security challenge. */
.security-challenge {
  margin: 6px 0 2px;
  padding: 14px 16px 12px;
}

.security-challenge legend {
  font-size: .92rem;
}

.security-challenge-head {
  gap: 12px;
  margin-bottom: 12px;
}

.security-task {
  font-size: .92rem;
  line-height: 1.35;
}

.security-audio-actions {
  gap: 6px;
}

.security-audio-button,
.security-refresh-button {
  min-height: 38px;
  padding: 7px 10px;
  font-size: .72rem;
}

.security-symbols {
  gap: 8px;
}

.security-symbol-button {
  min-height: 66px;
  padding: 8px;
  gap: 0;
}

.security-symbol-button svg {
  width: 27px;
  height: 27px;
}

.security-symbol-button span {
  display: none !important;
}

.security-help,
.security-status,
.security-noscript {
  margin-top: 8px;
  font-size: .71rem;
  line-height: 1.45;
}

@media (width <= 640px) {
  .security-challenge {
    padding: 13px;
  }

  .security-challenge-head {
    gap: 10px;
  }

  .security-audio-actions {
    width: 100%;
  }

  .security-audio-button,
  .security-refresh-button {
    flex: 1 1 120px;
    min-height: 38px;
  }

  .security-symbols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .security-symbol-button {
    min-height: 58px;
    padding: 7px 4px;
  }

  .security-symbol-button svg {
    width: 25px;
    height: 25px;
  }
}


/* V15 home process section and landscape hero refinement. */
.process-heading {
  max-width: 820px;
  margin-inline: auto;
}

.process-heading > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: #aaa69e;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  position: relative;
  min-height: 280px;
  padding: 30px 26px 28px;
  border: 1px solid rgba(212, 160, 45, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(212,160,45,.035));
}

.process-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(212, 160, 45, .4);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
}

.process-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(212, 160, 45, .38);
  color: var(--gold-light);
  background: rgba(212, 160, 45, .055);
}

.process-card h3 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.17rem;
}

.process-card p {
  color: #aaa69e;
  line-height: 1.7;
}

.process-extras {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid rgba(212, 160, 45, .22);
}

.process-extras-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
}

.process-extras-heading h3 {
  max-width: 700px;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
}

.process-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}

.process-extras-grid > div {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.process-extras-grid span {
  color: #e8e5df;
  line-height: 1.4;
}

.process-extras-grid strong {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: .9rem;
  white-space: nowrap;
}

.process-extras-note {
  margin-top: 18px;
  color: #8f8b84;
  font-size: .84rem;
  line-height: 1.65;
}

@media (width <= 1000px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card {
    min-height: 240px;
  }

  .process-extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 640px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .process-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
  }

  .process-extras {
    margin-top: 40px;
    padding-top: 34px;
  }

  .process-extras-heading {
    display: block;
  }

  .process-extras-heading .text-link {
    margin-top: 18px;
  }

  .process-extras-grid {
    grid-template-columns: 1fr;
  }

  .process-extras-grid > div {
    min-height: 68px;
    padding: 15px 16px;
  }
}

/* Phones held horizontally and compact tablets previously inherited the tall tablet hero. */
@media (orientation: landscape) and (max-height: 820px) and (min-width: 641px) and (max-width: 1180px) {
  .hero-section,
  .hero-content {
    min-height: 500px !important;
  }

  .hero-content {
    justify-content: center !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(3.2rem, 7.2vw, 4.8rem);
  }

  .hero-lead {
    margin-bottom: 20px;
    max-width: 650px;
    line-height: 1.55;
  }

  .hero-note {
    margin-top: 18px;
  }
}

@media (orientation: landscape) and (max-height: 520px) and (min-width: 641px) {
  .hero-section,
  .hero-content {
    min-height: 420px !important;
  }

  .hero-content {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 6.8vw, 4rem);
  }
}

/* Lighthouse accessibility contrast fixes */
.craft-section .eyebrow,
.craft-section .text-link {
  color: #805600;
}

.craft-section .text-link:hover {
  color: #563805;
}

.site-footer .footer-contact p,
.site-footer .footer-bottom,
.site-footer .ai-image-note {
  color: #8b8881;
}

