/* WordPress chrome — keep the sticky header below the admin bar. */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

.site {
  overflow-x: clip;
  max-width: 100%;
}

.header-inner {
  min-width: 0;
}

.site-logo {
  max-width: min(320px, 62vw) !important;
}

.site-logo img,
.custom-logo,
.custom-logo-link img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 3.4rem !important;
  object-fit: contain;
}

.hero-section {
  overflow: hidden;
}

.hero-section__media p,
.hero-section__media .wp-block-image,
.hero-section__media figure {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.hero-section__media {
  overflow: hidden;
}

.hero-section__media picture {
  overflow: hidden;
}

.hero-section__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
}

.areas-mega-menu.sub-menu {
  max-width: calc(100vw - 2rem);
}

.wp-block-image,
.alignnone,
.aligncenter,
.alignleft,
.alignright {
  margin: 0;
  float: none;
  max-width: 100%;
}

/* Contextual internal links */
.site-content a.tar-ilink,
.site-content a.tar-ilink:link,
.site-content a.tar-ilink:visited,
.site-content a.tar-ilink:hover,
.site-content a.tar-ilink:active {
  color: inherit !important;
  font-weight: 600 !important;
  font-style: inherit !important;
  letter-spacing: inherit;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.site-content a.tar-ilink:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

:root {
  --tar-header-offset: var(--site-header-offset);
}

@media (max-width: 960px) {
  :root {
    --tar-header-offset: var(--header-height);
  }
}

/* Inner pages: pull the first hero flush under the sticky header. */
body:not(.home):not(.front-page) #content.site-content {
  margin-top: 0;
  padding-top: 0;
}

body:not(.home):not(.front-page) #content.site-content > section:first-child[class*="-hero"],
body:not(.home):not(.front-page) #content.site-content > section:first-child.page-hero {
  margin-top: calc(-1 * var(--tar-header-offset));
  padding-top: calc(var(--tar-header-offset) + clamp(2rem, 5vh, 3.5rem));
  box-sizing: border-box;
}

body:not(.home):not(.front-page) #content.site-content > section:first-child.service-page-hero--image-only {
  padding-top: var(--tar-header-offset);
  padding-bottom: 0;
  min-height: calc(100svh + var(--tar-header-offset));
  min-height: calc(100dvh + var(--tar-header-offset));
}

body:not(.home):not(.front-page) #content.site-content > section:first-child.about-page-hero,
body:not(.home):not(.front-page) #content.site-content > section:first-child.reservation-page-hero,
body:not(.home):not(.front-page) #content.site-content > section:first-child.areas-we-serve-hero {
  min-height: calc(100svh + var(--tar-header-offset));
  min-height: calc(100dvh + var(--tar-header-offset));
}

.hero-section.has-booking-embed,
.service-page-hero.has-booking-embed {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section.has-booking-embed::after,
.service-page-hero.service-page-hero--image-only.has-booking-embed::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 21, 28, 0.42) 0%, rgba(18, 21, 28, 0.72) 100%);
}

.hero-booking {
  position: relative;
  z-index: 2;
  width: calc(100% - 2rem);
  max-width: none;
  margin: 0 auto;
  padding: clamp(1rem, 3vh, 2rem) 0;
  text-align: center;
}

.hero-booking__copy {
  max-width: 42rem;
  width: 100%;
  margin: 0 auto 1.1rem;
  text-align: center;
}

.hero-booking__heading {
  margin: 0 0 0.65rem;
  color: #fff;
  font-family: var(--font-heading, inherit);
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.hero-booking__heading::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  margin: 0.85rem auto 0;
  background: var(--primary-color);
}

.hero-booking__desc {
  margin: 0 auto 0;
  max-width: 40rem;
  color: rgba(244, 241, 234, 0.92);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.55;
}

.hero-booking .glm-booking-embed-root,
.hero-booking iframe {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.glm-booking-embed-root {
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
}

.hero-booking .glm-booking-embed-root iframe {
  display: block;
  overflow: hidden;
}

.home .hero-booking--form-only .glm-booking-embed-root,
.home .hero-booking--form-only .glm-booking-embed-root iframe {
  background: transparent !important;
}

.location-page-hero.has-booking-embed,
.reservation-page-hero.has-booking-embed,
.areas-we-serve-hero.has-booking-embed,
.services-page-hero.has-booking-embed {
  align-items: center;
}

.location-page-hero.has-booking-embed .location-page-hero__content,
.reservation-page-hero.has-booking-embed .reservation-page-hero__content,
.areas-we-serve-hero.has-booking-embed .areas-we-serve-hero__content,
.services-page-hero.has-booking-embed .container,
.page-hero.has-booking-embed {
  width: calc(100% - 2rem);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.location-page-hero.has-booking-embed .section-kicker,
.reservation-page-hero.has-booking-embed .section-kicker,
.areas-we-serve-hero.has-booking-embed .section-kicker,
.services-page-hero.has-booking-embed .section-kicker,
.page-hero.has-booking-embed .section-kicker,
.location-page-hero.has-booking-embed h1,
.reservation-page-hero.has-booking-embed h1,
.areas-we-serve-hero.has-booking-embed h1,
.services-page-hero.has-booking-embed h1,
.page-hero.has-booking-embed h1,
.location-page-hero.has-booking-embed .location-page-hero__desc,
.reservation-page-hero.has-booking-embed .reservation-page-hero__desc,
.areas-we-serve-hero.has-booking-embed .areas-we-serve-hero__desc,
.services-page-hero.has-booking-embed .services-page-hero__desc,
.page-hero.has-booking-embed p {
  display: block;
  max-width: 42rem !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.location-page-hero.has-booking-embed h1::after,
.reservation-page-hero.has-booking-embed h1::after,
.areas-we-serve-hero.has-booking-embed h1::after,
.services-page-hero.has-booking-embed h1::after {
  margin-left: auto;
  margin-right: auto;
}

.services-page .services-page-hero .container {
  text-align: center;
}

.services-page .services-page-hero .section-kicker,
.services-page .services-page-hero h1,
.services-page .services-page-hero .services-page-hero__desc {
  display: block;
  max-width: min(58rem, 100%) !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-section.has-booking-embed .btn,
.location-page-hero.has-booking-embed .btn,
.reservation-page-hero.has-booking-embed .btn,
.areas-we-serve-hero.has-booking-embed .btn,
.services-page-hero.has-booking-embed .btn,
.service-page-hero.has-booking-embed .btn,
.fleet-page-hero.has-booking-embed .btn,
.page-hero.has-booking-embed .btn,
.hero-section.has-booking-embed .button-row,
.location-page-hero.has-booking-embed .button-row,
.reservation-page-hero.has-booking-embed .button-row,
.areas-we-serve-hero.has-booking-embed .button-row,
.services-page-hero.has-booking-embed .button-row,
.location-page-hero.has-booking-embed .location-page-hero__cta,
.reservation-page-hero.has-booking-embed .reservation-page-hero__cta,
.areas-we-serve-hero.has-booking-embed .areas-we-serve-hero__cta {
  display: none !important;
}

.hero-booking--form-only,
.hero-booking--inline,
.hero-booking--fallback {
  width: 100%;
  max-width: none;
  margin-top: 1rem;
}

.home .services-section#services > .container .section-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.location-page-hero .breadcrumb {
  display: none !important;
}

.home .hero-section .hero-booking__copy,
.home .hero-section .hero-booking__heading,
.home .hero-section .hero-booking__desc,
.home .hero-section [id="hero-booking-heading"] {
  display: none !important;
}

.home .hero-booking--form-only > :not(.glm-booking-embed-root) {
  display: none !important;
}

.home #content.site-content,
.front-page #content.site-content {
  margin: 0;
  padding: 0;
  flex-grow: 0;
}

.home .hero-section.has-booking-embed,
.front-page .hero-section.has-booking-embed {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  margin-top: calc(-1 * var(--site-header-offset));
  min-height: calc(100dvh + var(--site-header-offset)) !important;
  min-height: calc(100svh + var(--site-header-offset)) !important;
  padding-top: var(--site-header-offset);
  padding-bottom: clamp(1.25rem, 3.5vh, 2.5rem);
  box-sizing: border-box;
}

.home .hero-section.has-booking-embed .hero-section__media img,
.front-page .hero-section.has-booking-embed .hero-section__media img {
  object-position: center 38%;
}

.home .hero-booking--form-only .glm-booking-embed-root {
  overflow: clip;
  clip-path: inset(0 round 12px);
}

.home .hero-booking--form-only .glm-booking-embed-root iframe {
  overflow: clip;
  vertical-align: top;
}

.home .hero-section.has-booking-embed .hero-booking,
.home .hero-section.has-booking-embed .hero-booking--form-only,
.front-page .hero-section.has-booking-embed .hero-booking,
.front-page .hero-section.has-booking-embed .hero-booking--form-only {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  align-self: stretch;
  overflow: hidden;
}

@media (max-width: 960px) {
  :root {
    --site-header-offset: var(--header-height);
  }

  .home .hero-section.has-booking-embed,
  .front-page .hero-section.has-booking-embed {
    min-height: calc(100dvh + var(--site-header-offset)) !important;
    min-height: calc(100svh + var(--site-header-offset)) !important;
    padding-top: var(--site-header-offset);
    padding-bottom: 1.25rem;
    justify-content: flex-end !important;
  }

  .home .hero-section.has-booking-embed .hero-booking,
  .home .hero-section.has-booking-embed .hero-booking--form-only,
  .front-page .hero-section.has-booking-embed .hero-booking,
  .front-page .hero-section.has-booking-embed .hero-booking--form-only {
    margin-top: auto !important;
  }
}

@media (max-width: 640px) {
  .home .hero-section.has-booking-embed,
  .front-page .hero-section.has-booking-embed {
    min-height: calc(108svh + var(--site-header-offset)) !important;
    min-height: calc(108dvh + var(--site-header-offset)) !important;
    padding-top: calc(var(--site-header-offset) + clamp(4.5rem, 24vh, 8.5rem)) !important;
    padding-bottom: clamp(1rem, 3.5vw, 1.5rem);
    justify-content: flex-end !important;
  }

  .home .hero-section.has-booking-embed .hero-section__media img,
  .front-page .hero-section.has-booking-embed .hero-section__media img {
    object-position: center 26%;
  }

  .home .hero-section.has-booking-embed .hero-booking,
  .home .hero-section.has-booking-embed .hero-booking--form-only,
  .front-page .hero-section.has-booking-embed .hero-booking,
  .front-page .hero-section.has-booking-embed .hero-booking--form-only {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
}

.hero-booking--inline,
.hero-booking--fallback {
  padding: 0 0 1.5rem;
}

@media (max-width: 960px) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .about-intro-section .about-container,
  .about-why-section .about-container,
  .location-intro-section .about-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    gap: 1.35rem;
  }

  .about-intro-section .about-image,
  .about-why-section .about-image,
  .location-intro-section .about-image {
    order: -1 !important;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
  }

  .about-intro-section .about-content,
  .about-why-section .about-content,
  .location-intro-section .about-content {
    order: 1;
    width: 100%;
  }

  .about-intro-section .about-content > *,
  .about-why-section .about-why-header > *,
  .about-why-section .about-why-cta,
  .location-intro-section .about-content > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .about-intro-section .about-image img,
  .about-why-section .about-image img,
  .location-intro-section .about-image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 14rem;
    max-height: 20rem;
    object-fit: cover;
  }

  .services-page .services-grid,
  .services-grid--page-list {
    grid-template-columns: 1fr !important;
  }

  .services-page .service-card:nth-child(9),
  .services-page .service-card:nth-child(10),
  .services-grid--page-list .service-card:nth-child(9),
  .services-grid--page-list .service-card:nth-child(10) {
    grid-column: 1 / -1 !important;
  }
}
