/* Public marketing pages only: injected from the sitemap, excluding quote.
   Quote and pay retain their existing, separately embedded white themes.
   This theme changes presentation, never visibility, order, form state or images. */
:root {
  color-scheme: light;
  --panel: #fff;
  --panel-soft: #fff;
  --paper: #fff;
  --gold: #111;
  --gold-bright: #111;
  --gold-light: #111;
  --gold-dark: #111;
  --muted: #111;
  --line: #d5d5d5;
  --pkg-panel: #fff;
  --pkg-gold: #111;
  --pkg-gold-light: #111;
  --pkg-line: #d5d5d5;
}
html, body { background: #fff !important; color: #111 !important; }
body :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,i,em,small,label,legend,summary,dt,dd,li,blockquote,figcaption,th,td,caption,time) {
  color: #111 !important;
  text-shadow: none !important;
}
body :is(header,footer,main,section,article,aside,form,fieldset,dialog) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5;
}
body :is(.site-header,.site-header.scrolled,.site-footer,.mobile-menu,.payment-header,.footer-top,.footer-bottom) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5 !important;
  backdrop-filter: none;
}
body :is(.desktop-nav,.mobile-menu,.footer-nav,.language-links) a { color: #111 !important; }
body :is(.desktop-nav a::after,.eyebrow::before,.eyebrow>span,.menu-toggle span:not(.sr-only),.status-dot,.map-label i) {
  background: #111 !important;
}
body .menu-toggle { background: #fff !important; border-color: #111 !important; }
body .brand-mark { stroke: #111 !important; }
body .brand-mark path { stroke: #111 !important; }
body .brand-mark circle { fill: #111 !important; }

/* Existing imagery stays at its original resolution and focal point. Text that
   overlays photography gets its own white backing; the photograph is untouched. */
body :is(.hero-shade,.package-hero-shade) { background: transparent !important; }
body :is(.hero,.page-hero,.package-hero)::after { background: transparent !important; }
body :is(.hero-copy,.hero-card,.hero-card-inner) { background: #fff !important; color: #111 !important; }
body :is(.page-hero .hero-inner,.package-hero-content)>:is(h1,h2,p,.language-links,.hero-actions),
body .hero-inner>.hero-airports {
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 0 0 7px #fff;
  border-radius: 2px;
}
body :is(.page-hero .hero-inner,.package-hero-content)>:is(h1,h2,p,.language-links) { width: fit-content; }
body :is(.page-hero .hero-inner,.package-hero-content)>.hero-actions,
body .hero-inner>.hero-airports { width: fit-content; max-width: 100%; }
body .home-entry-proof { background: #fff !important; color: #111 !important; }
body .language-links a { background: #fff !important; border-color: #111 !important; }
body.route-vehicle-layout .page-hero .hero-inner,
body.review-split-hero .page-hero .hero-inner { background: #fff !important; }
body.route-page.route-vehicle-layout .page-hero,
body.route-page.route-vehicle-layout .page-hero>picture { background: #fff !important; }
body :is(.page-hero>picture,.package-hero>picture,.fleet-card-visual,.fleet-card-photo,.fleet-gallery-item,.image-panel,.family-interior-panel,.fleet-film-media,.home-fleet-film-media) {
  background-color: #fff !important;
}
body .fleet-gallery-item figcaption { background: #fff !important; color: #111 !important; }

/* Explicit surfaces replace decorative gradients without selecting img,
   picture, source, video, canvas, or the contents of third-party frames. */
body :is(.trust-strip,.trust-item,.promo-bar,.service-card,.special-card,.info-card,.route-card,.contact-card,.fleet-card,.fleet-card-body,.route-rate-card,.rate-table,.price-table,.price-head,.price-row,.price-disclosure,.price-rate-note,.notice,.verification-note,.launch-note,.booking-card,.booking-trust,.booking-trust__contact,.review-status,.review-qr-card,.review-assurance-grid article,.about-quote,.anaheim-business-panel,.airport-panel,.area-map,.map-grid,.map-label,.experience-grid article,.policy-card,.policy-details,.faq-list details,.package-facts,.package-summary,.package-card,.package-cancelled,.package-error,.package-consultation,.package-timezone-note,.route-preview span,.package-address-brand,.package-address-suggestion,.home-review-card,.home-next-grid>a,.home-entry-panel,.home-quote-entry,.home-trip-summary,.home-fleet-class,.route-entry-facts li,.package-single-routes) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5 !important;
}
body :is(.service-card,.airport-panel,.about-quote,.fleet-visual,.area-map)::before,
body :is(.service-card,.airport-panel,.about-quote,.fleet-gallery-item)::after { background: transparent !important; }
body .info-card::before { background: #111 !important; }
body.fleet-page .fleet-gallery-section,
body.contact-page .page-hero { background: #fff !important; }
body :is(.cruise-price,.section-dark .notice,.section-dark .notice *,[data-acquisition-hero-links] a) { color: #111 !important; }
body :is(.package-form legend,.package-form label,.schedule-leg,.package-intro,.field-note,.pay-note,.package-summary dt,.package-summary dd,.package-address-hint,.package-related,.route-entry-facts) { color: #111 !important; }
body :is(.rate-row,.price-row,.package-summary dl>div,.schedule-row,.package-facts .container>div,.process-item,.faq-wrap details,.faq-list details,.footer-bottom) { border-color: #d5d5d5 !important; }

body :is(.btn,.button,.nav-whatsapp,.wa-pill,.back-to-top,.mobile-contact-action,.mobile-contact-quote,.mobile-contact-phone,.mobile-contact-whatsapp,.package-mobile-progress button,.package-mobile-next,.package-mobile-back,.package-child-seat-toggle,.package-consultation-link,.privacy-settings-link) {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body :is(.btn,.button,.nav-whatsapp,.wa-pill,.back-to-top,.mobile-contact-action,.package-mobile-next,.package-mobile-back):is(:hover,:focus-visible) {
  background: #fff !important;
  color: #111 !important;
  filter: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body :is(.btn,.button,.nav-whatsapp,.wa-pill,.back-to-top,.mobile-contact-action) { border-style: solid; border-width: 1px; }
body a.btn[href*="wa.me/"],
body a.btn[href*="wa.me/"]:is(:hover,:focus-visible) { background: #fff !important; color: #111 !important; border-color: #111 !important; }
body :is(.mobile-contact-actions,.package-mobile-progress,.package-mobile-actions) { background: #fff !important; border-color: #d5d5d5 !important; }
body :is(.mobile-contact-action,.nav-whatsapp,.wa-pill) svg { fill: currentColor; }
body :is(.btn-whatsapp,.nav-whatsapp,.wa-pill,.mobile-contact-whatsapp) svg,
body a.btn[href*="wa.me/"] svg { color: #111 !important; stroke: #111 !important; }
body .mobile-contact-whatsapp svg path { fill: #111 !important; }
body :is(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid #111 !important; outline-offset: 3px; }

/* Native controls retain their type, disabled state and validation semantics. */
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea,option) {
  color-scheme: light;
  background: #fff !important;
  color: #111 !important;
  border-color: #777 !important;
  box-shadow: none;
}
body :is(input,textarea)::placeholder { color: #555 !important; opacity: 1; }
body :is(input[type=checkbox],input[type=radio]) { accent-color: #111; }
body :is(.date-control,.time-control,.quick-field,.stop-row,.stop-drag,.stop-action,.add-stop-btn,.route-estimate,.fare-estimate,.meet-greet-selector,.gratuity-selector,.gratuity-option input:checked+span,.optional-trip-details,.child-seat-addon,.package-step-error,.package-address-suggestions,.maps-address-suggestions,.maps-address-suggestion,.maps-address-brand) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5 !important;
}
body :is(.field.invalid input,.field.invalid select,.field.invalid textarea,.package-error,.package-step-error) { border-color: #111 !important; }
body :is(.analytics-consent,.analytics-consent-inner,.analytics-compact-privacy,.analytics-consent-actions button,.analytics-compact-privacy-actions button) {
  background: #fff !important;
  color: #111 !important;
  border-color: #777 !important;
}
body :is(.analytics-consent,.analytics-compact-privacy) :is(p,span,small,strong,a,button,label) { color: #111 !important; }
body :is(.modal-card,.modal-close,.modal-icon,.request-notice,.submit-status,.sending-status,.error-status) {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}
/* Customer utility pages retain their private-link state and authorization. */
body :is(.order-shell,.order-card,.order-badge,.order-summary,.package-itinerary li,.fare-breakdown,.order-next,.order-help,.feedback-shell,.feedback-card,.tip-panel,.fare-chip,.custom-tip>div,.no-tip,.review-links,.feedback-assurance,.confirmation-card) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5 !important;
}
body :is(.feedback-action,.star-picker button,.tip-options button,.custom-tip button) {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}
body .star-picker button.is-on { box-shadow: inset 0 0 0 1px #111; font-weight: 800; }
body :is(.order-spinner,.feedback-spinner) { border-color: #d5d5d5; border-top-color: #111; }

/* Each row stretches its review cards; original-source links share a baseline. */
body #google-customer-reviews .card-grid,
body .home-review-grid { align-items: stretch; }
body #google-customer-reviews .info-card,
body .home-review-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
body #google-customer-reviews .info-card>blockquote { margin-bottom: 18px !important; }
body #google-customer-reviews .info-card>a:last-child,
body .home-review-card>a:last-child {
  margin-top: auto !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
body .home-review-card>a:last-child { padding-top: 12px; justify-content: flex-start; }
body :is(.home-review-card,.info-card) { overflow-wrap: anywhere; }
/* A theme must never reveal a hidden form, private summary or gated action. */
body [hidden] { display: none !important; }

/* Complete the shared light surfaces: text and its containing surface must
   change together. These selectors do not touch media or reveal hidden UI. */
body :is(.route-facts>div,.route-scene-note,.cruise-scene-note,.family-equipment-photos figure,.family-equipment-photos figcaption,.airport-space-grid figure,.airport-space-grid figcaption,.special-amenities) {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5d5d5 !important;
}
body .site-footer .legal-note { color: #333 !important; }
body .skip-link {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #111;
}
@media (max-width: 768px) {
  body.family-campaign-page .route-card h3>a,
  body.lax-specials-page .special-card h3>a,
  body.lax-specials-page .long-distance-links a,
  body.service-area-page .route-card>span>a {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 6px 4px;
  }
}
@media (forced-colors: active) {
  body :is(.btn,.button,.menu-toggle,.analytics-consent button) { border-color: ButtonText !important; }
}

/* Keep the existing public inner-page navigation inside the visible viewport.
   The header-row coordinate is measured by inner-pages.js; no links change. */
@media (max-width: 1120px) {
  body:not(.home-quote-refresh):not(.quote-page) .site-header [data-mobile-menu].is-open {
    box-sizing: border-box;
    max-height: max(44px, calc(100vh - var(--public-menu-top, 82px)));
    max-height: max(44px, calc(100dvh - var(--public-menu-top, 82px)));
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 6px;
  }
}

/* Contact compact layouts place hero copy on white. */
@media (max-width: 720px), (max-width: 960px) and (max-height: 520px) {
  html:has(head [data-site-white-theme]) body.contact-page:not(.route-vehicle-layout):not(.quote-page) .page-hero .hero-inner > :is(h1,h2,p),
  html:has(head [data-site-white-theme]) body.contact-page:not(.route-vehicle-layout):not(.quote-page) .page-hero .hero-inner > :is(h1,h2,p) :is(span,strong,b,em,a) {
    text-shadow: none !important;
  }
}

/* Keep separated white hero copy crisp on compact service pages. */
@media (max-width: 660px) {
  html:has(head [data-site-white-theme]) body:is(.family-hub-page,.hero-wheel-lax,.hero-hourly,.hero-memorial,.booking-terms-page,.hero-point-to-point):not(.route-vehicle-layout):not(.quote-page) .page-hero .hero-inner > :is(h1,h2,p,.language-links),
  html:has(head [data-site-white-theme]) body:is(.family-hub-page,.hero-wheel-lax,.hero-hourly,.hero-memorial,.booking-terms-page,.hero-point-to-point):not(.route-vehicle-layout):not(.quote-page) .page-hero .hero-inner > :is(h1,h2,p,.language-links) :is(span,strong,b,em,a) {
    text-shadow: none !important;
  }
}

/* White public headers need a readable language disclosure. */
html:has(head [data-site-white-theme]) body:not(.home-quote-refresh) .site-header .global-language-switch>summary,
html:has(head [data-site-white-theme]) body:not(.home-quote-refresh) .site-header .global-language-switch>summary span,
html:has(head [data-site-white-theme]) body.home-quote-refresh .site-header.scrolled .global-language-switch>summary,
html:has(head [data-site-white-theme]) body.home-quote-refresh .site-header.scrolled .global-language-switch>summary span {
  color:#111 !important; background:#fff !important; border-color:#111 !important; text-shadow:none !important;
}

/* Footer focus clears the fixed header; desktop text at 200% can reach 223px. */
html:has(head [data-site-white-theme]) body:not(.quote-page) .site-footer :is(a[href],button:not(:disabled)) {
  scroll-margin-block-start: 100px;
}
@media (min-width: 1121px) {
  html:has(head [data-site-white-theme]) body:not(.quote-page) .site-footer :is(a[href],button:not(:disabled)) {
    scroll-margin-block-start: 250px;
  }
}

/* Keep enlarged public copy inside its existing cards and contact surfaces. */
html:has(head [data-site-white-theme]) body.home-quote-refresh .home-more-services .service-card h3,
html:has(head [data-site-white-theme]) body.home-quote-refresh #contact .contact-line.email-wide,
html:has(head [data-site-white-theme]) body.family-campaign-page #family-routes .route-card,
html:has(head [data-site-white-theme]) body .route-layout .booking-card h2,
html:has(head [data-site-white-theme]) body .cruise-vehicle .cruise-price {
  min-width: 0;
  overflow-wrap: anywhere;
}
html:has(head [data-site-white-theme]) body.family-campaign-page #family-routes .route-price {
  min-width: 0;
}
html:has(head [data-site-white-theme]) body.family-campaign-page #family-routes .route-price > :is(strong,span) {
  min-width: 0;
}

/* Reserve the public brand width while the existing desktop navigation scrolls. */
@media (min-width: 1121px) {
  html:has(head [data-site-white-theme]) body:not(.home-quote-refresh):not(.quote-page) .site-header .brand {
    flex-shrink: 0 !important;
    min-width: max-content !important;
  }
  html:has(head [data-site-white-theme]) body:not(.home-quote-refresh):not(.quote-page) .site-header .desktop-nav {
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    overflow-x: auto !important;
  }
  html:has(head [data-site-white-theme]) body:not(.home-quote-refresh):not(.quote-page) .site-header .desktop-nav>a {
    flex-shrink: 0;
    min-width: 0;
    max-width: calc(100% - 12px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
