/* =========================================================
   Mason & Green: homepage styles
   Loaded after style.css. Moved out of index.html on 24 Oct 2026.
   ========================================================= */

/* ---------- Font: Inter (self-hosted, Latin, weights 400-900) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- Cookie consent banner ---------- */
.privacy-consent-overlay {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  display: none;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.privacy-consent-overlay.is-visible {
  display: flex;
}

.privacy-consent-modal {
  pointer-events: auto;
  width: min(760px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  background: #111;
  color: #fff;
  border: 1px solid rgba(197, 164, 91, 0.45);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.privacy-consent-modal h2 {
  margin: 0 0 8px;
  color: #d6b46a;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.privacy-consent-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #d6b46a;
}

.footer-cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-consent-modal p,
.privacy-consent-modal li {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.privacy-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.privacy-consent-links a {
  color: #d6b46a;
  font-weight: 700;
  text-decoration: underline;
}

.privacy-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.privacy-consent-actions .btn {
  min-width: 180px;
  justify-content: center;
}

.privacy-small-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 560px) {
  .privacy-consent-modal {
    padding: 22px;
  }

  .privacy-consent-actions .btn {
    width: 100%;
  }
}

/* ---------- Hero, booking form and layout (reserves space so nothing jumps while loading) ---------- */
/* CLS fixes: reserve space before external embeds/images finish loading */
.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.quote-card {
  min-height: 760px;
}

.booking-widget-wrapper {
  width: 100%;
  min-height: 650px;
  contain: layout paint;
}

.booking-widget-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 650px;
  height: 650px;
  border: 0;
}

.app-buttons {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.app-buttons a,
.app-buttons img {
  display: block;
}

.review-badge {
  min-height: 44px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .quote-card {
    min-height: 740px;
  }

  .booking-widget-wrapper,
  .booking-widget-wrapper iframe {
    min-height: 620px;
    height: 620px;
  }
}



.seo-location-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.seo-keyword-list,
.airport-link-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.airport-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.airport-link-grid a,
.seo-keyword-list li,
.faq-item {
  border-radius: 16px;
  padding: 16px;
}

.airport-link-grid a {
  display: block;
  text-decoration: none;
  font-weight: 700;
}

.airport-link-grid span,
.faq-item p {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.6;
}

.seo-keyword-list {
  list-style: none;
  padding: 0;
}

.faq-item h3 {
  margin-top: 0;
}

@media (max-width: 760px) {
  .seo-location-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .quote-card {
    min-height: 700px;
  }

  .booking-widget-wrapper,
  .booking-widget-wrapper iframe {
    min-height: 590px;
    height: 590px;
  }
}

/* ---------- Accessibility and validation fixes ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fleet-seat-note {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- Service button visibility fixes ---------- */
/* High-visibility service navigation: desktop, tablet and mobile */
.service-navigation {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px) 0;
  background:
    radial-gradient(circle at top right, rgba(201, 176, 55, 0.14), transparent 36%),
    linear-gradient(135deg, #050608 0%, #101612 100%);
  border-top: 1px solid rgba(201, 176, 55, 0.28);
  border-bottom: 1px solid rgba(201, 176, 55, 0.28);
}

.service-navigation-heading {
  max-width: 760px;
  margin: 0 auto clamp(26px, 4vw, 42px);
  text-align: center;
}

.service-navigation-eyebrow {
  margin: 0 0 10px;
  color: #d9bd58;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-navigation h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
  line-height: 1.15;
  text-wrap: balance;
}

.service-navigation-intro {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.6;
}

.service-button-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0;
}

.service-button-grid .service-button {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 18px 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(214, 180, 106, 0.58);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.service-button-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-button-arrow {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #080a08;
  background: #d6b46a;
  border-radius: 50%;
  font-size: 1.08rem;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease;
}

.service-button-grid .service-button:hover {
  color: #ffffff;
  background: rgba(27, 155, 80, 0.22);
  border-color: #d6b46a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.service-button-grid .service-button:hover .service-button-arrow {
  background: #ffffff;
  transform: translateX(3px);
}

.service-button-grid .service-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  border-color: #d6b46a;
}

.service-button-grid .service-button:active {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .service-button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-navigation {
    padding: 40px 0;
  }

  .service-navigation-heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .service-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .service-button-grid .service-button {
    min-height: 68px;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.93rem;
  }

  .service-button-arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 1rem;
  }
}

@media (max-width: 460px) {
  .service-button-grid {
    grid-template-columns: 1fr;
  }

  .service-button-grid .service-button {
    min-height: 60px;
    padding: 13px 14px 13px 17px;
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-button-grid .service-button,
  .service-button-arrow {
    transition: none;
  }
}
