/* bundle-26-late.css — v26 performance bundle (chatbot.css + home-overrides.css + v23.css + v26.css).
   Concatenated in the exact per-page load order; cascade preserved. Rebuilt v3 (includes latest v26 appends). */

/* ===== SOURCE: chatbot.css ===== */
/* ==========================================================================
   chatbot.css — floating chat widget + WhatsApp float
   BC Home Service — bconehomes.com
   Class names mirror EXACTLY what /js/chatbot.js injects:
     .whatsapp-float .wa-tooltip
     .ai-chat-float (.active) .ai-orb .ai-badge .ai-tooltip
     .ai-chat-window (.open) .ai-chat-header .ai-avatar .ai-info .ai-name
     .ai-status .st-dot .ai-close
     .ai-quickbar .qb-chip (.qb-emergency)
     .ai-chat-messages .ai-msg (.bot|.user|.emergency|.typing)
     .ai-welcome-card .ai-service-card .asc-icon .asc-info .asc-name
     .asc-price .asc-desc
     .ai-quick-replies .ai-quick-reply
     .ai-chat-input-area .ai-chat-input .ai-chat-send .ai-chat-foot
     .ai-lead-form .ai-lead-submit .ai-lead-success
   All motion is transform/opacity only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Shared tokens for the widget
   -------------------------------------------------------------------------- */
:root {
  --cb-navy: var(--color-navy, #0A1628);
  --cb-navy-2: var(--color-dark-primary, #12305C);
  --cb-blue: var(--color-blue-accent, #2E86DE);
  --cb-cyan: var(--color-cyan, #00B4D8);
  --cb-orange: var(--color-orange, #FF6B35);
  --cb-orange-2: var(--color-orange-bright, #FF8C42);
  --cb-radius: 16px;
  --cb-shadow-float: var(--shadow-float, 0 24px 60px -18px rgba(10, 22, 40, 0.45));
  --cb-z-launcher: 1150;
  --cb-z-window: 1151;
}

/* --------------------------------------------------------------------------
   2. Launcher — orange gradient circle with pulse ring
   -------------------------------------------------------------------------- */
.ai-chat-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: var(--cb-z-launcher);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cb-orange) 0%, var(--cb-orange-2) 100%);
  box-shadow: 0 10px 26px -6px rgba(255, 107, 53, 0.55);
  transition: transform 0.25s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

/* Pulse ring — a scaling, fading ::after (no box-shadow animation) */
.ai-chat-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 140, 66, 0.7);
  animation: cbPulseRing 2.2s var(--ease-out, ease-out) infinite;
  pointer-events: none;
}

@keyframes cbPulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

.ai-chat-float:hover {
  transform: scale(1.08);
}

.ai-chat-float:active {
  transform: scale(0.94);
  transition-duration: 0.08s;
}

/* Icon orb */
.ai-orb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.35s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.ai-orb svg {
  width: 26px;
  height: 26px;
  pointer-events: none; /* clicks always land on the button */
}

.ai-chat-float:hover .ai-orb {
  transform: rotate(12deg) scale(1.06);
}

/* Open state: swap pulse for a calm glow dot feel */
.ai-chat-float.active::before {
  animation: none;
  opacity: 0;
}

.ai-chat-float.active .ai-orb {
  transform: rotate(90deg) scale(0.92);
}

/* Unread badge */
.ai-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cb-blue), var(--cb-cyan));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(10, 22, 40, 0.35);
  animation: cbBadgePop 0.5s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)) both;
}

@keyframes cbBadgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Tooltip label */
.ai-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--cb-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--cb-shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-smooth, ease), transform 0.2s var(--ease-smooth, ease);
}

.ai-chat-float:hover .ai-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

/* --------------------------------------------------------------------------
   3. WhatsApp float (sits beside the chat launcher)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 92px;
  bottom: 26px;
  z-index: var(--cb-z-launcher);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1FAF54, #25D366);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(31, 175, 84, 0.55);
  transition: transform 0.25s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float:active {
  transform: scale(0.94);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--cb-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--cb-shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-smooth, ease);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   4. Chat window — 380px panel, white, rounded, floating shadow
   -------------------------------------------------------------------------- */
.ai-chat-window {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: var(--cb-z-window);
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: min(600px, calc(100dvh - 130px));
  min-height: 420px;
  border-radius: var(--cb-radius);
  background: #fff;
  box-shadow: var(--cb-shadow-float);
  overflow: hidden;
  font-family: inherit;
  /* closed state */
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
              transform 0.28s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
              visibility 0s linear 0.28s;
}

.ai-chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

/* Header — navy with avatar + status */
.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--cb-navy) 0%, var(--cb-navy-2) 70%, #0d2b4e 100%);
  color: #fff;
  flex-shrink: 0;
}

.ai-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cb-blue), var(--cb-cyan));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.ai-avatar svg {
  width: 20px;
  height: 20px;
}

.ai-info {
  flex: 1;
  min-width: 0;
}

.ai-name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.ai-status .st-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-green, #2ECC71);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  animation: cbStatusPulse 2s var(--ease-out, ease-out) infinite;
  flex-shrink: 0;
}

@keyframes cbStatusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.ai-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-smooth, ease), transform 0.2s var(--ease-smooth, ease);
}

.ai-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   5. Quick action bar (header chips)
   -------------------------------------------------------------------------- */
.ai-quickbar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: #f4f8fc;
  border-bottom: 1px solid var(--v10-border-soft, #E3EBF5);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.ai-quickbar::-webkit-scrollbar {
  display: none;
}

.qb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: 999px;
  background: #fff;
  color: var(--cb-navy, #0A1628);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--ease-smooth, ease),
              border-color 0.15s var(--ease-smooth, ease),
              background-color 0.15s var(--ease-smooth, ease);
}

.qb-chip svg {
  width: 13px;
  height: 13px;
  color: var(--cb-blue);
}

.qb-chip:hover {
  border-color: var(--cb-blue);
  background: #f0f7ff;
  transform: translate3d(0, -1px, 0);
}

.qb-chip.qb-emergency {
  border-color: rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, var(--cb-orange), var(--cb-orange-2));
  color: #fff;
}

.qb-chip.qb-emergency svg {
  color: #fff;
}

.qb-chip.qb-emergency:hover {
  border-color: var(--cb-orange);
}

/* --------------------------------------------------------------------------
   6. Messages — bubbles + typing dots
   -------------------------------------------------------------------------- */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0, 180, 216, 0.05), transparent 40%),
    #fff;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 6px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
  background: var(--v10-border-soft, #E3EBF5);
  border-radius: 999px;
}

/* Bubble base — pops in on insert (transform/opacity only) */
.ai-msg {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: cbMsgIn 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

@keyframes cbMsgIn {
  0%   { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.97); }
  100% { opacity: 1; transform: none; }
}

/* Bot: white, left */
.ai-msg.bot {
  align-self: flex-start;
  background: #f4f8fc;
  color: var(--color-text-dark, #0A1628);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-bottom-left-radius: 4px;
}

/* User: blue gradient, right */
.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cb-blue), #4A9AE8);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 16px -6px rgba(46, 134, 222, 0.5);
}

/* Emergency: red-tinted bot bubble */
.ai-msg.emergency {
  align-self: flex-start;
  background: #fff5f2;
  color: #7a2413;
  border: 1px solid rgba(214, 69, 65, 0.35);
  border-bottom-left-radius: 4px;
}

/* Typing indicator — three bouncing dots */
.ai-msg.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
  background: #f4f8fc;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}

.ai-msg.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cb-blue);
  opacity: 0.4;
  animation: cbTypingDot 1.2s var(--ease-in-out, ease-in-out) infinite;
}

.ai-msg.typing span:nth-child(2) { animation-delay: 0.18s; }
.ai-msg.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes cbTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* Welcome card */
.ai-welcome-card {
  align-self: stretch;
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.08), rgba(0, 180, 216, 0.1));
  border: 1px dashed rgba(46, 134, 222, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  animation: cbMsgIn 0.35s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.ai-welcome-card h4 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--cb-navy, #0A1628);
}

.ai-welcome-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-text-medium, #4A5568);
}

/* Service link cards inside the feed */
.ai-service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  padding: 12px 14px;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: var(--color-text-dark, #0A1628);
  transition: transform 0.18s var(--ease-smooth, ease), border-color 0.18s var(--ease-smooth, ease);
  animation: cbMsgIn 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.ai-service-card:hover {
  transform: translate3d(2px, 0, 0);
  border-color: var(--cb-blue);
}

.asc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.asc-icon svg {
  width: 20px;
  height: 20px;
}

.asc-info {
  flex: 1;
  min-width: 0;
}

.asc-name {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cb-navy, #0A1628);
}

.asc-price {
  color: var(--cb-blue);
  font-size: 0.78rem;
  white-space: nowrap;
}

.asc-desc {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--color-text-light, #8896AB);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Inline lead form (inside a bot bubble) */
.ai-lead-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  width: 100%;
}

.ai-lead-form input,
.ai-lead-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--v10-border-soft, #E3EBF5);
  background: #fff;
  color: var(--color-text-dark, #0A1628);
  font-family: inherit;
  font-size: 16px; /* iOS zoom guard */
}

.ai-lead-form textarea {
  min-height: 64px;
  resize: vertical;
}

.ai-lead-form input:focus,
.ai-lead-form textarea:focus {
  outline: none;
  border-color: var(--cb-blue);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.16);
}

.ai-lead-submit {
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cb-blue), var(--cb-cyan));
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s var(--ease-smooth, ease), opacity 0.15s var(--ease-smooth, ease);
}

.ai-lead-submit:hover {
  transform: translate3d(0, -1px, 0);
}

.ai-lead-submit:active {
  transform: translate3d(0, 1px, 0);
}

.ai-lead-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.ai-lead-success {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-green-dark, #1B9E5A);
}

/* --------------------------------------------------------------------------
   7. Quick replies row + input area + footer
   -------------------------------------------------------------------------- */
.ai-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 4px;
  background: #fff;
  border-top: 1px solid var(--v10-border-soft, #E3EBF5);
  flex-shrink: 0;
}

.ai-quick-reply {
  padding: 7px 13px;
  border: 1px solid rgba(46, 134, 222, 0.35);
  border-radius: 999px;
  background: rgba(46, 134, 222, 0.07);
  color: var(--cb-blue);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s var(--ease-smooth, ease),
              transform 0.15s var(--ease-smooth, ease);
}

.ai-quick-reply:hover {
  background: rgba(46, 134, 222, 0.16);
  transform: translate3d(0, -1px, 0);
}

/* Input row */
.ai-chat-input-area {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: #fff;
  flex-shrink: 0;
}

.ai-chat-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--v10-border-soft, #E3EBF5);
  background: #f7fafd;
  color: var(--color-text-dark, #0A1628);
  font-family: inherit;
  font-size: 16px; /* iOS zoom guard */
}

.ai-chat-input:focus {
  outline: none;
  border-color: var(--cb-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.16);
}

.ai-chat-input::placeholder {
  color: var(--color-text-light, #8896AB);
}

.ai-chat-send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cb-blue), var(--cb-cyan));
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s var(--ease-smooth, ease);
}

.ai-chat-send svg {
  width: 18px;
  height: 18px;
}

.ai-chat-send:hover {
  transform: scale(1.08);
}

.ai-chat-send:active {
  transform: scale(0.92);
}

/* Footnote */
.ai-chat-foot {
  padding: 8px 14px 10px;
  background: #f4f8fc;
  border-top: 1px solid var(--v10-border-soft, #E3EBF5);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light, #8896AB);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Mobile — fullscreen up to 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .ai-chat-window {
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
    transform: translate3d(0, 100%, 0); /* slides up from the bottom */
  }

  .ai-chat-window.open {
    transform: translate3d(0, 0, 0);
  }

  .ai-msg {
    max-width: 92%;
  }

  /* Stack the floats vertically on the right edge; launcher sits above
     the home-indicator safe area, WhatsApp above the launcher. */
  .ai-chat-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float {
    right: 22px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }

  .ai-tooltip,
  .wa-tooltip {
    display: none; /* no room on phones */
  }
}

/* Desktop: hide floats once the chat covers them? Keep both visible. */

/* --------------------------------------------------------------------------
   9. Focus + reduced motion
   -------------------------------------------------------------------------- */
.ai-chat-float:focus-visible,
.whatsapp-float:focus-visible,
.ai-close:focus-visible,
.qb-chip:focus-visible,
.ai-quick-reply:focus-visible,
.ai-chat-send:focus-visible,
.ai-lead-submit:focus-visible {
  outline: 2px solid var(--cb-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ai-chat-float::before,
  .ai-badge,
  .ai-status .st-dot,
  .ai-msg,
  .ai-msg.typing span,
  .ai-welcome-card,
  .ai-service-card {
    animation: none !important;
  }

  .ai-chat-window,
  .ai-chat-float,
  .whatsapp-float,
  .ai-orb,
  .ai-close,
  .qb-chip,
  .ai-quick-reply,
  .ai-chat-send,
  .ai-lead-submit,
  .ai-service-card,
  .ai-tooltip,
  .wa-tooltip {
    transition: none !important;
  }

  .ai-chat-window {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}


/* ===== SOURCE: home-overrides.css ===== */
/* =============================================================
   BC HOME SERVICE — Homepage responsive + overflow fixes
   The homepage loads its CSS inline (from the React bundle) and
   does NOT load css/main.css. This file provides the mobile
   responsiveness + overflow guards the homepage needs.
   Loaded via <link> in index.html.
   ============================================================= */

/* ---- Global overflow guard ---- */
html, body { max-width: 100%; overflow-x: hidden; }
html { overflow-x: clip; }
body { overflow-x: clip !important; }
* { max-width: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; }

/* Hide badge tooltips on mobile (they overflow + tap targets conflict) */
@media (max-width: 768px) {
  .badge-tooltip { display: none !important; }
  .hero-slider, .hs-slide, [class*="hs-slide"] { overflow: hidden !important; max-width: 100vw !important; }
  /* hero section hard clamp */
  section.hero, [class*="hero-section"], [class*="hero-wrap"] { overflow: hidden !important; max-width: 100vw !important; }
}

/* Hide the live activity ticker marquee on mobile (overflows) */
@media (max-width: 900px) {
  .ticker-desktop { display: none !important; }
  [style*="tickerScroll"] { display: none !important; }
}

/* Hide the topbar phone + emergency pill on mobile — they overflow and duplicate the nav CTA */
@media (max-width: 768px) {
  /* the topbar's right-side flex block (phone + emergency) — matches by inline style */
  [style*="gap: 16px"][style*="flex-shrink: 0"] { display: none !important; }
  [style*="gap:16px"][style*="flex-shrink:0"] { display: none !important; }
  /* also hide topbar left-full (the hours text) to keep topbar compact */
  .topbar-left-full { display: none !important; }
}

/* ---- Seasonal Deals mobile ---- */
@media (max-width: 768px) {
  .offers-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .offer-card, .deal-card, .offers-grid > * { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
}

/* ---- Service cards mobile ---- */
@media (max-width: 640px) {
  .services-grid, .svc-grid, .stats-grid, .feature-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
}

/* ---- Topbar + nav mobile ---- */
@media (max-width: 768px) {
  .topbar { font-size: 0.72rem; height: auto; min-height: 36px; padding: 6px 0; }
  .topbar .container { flex-wrap: wrap; gap: 6px; }
  .topbar-left, .topbar-right { gap: 10px; flex-wrap: wrap; }
  .topbar .topbar-divider { display: none; }
  .nav { min-height: 60px; }
  .nav-logo .brand-name { font-size: 1rem; }
  .nav-logo .brand-sub { font-size: 0.62rem; }
}

/* ---- Hero mobile ---- */
@media (max-width: 768px) {
  .hero-grid, .hero-orbit-wrap { gap: 16px !important; }
  /* v10: the hero contact form must be EXACTLY the same on mobile as on
     desktop — show the real (React) orbit-card form, hide only the
     decorative rings/badges that would overflow a narrow screen. */
  .hero-orbit {
    display: block !important;
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .hero-orbit .orbit-ring,
  .hero-orbit .hero-orbit-badge { display: none !important; }
  .hero-orbit .orbit-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    transform: none !important;
    animation: none !important;
  }
  .hero-contact-form { width: 100% !important; }
}

/* v11: the theme toggle is a minimal icon-only circle in the hero of
   every page (see css/v10.css .v10-hero-toggle) — no hero-card overrides
   needed. */

/* ---- CTA banner mobile ---- */
@media (max-width: 640px) {
  .cta-banner { padding: 28px 20px !important; text-align: center; }
  .cta-banner h2 { font-size: 1.4rem !important; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Before/After mobile ---- */
@media (max-width: 640px) {
  .ba-gallery { grid-template-columns: 1fr !important; gap: 18px !important; }
  .ba-comparison { aspect-ratio: 4 / 3 !important; }
  .ba-comparison .ba-handle::after { width: 40px; height: 40px; }
  .ba-info { padding: 16px 18px !important; }
  .ba-info h3 { font-size: 1.05rem !important; }
  .ba-info .ba-meta { gap: 8px !important; font-size: 0.72rem !important; flex-wrap: wrap; }
}

/* ---- Footer mobile ---- */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .fb-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ---- Pricing tables mobile ---- */
@media (max-width: 640px) {
  .cost-table, table { display: block; overflow-x: auto; white-space: nowrap; max-width: 100%; }
}

/* ---- Sticky CTA bar touch targets ---- */
@media (max-width: 640px) {
  .sticky-cta-bar { padding: 8px 12px; }
  .sticky-cta-bar .cta-call, .sticky-cta-bar .cta-quote { min-height: 44px; font-size: 0.85rem; }
}

/* ---- Floating buttons mobile ---- */
@media (max-width: 640px) {
  .ai-chat-float, .whatsapp-float { width: 52px; height: 52px; bottom: 16px; }
  .ai-chat-float { right: 16px; }
  .whatsapp-float { left: 16px; }
  .ai-chat-window { width: calc(100vw - 24px) !important; right: 12px !important; left: 12px !important; bottom: 76px !important; max-height: 70vh !important; }
}

/* ---- Section spacing mobile ---- */
@media (max-width: 640px) {
  .section { padding: 48px 0 !important; }
  .section-header { margin-bottom: 32px !important; }
  .container { padding: 0 16px !important; }
  .section-title { font-size: 1.6rem !important; }
  .section-subtitle { font-size: 0.92rem !important; margin-bottom: 28px !important; }
}

/* =============================================================
   MESMERIZING SCROLL ANIMATIONS — additive, non-destructive
   ============================================================= */

/* ---- 1. Scroll progress bar (top of page) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #2E86DE, #00B4D8, #48CAE4);
  z-index: 99999; transition: width 0.1s ease-out;
  box-shadow: 0 0 12px rgba(46,134,222,0.6);
}

/* ---- 2. Advanced reveal variants (data-animate) ---- */
[data-animate] { opacity: 0; transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.8s ease; will-change: opacity, transform; }
[data-animate="fade-up"] { transform: translateY(50px); }
[data-animate="fade-down"] { transform: translateY(-50px); }
[data-animate="fade-left"] { transform: translateX(60px); }
[data-animate="fade-right"] { transform: translateX(-60px); }
[data-animate="zoom-in"] { transform: scale(0.85); }
[data-animate="flip"] { transform: perspective(1000px) rotateY(-15deg) scale(0.9); transform-origin: left center; }
[data-animate="blur-in"] { filter: blur(12px); transform: scale(1.05); }
[data-animate="clip-reveal"] { clip-path: inset(0 100% 0 0); }
[data-animate="clip-reveal-up"] { clip-path: inset(100% 0 0 0); transform: translateY(20px); }
[data-animate].in-view { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: inset(0 0 0 0) !important; }

/* ---- 3. Stagger children ---- */
[data-animate="stagger"] > * { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
[data-animate="stagger"].in-view > * { opacity: 1; transform: none; }
[data-animate="stagger"].in-view > *:nth-child(1) { transition-delay: 0ms; }
[data-animate="stagger"].in-view > *:nth-child(2) { transition-delay: 80ms; }
[data-animate="stagger"].in-view > *:nth-child(3) { transition-delay: 160ms; }
[data-animate="stagger"].in-view > *:nth-child(4) { transition-delay: 240ms; }
[data-animate="stagger"].in-view > *:nth-child(5) { transition-delay: 320ms; }
[data-animate="stagger"].in-view > *:nth-child(6) { transition-delay: 400ms; }
[data-animate="stagger"].in-view > *:nth-child(7) { transition-delay: 480ms; }
[data-animate="stagger"].in-view > *:nth-child(8) { transition-delay: 560ms; }

/* ---- 4. 3D card tilt + glow on hover (desktop only) ---- */
@media (hover: hover) and (pointer: fine) {
  .ba-card, .service-card, .offer-card, [class*="deal-card"] {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  }
  .ba-card:hover, .service-card:hover {
    box-shadow: 0 24px 60px -12px rgba(46,134,222,0.25), 0 8px 24px -8px rgba(10,22,40,0.15);
  }
  .ba-card .ba-comparison { transform: translateZ(40px); }
  .ba-card .ba-info { transform: translateZ(20px); }
}

/* ---- 5. Image zoom-on-scroll parallax ---- */
[data-parallax-img] { will-change: transform; transition: transform 0.1s linear; }

/* ---- 6. Glowing accent border beam on cards ---- */
@keyframes borderBeam { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.beam-card { position: relative; }
.beam-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(110deg, transparent 30%, rgba(46,134,222,0.6) 50%, transparent 70%);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  animation: borderBeam 3s linear infinite;
}
.beam-card:hover::before { opacity: 1; }

/* ---- 7. Gradient text shimmer for headings ---- */
@keyframes textShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.text-shimmer {
  background: linear-gradient(90deg, #2E86DE, #00B4D8, #48CAE4, #2E86DE);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

/* ---- 8. Floating glow orb backdrop ---- */
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.1); } 66% { transform: translate(-20px,30px) scale(0.95); } }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.15; pointer-events: none; z-index: 0; animation: orbFloat 18s ease-in-out infinite; }

/* ---- 9. Ripple effect for buttons ---- */
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); transform: scale(0); animation: rippleExpand 0.6s ease-out; pointer-events: none; }
@keyframes rippleExpand { to { transform: scale(4); opacity: 0; } }

/* ---- 10. Smooth section reveal with scale + blur ---- */
.fx-section { opacity: 0; transform: scale(0.97); filter: blur(6px); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1), filter 1s ease; }
.fx-section.fx-in { opacity: 1; transform: none; filter: none; }

/* ---- 11. Number counter pop ---- */
@keyframes counterPop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.counter-pop { animation: counterPop 0.6s cubic-bezier(0.34,1.56,0.64,1); }

/* ---- 12. Magnetic button hover glow ---- */
@media (hover: hover) {
  .magnetic-btn { transition: transform 0.2s ease, box-shadow 0.3s ease; }
  .magnetic-btn:hover { box-shadow: 0 8px 30px rgba(46,134,222,0.4); }
}

/* ---- 13. Scroll-driven section accent line ---- */
.section-accent-line { position: relative; }
.section-accent-line::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, #2E86DE, #00B4D8);
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.section-accent-line.in-view::after { width: 80px; }

/* ---- 14. Floating action button pulse ---- */

/* ---- 15. Before/After card hover lift + image scale ---- */
.ba-card { transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease; }
.ba-card:hover { transform: translateY(-10px); box-shadow: 0 30px 70px -20px rgba(10,22,40,0.3); }
.ba-card .ba-img { transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.ba-card:hover .ba-img { transform: scale(1.04); }

/* ---- 16. Service card image zoom ---- */
.svc-img-wrap img { transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.service-card:hover .svc-img-wrap img, .svc-img-wrap:hover img { transform: scale(1.1); }

/* ---- Service cards: more compact + 3D effect ---- */
@media (min-width: 769px) {
  #services .service-card { 
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease;
  }
  #services .service-card:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(10,22,40,0.25);
  }
  #services .svc-img-wrap { transform: translateZ(30px); }
  #services .service-card h3 { transform: translateZ(20px); }
}
@media (max-width: 768px) {
  #services .service-card { padding: 14px !important; }
  #services .svc-img-wrap { margin: -14px -14px 12px -14px !important; aspect-ratio: 16/9 !important; }
  #services .service-card h3 { font-size: 1.05rem !important; }
  #services .service-card p { font-size: 0.85rem !important; line-height: 1.5 !important; }
  #services .service-card ul, #services .service-card .feature-list { display: none !important; }
}

/* ---- Reduced motion: disable all decorative animations ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-animate], .fx-section, .fx-reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* ===================== v5 FIXES (added, non-destructive) ===================== */
/* Homepage React mobile-menu overlay (inline styles) — enable scroll + safe centering
   so the bottom items are never cut off on short screens. */
div[style*="inset: 0px"][style*="z-index: var(--z-modal)"] {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  justify-content: safe center !important;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

/* =============================================================
   v8.7 — PERFORMANCE LAYER (no visual change)
   Mechanism upgrades only: compositor-friendly properties and
   offscreen animation pausing (class added by js/perf-boost.js).
   ============================================================= */
.hero-slider .hs-slide,
.hs-slide img,
.hero-particles span { will-change: transform, opacity; }
.text-shimmer { will-change: background-position; }
.map-pin, .map-pin-pulse { will-change: transform; }
#cursor-dot, #cursor-ring { will-change: transform; }
#scroll-progress {
  width: 100% !important;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
  will-change: transform;
}
/* v8.7: the legacy v6 width-based bar (#scroll-progress-bar) duplicated the
   React progress bar at the top of the page — two bars painting on every
   scroll. Keep the compositor-friendly React one, retire the legacy one. */
#scroll-progress-bar { display: none !important; }
.glow-orb { will-change: transform; }

/* Pause every CSS animation inside sections that are offscreen —
   they resume mid-flight exactly where they stopped, so the
   visible behaviour is identical while scroll gets dramatically
   cheaper on mobile. */
.bc-anim-paused,
.bc-anim-paused *,
.bc-anim-paused *::before,
.bc-anim-paused *::after { animation-play-state: paused !important; }

/* =============================================================
   v8.7 — MODERN MOBILE MENU (panel layered over the React
   backdrop; controlled by js/mobile-nav.js). The React dialog
   stays as the blurred backdrop, its legacy link list is hidden
   on mobile widths only.
   ============================================================= */
@media (max-width: 900px) {
  #root div[role="dialog"][aria-label="Navigation menu"] > a { display: none !important; }
}
.bc-mnav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(88vw, 420px); z-index: 9999;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.97) 0%, rgba(13, 30, 56, 0.97) 55%, rgba(10, 32, 62, 0.97) 100%);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -30px 0 80px -20px rgba(4, 12, 26, 0.7);
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.32, 1);
  visibility: hidden;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.bc-mnav.is-open { transform: translateX(0); visibility: visible; }
.bc-mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky; top: 0; z-index: 2;
  background: rgba(10, 22, 40, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.bc-mnav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.bc-mnav-brand .bc-mnav-logo {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #0A1628, #2E86DE);
  color: #fff; font-weight: 900; font-size: 0.95rem; letter-spacing: -0.03em;
  box-shadow: 0 6px 18px -6px rgba(46, 134, 222, 0.55);
}
.bc-mnav-brand .bc-mnav-name { color: #fff; font-weight: 800; font-size: 1.02rem; line-height: 1.1; letter-spacing: -0.01em; }
.bc-mnav-brand .bc-mnav-sub { color: rgba(255, 255, 255, 0.55); font-size: 0.72rem; font-weight: 600; margin-top: 3px; }
.bc-mnav-close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s, transform 0.2s;
}
.bc-mnav-close:active { transform: scale(0.92); background: rgba(255, 255, 255, 0.14); }
.bc-mnav-body { flex: 1; padding: 10px 0 16px; }
.bc-mnav-label {
  padding: 14px 24px 8px; color: #48CAE4; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.bc-mnav-link {
  display: flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 8px 24px;
  color: rgba(255, 255, 255, 0.92); text-decoration: none;
  font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0; transform: translateX(26px);
  transition: background 0.18s, opacity 0.4s var(--ease-out-expo, ease), transform 0.4s var(--ease-out-expo, ease);
}
.bc-mnav.is-open .bc-mnav-link { opacity: 1; transform: translateX(0); }
.bc-mnav-link:active { background: rgba(46, 134, 222, 0.16); }
.bc-mnav-link .bc-mnav-ico {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(46, 134, 222, 0.14); color: #48CAE4;
}
.bc-mnav-link .bc-mnav-ico svg { width: 19px; height: 19px; }
.bc-mnav-link .bc-mnav-arrow { margin-left: auto; color: rgba(255, 255, 255, 0.3); transition: transform 0.2s, color 0.2s; }
.bc-mnav-link:active .bc-mnav-arrow { transform: translateX(4px); color: #FF6B35; }
.bc-mnav-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 20px 4px; }
.bc-mnav-svc {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 13px;
  border-radius: 14px; text-decoration: none;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-weight: 700; font-size: 0.84rem; line-height: 1.25;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.bc-mnav-svc:active { background: rgba(46, 134, 222, 0.22); border-color: rgba(72, 202, 228, 0.4); transform: scale(0.97); }
.bc-mnav-svc svg { width: 20px; height: 20px; color: #48CAE4; }
/* ---- v16 Kinetic: minimal dock (single compact row, border-style
   buttons, slim trust line — replaces the stacked gradient blocks) ---- */
.bc-mnav-dock {
  padding: 12px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(6, 15, 30, 0.55);
}
.bc-mnav-row { display: flex; gap: 8px; margin-top: 0; }
.bc-mnav-call, .bc-mnav-btn2 {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 50px; padding: 8px 4px;
  border-radius: 12px; cursor: pointer; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.bc-mnav-call:active, .bc-mnav-btn2:active {
  transform: scale(0.96);
  background: rgba(72, 202, 228, 0.12);
  border-color: rgba(72, 202, 228, 0.35);
}
.bc-mnav-call:focus-visible, .bc-mnav-btn2:focus-visible {
  outline: 2px solid #48CAE4; outline-offset: -2px;
}
.bc-mnav-call svg, .bc-mnav-btn2 svg { width: 18px; height: 18px; color: #48CAE4; }
.bc-mnav-call svg { color: #FF8C42; }
.bc-mnav-ico-wrap { position: relative; display: inline-flex; line-height: 0; }
.bc-mnav-wa-dot {
  position: absolute; top: -2px; right: -5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 2px rgba(10, 22, 40, 0.92);
}
.bc-mnav-trust {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: center;
  padding: 10px 16px 4px; color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem; font-weight: 600;
}
.bc-mnav-trust b { color: rgba(255, 255, 255, 0.85); font-weight: 800; }

/* =============================================================
   v8.7 — BOOKING WIDGET + SLA CHIPS + PROMO CHIP
   ============================================================= */
.bc-booking { padding: 84px 0; background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FC 100%); position: relative; overflow: hidden; }
.bc-booking::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(46, 134, 222, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.bc-booking .container { position: relative; }
.bc-booking-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
@media (max-width: 960px) { .bc-booking-grid { grid-template-columns: 1fr; gap: 28px; } .bc-booking { padding: 60px 0; } }
.bc-booking h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; color: #0A1628; letter-spacing: -0.02em; line-height: 1.12; margin: 14px 0 16px; }
.bc-booking p.bc-bk-sub { color: var(--color-text-medium, #4A5568); font-size: 1.05rem; line-height: 1.75; margin: 0 0 22px; max-width: 520px; }
.bc-bk-points { display: grid; gap: 13px; margin: 0 0 26px; padding: 0; list-style: none; }
.bc-bk-points li { display: flex; gap: 12px; align-items: flex-start; color: #1A2A40; font-weight: 600; font-size: 0.98rem; line-height: 1.5; }
.bc-bk-points svg { flex-shrink: 0; margin-top: 2px; color: #FF6B35; }
.bc-bk-card {
  background: #fff; border-radius: 24px; padding: 30px 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 34px 80px -28px rgba(10, 22, 40, 0.25);
}
.bc-bk-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.bc-bk-step { flex: 1; display: flex; align-items: center; gap: 9px; }
.bc-bk-step .n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #EDF3FA; color: #2E86DE; font-weight: 800; font-size: 0.85rem;
  transition: background 0.25s, color 0.25s;
}
.bc-bk-step span { font-size: 0.82rem; font-weight: 700; color: var(--color-text-medium, #4A5568); }
.bc-bk-step.is-active .n { background: linear-gradient(135deg, #2E86DE, #00B4D8); color: #fff; box-shadow: 0 6px 16px -6px rgba(46, 134, 222, 0.6); }
.bc-bk-step.is-active span { color: #0A1628; }
.bc-bk-step .bar { flex: 1; height: 2px; background: #E2E8F0; border-radius: 2px; }
.bc-bk-panels { min-height: 320px; }
.bc-bk-panel { display: none; animation: bcBkIn 0.35s var(--ease-out-expo, ease); }
.bc-bk-panel.is-active { display: block; }
@keyframes bcBkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.bc-bk-q { font-size: 1.06rem; font-weight: 800; color: #0A1628; margin: 0 0 14px; }
.bc-bk-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .bc-bk-opts { grid-template-columns: 1fr; } }
.bc-bk-opt {
  display: flex; align-items: center; gap: 10px; padding: 14px 15px;
  border: 2px solid #E2E8F0; border-radius: 14px; background: #fff;
  font-weight: 700; color: #1A2A40; font-size: 0.94rem; cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  text-align: left; width: 100%; font-family: inherit;
}
.bc-bk-opt svg { flex-shrink: 0; color: #2E86DE; }
.bc-bk-opt:hover { border-color: #9CC7F0; background: #F6FAFF; }
.bc-bk-opt:active { transform: scale(0.98); }
.bc-bk-opt.is-sel { border-color: #2E86DE; background: #EFF6FF; }
.bc-bk-nav { display: flex; gap: 10px; margin-top: 20px; }
.bc-bk-back {
  padding: 13px 18px; border-radius: 13px; border: 2px solid #E2E8F0; background: #fff;
  font-weight: 700; color: var(--color-text-medium, #4A5568); cursor: pointer; font-family: inherit;
}
.bc-bk-next, .bc-bk-submit {
  flex: 1; padding: 14px 18px; border: none; border-radius: 13px; cursor: pointer;
  background: linear-gradient(135deg, #FF8C42, #FF6B35); color: #fff;
  font-weight: 800; font-size: 1rem; font-family: inherit;
  box-shadow: 0 12px 30px -12px rgba(255, 107, 53, 0.6);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.bc-bk-next:disabled, .bc-bk-submit:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.bc-bk-next:not(:disabled):active, .bc-bk-submit:not(:disabled):active { transform: scale(0.98); }
.bc-bk-field { display: grid; gap: 6px; margin-bottom: 13px; }
.bc-bk-field label { font-size: 0.85rem; font-weight: 800; color: #0A1628; }
.bc-bk-field input, .bc-bk-field select, .bc-bk-field textarea {
  padding: 13px 15px; border: 2px solid #E2E8F0; border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff; color: #0A1628; width: 100%;
  box-sizing: border-box;
}
.bc-bk-field input:focus, .bc-bk-field select:focus, .bc-bk-field textarea:focus { outline: none; border-color: #2E86DE; }
.bc-bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bc-bk-dow { text-align: center; font-size: 0.68rem; font-weight: 800; color: #93A3B8; padding: 4px 0; }
.bc-bk-day {
  aspect-ratio: 1; display: grid; place-items: center; border: none; border-radius: 11px;
  background: #F1F5FA; font-weight: 700; font-size: 0.88rem; color: #1A2A40; cursor: pointer;
  font-family: inherit; transition: background 0.15s, transform 0.12s;
}
.bc-bk-day:disabled { background: transparent; color: #D3DCE6; cursor: not-allowed; }
.bc-bk-day:not(:disabled):hover { background: #D8E9FA; }
.bc-bk-day:not(:disabled):active { transform: scale(0.92); }
.bc-bk-day.is-sel { background: linear-gradient(135deg, #2E86DE, #00B4D8); color: #fff; box-shadow: 0 8px 18px -8px rgba(46, 134, 222, 0.7); }
.bc-bk-monthnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bc-bk-monthnav strong { font-size: 0.95rem; color: #0A1628; }
.bc-bk-monthnav button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid #E2E8F0; background: #fff;
  cursor: pointer; color: #2E86DE; font-size: 1.05rem; font-family: inherit;
}
.bc-bk-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bc-bk-slot {
  padding: 10px 15px; border-radius: 11px; border: 2px solid #E2E8F0; background: #fff;
  font-weight: 700; font-size: 0.88rem; color: #1A2A40; cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.bc-bk-slot.is-sel { border-color: #FF6B35; background: #FFF3EC; color: #C24E14; }
.bc-bk-slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.bc-bk-ok { text-align: center; padding: 34px 10px; }
.bc-bk-ok .ok-ico {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #E6F9F0; color: #16A34A;
  animation: bcBkIn 0.5s var(--ease-out-expo, ease);
}
.bc-bk-err { color: #DC2626; font-weight: 700; font-size: 0.9rem; margin-top: 10px; min-height: 1.2em; }

/* SLA chip — injected at contact points by js/analytics.js */
.bc-sla-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #E9FBF1; border: 1px solid #BBE9CE;
  color: #0E7A3D; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.01em;
  white-space: nowrap;
}
.bc-sla-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #16A34A;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); animation: greenPulse 1.5s infinite;
}
#root .bc-sla-chip { margin: 0 auto; }

/* v8.8: floating Book pill removed at owner request — in-page booking
   section (above the footer) is the single booking entry point. */

/* Promo chip under the offers countdown */
.bc-promo-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 8px 16px; border-radius: 999px;
  background: #FFF3EC; border: 1px solid #FFD5BC; color: #C24E14;
  font-weight: 800; font-size: 0.86rem;
}

/* ============================================================
   v8.8 — REAL GOOGLE MAP (Service Coverage) + city detail card
   ============================================================ */
/* hide the old Leaflet map inside .map-shell once our Google map mounts */
.bc-lf-hidden, .map-shell .leaflet-container.bc-lf-hidden { display: none !important; }

.bc-gmap {
  position: relative; width: 100%;
  height: clamp(340px, 46vw, 520px);
  border-radius: var(--radius-card, 18px);
  overflow: hidden;
  background: #EAF2F8; /* brand-tinted loading state */
  box-shadow: 0 22px 44px -18px rgba(10, 22, 40, 0.35);
  outline: none;
}
.bc-gmap::after { /* subtle shimmer while the tiles load */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: bcGmapShimmer 1.4s linear infinite;
  opacity: 1; transition: opacity 0.4s ease 0.9s;
}
.bc-gmap[data-mode]::after { opacity: 0; }
@keyframes bcGmapShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.bc-gmap-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}

/* --- city detail card (below the chips) --- */
.bc-city-detail {
  margin: 22px auto 0;
  max-width: 880px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 18px 40px -22px rgba(10, 22, 40, 0.25);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out-expo, ease), transform 0.5s var(--ease-out-expo, ease);
}
.bc-city-detail.is-in { opacity: 1; transform: none; }
.bcd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bcd-title h3 { margin: 0; font-size: 1.45rem; color: #0A1628; letter-spacing: -0.01em; }
.bcd-zone {
  display: inline-flex; margin-top: 6px; padding: 4px 12px; border-radius: 999px;
  background: #EAF3FE; color: #2E86DE; font-weight: 800; font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.bcd-cta { display: flex; gap: 10px; align-items: center; }
.bcd-call, .bcd-quote {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 800; font-size: 0.88rem;
  text-decoration: none; transition: transform 0.18s, box-shadow 0.18s;
}
.bcd-call { background: linear-gradient(135deg, #2E86DE, #00B4D8); color: #fff; box-shadow: 0 12px 26px -12px rgba(46,134,222,0.75); }
.bcd-call:hover { transform: translateY(-2px); }
.bcd-quote { background: #FFF3EC; color: #C24E14; border: 1px solid #FFD5BC; }
.bcd-quote:hover { transform: translateY(-2px); }
.bcd-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
  margin: 18px 0 14px; padding: 16px; border-radius: 14px; background: #F7FAFC;
}
.bcd-fact span { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7B8A9E; margin-bottom: 6px; }
.bcd-fact strong { font-size: 0.92rem; color: #1A2A40; font-weight: 600; line-height: 1.5; }
.bcd-note { color: #5B6B7F; line-height: 1.7; font-size: 0.95rem; margin: 0 0 14px; }
.bcd-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bcd-lbl { font-size: 0.8rem; font-weight: 800; color: #0A1628; margin-right: 4px; }
.bcd-links a {
  padding: 7px 14px; border-radius: 999px; background: #EAF3FE; color: #2E86DE;
  font-weight: 700; font-size: 0.82rem; text-decoration: none;
  transition: background 0.16s, transform 0.16s;
}
.bcd-links a:hover { background: #2E86DE; color: #fff; transform: translateY(-1px); }

@media (max-width: 720px) {
  .bc-gmap { height: clamp(300px, 78vw, 420px); border-radius: 14px; }
  .bc-city-detail { padding: 18px 16px; margin-top: 16px; }
  .bcd-facts { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .bcd-head { flex-direction: column; }
  .bcd-cta { width: 100%; }
  .bcd-cta a { flex: 1; justify-content: center; }
  .bcd-title h3 { font-size: 1.25rem; }
}

/* ---- QA fix (CRON-14): decorative hero-orbit badge overlapped the v10 hero
   theme toggle pill (badge z-index 4 > orbit-card z-index 3), stealing its
   clicks. It's aria-hidden decoration — make it click-through. ---- */
.hero-orbit .hero-orbit-badge { pointer-events: none; }

/* =====================================================================
   v26 FIXES (Nov 2026 session)
   1) WhatsApp brand icon colour on the homepage mobile-menu drawer dock
   2) Exit-intent sheet vs mobile action-bar stacking (button was trapped
      UNDER the .v16-action-bar / floats — now the sheet always wins and
      the floating stack hides while it is open)
   ===================================================================== */

/* 1) real WhatsApp brand glyph → brand green in the drawer dock */
.bc-mnav-btn2 .bc-mnav-wa-ico svg {
  color: #25D366;
  fill: currentColor;
  width: 19px;
  height: 19px;
}

/* 2) exit-intent bottom sheet must sit above EVERY floating widget.
      Inline z-index (var(--z-modal)=1000) lost to .v16-action-bar
      (z-index 2147482000 on mobile) — the CTA button ended up buried
      under the bottom nav. !important beats inline styles. */
#exit-intent {
  z-index: 2147483000 !important;
  padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)) !important;
}
/* while the sheet is visible, remove the whole floating stack so
   nothing can ever cover its form/button */
body:has(#exit-intent.visible) .v16-action-bar,
body:has(#exit-intent.visible) .whatsapp-float,
body:has(#exit-intent.visible) .ai-chat-float,
body:has(#exit-intent.visible) .bc-desktop-pill,
html.exit-on .v16-action-bar,
html.exit-on .whatsapp-float,
html.exit-on .ai-chat-float,
html.exit-on .bc-desktop-pill {
  display: none !important;
}

/* =====================================================================
   v27 FIXES (Bug Hunt 1 — homepage JS/UI health)
   1) Closed React nav-dialog stays in a11y tree + Tab order while
      invisible (inline opacity:0 / pointer-events:none, but
      visibility:visible and no aria-hidden) — its whole link list
      sits above the hero in the accessibility tree, so screen readers
      announce a duplicate invisible nav and keyboard Tab lands on
      invisible links at the very top of the page.
      Fix: while React keeps the drawer closed its inline style
      contains the literal "opacity: 0" — matching that substring
      hides the closed dialog from a11y + focus. React flips the
      inline style to "opacity: 1" to open it, which instantly
      unmatches this rule, so the open drawer is untouched.
      (The > a list is already display:none at <=900px above;
      this rule guards every other viewport.)
   ===================================================================== */
#root div[role="dialog"][aria-label="Navigation menu"][style*="opacity: 0"] {
  visibility: hidden !important;
}

/* 2) Closed exit-intent sheet left in the a11y tree + Tab order.
   React closes it by dropping the .visible class (inline transform
   slides it below the viewport) but keeps visibility:visible and no
   aria-hidden — screen readers announce its form fields at the top
   of the page and keyboard Tab lands on invisible inputs.
   Fix: visibility:hidden whenever the sheet is not .visible. The
   transition override re-declares React's inline transform easing
   (var(--ease-out-expo) = cubic-bezier(0.16,1,0.3,1)) plus a 0.5s
   delayed visibility flip, so the closing slide-out still plays in
   full before the sheet is removed from the a11y tree/focus order;
   opening restores visibility instantly (.visible unmatches). */
#exit-intent:not(.visible) {
  visibility: hidden !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s !important;
}

/* =====================================================================
   Bug Hunt 8 (mobile UX) — homepage footer clearance for the glass
   action dock. The React footer (id="footer", no class) was missed by
   the v23 `footer.footer / body > footer` padding rules, so at full
   scroll the last row ("Back to top") sat 14px UNDER the floating
   70px-tall Call/WhatsApp/Book dock. 80px of in-footer padding lifts
   the last row fully above the dock (bar occupies the bottom ~80px).
   Homepage-only file — internal pages already clear via their own
   body padding-bottom + .m-sticky-cta layout.
   ===================================================================== */
@media (max-width: 768px) {
  footer#footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* =====================================================================
   Bug Hunt 10 v2 (a11y) — muted-text contrast (WCAG AA 4.5:1).
   Same slate hue family, darker lightness only; no hue changes.
   ===================================================================== */
/* Booking calendar day-of-week letters: #93A3B8 was 2.6:1 on white. */
.bc-bk-dow { color: #5F7186; } /* now 5.0:1 on white */

/* Book-CTA drawer fact labels ("Avg. visit", etc.): #7B8A9E was
   3.4:1 on the #F7FAFC facts panel. */
.bcd-fact span { color: #5F7186; } /* now 4.8:1 on #F7FAFC */


/* ===== SOURCE: v23.css ===== */
/* ============================================================================
   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; }
}


/* ===== SOURCE: v26.css ===== */
/* ============================================================================
   BC HOME SERVICE — v26.css · DESKTOP MINIMAL-DENSITY PASS
   ----------------------------------------------------------------------------
   Owner brief: "site looks TOO BIG on desktop — make below-hero sections
   minimal/modern, EXCEPT the hero."

   Scope rules of this layer:
   • DESKTOP ONLY — every rule lives inside @media (min-width: 1024px).
     Mobile / tablet are completely untouched.
   • HERO IS EXCLUDED — nothing here matches #home, .hero, .page-hero,
     .hero-v9 or any hero-* selector. Hero keeps its big cinematic padding.
   • ADDITIVE RE-STYLE ONLY — no element, card, badge or animation is removed.
     reveal / tilt / glow / fx-* systems keep working; only spacing,
     typography scale and grid density change.
   • Loaded AFTER v23.css on every page that loads v23.css.
   ============================================================================ */

@media (min-width: 1024px) {

  /* ------------------------------------------------------------------
     0. DENSITY TOKENS (desktop)
     --space-section  : 64-110px  ->  56-72px   (section vertical rhythm)
     --font-size-h2   : up to 2.25rem -> 2.1rem (section titles)
     --font-size-stat : up to 3.5rem -> 2.5rem (giant stat numbers)
     Hero never consumes these tokens (verified in DOM: #home uses its own
     inline clamp() paddings + inline h1 clamp; .page-hero uses explicit
     clamp() values) — so heroes are structurally immune.
     ------------------------------------------------------------------ */
  :root {
    --space-section: clamp(56px, 5vw, 72px);
    --font-size-h2: clamp(1.7rem, 1.6vw, 2.1rem);
    --font-size-stat: clamp(2rem, 2.4vw, 2.5rem);
  }

  /* ------------------------------------------------------------------
     1. SECTION RHYTHM — homepage below-hero sections + internal pages
     (React sections use inline `padding: var(--space-section) 0`, the
     .section class reads the same token — both compress via the token.)
     ------------------------------------------------------------------ */

  /* Booking band — React inline clamp(56px,8vw,96px) */
  section#book-online {
    padding-top: clamp(56px, 4.5vw, 64px) !important;
    padding-bottom: clamp(56px, 4.5vw, 64px) !important;
  }

  /* Google-reviews band (JS-injected <style> lands after this file -> !important) */
  .gr-section {
    padding-top: clamp(48px, 4.5vw, 60px) !important;
    padding-bottom: clamp(48px, 4.5vw, 60px) !important;
  }

  /* Booking widget band (homepage + internal booking blocks) */
  .bc-booking {
    padding-top: clamp(48px, 4.5vw, 64px) !important;
    padding-bottom: clamp(48px, 4.5vw, 64px) !important;
  }

  /* Internal-page section families (bc-v9 / v18 / v10 layers) */
  .m-section { padding-block: clamp(48px, 5vw, 64px); }
  .m-section + .m-section { padding-top: clamp(24px, 3vw, 36px); }
  .v10-section { padding: clamp(48px, 5vw, 64px) 0; }
  .bc9-section { padding-block: clamp(48px, 5vw, 64px); }

  /* ------------------------------------------------------------------
     2. SECTION HEADER / TYPOGRAPHY (below-hero only — hero excluded)
     ------------------------------------------------------------------ */
  .section-header { margin: 0 auto 30px; }
  .section-header .section-eyebrow { margin-bottom: 10px; }
  .section-title { margin: 0 0 12px; }

  /* Eyebrow chips — slimmer pill, tighter gap to title.
     #home (homepage hero) + .page-hero (internal heroes) are excluded. */
  section:not(#home):not(.page-hero):not(.hero):not(.hero-v9) .section-eyebrow {
    padding: 5px 12px;
    margin-bottom: 10px;
  }

  /* Lead paragraphs — quieter scale */
  section:not(#home):not(.page-hero):not(.hero):not(.hero-v9) .section-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  /* Internal-page headings (bc-v9 family) — cap at 2.1rem */
  .m-h2 { font-size: clamp(1.6rem, 1.8vw, 2.1rem); }

  /* ------------------------------------------------------------------
     3. SERVICE / CARD GRID DENSITY (homepage "Expert Services" + generic)
     ------------------------------------------------------------------ */
  @media (min-width: 1200px) {
    /* React inline grid: repeat(auto-fill,minmax(280px,1fr)) -> clean 4-col */
    #services div[style*="minmax(280px"] {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 18px !important;
    }
    /* Uniform 1×1 tiles: 8 cards = two tidy full rows (the v18 "featured
       span-2" track left a lonely card on a 4-col grid — same repair v23
       already applied to the Seasonal Deals grid). */
    #services .v17-bento > .service-card {
      grid-column: auto / span 1 !important;
    }
  }

  /* Service cards — tighter surface + smaller card title.
     (Main.css gives 28px padding; the h3 uses inline var(--font-size-h3).) */
  .service-card { padding: 20px; }
  .service-card h3 { font-size: 1.12rem !important; }
  .service-card .svc-img-wrap { margin: -20px -20px 12px !important; }

  /* Generic card families on internal pages — one compact step */
  .card, .feature-card, .value-card, .review-card, .m-card, .v10-card {
    padding: 20px;
  }

  /* Grids that carry inline React styles need !important */
  .offers-grid { gap: 18px !important; }
  .steps-grid { gap: 20px !important; }
  .financing-grid { gap: 20px !important; margin-bottom: 32px !important; }
  .calc-grid { gap: 24px !important; }
  .blog-grid { gap: 18px !important; }

  /* Grids defined in the head <style> (before this file) — plain cascade */
  .ba-grid { gap: 20px; }
  .ba-info { padding: 16px 18px 18px; }

  /* Stats band (about section) — smaller cells + tighter trailing space */
  .stats-grid > div > div { padding: 18px 14px !important; }
  .stats-grid { margin-bottom: 36px !important; }

  /* ------------------------------------------------------------------
     4. GIANT NUMBERS / DECORATIVE PADDING SLIMMING
     (rules defined inside body-level <style> tags land after this file,
     so these need !important; nothing is deleted, only scaled down)
     ------------------------------------------------------------------ */
  .calc-hero-value { font-size: clamp(1.4rem, 2vw, 1.75rem) !important; }
  .calc-shell { padding: 28px !important; }
  .calc-inputs { padding: 24px !important; }
  .calc-hero-card { padding: 16px 18px !important; }
  .map-shell { margin-bottom: 24px !important; }

  /* ------------------------------------------------------------------
     5. FOOTER — compress desktop top padding
     ------------------------------------------------------------------ */
  footer#footer > .container,
  footer#footer .container {
    padding-top: clamp(40px, 4vw, 52px) !important;
  }
  .footer { padding: clamp(40px, 4vw, 56px) 0 0; }
  .bc9-footer .f-grid { padding-block: clamp(40px, 4vw, 52px); }

} /* end @media (min-width: 1024px) */

/* ============================================================================
   XL DESKTOP REFINEMENT (≥1440px) — same families, one notch tighter.
   Hero still untouched: no selector below matches any hero element and the
   hero never consumes --space-section (verified against home-bundle.js).
   ============================================================================ */
@media (min-width: 1440px) {
  :root {
    --space-section: clamp(52px, 3.5vw, 64px);
    --font-size-h2: clamp(1.7rem, 1.4vw, 2rem);
    --font-size-stat: clamp(2rem, 2vw, 2.4rem);
  }

  /* Section header block — compact, modern */
  .section-header { margin: 0 auto 26px; }
  .section-header .section-eyebrow { margin-bottom: 8px; }
  section:not(#home):not(.page-hero):not(.hero):not(.hero-v9) .section-eyebrow {
    padding: 4px 11px;
    font-size: 0.72rem;
  }
  .section-title { margin: 0 0 10px; }

  /* Card density — final step */
  .service-card { padding: 18px 20px; }
  .service-card h3 { font-size: 1.06rem !important; }
  .card, .feature-card, .value-card, .m-card, .v10-card { padding: 18px 20px; }

  /* Gaps — tighter on wide screens */
  .offers-grid { gap: 16px !important; }
  .steps-grid { gap: 18px !important; }
  .financing-grid { gap: 18px !important; }
  .blog-grid { gap: 16px !important; }
  .ba-grid { gap: 18px; }

  /* Footer top padding — slim */
  footer#footer > .container,
  footer#footer .container {
    padding-top: clamp(36px, 3vw, 44px) !important;
  }
} /* end @media (min-width: 1440px) */

/* ============================================================================
   Bug Hunt 8 — MOBILE UX PASS (390px / 360px phones)
   ----------------------------------------------------------------------------
   Verified live at 390×844 + 360×740 (agent-browser, touch emulation).
   Every rule below lives inside @media (max-width: 768px) — desktop is
   untouched. All fixes are additive; nothing is removed.

   Measured BEFORE this layer (phones):
   M1. Internal sticky CTA bar (.m-sticky-cta, 57px tall) covered the last
       52px of the last FAQ item on scrollIntoView / #faq deep links —
       html scroll-padding-bottom was "auto".
   M2. Tap targets under 44px: homepage hamburger (.mobile-menu-btn 40px —
       a flex-shrink ate the inline 44px), reviews carousel arrows
       (.gr-arrow 38px), read-more buttons (.rm-btn 34px), footer social
       icon links (36px inline), .v15-seasonal-cta pill (30px).
   M3. 108 text nodes under 11px on the homepage (smallest 9.61px) —
       .ba-label/.ba-cat-badge/.ba-tag/.ba-cat, .cd61-tag, .bcat-plabel/
       .bcat-attr/.bcat-hint, .calc-stat-lbl, .calc-disclaimer,
       .blog-category-tag, .topbar-pill (site-wide) + hero-orbit inline
       0.62/0.65/0.7rem micro-labels.
   M4. Furnace-repair pricing table min-content (372px) > its 354px/324px
       scroll wrapper at 390px/360px — last column half-clipped.
   ============================================================================ */
@media (max-width: 768px) {

  /* ------------------------------------------------------------------
     M1. SCROLL PADDING — the internal sticky CTA bar (.m-sticky-cta,
     57px) + floats must never cover the tail of whatever the browser
     scrolls into view (last FAQ item, fragment targets). 76px clears the
     57px bar with the same 9px breathing room the footer already has.
     ------------------------------------------------------------------ */
  html {
    scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* ------------------------------------------------------------------
     M2. TAP TARGETS ≥ 44px (CTAs and icon controls only — body text
     links keep their natural inline size, per WCAG 2.5.8 exceptions)
     ------------------------------------------------------------------ */
  /* homepage hamburger — inline width/height is 44px but the flex row
     shrank it to 40px; un-shrink + floor it */
  .mobile-menu-btn {
    flex: 0 0 auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }

  /* Google-reviews carousel arrows (were 38px) */
  .gr-carousel .gr-arrow {
    flex: 0 0 auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }

  /* read-more.js expander buttons (were 34px tall) */
  .rm-btn {
    min-height: 44px !important;
    padding: 11px 16px !important;
  }

  /* footer social icon links (inline 36px squares) */
  footer a[href*="facebook.com"],
  footer a[href*="instagram.com"],
  footer a[href*="youtube.com"],
  .footer-socials a[href*="facebook."],
  .footer-socials a[href*="instagram."],
  .footer-socials a[href*="youtu"] {
    width: 44px !important;
    height: 44px !important;
  }

  /* seasonal banner pill CTA (was 30px tall) */
  .v15-seasonal-cta {
    min-height: 44px !important;
    padding: 12px 18px !important;
    display: inline-flex;
    align-items: center;
  }

  /* ------------------------------------------------------------------
     M3. TEXT FLOOR — nothing readable under 11px on phones
     (a) classed micro-labels (CSS-authored sizes)
     ------------------------------------------------------------------ */
  .topbar-pill,
  .ba-label, .ba-cat-badge, .ba-tag, .ba-cat,
  .cd61-tag,
  .bcat-plabel, .bcat-attr, .bcat-hint,
  .calc-stat-lbl, .calc-disclaimer,
  .blog-category-tag,
  .bc-dp-label,
  .bc-mnav-label, .bc-mnav-trust span,
  .v16-hours-chip,
  .v16-dock-hours {
    font-size: 11px !important;
  }

  /* (b) inline-styled micro-labels (React/hero-orbit 0.62/0.65/0.7rem
     sizes, written both with and without the space after the colon).
     max() keeps ≥11.2px values untouched on 16px-root hosts and lifts
     the 9.6–10.9px values on the 15.5px-root homepage. */
  [style*="font-size: 0.62rem"],
  [style*="font-size:0.62rem"] { font-size: 11px !important; }
  [style*="font-size: 0.65rem"],
  [style*="font-size:0.65rem"] { font-size: 11px !important; }
  [style*="font-size: 0.7rem"],
  [style*="font-size:0.7rem"] { font-size: max(11px, 0.7rem) !important; }

  /* (c) Leaflet map attribution (10.54px default) — rendered text too */
  .leaflet-control-attribution {
    font-size: 11px !important;
  }

  /* ------------------------------------------------------------------
     M4. PRICING TABLES — static pages wrap tables in
     <div style="overflow-x:auto"> but the 12px/14px cell padding pushed
     min-content to 372px on a 354px (390px viewport) wrapper. Tighten
     the cell padding so the natural width fits the wrapper; long text
     already wraps. Table font stays ≥13px (well above the 11px floor).
     ------------------------------------------------------------------ */
  div[style*="overflow-x:auto"] table th,
  div[style*="overflow-x: auto"] table th,
  div[style*="overflow-x:auto"] table td,
  div[style*="overflow-x: auto"] table td {
    padding: 10px 6px !important;
  }

} /* end @media (max-width: 768px) — Bug Hunt 8 mobile pass */

/* ============================================================================
   H10 · ACCESSIBILITY LAYER (Hunter #10 — a11y bug hunt)
   Appended below the desktop-density pass; applies to ALL breakpoints.
   ----------------------------------------------------------------------------
   A. Global :focus-visible ring — one consistent high-contrast ring on every
      interactive element (v26.css loads last on all page types, so this
      unifies homepage / city pages / blog / calculator).
   B. Muted-text contrast: --color-text-light #8896AB measured 3.0:1 on white
      and 2.86:1 on off-white (AA body text needs 4.5:1). Re-pointed to
      #5F7186 → 5.0:1 on white, 4.8:1 on off-white. Brand hues untouched.
      Dark-surface muted text uses white alphas (not this token) — unaffected.
   C. Hardcoded #8896AB text in v23.css calculator rules → #5F7186.
   D. Faint form-control focus rings (0.18 alpha) strengthened.
   ============================================================================ */

/* --- A. Keyboard focus ring ------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[role="radio"]:focus-visible,
[role="tab"]:focus-visible,
[role="checkbox"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid #2E86DE;
  outline-offset: 2px;
}

/* Brighter ring variant on dark surfaces so the indicator stays visible. */
footer a:focus-visible,
footer button:focus-visible,
.mobile-nav a:focus-visible,
.mobile-nav button:focus-visible,
.site-footer a:focus-visible,
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
.stats-on-dark a:focus-visible,
.stats-on-dark button:focus-visible {
  outline-color: #48CAE4;
}

/* Skip link — ensure it is always visible when focused. */
.skip-link:focus,
a.skip-link:focus-visible {
  outline: 3px solid #48CAE4;
  outline-offset: 2px;
}

/* --- B. Muted text contrast (WCAG AA) -------------------------------------- */
:root {
  --color-text-light: #5F7186; /* was #8896AB — 3.0:1 on #FFF; now 5.0:1 */
}
/* Dark surfaces (footer, mobile-nav, stats-on-dark, heroes) set their muted
   text with white alphas — rgba(255,255,255,.60-.74) — not this token, so
   the darker #5F7186 tone never lands on a dark background. Verified in
   main.css:636-650 and bundle-common.css:1387+ (footer palettes). */

/* v10 faint token follows the corrected muted tone (light surfaces). */
:root { --v10-text-faint: #5F7186; }

/* --- C. Calculator (v23.css hardcoded muted text) ------------------------- */
.bcc-pill small   { color: #5F7186; }               /* was #8896AB, 3.0:1 */
.bcc-empty        { color: #5F7186; }               /* was #8896AB, 3.0:1 */
.bcc-r-sep        { color: #5F7186; }               /* was #8896AB, 3.0:1 */
.bcc-pill.sel small { color: #C9D4E2; }             /* white-on-navy small text, 4.6:1 */

/* sm-note chip: #8896AB on #F1F6FB was 2.8:1 → #5F7186 ≈ 4.7:1 */
.sm-note { color: #5F7186; }

/* --- D. Strengthen faint focus rings on form controls -------------------- */
.hcf-input:focus, .hcf-select:focus {
  box-shadow: 0 0 0 4px rgba(72, 202, 228, 0.45);
}
.qf-input:focus, .qf-textarea:focus {
  box-shadow: 0 0 0 4px rgba(72, 202, 228, 0.45);
}
.bcc-cb input:focus {
  box-shadow: 0 0 0 4px rgba(72, 202, 228, 0.45);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  box-shadow: 0 0 0 4px rgba(46, 134, 222, 0.30);
}

/* Reduced-motion users: keep rings, kill transitions on focus color only. */
@media (prefers-reduced-motion: reduce) {
  a:focus-visible, button:focus-visible, input:focus-visible,
  select:focus-visible, textarea:focus-visible, summary:focus-visible {
    transition: none;
  }
}

/* --- D2. Specificity-hardened rings for controls that reset outline -----
   (bundle-common/main/v23 set `outline:none` via class+pseudo selectors
   that out-weigh the generic rule above; these win on keyboard focus). */
input.hcf-input:focus-visible,
select.hcf-select:focus-visible,
input.qf-input:focus-visible,
textarea.qf-textarea:focus-visible,
.bcc-cb input:focus-visible,
input.form-input:focus-visible,
textarea.form-textarea:focus-visible,
select.form-select:focus-visible,
input.bc-bk-field:focus-visible,
select.bc-bk-field:focus-visible,
.ai-chat-input:focus-visible {
  outline: 3px solid #2E86DE;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(72, 202, 228, 0.45);
}

/* ------------------------------------------------------------------ */
/* 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; }
}
