/* ============================================================================
   BC HOME SERVICE — v23 CSS FIX LAYER ("Crisis Fix Pack")
   ----------------------------------------------------------------------------
   Fixes the live-site crisis bugs WITHOUT touching any existing design,
   color, or animation — additive only, loaded last (after v18.css).

   1. Bento grids (Expert Services + Seasonal Deals + every .v17-bento):
      mobile single-column collapse (fixes 62px / 27px sliver columns).
   2. Seasonal Deals: even 3-column desktop grid, no span misalignment.
   3. Expert Services: uniform card imagery + row alignment (desktop tidy).
   4. Desktop header: Free-Quote button can never be clipped again +
      progressive, minimal link density (≤1600/1400/1250px steps).
   5. Mobile action bar (Call / WhatsApp / Book): modern glass dock with
      gradient icon orbs + press states (no design removed anywhere else).
   6. Footer "Back to top" minimal text link (replaces the broken floating
      jump button below the copyright).
   7. Cost-calculator cross-link strip: dark navy card so its white text is
      ALWAYS readable (was white-on-white on light sections).
   8. Table/mobile repair-kit extensions (H10 follow-ups).
   ============================================================================ */

/* ------------------------------------------------------------------ */
/* 1 + 2. BENTO GRIDS — mobile collapse + desktop even grid            */
/* ------------------------------------------------------------------ */
@media (max-width: 719px) {
  .v17-bento,
  .v17-bento > .span-2,
  .offers-grid,
  .offers-grid.v17-bento > * {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    grid-column: auto / span 1 !important;
    min-width: 0;
  }
  .v17-bento > * { grid-column: auto / span 1 !important; }
  .v17-bento > .span-2 { grid-column: auto / span 1 !important; }
  /* keep card internals comfortable on narrow screens */
  .v17-bento > * > * { min-width: 0; }
  .v17-bento img { max-width: 100%; height: auto; }
}

/* Seasonal Deals — one tidy, even 3-column row on desktop, 2 on tablet,
   1 on phone. Neutralizes the span-2 "featured" track that pushed the
   third card onto a lonely row (the misaligned grid users saw). */
.offers-grid.v17-bento {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  grid-auto-flow: row !important;
}
.offers-grid.v17-bento > * { grid-column: auto / span 1 !important; }
@media (max-width: 1023px) {
  .offers-grid.v17-bento { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 719px) {
  .offers-grid.v17-bento { grid-template-columns: 1fr !important; }
}
/* even heights inside each deal card */
.offers-grid.v17-bento > article { display: flex; flex-direction: column; }
.offers-grid.v17-bento > article > div:last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.offers-grid.v17-bento > article > div:last-child > a:last-child { margin-top: auto; }

/* ------------------------------------------------------------------ */
/* 3. EXPERT SERVICES — tidy desktop grid                              */
/* ------------------------------------------------------------------ */
#services .v17-bento { align-items: stretch; }
#services .service-card img,
#services .service-card picture { width: 100%; }
#services .service-card img { aspect-ratio: 8 / 5; object-fit: cover; height: auto; }
#services .v17-bento > .service-card { min-width: 0; }

/* ------------------------------------------------------------------ */
/* 4. DESKTOP HEADER — always fits, progressively minimal             */
/* ------------------------------------------------------------------ */
/* The right action group must never push the Free-Quote button past
   the viewport (measured: btn right edge 1535px on a 1440px screen).
   NOTE: the React header renders .desktop-nav inside NAV, not <header> —
   selectors target the class directly. */
.desktop-nav { flex-wrap: nowrap; max-width: 100%; }
.desktop-nav > a { white-space: nowrap; }

@media (max-width: 1660px) {
  /* minimal header step 1: trim section anchors that live in the mobile
     menu and in-page CTA bands anyway */
  .desktop-nav > a[href="#our-work"],
  .desktop-nav > a[href="#before-after"],
  .desktop-nav > a[href="#reviews"] { display: none !important; }
}
@media (max-width: 1480px) {
  .desktop-nav > a[href="#calculator"],
  .desktop-nav > a[href="#service-areas"] { display: none !important; }
  .desktop-nav { gap: clamp(10px, 1.2vw, 22px); }
}
@media (max-width: 1300px) {
  .desktop-nav { font-size: 15px; gap: clamp(8px, 1vw, 18px); }
  .desktop-nav > a { padding-left: .6vw; padding-right: .6vw; }
}
@media (max-width: 1180px) {
  .desktop-nav > a[href="/pricing/"] { display: none !important; }
}
@media (max-width: 1060px) {
  .desktop-nav > a[href="/about/"] { display: none !important; }
}

/* ------------------------------------------------------------------ */
/* 5. MOBILE ACTION BAR — modern glass dock (Call / WhatsApp / Book)   */
/* ------------------------------------------------------------------ */
.v16-action-bar {
  /* glass dock: frosted navy, floating pill, safe-area aware */
  background: linear-gradient(180deg, rgba(12, 24, 44, 0.72), rgba(10, 22, 40, 0.92)) !important;
  backdrop-filter: blur(18px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 38px -8px rgba(10, 22, 40, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  width: min(440px, calc(100vw - 24px)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 auto !important;
  padding: 6px !important;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
}
.v16-action-bar .v16-ab-btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px !important;
  padding: 9px 6px !important;
  transition: transform .18s var(--ease-out-expo, cubic-bezier(.2,.8,.2,1)),
              background .18s ease, box-shadow .18s ease;
}
.v16-action-bar .v16-ab-btn:active { transform: scale(.96); }
.v16-action-bar .v16-ab-btn:hover { background: rgba(255,255,255,.09); }
/* gradient icon orbs — brand palette only (navy/orange/teal/green) */
.v16-action-bar .v16-ab-ico {
  width: 34px !important; height: 34px !important;
  margin: 0 auto 4px !important;
  border-radius: 12px !important;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px -6px rgba(10,22,40,.5);
}
.v16-action-bar .v16-ab-btn[href^="tel:"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="Call"] .v16-ab-ico {
  background: linear-gradient(135deg, #2ECC71, #1DA85A) !important;
}
.v16-action-bar .v16-ab-btn[href*="wa.me"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="WhatsApp"] .v16-ab-ico {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}
.v16-action-bar .v16-ab-btn[href*="/book/"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="Book"] .v16-ab-ico {
  background: linear-gradient(135deg, #FF8A50, #FF6B35) !important;
}
.v16-action-bar .v16-ab-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.v16-action-bar .v16-ab-dot { background: #2ECC71; box-shadow: 0 0 0 3px rgba(46,204,113,.25); }
/* keep the dock above every floating widget on mobile */
@media (max-width: 768px) {
  .v16-action-bar { z-index: 2147482000 !important; }
}

/* ------------------------------------------------------------------ */
/* 6. FOOTER BACK-TO-TOP — minimal text link (broken floating button  */
/*    retired) + breathing room above the glass dock                   */
/* ------------------------------------------------------------------ */
.v15-back-top,
.rmx-totop,
.bc-backtop,
button.v15-back-top { display: none !important; }

.footer-backtop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 8px 4px 4px 0;
  transition: color .2s ease, transform .2s ease;
}
.footer-backtop:hover { color: #48CAE4; transform: translateY(-1px); }
.footer-backtop svg { width: 13px; height: 13px; }
.footer-backtop::after { content: none; }

/* footer's last row must never hide behind the glass dock */
@media (max-width: 768px) {
  footer.footer,
  footer.site-footer,
  body > footer:last-of-type { padding-bottom: 14px; }
}

/* ------------------------------------------------------------------ */
/* 7. COST STRIP — dark navy card (white text ALWAYS readable)         */
/* ------------------------------------------------------------------ */
/* js/calc-strip.js mounts a white-text card that lands on light      */
/* sections too — white-on-white. The v23 JS gives the anchor a class  */
/* and this skin turns it into the signature navy glass card.         */
a.bc-calc-strip-v23 {
  background: linear-gradient(135deg, #0a1628 0%, #0e2a4a 62%, #123a5e 100%) !important;
  border: 1px solid rgba(72, 202, 228, 0.4) !important;
  box-shadow: 0 24px 60px -24px rgba(10, 22, 40, 0.55) !important;
  color: #fff;
}
a.bc-calc-strip-v23 span { color: #fff; }
a.bc-calc-strip-v23:hover {
  border-color: rgba(72, 202, 228, 0.75) !important;
  transform: translateY(-2px);
}
a.bc-calc-strip-v23 > span:first-child { color: #48CAE4 !important; }

/* ------------------------------------------------------------------ */
/* 8. REPAIR KIT EXTENSIONS                                            */
/* ------------------------------------------------------------------ */
/* (a) hub city rails — swipeable, never guillotined */
.stats-grid > div {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}
.stats-grid > div > a.card,
.stats-grid > div > .card { scroll-snap-align: start; }

/* (b) estimator chips — real tap targets */
.est-chip { min-height: 40px; padding: 8px 14px; }
.est-grid, .est-chips { row-gap: 8px; }

/* (c) seasonal banner dismiss target size */
.v15-seasonal-close { min-width: 40px; min-height: 40px; }

/* (d) hero stat card clip (plumber-surrey etc.) */
@media (max-width: 640px) {
  .m-glass-dark { left: 0 !important; }
}

/* (e) WhatsApp float + AI orb on internal pages — above content,
       below the glass dock, never overlapping each other */
.whatsapp-float { z-index: 2147481800; }
.ai-chat-float { z-index: 2147481800; }

/* (f) long nav words never blow out narrow phones */
.v17-bento, .offers-grid, #services .container { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ */
/* ADMIN SURFACE (panel pages live under /web/)                        */
/* ------------------------------------------------------------------ */
/* lead score chips on the admin Leads page */
.lead-score-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 800; font-size: .78rem; border-radius: 999px; padding: 4px 10px;
}
.lead-score-chip.hot   { background: rgba(255, 107, 53, .16); color: #FF6B35; }
.lead-score-chip.warm  { background: rgba(72, 202, 228, .16); color: #48CAE4; }
.lead-score-chip.cool  { background: rgba(90, 106, 122, .16); color: #5a6a7a; }
.wa-lead-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
  font-weight: 700; font-size: .8rem; border: 0; border-radius: 10px;
  padding: 7px 12px; cursor: pointer; text-decoration: none;
}
.wa-lead-btn:hover { filter: brightness(1.06); }

/* ================================================================== */
/* v23.1 — H2 REPAIRS (internal-pages mobile QA follow-up)            */
/* Additive only; nothing above this line is removed or weakened.    */
/* ================================================================== */

/* (1) Estimator chips (read-more.js Part 7 widget, service +        */
/*     home-size steps): the chip rows are plain inline flow, so    */
/*     chips touched each other with 0px gaps in BOTH directions    */
/*     (measured: adjacent chips share edges — 42px-tall targets     */
/*     with no breathing room). Make each chip group a wrapping      */
/*     flex row with a real 8px gap. Same chips, same skin — they   */
/*     just wrap nicely and never touch.                             */
.est-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.est-chip { flex: 0 1 auto; }

/* (2) Decorative glow orbs (position:absolute, blurred,            */
/*     pointer-events:none) animate past the viewport edge and      */
/*     inflate documentElement.scrollWidth by 14–47px on            */
/*     /emergency, /financing, /plumber-surrey, /furnace-repair-   */
/*     burnaby (and the .pr-band rows on /pricing). Contain them    */
/*     inside their host section: painting was ALREADY cut at the   */
/*     viewport edge by the site-wide body{overflow-x:clip}, so     */
/*     clipping at the section box is visually identical — it only  */
/*     stops the phantom layout overflow. Scoped to phone/tablet   */
/*     widths so desktop rendering is 100% untouched. :has() is     */
/*     ignored by older browsers, which simply keep current state.  */
@media (max-width: 768px) {
  /* any <section> hosting a decorative orb anywhere inside — .section,
     .m-section, .pr-band, classless promo bands, heroes — owns the clip.
     Sections are full-width, so this clips exactly where the site-wide
     body{overflow-x:clip} already cut painting: identical visuals. */
  section:has(.glow-orb) { overflow-x: clip; }
}

/* (3) Pre-reveal animation overhang — the last phantom-overflow source.
     Measured (390×844, H2 verification pass): every remaining page with
     documentElement.scrollWidth > 390 was inflated ONLY by scroll-reveal
     animation states — elements mid/pre `.bc-reveal` 3D tilt (±2px:
     /plumbing /heating /about /water-heaters /financing /contact = 392)
     and the `.m-stagger` card rail sliding in from translateX(+32px)
     (/furnace-repair-burnaby = 404). Real content was already reachable;
     these transform overhangs only faked a wider document.
     Fix: the page content column (main.site-main — verified full-width,
     0→390px on every page) clips horizontally at phone/tablet widths.
     main spans the exact width the site-wide body{overflow-x:clip} already
     guillotined, so the visible rendering is pixel-identical; the overflow
     simply stops being counted past the content column. Animations are
     untouched (Rule 1) — the clip is additive containment only.
     Safety checks performed (H2): the sticky header nav (.nav) lives OUTSIDE
     main (direct .site-wrapper child) on all 13 audited pages, so its
     stickiness is unaffected; the only sticky elements inside main are
     <thead> <th> rows whose sticky scrollport is their own table.cost-table
     scroll container (outer clip is invisible to them — verified: headers
     remain 50px tall and pinned while swipe-scrolling); no page places a
     position:fixed widget inside main. Live A/B measured on 5 pages:
     /plumbing 392→390, /heating 392→390, /about 392→390,
     /water-heaters 392→390, /contact 392→390, /financing 392→390,
     /furnace-repair-burnaby 404→390, /emergency 390 (unchanged). */
@media (max-width: 768px) {
  main.site-main { overflow-x: clip; }
}

/* =============================================================
   v24 (HP performance) — logo image-rendering budget
   =============================================================
   Chromium verified pixel-identical (A/B screenshot: 0 changed
   pixels, logo region + control region, animations settled).
   On WebKit engines the hint renders the 852×400 natural asset
   downscaled to ~111×52 with crisper contrast instead of a soft
   blur. Loading-order/zero-design-change rule respected: this is
   a rasterizer hint only.
   ============================================================= */
img[src*="/images/brand/logo"],
img.brand-logo-img { image-rendering: -webkit-optimize-contrast; }

/* =============================================================
   S5 CRO — v23.2 (lead-gen layer, additive)
   =============================================================
   (a) WhatsApp float tooltip social proof (internal pages; the span
       is appended by js/v23.js S5 section) — a subtle second line in
       the existing hover tooltip only. Nothing changes visually until
       the visitor hovers/opens the WhatsApp float.
   (b) DESKTOP STICKY CTA PILL — slim vertical glass pill (Call + Book)
       at the top-right, desktop only (hidden ≤1024px), appears after
       600px scroll, and only when it provably fits beside the content
       column (js/v23.js gutter math — never covers content). Glass
       language matches §5 (frosted navy, blur 18px, hairline border,
       gradient icon orbs: green = call, orange = book).
   ============================================================= */

/* (a) tooltip social proof */
.whatsapp-float .wa-tooltip .wa-proof {
  display: block;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.whatsapp-float .wa-tooltip .wa-proof .wa-proof-n {
  font-weight: 800;
  color: #FFC53D;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float .wa-tooltip .wa-proof-n { animation: none; }
}

/* (b) desktop pill */
.bc-desktop-pill {
  position: fixed;
  top: 96px;
  right: 14px;
  width: 56px;
  z-index: 990; /* above sticky nav (100) + content; BELOW exit-intent/mobile-nav modals (1000) and chatbot window (1151) */
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 24, 44, 0.72), rgba(10, 22, 40, 0.92)) !important;
  backdrop-filter: blur(18px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 14px 38px -8px rgba(10, 22, 40, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s var(--ease-out-expo, cubic-bezier(.2,.8,.2,1));
}
.bc-desktop-pill.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.bc-desktop-pill .bc-dp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s var(--ease-out-expo, cubic-bezier(.2,.8,.2,1)),
              background .18s ease;
}
.bc-desktop-pill .bc-dp-btn:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-1px); }
.bc-desktop-pill .bc-dp-btn:active { transform: scale(.96); }
.bc-desktop-pill .bc-dp-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px -6px rgba(10,22,40,.5);
}
.bc-desktop-pill .bc-dp-ico svg { width: 17px; height: 17px; }
.bc-desktop-pill .bc-dp-call .bc-dp-ico { background: linear-gradient(135deg, #2ECC71, #1DA85A); }
.bc-desktop-pill .bc-dp-book .bc-dp-ico { background: linear-gradient(135deg, #FF8A50, #FF6B35); }
.bc-desktop-pill .bc-dp-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
/* desktop only — never on tablets/phones (v16 action bar owns those) */
@media (max-width: 1024px) {
  .bc-desktop-pill { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-desktop-pill { transition: none; transform: none; }
}

/* =====================================================================
   v26 — REAL interactive cost calculator (/cost-calculator/ page)
   markup lives in #bc-cost-calc, engine in js/cost-calculator.js
   ===================================================================== */
#bc-cost-calc { max-width: 980px; margin: 0 auto; }
.bcc-card {
  background: #fff;
  border: 1px solid #E3EBF5;
  border-radius: 24px;
  box-shadow: 0 24px 60px -30px rgba(10, 32, 64, 0.25);
  padding: clamp(20px, 3.5vw, 40px);
}
.bcc-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.bcc-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #FF6B35; background: rgba(255, 107, 53, .08);
  border: 1px solid rgba(255, 107, 53, .25); border-radius: 999px; padding: 5px 14px;
}
.bcc-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: #0A1628; margin-top: 12px; letter-spacing: -.02em; }
.bcc-sub { color: #4A5568; font-size: .95rem; line-height: 1.65; margin-top: 8px; }
.bcc-steps { display: flex; flex-direction: column; gap: 22px; }
.bcc-q { border: none; margin: 0; padding: 0; }
.bcc-q legend {
  font-size: 1rem; font-weight: 800; color: #0A1628; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px; letter-spacing: -.01em;
}
.bcc-q legend b {
  width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #FF8A50, #FF6B35); color: #fff; font-size: .82rem;
}
.bcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.bcc-tile {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid #E3EBF5; background: #F7FAFD;
  font: inherit; font-weight: 700; color: #0A1628; font-size: .92rem; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
  min-height: 54px;
}
.bcc-tile:hover { border-color: #48CAE4; transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(72, 202, 228, .5); }
.bcc-tico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: #0A1628; color: #48CAE4; transition: background .18s ease, color .18s ease;
}
.bcc-tile.sel { border-color: #FF6B35; background: #FFF6F1; box-shadow: 0 12px 28px -16px rgba(255, 107, 53, .45); }
.bcc-tile.sel .bcc-tico { background: linear-gradient(135deg, #FF8A50, #FF6B35); color: #fff; }
.bcc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.bcc-pill {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  padding: 12px 16px; border-radius: 14px; border: 1.5px solid #E3EBF5; background: #F7FAFD;
  font: inherit; font-weight: 700; color: #0A1628; font-size: .92rem; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.bcc-pill small { font-weight: 600; font-size: .74rem; color: #8896AB; line-height: 1.45; }
.bcc-pill:hover { border-color: #48CAE4; transform: translateY(-1px); }
.bcc-pill.sel { border-color: #0A1628; background: #0A1628; color: #fff; }
.bcc-pill.sel small { color: rgba(255, 255, 255, .72); }
.bcc-result { margin-top: 26px; border-top: 1px dashed #E3EBF5; padding-top: 24px; }
.bcc-empty {
  text-align: center; color: #8896AB; padding: 34px 12px; border-radius: 18px;
  background: repeating-linear-gradient(135deg, #F7FAFD 0 14px, #fff 14px 28px);
  border: 1px dashed #E3EBF5;
}
.bcc-empty p { margin-top: 10px; font-weight: 600; }
.bcc-r-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bcc-r-tag {
  font-size: .78rem; font-weight: 800; color: #0A1628; background: #EAF3FE;
  border-radius: 999px; padding: 6px 14px;
}
.bcc-r-time { font-size: .78rem; font-weight: 700; color: #4A5568; background: #F7FAFD; border-radius: 999px; padding: 6px 14px; border: 1px solid #E3EBF5; }
.bcc-r-range { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; color: #0A1628; }
.bcc-r-lo, .bcc-r-hi { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; letter-spacing: -.03em; }
.bcc-r-lo { color: #0E4A7C; }
.bcc-r-hi { color: #FF6B35; }
.bcc-r-sep { color: #8896AB; font-size: 1.6rem; }
.bcc-r-bar { height: 8px; border-radius: 999px; background: #E3EBF5; margin: 16px 0 14px; overflow: hidden; }
.bcc-r-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0E4A7C, #48CAE4 55%, #FF8A50); transition: width .5s var(--ease-out-expo, cubic-bezier(.2, .8, .2, 1)); }
.bcc-r-note { color: #4A5568; font-size: .92rem; line-height: 1.6; }
.bcc-r-rebate {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 10px 14px;
  background: rgba(46, 204, 113, .07); border: 1px solid rgba(46, 204, 113, .3); border-radius: 12px;
  color: #12724A; font-size: .85rem; font-weight: 600; line-height: 1.5;
}
.bcc-r-rebate svg { flex: none; margin-top: 2px; }
.bcc-r-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bcc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; font-weight: 800; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bcc-btn.primary { background: linear-gradient(135deg, #FF8A50, #FF6B35); color: #fff; box-shadow: 0 12px 28px -12px rgba(255, 107, 53, .55); }
.bcc-btn.primary:hover { transform: translateY(-2px); }
.bcc-btn.ghost { background: #0A1628; color: #fff; }
.bcc-btn.ghost:hover { background: #12305C; transform: translateY(-2px); }
.bcc-btn.small { min-height: 44px; padding: 9px 18px; font-size: .88rem; background: #0A1628; color: #fff; }
.bcc-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.bcc-cb { margin-top: 20px; padding: 18px; border-radius: 16px; background: #F7FAFD; border: 1px solid #E3EBF5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bcc-cb label { flex: 1 1 100%; font-size: .85rem; font-weight: 700; color: #0A1628; }
.bcc-cb input {
  flex: 1 1 220px; min-height: 48px; border-radius: 12px; border: 1.5px solid #E3EBF5;
  padding: 10px 16px; font: inherit; font-size: .95rem; color: #0A1628; background: #fff;
}
.bcc-cb input:focus { outline: none; border-color: #48CAE4; box-shadow: 0 0 0 4px rgba(72, 202, 228, .18); }
.bcc-ok { flex: 1 1 100%; color: #12724A; font-weight: 800; font-size: .88rem; }
@media (max-width: 640px) {
  .bcc-grid { grid-template-columns: 1fr; }
  .bcc-tile { min-height: 64px; }
  .bcc-r-ctas .bcc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bcc-tile, .bcc-pill, .bcc-btn, .bcc-r-bar i { transition: none; }
}

/* ------------------------------------------------------------------ */
/* 5B. v29 MINIMAL COMPACT DOCK — owner-requested redesign (slim rail) */
/*     Replaces the tall stacked-orb dock with a compact inline rail:  */
/*     52px pill, 26px icon chips beside labels, lighter glass,       */
/*     springy press states. Loaded AFTER §5 in the same sheet.        */
/* ------------------------------------------------------------------ */
.v16-action-bar {
  width: min(340px, calc(100vw - 28px)) !important;
  height: 52px !important;
  padding: 4px !important;
  gap: 3px !important;
  border-radius: 16px !important;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  background: rgba(9, 18, 34, 0.58) !important;
  backdrop-filter: blur(22px) saturate(1.7) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.17) !important;
  box-shadow: 0 12px 32px -12px rgba(10, 22, 40, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  animation: v29DockIn .5s var(--ease-out-expo, cubic-bezier(.2,.8,.2,1)) .12s backwards;
}
@keyframes v29DockIn {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%); }
}
.v16-action-bar .v16-ab-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: transform .18s var(--ease-out-expo, cubic-bezier(.2,.8,.2,1)),
              background .18s ease, border-color .18s ease;
}
.v16-action-bar .v16-ab-btn:active {
  transform: scale(.93);
  background: rgba(255, 255, 255, 0.10) !important;
}
.v16-action-bar .v16-ab-btn:hover { background: rgba(255, 255, 255, 0.07) !important; }
.v16-action-bar .v16-ab-btn:focus-visible {
  outline: 2px solid var(--bc-teal, #48CAE4);
  outline-offset: 2px;
}
/* compact icon chips — brand palette gradients, 26px rounded squares */
.v16-action-bar .v16-ab-ico {
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 10px -5px rgba(10, 22, 40, 0.55);
}
.v16-action-bar .v16-ab-ico svg { width: 15px; height: 15px; }
.v16-action-bar .v16-ab-btn[href^="tel:"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="Call"] .v16-ab-ico {
  background: linear-gradient(135deg, #2ECC71, #1DA85A) !important;
}
.v16-action-bar .v16-ab-btn[href*="wa.me"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="WhatsApp"] .v16-ab-ico {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}
.v16-action-bar .v16-ab-btn[href*="/book/"] .v16-ab-ico,
.v16-action-bar .v16-ab-btn[aria-label*="Book"] .v16-ab-ico {
  background: linear-gradient(135deg, #FF8A50, #FF6B35) !important;
}
.v16-action-bar .v16-ab-label {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1;
  white-space: nowrap;
}
.v16-action-bar .v16-ab-dot {
  width: 7px; height: 7px;
  background: #2ECC71;
  box-shadow: 0 0 0 2.5px rgba(46, 204, 113, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .v16-action-bar { animation: none !important; }
  .v16-action-bar .v16-ab-btn { transition: none !important; }
}
