:root {
  --navy: #080808;
  --navy-mid: #141414;
  --navy-light: #242424;
  --teal: #ed9b45;
  --teal-light: #f2ad61;
  --teal-dim: #cf7e2c;
  --gold: #ed9b45;
  --gold-light: #f2ad61;
  --sand: #f5f5f5;
  --sand-mid: #ededed;
  --bg-page: #080808;
  --bg-section: #f5f5f5;
  --bg-dark: #080808;
  --bg-dark-mid: #141414;
  --text-inverse: #fff;
  --border: rgba(237, 155, 69, .2);
  --border-light: rgba(20, 20, 20, .12);
  --border-medium: rgba(237, 155, 69, .34);
  --border-gold: rgba(237, 155, 69, .3);
  --shadow-gold: 0 12px 30px rgba(237, 155, 69, .16);
}

html {
  scroll-padding-top: 88px;
}

body {
  background: #080808 !important;
  color: #f5f5f5 !important;
  font-family: Inter, "Segoe UI", sans-serif;
}

a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

:focus-visible {
  outline: 3px solid #ed9b45 !important;
  outline-offset: 3px;
}

/* Keep the many legacy header templates visually aligned without changing their links. */
header,
.site-header,
.site-nav,
.nav {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  color: #fff !important;
  background: rgba(8, 8, 8, .88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__inner,
.nav-inner,
.nav-wrap,
.header-wrapper,
.nav__container,
.site-nav__inner {
  min-height: 76px;
}

.nav__logo,
.nav-logo,
.site-nav__brand,
.brand,
.logo,
.nav__logo-text,
.nav-logo-text {
  color: #fff !important;
}

.nav__logo img,
.nav-logo img,
.site-nav__brand img,
.brand img,
.logo img {
  border-radius: 50%;
}

.nav__logo-text span,
.nav-logo-text span,
.brand span,
.logo span {
  color: #ed9b45 !important;
}

.nav__links a,
.nav__link,
.nav-links a,
.main-nav a,
.site-nav__link,
.site-header a,
header nav a {
  color: rgba(255, 255, 255, .82);
}

.nav__links a:hover,
.nav__link:hover,
.nav-links a:hover,
.main-nav a:hover,
.site-nav__link:hover,
.site-header a:hover,
header nav a:hover {
  color: #ed9b45;
}

.nav__cta,
.nav-cta,
.nav__link--button,
.nav__mobile-cta,
.site-nav__link--button,
.cta-button,
.cta-primary,
.header-cta,
.site-header a[href*="/contact"],
header nav a[href*="/contact"],
header nav a[href*="wa.me"] {
  border: 0 !important;
  border-radius: 999px !important;
  background: #ed9b45 !important;
  color: #111 !important;
  font-weight: 700 !important;
}

.nav__cta:hover,
.nav-cta:hover,
.nav__mobile-cta:hover,
.cta-button:hover,
.cta-primary:hover {
  background: #f2ad61 !important;
  color: #111 !important;
  transform: translateY(-1px);
}

.nav__burger,
.hamburger,
.nav-toggle,
.menu-toggle,
.site-menu-toggle {
  border-color: rgba(255, 255, 255, .22) !important;
  color: #fff !important;
}

.nav__burger-line,
.hamburger span {
  background-color: #fff !important;
}

.nav__mobile,
.mobile-menu,
.mobile-nav {
  background: #080808 !important;
  color: #fff !important;
}

.nav__mobile-link,
.mobile-menu a,
.mobile-nav a {
  color: #fff !important;
}

.nav__mobile-link.nav__mobile-cta {
  color: #111 !important;
}

.global-brand__logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  border-radius: 50%;
}

header nav[data-rgr-mobile-nav] {
  position: relative;
}

.site-menu-toggle {
  display: none;
}

/* Cinematic hero treatment shared by home, fleet, location, and vehicle pages. */
.hero,
.page-hero,
.vehicle-hero,
.privacy-hero,
.contact-hero,
.location-hero {
  color: #fff !important;
  background-color: #080808 !important;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, .84), rgba(8, 8, 8, .36)),
    url("/assets/image/Mercedes-Benz%20C300.webp") !important;
  background-position: center 58%;
  background-size: cover;
}

.hero__bg {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .84), rgba(8, 8, 8, .32)),
    url("/assets/image/Mercedes-Benz%20C300.webp") center 58% / cover no-repeat !important;
  opacity: 1 !important;
}

.hero::before,
.page-hero::before,
.vehicle-hero::before {
  pointer-events: none;
}

.hero h1,
.hero h2,
.hero h3,
.hero__heading,
.hero-title,
.page-hero h1,
.page-hero__heading,
.vehicle-hero h1,
.vehicle-hero h2,
.privacy-hero h1,
.contact-hero h1 {
  color: #fff !important;
}

.hero em,
.hero__heading em,
.page-hero em,
.page-hero__heading em,
.eyebrow,
.hero__eyebrow,
.hero-badge {
  color: #ed9b45 !important;
}

.hero p,
.hero__subtext,
.hero-tagline,
.page-hero__sub,
.page-hero p,
.vehicle-hero p {
  color: rgba(255, 255, 255, .78) !important;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  min-height: min(660px, calc(100vh - 76px));
  align-items: center;
  padding-block: clamp(5rem, 11vw, 8rem) 2rem;
  text-align: center;
}

.hero {
  position: relative;
  display: flex !important;
  flex-direction: column;
  overflow: visible !important;
  padding-bottom: 4rem !important;
}

.hero__heading {
  max-width: 15ch;
  font-size: clamp(2.8rem, 7vw, 6.1rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero__heading br {
  display: none;
}

.hero__subtext {
  max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
}

.hero__actions {
  justify-content: center;
}

.hero__stats {
  justify-content: center;
  margin-top: 1.5rem;
}

.hero__dot {
  background: #ed9b45 !important;
}

.page-hero {
  padding-block: clamp(4.5rem, 10vw, 7rem) !important;
}

.page-hero__heading,
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem) !important;
  letter-spacing: -.035em;
}

.vehicle-hero {
  padding-top: 76px !important;
}

.hero-content {
  padding-block: clamp(4rem, 9vw, 7rem) !important;
}

.hero-img-wrap,
.hero-img-placeholder {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  border-radius: 24px !important;
  background: rgba(20, 20, 20, .72) !important;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Consistent readable light content and dark feature bands across old page templates. */
main > section:not(.hero):not(.page-hero):not(.vehicle-hero):not(.privacy-hero):not(.contact-hero):not(.location-hero):not([class*="dark"]):not([class*="hero"]) {
  color: #171717;
  background-color: #f5f5f5 !important;
}

main > section:not([class*="dark"]):not([class*="hero"]) h1,
main > section:not([class*="dark"]):not([class*="hero"]) h2,
main > section:not([class*="dark"]):not([class*="hero"]) h3,
main > section:not([class*="dark"]):not([class*="hero"]) h4 {
  color: #141414 !important;
}

main > section[class*="dark"],
.section--dark,
.faq-section-dark {
  color: #fff;
  background-color: #141414 !important;
}

main > section[class*="dark"] h1,
main > section[class*="dark"] h2,
main > section[class*="dark"] h3,
main > section[class*="dark"] h4,
.section--dark .section__heading {
  color: #fff !important;
}

.section-title,
.section__heading,
.section-title:not(.section-title--white) {
  color: #141414;
}

.breadcrumb {
  background: #f5f5f5 !important;
  color: #686868 !important;
}

.breadcrumb a {
  color: #b96d22 !important;
}

.btn--primary,
.btn-primary,
.button,
.btn-wa,
.vehicle-cta,
.fleet-card__cta,
.vehicle-card__cta,
.primary-button {
  border-radius: 999px !important;
  background: #ed9b45 !important;
  color: #111 !important;
  box-shadow: 0 10px 24px rgba(237, 155, 69, .2);
}

.btn--primary:hover,
.btn-primary:hover,
.button:hover,
.btn-wa:hover,
.vehicle-card__cta:hover,
.primary-button:hover {
  background: #f2ad61 !important;
  color: #111 !important;
  transform: translateY(-2px);
}

.btn--ghost,
.btn-call,
.button.secondary {
  border-radius: 999px !important;
}

.vehicle-card,
.card,
.highlight-card,
.location-card,
.feature-card,
.spec,
.faq-item,
.vehicle-card__body,
.strip-item {
  border-color: rgba(20, 20, 20, .1) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .08) !important;
}

.vehicle-card,
.card,
.highlight-card,
.location-card,
.feature-card,
.spec,
.faq-item,
.strip-item {
  background-color: #fff !important;
}

.vehicle-card,
.card,
.highlight-card,
.location-card,
.feature-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.vehicle-card:hover,
.card:hover,
.highlight-card:hover,
.location-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .13) !important;
}

.vehicle-card__image,
.vehicle-card img,
.vehicle-image img,
.vehicle-card__image-wrap img,
.location-card img {
  object-fit: cover;
}

.filter-btn.is-active,
.filter-btn:hover,
.compare-pill,
.card__tag,
.hero__chip,
.hero__badge {
  border-color: rgba(237, 155, 69, .34) !important;
  background-color: rgba(237, 155, 69, .12) !important;
  color: #a85e19 !important;
}

.faq-item__question {
  color: #171717 !important;
}

.faq-item__answer,
.faq-item__answer > div {
  color: #555 !important;
}

.site-footer,
footer,
.footer {
  color: rgba(255, 255, 255, .76) !important;
  background: #080808 !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
footer h2,
footer h3,
footer h4,
.footer h2,
.footer h3,
.footer h4 {
  color: #fff !important;
}

.site-footer a,
footer a,
.footer a {
  color: rgba(255, 255, 255, .76) !important;
}

.site-footer a:hover,
footer a:hover,
.footer a:hover {
  color: #ed9b45 !important;
}

input,
select,
textarea {
  max-width: 100%;
  border-color: #d7d7d7;
  border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ed9b45 !important;
  box-shadow: 0 0 0 3px rgba(237, 155, 69, .16);
}

/* Desktop booking enquiry strip on the home hero. */
.booking-search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: .75rem;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto -2.25rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.booking-search__field {
  display: grid;
  align-content: center;
  gap: .3rem;
  min-width: 0;
  padding: .3rem .65rem;
  border-right: 1px solid #e8e8e8;
}

.booking-search__field label {
  color: #777;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-search__field input,
.booking-search__field select {
  width: 100%;
  min-height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #171717;
  font: inherit;
  font-size: .88rem;
}

.booking-search__field input:focus,
.booking-search__field select:focus {
  outline: 0;
  box-shadow: none;
}

.booking-search__submit {
  align-self: stretch;
  min-width: 142px;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #ed9b45;
  color: #111;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.hero__inner .booking-search {
  width: min(1200px, 100%);
  margin: 0;
}

.booking-search__submit:hover {
  transform: translateY(-1px);
  background: #f2ad61;
}

@media (max-width: 980px) {
  .booking-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: -2rem;
  }

  .booking-search__submit {
    min-height: 48px;
  }
}

@media (max-width: 760px) {
  .nav__inner,
  .nav-inner,
  .nav-wrap,
  .header-wrapper,
  .nav__container,
  .site-nav__inner {
    min-height: 66px;
  }

  .hero__inner {
    min-height: 590px;
    padding-top: 4.75rem;
    padding-bottom: 2rem;
  }

  .hero__heading {
    font-size: clamp(2.4rem, 11vw, 4rem) !important;
  }

  .hero__stats {
    gap: .75rem;
  }

  .booking-search {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 2rem);
    gap: .35rem;
    padding: .9rem;
    margin-bottom: -1.5rem;
    border-radius: 16px;
  }

  .booking-search__field {
    padding: .55rem;
    border-right: 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .booking-search__field:last-of-type {
    grid-column: 1 / -1;
  }

  .booking-search__submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr !important;
  }

  .hero-img-wrap,
  .hero-img-placeholder {
    min-height: 240px;
  }

  .nav-links {
    gap: .5rem;
  }

  header nav[data-rgr-mobile-nav] {
    min-height: 66px;
  }

  header nav[data-rgr-mobile-nav] .site-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    background: transparent;
    font-size: 1.35rem;
  }

  header nav[data-rgr-mobile-nav] .nav-links,
  header nav[data-rgr-mobile-nav] > a:not(.logo):not(.brand) {
    display: none;
  }

  header nav[data-rgr-mobile-nav].is-rgr-menu-open .nav-links,
  header nav[data-rgr-mobile-nav].is-rgr-menu-open > a:not(.logo):not(.brand) {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .8rem 1rem 1rem;
    background: #080808;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  header nav[data-rgr-mobile-nav] .nav-links a,
  header nav[data-rgr-mobile-nav] > a:not(.logo):not(.brand) {
    padding: .85rem 1rem;
  }

  header nav[data-rgr-mobile-nav].is-rgr-menu-open > a:not(.logo):not(.brand) {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero__actions,
  .hero-btns {
    width: 100%;
  }

  .hero__actions > a,
  .hero-btns > a,
  .btn,
  .cta-primary,
  .booking-search__submit {
    width: 100%;
  }

  .booking-search {
    grid-template-columns: 1fr;
  }

  .booking-search__field:last-of-type {
    grid-column: auto;
  }

  .page-hero {
    padding-inline: 1rem !important;
  }

  .hero-content {
    padding-inline: 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
