/* V41 refinement: clean header, taller inner heroes, coordinated footer and focused quote page. */

:root {
  --v40-inner-hero-height: 480px;
  --v40-section-title: clamp(36px, 3.2vw, 48px);
  --v40-cta-title: clamp(36px, 3.4vw, 50px);
}

/* Restore the original, navigation-only header proportions. */
@media (min-width: 1041px) {
  .site-header {
    height: 78px;
    padding-top: 0;
  }

  .site-header.is-scrolled {
    height: 68px;
  }
}

/* Keep secondary labels secondary across the complete site. */
.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
}

/* Compact, consistent inner-page hero system. */
.inner-hero,
.inner-hero-content,
.services-page .services-hero,
.services-page .services-hero .inner-hero-content,
.cities-page .cities-hero,
.cities-page .cities-hero .inner-hero-content,
.rates-page-v25 .rates-hero-v25,
.rates-page-v25 .rates-hero-v25 .inner-hero-content,
.about-page-v29 .about-hero-v28,
.about-page-v29 .about-hero-v28 .inner-hero-content,
.faq-page-v36 .faq-hero-v36,
.faq-page-v36 .faq-hero-v36 .inner-hero-content,
.quote-page-v37 .quote-hero-v37,
.quote-page-v37 .quote-hero-v37 .inner-hero-content {
  min-height: var(--v40-inner-hero-height);
}

.inner-hero-content,
.quote-page-v37 .quote-hero-v37 .inner-hero-content,
.faq-page-v36 .faq-hero-v36 .inner-hero-content {
  justify-content: center;
  padding-block: 46px;
}

.inner-hero h1,
.services-page .inner-hero h1,
.cities-page .cities-hero h1,
.rates-page-v25 .rates-hero-v25 h1,
.about-page-v29 .about-hero-v28 h1,
.quote-page-v37 .quote-hero-v37 h1 {
  max-width: 780px;
  font-size: clamp(44px, 3.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.inner-hero-lead,
.services-page .inner-hero-lead,
.cities-page .cities-hero .inner-hero-lead,
.rates-page-v25 .rates-hero-v25 .inner-hero-lead,
.about-page-v29 .about-hero-v28 .inner-hero-lead,
.quote-page-v37 .quote-hero-v37 .inner-hero-lead {
  max-width: 720px;
  margin: 20px 0 26px;
  font-size: 16px;
  line-height: 1.65;
}

/* Fleet remains image-led, but now uses the same heading band rhythm. */
.fleet-hero-v19 {
  min-height: 390px;
}

.fleet-hero-v19 h1 {
  font-size: clamp(44px, 3.8vw, 58px);
}

/* Same-level section and CTA headings no longer jump in scale between pages. */
.inner-cta h2,
.services-page .services-cta h2,
.cities-page .cities-cta-v11 h2,
.rates-page-v25 .rates-cta-v25 h2,
.about-page-v29 .about-cta-v31 h2,
.faq-page-v36 .faq-cta-v35 h2 {
  max-width: 760px;
  font-size: var(--v40-cta-title) !important;
  line-height: 1.08;
  letter-spacing: -.018em;
}

.cities-page .coverage-head-v11 h2,
.cities-page .search-head-v11 h2,
.cities-page .journeys-head-v12 h2,
.cities-page .seo-summary-v11 h2,
.rates-overview-head-v25 h2,
.rates-reference-head-v25 h2,
.rates-route-copy-v25 h2,
.rates-factors-head-v25 h2,
.services-page .intro-grid h2,
.services-page .business-solutions-heading h2,
.services-page .support-showcase-heading h2,
.services-page .coordination-heading h2 {
  font-size: var(--v40-section-title);
}

.inner-cta p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
}

/* Equal image footprints for cards at the same hierarchy. */
.services-page .car-service-card > img {
  height: 195px;
  object-fit: cover;
}

.services-page .business-story-media,
.services-page .business-story-media img {
  height: 176px;
  min-height: 176px;
  object-fit: cover;
}

.services-page .support-card > img {
  height: 170px;
  object-fit: cover;
}

.cities-page .journey-image-v12 {
  height: 245px;
}

/* Requested gold treatment for equivalent representative-case labels. */
.services-page details.case-note summary {
  color: var(--gold) !important;
}

/* The service overview labels now mirror the four actual content sections. */
.services-page .services-jump {
  gap: 12px 24px;
}

.services-page .services-jump a {
  font-size: 12px;
  letter-spacing: .055em;
}

.legal-hero {
  padding-block: 54px 48px;
}

.legal-hero h1 {
  font-size: clamp(42px, 4.5vw, 58px);
}

/* Payment and direct contact read as one balanced footer group. */
.footer-grid {
  grid-template-columns: 1.28fr .78fr .68fr 1.42fr;
}

.payment-section .payment-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.payment-section .payment-brand,
.payment-section .payment-brand:nth-child(n) {
  width: 34px;
  height: 26px;
  flex: 0 0 34px;
}

.payment-section .payment-brand img,
.payment-section .payment-brand:nth-child(n) img {
  width: 28px;
  height: 21px;
  object-fit: contain;
}

.payment-section .footer-contact {
  display: grid;
  gap: 7px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--gold-hover);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.payment-section .footer-contact a,
.payment-section .footer-contact span {
  color: var(--gold-hover);
  overflow-wrap: anywhere;
}

/* The company history is an anchor, not a secondary eyebrow. */
.about-page-v29 .about-story-head-v29 > .eyebrow {
  margin-bottom: 15px;
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: none;
}

/* Quote page: the form is the action; its hero no longer repeats the CTA. */
.quote-page-v37 .quote-aside .contact-note a {
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-section {
    grid-column: 1 / -1;
  }

  .main-nav {
    top: 78px;
  }
}

@media (max-width: 760px) {
  :root {
    --v40-inner-hero-height: 500px;
    --v40-section-title: clamp(34px, 10vw, 43px);
    --v40-cta-title: clamp(34px, 10vw, 43px);
  }

  .site-header {
    height: 70px;
    padding-top: 0;
  }

  .main-nav {
    top: 70px;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .inner-hero-content,
  .quote-page-v37 .quote-hero-v37 .inner-hero-content,
  .faq-page-v36 .faq-hero-v36 .inner-hero-content {
    justify-content: flex-end;
    padding-block: 40px;
  }

  .inner-hero h1,
  .services-page .inner-hero h1,
  .cities-page .cities-hero h1,
  .rates-page-v25 .rates-hero-v25 h1,
  .about-page-v29 .about-hero-v28 h1,
  .quote-page-v37 .quote-hero-v37 h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.02;
  }

  .services-page .services-hero .inner-hero-content {
    padding-block: 32px;
  }

  .services-page .services-hero h1 {
    font-size: 36px;
    line-height: 1.01;
  }

  .services-page .services-hero .inner-hero-lead {
    font-size: 15px;
    line-height: 1.58;
  }

  .inner-hero-lead,
  .services-page .inner-hero-lead,
  .cities-page .cities-hero .inner-hero-lead,
  .rates-page-v25 .rates-hero-v25 .inner-hero-lead,
  .about-page-v29 .about-hero-v28 .inner-hero-lead,
  .quote-page-v37 .quote-hero-v37 .inner-hero-lead {
    margin: 17px 0 22px;
  }

  .fleet-hero-v19 {
    min-height: 330px;
  }

  .fleet-hero-v19 h1 {
    font-size: clamp(40px, 12vw, 50px);
  }

  .inner-cta {
    padding-block: 64px;
  }

  .services-page .car-service-card > img,
  .services-page .support-card > img,
  .cities-page .journey-image-v12 {
    height: 205px;
  }

  .services-page .business-story-media,
  .services-page .business-story-media img {
    height: 180px;
    min-height: 180px;
  }

  .services-page .services-jump {
    gap: 0;
  }

  .services-page .services-jump a {
    width: 100%;
    padding-block: 11px;
    border-bottom: 1px solid rgba(7, 52, 58, .09);
  }

  .legal-hero {
    padding-block: 46px 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .payment-section {
    grid-column: auto;
  }

  .payment-section .payment-grid {
    gap: 7px;
  }

  .payment-section .payment-brand,
  .payment-section .payment-brand:nth-child(n) {
    width: 32px;
    height: 25px;
    flex-basis: 32px;
  }

  .quote-page-v37 .quote-aside .contact-note a {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .car-service-card,
  .services-page .business-story,
  .services-page .support-card,
  .cities-page .journey-card-v12 {
    transition: none;
  }
}
