/* =========================================================================
   lux-polish.css  ·  Beverly Hills Lux Ride — reusable luxury design system
   ADDITIVE + NAMESPACED under .lux-* (cannot collide with theme-styles.css).
   Mirrors winning competitor aesthetic: pill CTAs, Cormorant serif display
   headings, white + accent + gray section bands, clean flat-rate cards.
   Uses the site's existing custom properties (--accent-color, --bg-*, --text-*,
   --border-color). Fonts 'Cormorant Garamond' + 'Inter' load in header.php.
   ========================================================================= */

:root {
  --lux-accent: var(--accent-color, #0E9F6E);
  --lux-gold: var(--accent-gold, #D4AF37);
  --lux-band-bg: #F6F6F4;
  --lux-ink: var(--text-primary, #111827);
  --lux-ink-soft: var(--text-secondary, #374151);
  --lux-line: var(--border-color, rgba(0,0,0,.10));
  --lux-radius: 18px;
}
/* Dark-mode friendly band tint (theme-styles flips --bg-* on [data-theme]) */
[data-theme="dark"] {
  --lux-band-bg: var(--bg-secondary, #0a0a0a);
}

/* ---------------------------------------------------------------------------
   1. PILL CTAs
   --------------------------------------------------------------------------- */
.lux-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: var(--lux-accent, #0E9F6E);
  color: #fff;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--lux-accent, #0E9F6E) 30%, transparent),
              inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease,
              background .25s ease, color .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.lux-cta:hover,
.lux-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--lux-accent, #0E9F6E) 46%, transparent),
              inset 0 1px 0 rgba(255,255,255,.22);
  color: #fff;
}
.lux-cta:active { transform: translateY(0); }
.lux-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Gold variant */
.lux-cta--gold {
  background: linear-gradient(135deg, #F0D98C 0%, var(--lux-gold, #D4AF37) 48%, #A97E2B 100%);
  color: #1A1206;
  box-shadow: 0 8px 22px rgba(176,135,52,.34), inset 0 1px 0 rgba(255,255,255,.5);
}
.lux-cta--gold:hover,
.lux-cta--gold:focus-visible {
  color: #1A1206;
  box-shadow: 0 14px 34px rgba(176,135,52,.5), inset 0 1px 0 rgba(255,255,255,.55);
}

/* Ghost / outline variant */
.lux-cta--ghost {
  background: transparent;
  color: var(--lux-accent, #0E9F6E);
  border-color: color-mix(in srgb, var(--lux-accent, #0E9F6E) 55%, transparent);
  box-shadow: none;
}
.lux-cta--ghost:hover,
.lux-cta--ghost:focus-visible {
  background: color-mix(in srgb, var(--lux-accent, #0E9F6E) 8%, transparent);
  border-color: var(--lux-accent, #0E9F6E);
  color: var(--lux-accent, #0E9F6E);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--lux-accent, #0E9F6E) 18%, transparent);
}

/* Small size modifier (use in tables / rows) */
.lux-cta--sm { padding: 9px 18px; font-size: 13px; }

/* ---------------------------------------------------------------------------
   2. SECTION BANDS
   --------------------------------------------------------------------------- */
.lux-band {
  width: 100%;
  background: var(--lux-band-bg, #F6F6F4);
  padding: clamp(48px, 7vw, 92px) 5%;
}
.lux-band--white { background: var(--bg-primary, #ffffff); }
.lux-band__inner { max-width: 1180px; margin: 0 auto; }

/* ---------------------------------------------------------------------------
   3. DISPLAY HEADINGS (Cormorant Garamond)
   --------------------------------------------------------------------------- */
.lux-h1, .lux-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--lux-ink, #111827);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lux-h1 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.04;
}
.lux-h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
}
.lux-h1 .lux-accent-text,
.lux-h2 .lux-accent-text { color: var(--lux-accent, #0E9F6E); }
.lux-h1 .lux-gold-text,
.lux-h2 .lux-gold-text {
  background: linear-gradient(135deg, var(--lux-gold, #D4AF37), #F2D06B 55%, var(--lux-gold, #D4AF37));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------------
   4. FLAT-RATE TABLE  (bordered cards, mobile-stacking)
   --------------------------------------------------------------------------- */
.lux-rate-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.lux-rate-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--bg-primary, #fff);
  border: 1px solid var(--lux-line, rgba(0,0,0,.10));
  border-radius: var(--lux-radius, 18px);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lux-rate-row:hover {
  border-color: color-mix(in srgb, var(--lux-accent, #0E9F6E) 45%, var(--lux-line));
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.lux-rate-row__route {
  flex: 1 1 auto;
  min-width: 0;
}
.lux-rate-row__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--lux-ink, #111827);
  line-height: 1.15;
}
.lux-rate-row__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--lux-accent, #0E9F6E);
}
.lux-rate-row__tag::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lux-accent, #0E9F6E);
}
.lux-rate-row__price {
  flex: 0 0 auto;
  text-align: right;
  font-family: 'Cormorant Garamond', Georgia, serif;
  white-space: nowrap;
}
.lux-rate-row__price small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0,0,0,.5));
  margin-bottom: 1px;
}
.lux-rate-row__price b {
  font-size: 30px;
  font-weight: 700;
  color: var(--lux-ink, #111827);
}
.lux-rate-row__cta { flex: 0 0 auto; }

@media (max-width: 600px) {
  .lux-rate-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .lux-rate-row__route { flex: 1 1 100%; }
  .lux-rate-row__price { flex: 1 1 auto; text-align: left; }
  .lux-rate-row__price b { font-size: 26px; }
  .lux-rate-row__cta { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------------------
   5. TRUST ROW (inline chips)
   --------------------------------------------------------------------------- */
.lux-trust-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.lux-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lux-accent, #0E9F6E) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--lux-accent, #0E9F6E) 24%, transparent);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--lux-ink-soft, #374151);
  white-space: nowrap;
}
.lux-trust-chip svg,
.lux-trust-chip .lux-trust-ico {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--lux-accent, #0E9F6E);
}
.lux-trust-chip b { color: var(--lux-ink, #111827); font-weight: 700; }

/* ---------------------------------------------------------------------------
   6. STICKY MOBILE "BOOK NOW" PILL (additive — armed via .is-visible)
   --------------------------------------------------------------------------- */
.lux-sticky-book {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  z-index: 1090;                 /* below header(1101)/overlay(1100), above content */
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s ease;
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.lux-sticky-book.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
/* Only ever show on mobile so it never overlaps the desktop nav */
@media (min-width: 901px) {
  .lux-sticky-book { display: none !important; }
}

/* ===========================================================================
   7. EVENT HERO BAND  ·  .lux-hero--event
   Bold gradient hero for high-impact event pages (World Cup 2026, Las Vegas).
   OPTIONAL / opt-in — engineers wrap an existing hero block in this class.
   Theme-aware via existing CSS vars; the accent/gold tones read on both modes.
   --------------------------------------------------------------------------- */
.lux-hero--event {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 9vw, 124px) 5%;
  background:
    radial-gradient(120% 140% at 12% 0%,
      color-mix(in srgb, var(--lux-accent, #0E9F6E) 22%, transparent) 0%,
      transparent 55%),
    radial-gradient(120% 130% at 100% 100%,
      color-mix(in srgb, var(--lux-gold, #D4AF37) 20%, transparent) 0%,
      transparent 50%),
    linear-gradient(135deg,
      var(--bg-primary, #0a0a0a) 0%,
      color-mix(in srgb, var(--bg-secondary, #111) 88%, var(--lux-accent, #0E9F6E)) 100%);
}
/* Hairline gradient accent along the top edge */
.lux-hero--event::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--lux-accent, #0E9F6E) 28%,
    var(--lux-gold, #D4AF37) 72%,
    transparent 100%);
  z-index: 1;
}
/* Soft luminous orb behind the headline */
.lux-hero--event::after {
  content: "";
  position: absolute;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  top: -16%;
  right: -8%;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--lux-gold, #D4AF37) 24%, transparent) 0%,
    transparent 66%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}
.lux-hero--event > * { position: relative; z-index: 2; }
.lux-hero--event__inner { max-width: 1180px; margin: 0 auto; }
/* Eyebrow / kicker chip for the event name */
.lux-hero--event__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lux-gold, #D4AF37) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--lux-gold, #D4AF37) 38%, transparent);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lux-gold, #D4AF37);
}
/* Headline + lede read on the dark gradient regardless of theme */
.lux-hero--event .lux-h1,
.lux-hero--event .lux-h2 { color: #fff; }
.lux-hero--event__lede {
  max-width: 640px;
  margin: 0 0 26px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.lux-hero--event .lux-trust-chip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
}
.lux-hero--event .lux-trust-chip b { color: #fff; }

/* ---------------------------------------------------------------------------
   8. PRICING NOTE  ·  .lux-pricing-note
   For long-distance/no-fixed-price routes (Las Vegas): a tasteful callout that
   frames the "Guaranteed Flat-Rate Quote" instead of a fabricated point price.
   --------------------------------------------------------------------------- */
.lux-pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
  margin: 22px auto;
  padding: 18px 22px;
  border-radius: var(--lux-radius, 18px);
  background: color-mix(in srgb, var(--lux-gold, #D4AF37) 7%, var(--bg-primary, #fff));
  border: 1px solid color-mix(in srgb, var(--lux-gold, #D4AF37) 32%, transparent);
  border-left: 4px solid var(--lux-gold, #D4AF37);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--lux-ink-soft, #374151);
}
.lux-pricing-note__ico {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  color: var(--lux-gold, #D4AF37);
}
.lux-pricing-note strong { color: var(--lux-ink, #111827); font-weight: 700; }

/* ---------------------------------------------------------------------------
   9. GUIDE BLOCK  ·  .lux-guide
   Styled wrapper for the deep helpful guide section (improves readability of
   long-form expert copy without touching any global element selectors).
   --------------------------------------------------------------------------- */
.lux-guide {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--lux-ink-soft, #374151);
}
.lux-guide .lux-guide__h {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--lux-ink, #111827);
  margin: 1.6em 0 .5em;
}
.lux-guide .lux-guide__h:first-child { margin-top: 0; }
.lux-guide .lux-guide__p { margin: 0 0 1.1em; }
.lux-guide .lux-guide__lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--lux-ink, #111827);
}
/* Optional bulleted takeaway list, scoped to the guide block */
.lux-guide .lux-guide__list {
  margin: 0 0 1.3em;
  padding: 0;
  list-style: none;
}
.lux-guide .lux-guide__list li {
  position: relative;
  padding: 0 0 0 28px;
  margin: 0 0 .7em;
}
.lux-guide .lux-guide__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lux-accent, #0E9F6E);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lux-accent, #0E9F6E) 16%, transparent);
}
.lux-guide .lux-guide__cta { margin-top: .6em; }

/* ---------------------------------------------------------------------------
   10. CLUSTER LINKS  ·  .lux-cluster-links
   Internal-link grid for hub-and-spoke topical authority across the cluster.
   --------------------------------------------------------------------------- */
.lux-cluster-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.lux-cluster-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--lux-radius, 18px);
  background: var(--bg-primary, #fff);
  border: 1px solid var(--lux-line, rgba(0,0,0,.10));
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--lux-ink, #111827);
  transition: border-color .25s ease, box-shadow .25s ease,
              transform .25s ease, color .25s ease;
}
.lux-cluster-links__item:hover,
.lux-cluster-links__item:focus-visible {
  border-color: color-mix(in srgb, var(--lux-accent, #0E9F6E) 50%, var(--lux-line));
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  transform: translateY(-2px);
  color: var(--lux-accent, #0E9F6E);
}
.lux-cluster-links__item::after {
  content: "\2192";          /* → */
  flex: 0 0 auto;
  font-size: 17px;
  color: var(--lux-accent, #0E9F6E);
  transition: transform .25s ease;
}
.lux-cluster-links__item:hover::after,
.lux-cluster-links__item:focus-visible::after { transform: translateX(3px); }
.lux-cluster-links__sub {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lux-ink-soft, #374151);
}

/* ---------------------------------------------------------------------------
   Accessibility / motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lux-cta, .lux-rate-row, .lux-sticky-book,
  .lux-cluster-links__item, .lux-cluster-links__item::after { transition: none; }
}
