/* Website-3 production layer — post-hero bands, fleet strip, coverage split, FAQ, polish */

/* Scroll reveal — fade-in whenever [data-reveal] enters the viewport (up or down); JS toggles .is-visible */
[data-reveal] {
  --reveal-ms: 900ms;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity var(--reveal-ms) cubic-bezier(0.22, 0.61, 0.36, 1),
    transform var(--reveal-ms) cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Instant reset when leaving view so re-enter (scroll up or down) always plays the reveal */
[data-reveal]:not(.is-visible) {
  transition: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.post-hero {
  --pro-section-y-lg: clamp(48px, 7vw, 76px);
  --pro-section-y-md: clamp(32px, 5vw, 56px);
  --pro-band-radius: 20px;
  --pro-band-min-h: clamp(280px, 52vw, 520px);
  --pro-scrim: linear-gradient(105deg, rgba(11, 13, 16, 0.75) 0%, rgba(11, 13, 16, 0.35) 45%, rgba(11, 13, 16, 0.2) 100%);
  --pro-scrim-strong: linear-gradient(180deg, rgba(11, 13, 16, 0.55) 0%, rgba(11, 13, 16, 0.82) 100%);
  --pro-max-copy: 38rem;
  --pro-shadow: 0 24px 64px rgba(11, 13, 16, 0.14);
}

.post-hero .pro-section {
  padding: var(--pro-section-y-lg) 0;
}

.post-hero .pro-services > .pro-section-intro {
  box-sizing: border-box;
  width: var(--pro-services-band-outer);
  max-width: var(--pro-services-band-outer);
  margin-bottom: clamp(18px, 3vw, 30px);
  margin-left: auto;
  margin-right: auto;
  /* Match card inner column; asymmetric padding shifts copy left when --pro-services-intro-shift > 0 */
  padding-left: max(
    0px,
    calc((var(--pro-services-band-outer) - min(var(--max-width), 92vw)) / 2 - var(--pro-services-intro-shift, 0px))
  );
  padding-right: max(
    0px,
    calc((var(--pro-services-band-outer) - min(var(--max-width), 92vw)) / 2 + var(--pro-services-intro-shift, 0px))
  );
  text-align: left;
}

.post-hero .pro-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}

.post-hero .pro-display {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.post-hero .pro-lead {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}

/* Full-bleed service bands */
.post-hero .pro-services {
  /* Same outer width as .pro-band so intro copy lines up with card inner column */
  --pro-services-band-outer: min(1500px, 92vw);
  /* Larger = move SERVICES / headline / lead left only (not hero). Typical: 8px–40px */
  --pro-services-intro-shift: 80px;
  padding-top: var(--pro-section-y-md);
}

.post-hero .pro-band {
  position: relative;
  border-radius: var(--pro-band-radius);
  overflow: hidden;
  min-height: var(--pro-band-min-h);
  margin-bottom: clamp(18px, 3vw, 28px);
  box-shadow: var(--pro-shadow);
  border: 1px solid var(--card-border);
}

.post-hero .pro-band:last-child {
  margin-bottom: 0;
}

/* Service bands + quote CTA band: same outer width, centered */
.post-hero .pro-services > .pro-band,
.post-hero .pro-quote-cta > .pro-band {
  max-width: var(--pro-services-band-outer);
  margin-left: auto;
  margin-right: auto;
}

/* Quote/booking band — same width token as service cards */
.post-hero .pro-quote-cta {
  --pro-services-band-outer: min(1500px, 92vw);
  padding-top: var(--pro-section-y-md);
  padding-bottom: var(--pro-section-y-md);
}

.post-hero .pro-band-media {
  position: absolute;
  inset: 0;
}

.post-hero .pro-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-hero .pro-band-scrim {
  position: absolute;
  inset: 0;
  background: var(--pro-scrim);
  pointer-events: none;
}

.post-hero .pro-band--tall {
  --pro-band-min-h: clamp(320px, 58vw, 580px);
}

.post-hero .pro-band--reverse .pro-band-scrim {
  background: linear-gradient(-105deg, rgba(11, 13, 16, 0.72) 0%, rgba(11, 13, 16, 0.38) 50%, rgba(11, 13, 16, 0.22) 100%);
}

.post-hero .pro-band-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: var(--pro-band-min-h);
  padding: clamp(28px, 5vw, 48px) 0;
  max-width: min(100%, var(--max-width));
}

/* Airport / Corporate / Hourly / quote band — gentle nudge right (still left-aligned) */
.post-hero .pro-services > .pro-band .pro-band-content,
.post-hero .pro-quote-cta > .pro-band .pro-band-content {
  padding-left: clamp(16px, 2.4vw, 40px);
}

.post-hero .pro-band-content .pro-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.post-hero .pro-band-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #fefcf8;
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.post-hero .pro-band-copy {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.post-hero .pro-band .btn-primary {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Straightforward-pricing card — gold metallic “Book now” + light sweep */
.post-hero .pro-quote-cta .pro-band .btn.btn-primary {
  --quote-gold-top: #fff4db;
  --quote-gold-mid: #e0b15d;
  --quote-gold-core: #c8922f;
  --quote-gold-deep: #7a5218;
  border: 1px solid rgba(255, 238, 198, 0.9);
  color: #0b0d10;
  font-weight: 700;
  background-image:
    linear-gradient(
      168deg,
      var(--quote-gold-top) 0%,
      #f4ddaa 14%,
      var(--quote-gold-mid) 38%,
      var(--quote-gold-core) 68%,
      var(--quote-gold-deep) 100%
    ),
    linear-gradient(
      118deg,
      transparent 38%,
      rgba(255, 250, 240, 0.35) 47%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 248, 232, 0.4) 53%,
      transparent 62%
    );
  background-size: 100% 100%, 240% 100%;
  background-position: 0 0, -200% 0;
  background-repeat: no-repeat;
  animation: site3-quote-gold-shimmer 5.5s ease-in-out infinite;
  box-shadow:
    0 10px 36px rgba(100, 72, 36, 0.42),
    inset 0 0 0 1px rgba(176, 123, 40, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(80, 58, 28, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.post-hero .pro-quote-cta .pro-band .btn.btn-primary:hover {
  box-shadow:
    0 14px 44px rgba(100, 72, 36, 0.5),
    inset 0 0 0 1px rgba(187, 132, 47, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -1px 0 rgba(80, 58, 28, 0.4);
}

@keyframes site3-quote-gold-shimmer {
  0%,
  100% {
    background-position: 0 0, -200% 0;
  }
  48% {
    background-position: 0 0, 165% 0;
  }
  52% {
    background-position: 0 0, 165% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-hero .pro-quote-cta .pro-band .btn.btn-primary {
    animation: none;
    background-image: linear-gradient(
      168deg,
      var(--quote-gold-top) 0%,
      #f4ddaa 14%,
      var(--quote-gold-mid) 38%,
      var(--quote-gold-core) 68%,
      var(--quote-gold-deep) 100%
    );
    background-size: 100% 100%;
    background-position: 0 0;
  }
}

/* Fleet strip */
.post-hero .pro-fleet {
  padding-bottom: var(--pro-section-y-md);
}

.post-hero .pro-fleet-head {
  margin-bottom: clamp(16px, 2.6vw, 24px);
  max-width: var(--max-width);
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.post-hero .pro-fleet-scroll {
  display: flex;
  justify-content: safe center;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 20px;
  margin: 0 calc(-1 * max(0px, (100vw - var(--max-width)) / 2 - 24px));
  padding-left: max(24px, calc((100vw - min(100vw, var(--max-width))) / 2));
  padding-right: max(24px, calc((100vw - min(100vw, var(--max-width))) / 2));
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Avoid centered initial scroll (shows middle card); start at first vehicle class */
@media (max-width: 900px) {
  .post-hero .pro-fleet-scroll {
    justify-content: flex-start;
  }
}

.post-hero .pro-fleet-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(11, 13, 16, 0.1);
}

.post-hero .pro-fleet-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.post-hero .pro-fleet-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero .pro-fleet-card-body {
  padding: 22px 24px 26px;
}

.post-hero .pro-fleet-card-body .vehicle-label {
  margin: 0 0 8px;
}

.post-hero .pro-fleet-card-body h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
  line-height: 1.15;
}

.post-hero .pro-fleet-card-body > p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.5;
}

.post-hero .pro-fleet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-hero .pro-fleet-pills span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201, 164, 108, 0.12);
  border: 1px solid rgba(201, 164, 108, 0.22);
  color: var(--ink);
}

.post-hero .pro-fleet-foot {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--pro-shadow);
}

.post-hero .pro-fleet-foot h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.post-hero .pro-fleet-foot p {
  margin: 0;
  color: var(--slate);
  max-width: 48ch;
}

/* Coverage + trust split */
.post-hero .pro-coverage-trust {
  padding: var(--pro-section-y-lg) 0;
}

.post-hero .pro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.post-hero .pro-split-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 40px rgba(11, 13, 16, 0.08);
}

.post-hero .pro-split-panel h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.post-hero .pro-split-panel .list {
  margin: 0;
}

.post-hero .pro-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.post-hero .pro-trust-list li {
  padding-left: 20px;
  position: relative;
  font-weight: 500;
  line-height: 1.45;
  color: var(--slate);
}

.post-hero .pro-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.post-hero .pro-airports {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--card-border);
}

.post-hero .pro-airports h3 {
  margin-bottom: 10px;
}

.post-hero .pro-airports ul {
  margin: 0;
  padding-left: 20px;
  color: var(--slate);
}

.post-hero .pro-seo {
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--slate);
}

/* Pricing + FAQ rhythm */
.post-hero .pricing,
.post-hero .pro-faq-wrap {
  padding: var(--pro-section-y-md) 0;
}

.post-hero .pro-faq-wrap .section-heading {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.post-hero .pro-faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.post-hero .pro-faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 13, 16, 0.06);
}

.post-hero .pro-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.post-hero .pro-faq-item summary::-webkit-details-marker {
  display: none;
}

.post-hero .pro-faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.post-hero .pro-faq-item[open] summary::after {
  transform: rotate(225deg);
}

.post-hero .pro-faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.post-hero .pro-faq-answer {
  padding: 0 22px 18px;
  color: var(--slate);
  line-height: 1.55;
}

.post-hero .pro-faq-answer p {
  margin: 0;
}

/* Final CTA */
.post-hero .pro-final .final-card {
  border-radius: var(--radius-lg);
}

.post-hero .pro-final .final-ctas {
  flex-wrap: wrap;
  gap: 12px;
}

/* “Ready for a seamless ride?” — hidden on small screens (header + WhatsApp cover actions) */
@media (max-width: 720px) {
  .post-hero section.final-cta.pro-final {
    display: none;
  }
}

/* Why NPT card — hide WhatsApp + call row on mobile (same actions live in header / FAB) */
@media (max-width: 640px) {
  .pro-coverage-trust .pro-split-panel:has(> p.pro-eyebrow) > p.pro-seo:last-of-type {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .post-hero .pro-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .post-hero .pro-services {
    --pro-services-intro-shift: 0px;
  }
}

/* Airport / Corporate / Hourly / quote band — tighter type on small phones only */
@media (max-width: 640px) {
  .post-hero .pro-services > .pro-band .pro-band-content .pro-eyebrow,
  .post-hero .pro-quote-cta > .pro-band .pro-band-content .pro-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .post-hero .pro-services > .pro-band .pro-band-title,
  .post-hero .pro-quote-cta > .pro-band .pro-band-title {
    font-size: clamp(1.2rem, 0.92rem + 1vw, 1.42rem);
    line-height: 1.12;
  }

  .post-hero .pro-services > .pro-band .pro-band-copy,
  .post-hero .pro-quote-cta > .pro-band .pro-band-copy {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-hero .pro-faq-item summary::after {
    transition: none;
  }
}

/* Booking page header */
.pro-book-wrap {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 20px;
  text-align: center;
}

.pro-book-back {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  text-decoration: none;
}

.pro-book-back:hover {
  text-decoration: underline;
}

.pro-book-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.35rem);
  margin: 0 0 10px;
  line-height: 1.12;
}

.pro-book-lead {
  margin: 0;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.5;
}

.page-booking .site-header + .pro-book-wrap {
  padding-top: clamp(16px, 4vw, 32px);
}

.page-booking .booking-page {
  padding-top: 8px;
  padding-bottom: clamp(40px, 8vw, 72px);
}

/* Nudge intro + “Prefer to speak…” right (rule lives here so it wins over main.css) */
.page-booking .booking-card > .booking-copy,
.page-booking .booking-card > .booking-note {
  margin-left: clamp(28px, 6vw, 72px);
  padding-left: clamp(4px, 1vw, 16px);
  box-sizing: border-box;
}

/* Header menu “Book a Ride” — glass effect with moving shine */
/* WordPress rewrites data-nav to ?npt_page=book — match both static book.html and WP URLs */
.site-header .nav-ctas > button.btn-secondary[data-nav="book.html"],
.site-header .nav-ctas > button.btn-secondary[data-nav*="npt_page=book"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 3;
  background:
    linear-gradient(155deg, rgb(255, 250, 241) 0%, rgb(250, 236, 204) 42%, rgb(242, 214, 160) 100%),
    linear-gradient(145deg, rgb(245, 215, 158) 0%, rgb(213, 161, 75) 100%) !important;
  color: #1f1508 !important;
  font-weight: 700;
  border-color: rgba(228, 191, 121, 0.5) !important;
  text-shadow: none;
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 10px 26px rgba(201, 164, 108, 0.42),
    0 4px 12px rgba(201, 164, 108, 0.28) !important;
  filter: none !important;
  opacity: 1 !important;
}

.site-header .nav-ctas > button.btn-secondary[data-nav="book.html"]::after,
.site-header .nav-ctas > button.btn-secondary[data-nav*="npt_page=book"]::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -140%;
  width: 70%;
  height: 180%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.64) 48%,
    rgba(255, 255, 255, 0.14) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  animation: site3-menu-book-glass-sheen 3.8s ease-in-out infinite;
}

.site-header .nav-ctas > button.btn-secondary[data-nav="book.html"]:hover,
.site-header .nav-ctas > button.btn-secondary[data-nav*="npt_page=book"]:hover {
  background:
    linear-gradient(155deg, rgb(255, 253, 247) 0%, rgb(253, 242, 214) 42%, rgb(247, 223, 173) 100%),
    linear-gradient(145deg, rgb(248, 221, 170) 0%, rgb(221, 171, 86) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 14px 30px rgba(201, 164, 108, 0.52),
    0 6px 14px rgba(201, 164, 108, 0.34) !important;
  filter: none !important;
  opacity: 1 !important;
}

@keyframes site3-menu-book-glass-sheen {
  0% {
    left: -150%;
  }
  55% {
    left: 185%;
  }
  100% {
    left: 185%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-ctas > button.btn-secondary[data-nav="book.html"]::after,
  .site-header .nav-ctas > button.btn-secondary[data-nav*="npt_page=book"]::after {
    animation: none;
  }
}
