/* Only the Google reviews link in the hero; no effects on booking or fleet. */
.bm-home-v2 .bm-google-hero-card{position:relative;z-index:4;display:inline-flex;flex-direction:column;gap:6px;align-items:flex-start;width:min(275px,100%);margin:17px 0 0;padding:12px 20px;border-radius:22px;border:1px solid rgba(255,255,255,.22);background:linear-gradient(115deg,rgba(9,17,42,.93),rgba(32,36,55,.93));box-shadow:0 10px 22px rgba(0,0,0,.16);text-decoration:none!important;color:#fff!important;transition:border-color .18s,transform .18s,box-shadow .18s}
.bm-home-v2 .bm-google-hero-card:hover{border-color:#17cdf2;transform:translateY(-2px);box-shadow:0 14px 26px rgba(0,0,0,.22)}
.bm-home-v2 .bm-google-hero-card:focus-visible{outline:3px solid #16d4f3;outline-offset:4px}
.bm-home-v2 .bm-google-hero-title,.bm-home-v2 .bm-google-hero-rating{display:flex;align-items:center;gap:12px;line-height:1.2}
.bm-home-v2 .bm-google-hero-title{font-weight:750;font-size:21px}
.bm-home-v2 .bm-google-hero-g{font:800 29px/1 Arial,sans-serif;background:conic-gradient(#4285f4 0deg 85deg,#34a853 85deg 165deg,#fbbc05 165deg 220deg,#ea4335 220deg 290deg,#4285f4 290deg 360deg);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.bm-home-v2 .bm-google-hero-rating{gap:10px;white-space:nowrap}
.bm-home-v2 .bm-google-hero-stars{color:#ffbf00;font-size:21px;letter-spacing:1px}
.bm-home-v2 .bm-google-hero-score{font-size:19px;color:white}
@media(max-width:767px){.bm-home-v2 .bm-google-hero-card{margin-top:14px;width:min(265px,92%);padding:11px 16px}.bm-home-v2 .bm-google-hero-title{font-size:19px}.bm-home-v2 .bm-google-hero-stars{font-size:19px}.bm-home-v2 .bm-google-hero-score{font-size:18px}}

/* BM_GOOGLE_BADGE_COMPACT_V2_START */
/* Compact badge only — no changes to hero, booking, or other sections. */
.bm-home-v2 a.bm-google-hero-card{
  box-sizing:border-box;width:215px;max-width:100%;min-height:0;
  padding:9px 14px;margin-top:14px;gap:3px;border-radius:17px;
}
.bm-home-v2 .bm-google-hero-title,
.bm-home-v2 .bm-google-hero-rating{gap:8px;line-height:1.15}
.bm-home-v2 .bm-google-hero-title{font-size:16px}
.bm-home-v2 .bm-google-hero-g{font-size:22px}
.bm-home-v2 .bm-google-hero-stars{font-size:16px;letter-spacing:0}
.bm-home-v2 .bm-google-hero-score{font-size:15px}
@media(max-width:767px){
  .bm-home-v2 a.bm-google-hero-card{width:205px;max-width:94%;padding:8px 12px;margin-top:12px;gap:3px}
  .bm-home-v2 .bm-google-hero-title{font-size:15px}
  .bm-home-v2 .bm-google-hero-g{font-size:21px}
  .bm-home-v2 .bm-google-hero-stars{font-size:15px}
  .bm-home-v2 .bm-google-hero-score{font-size:14px}
}
/* BM_GOOGLE_BADGE_COMPACT_V2_END */

/* BM_GOOGLE_BADGE_MOBILE_POSITION_V9_START */
/* Mobile only: put clickable Google badge BELOW the car scene, above the hero CTAs.
   CSS flex order moves the existing anchor visually, without cloning it or altering desktop. */
@media (max-width: 767px) {
  .bm-home-v2 .bm-hero-copy > .bm-car-stage { order: 1; }
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card {
    order: 2;
    align-self: center;
    margin: 8px auto 0;
    position: relative;
    z-index: 5;
  }
  .bm-home-v2 .bm-hero-copy > .bm-benefits { order: 3; }
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions { order: 4; }
}
/* BM_GOOGLE_BADGE_MOBILE_POSITION_V9_END */

/* BM_GOOGLE_BADGE_MOBILE_GAP_V10_START */
/* On mobile only, lower the centered Google link into the dark breathing room
   after the car image and before the hero action buttons. Relative positioning
   does not change the document flow, car, CTA layout or desktop presentation. */
@media (max-width: 767px) {
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card {
    top: clamp(78px, calc(13vw + 38px), 106px);
  }
}
/* BM_GOOGLE_BADGE_MOBILE_GAP_V10_END */

/* BM_MOBILE_PREVIEW1_REFINED_V15_START */
/* Bluemirage mobile Preview 1 refinement, scoped to <=767px.
   Gold review frame + connected CTA strip + mountain finale.
   No HTML changes; desktop untouched. */
@media screen and (max-width:767px) {
  .bm-home-v2 .bm-hero-stage { min-height: 0 !important; background: #061631; }
  .bm-home-v2 .bm-night-art {
    background: linear-gradient(180deg,#03132b 0%,#061631 100%) !important;
  }
  .bm-home-v2 .bm-hero-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 18px 16px 12px !important;
  }
  .bm-home-v2 .bm-hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .bm-home-v2 .bm-hero-copy > .bm-badge,
  .bm-home-v2 .bm-hero-copy > .bm-heading,
  .bm-home-v2 .bm-hero-copy > .bm-kicker,
  .bm-home-v2 .bm-hero-copy > .bm-summary { align-self: flex-start; }
  /* The real Bluemirage photo (not a generated replacement) appears exactly once. */
  .bm-home-v2 .bm-hero-copy > .bm-car-stage {
    display: block !important;
    order: 1 !important;
    flex: none !important;
    width: calc(100% + 32px) !important;
    height: clamp(330px, 98vw, 480px) !important;
    margin: -4px -16px -12px !important;
    background: url('/static/images/hero/bluemirage-hero-scene-v5-mobile.webp') center top / 100% auto no-repeat !important;
    -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 87%,transparent 100%);
    mask-image: linear-gradient(to bottom,#000 0%,#000 87%,transparent 100%);
    pointer-events: none;
  }
  .bm-home-v2 .bm-hero-copy > .bm-benefits { display: none !important; }
  /* Floating Google rating, with warm subtle premium frame as approved Preview 1. */
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card {
    position: relative !important;
    order: 2 !important;
    top: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
    transform: none !important;
    align-self: center !important;
    width: min(240px,82%) !important;
    margin: 0 auto !important;
    padding: 10px 20px !important;
    gap: 4px !important;
    border: 1px solid rgba(248,191,75,.88) !important;
    border-radius: 26px !important;
    background: linear-gradient(120deg,rgba(5,20,43,.96),rgba(13,24,46,.97)) !important;
    box-shadow: 0 0 0 1px rgba(255,194,75,.09),0 0 22px rgba(245,175,42,.13) !important;
    z-index: 5;
  }
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card::before,
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card::after {
    content: '';
    position: absolute;
    width: min(36px,9vw);
    top: 52%;
    height: 1px;
    background: linear-gradient(90deg,transparent,#f6b949);
    pointer-events: none;
  }
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card::before { right: calc(100% + 10px); }
  .bm-home-v2 .bm-hero-copy > a.bm-google-hero-card::after {
    left: calc(100% + 10px);
    transform: rotate(180deg);
  }
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions {
    position: relative !important;
    order: 3 !important;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100% !important;
    gap: 10px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    z-index: 4;
  }
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions > a {
    min-width: 0 !important;
    min-height: 49px !important;
    border-radius: 14px !important;
  }
  /* Soft, continuous bottom ornament. It draws from the SAME actual photo. */
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions::after {
    content: '';
    pointer-events: none;
    position: absolute;
    top: calc(100% + 2px);
    left: -16px;
    width: calc(100% + 32px);
    height: clamp(52px,19vw,82px);
    background: url('/static/images/hero/bluemirage-hero-scene-v5-mobile.webp') center bottom / 100% auto no-repeat;
    -webkit-mask-image: linear-gradient(to bottom,transparent 0%,#000 35%,#000 74%,transparent 100%);
    mask-image: linear-gradient(to bottom,transparent 0%,#000 35%,#000 74%,transparent 100%);
    opacity: .94;
    z-index: -1;
  }
  .bm-home-v2 .bm-hero-copy { padding-bottom: clamp(62px,20vw,90px) !important; }
  .bm-home-v2 .bm-reservation { margin-top: 4px !important; }
}
@media screen and (max-width:365px) {
  .bm-home-v2 .bm-hero-copy > .bm-car-stage { height: 98vw !important; }
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions { flex-wrap: wrap !important; }
  .bm-home-v2 .bm-hero-copy > .bm-hero-actions > a { flex-basis: 100% !important; }
}
/* BM_MOBILE_PREVIEW1_REFINED_V15_END */
