/* =============================================================
   BC ONE HEATING / BC HOME SERVICE — bundle-common.css (v24)
   =============================================================
   Concatenation of the 6 stylesheets common to every internal
   (non-homepage, non-admin) page, in EXACT original cascade
   order (the order every internal page referenced them in):

     1. css/v5-fixes.css   (?v=15)
     2. css/v10.css        (?v=13)
     3. css/v15.css        (?v=15)
     4. css/v16.css        (?v=16)
     5. css/v17.css        (?v=22)
     6. css/v18.css        (?v=22)

   Deliberately NOT bundled (verified cascade-safety analysis —
   see workspace/agent-reports-v23/HP-performance.md):
     • css/main.css      — chatbot.css sits between main.css and
       v5-fixes.css on hub pages; bundling main would reorder
       chatbot.css against v5-fixes/v18 (47+3 conflicting
       selector/property pairs → visual change).
     • css/v23.css       — must load AFTER chatbot.css (v23 raises
       the float z-index to 2147481800 over chatbot's --cb-z-
       launcher:1150). Bundling it would move it before chatbot.css
       on city pages → stacking change.
     • css/fonts.css / chatbot.css / modern.css / hero-v9.css —
       position varies per template → kept per-page.
   Loading order semantics on every swapped page are unchanged:
   this file is linked at v5-fixes.css's original <link> position.
   ============================================================= */

/* >>>>>>> SOURCE: css/v5-fixes.css <<<<<<< */
/* ==========================================================================
   v5-fixes.css — Compatibility & polish layer (v5)
   BC Home Service — bconehomes.com
   Loaded right after main.css on every page. Fixes nested-selector edge
   cases and adds safe global defaults. Everything uses var(--token, fallback)
   so this layer also works standalone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Document-level defaults
   -------------------------------------------------------------------------- */

/* Sticky footer: body becomes a flex column so .site-main can grow */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* The page wrapper (topbar + nav + main + footer) fills the viewport */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* Main content absorbs leftover height -> footer always sits at the bottom */
.site-main {
  flex: 1 1 auto;
  width: 100%;
}

/* Never let long words / URLs blow out the layout */
.site-main,
.footer,
.page-hero,
.m-section {
  min-width: 0;
}

/* Smooth in-page anchor scrolling (skips when the OS asks for less motion) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* keep anchors clear of the sticky header */
  -webkit-text-size-adjust: 100%;
}

/* Brand selection colour */
::selection {
  background: var(--color-blue-accent, #2E86DE);
  color: #fff;
}
::-moz-selection {
  background: var(--color-blue-accent, #2E86DE);
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. Image & media safety
   -------------------------------------------------------------------------- */

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

img {
  border-style: none; /* legacy IE border removal */
  -ms-interpolation-mode: bicubic;
}

picture {
  display: block;
}

/* Embedded media keeps a sane aspect ratio and never overflows cards */
iframe,
video,
embed,
object {
  max-width: 100%;
}

/* Aspect-ratio helpers for lazy-loaded media (avoids layout shift) */
.img-cover img,
.svc-areas-band img,
.review-avatar img,
.brand-logo-img {
  height: auto;
}

/* --------------------------------------------------------------------------
   3. Container edge cases — .section > .container max-widths
   Sections that use inline background gradients on the <section> itself
   still need the inner .container capped, including nested variants.
   -------------------------------------------------------------------------- */

.section > .container,
section[class] > .container,
.m-section > .container,
.page-hero .container,
.svc-areas-band .container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-container, 20px);
  padding-right: var(--space-container, 20px);
  box-sizing: border-box;
}

/* Narrow reading measure (quote forms, long-form copy) */
.container-narrow,
.section > .container.container-narrow {
  max-width: min(var(--container-max, 1200px), 860px);
}

/* A container directly inside a full-bleed wrapper must not stretch oddly */
.site-main > .section > .container {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons inside dark sections
   Nested selectors (.dark-section .btn) lose the cascade in some rebuilds,
   so re-assert readable colours via [data-theme="dark"] + .on-dark contexts.
   -------------------------------------------------------------------------- */

[data-theme="dark"] .btn,
.section.dark .btn,
.svc-areas-band .btn,
.stats-on-dark .btn,
.cta-banner .btn {
  color: #fff;
}

[data-theme="dark"] .btn-outline,
.svc-areas-band .btn-outline,
.cta-banner .btn-outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .btn-outline:hover,
.svc-areas-band .btn-outline:hover,
.cta-banner .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

[data-theme="dark"] .btn-blue-outline {
  color: #fff;
  border-color: var(--color-blue-accent, #2E86DE);
}

/* Ghost buttons stay legible on navy */
[data-theme="dark"] .btn-ghost,
.quote-form-wrap .btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

/* Buttons must never inherit weird link underlines when nested in <a> chains */
.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   5. List resets (cards, footers, nav lists injected without main.css reset)
   -------------------------------------------------------------------------- */

.footer-col ul,
.footer-brands,
.faq-list,
.service-info-list,
.process-grid,
.stats-grid,
.m-cards,
.areas-grid,
.cities-grid,
.hero-badges,
.hero-ctas,
.cta-actions,
.qf-service-chips {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Generic in-content lists still get comfortable spacing */
.site-main ul:not([class]),
.site-main ol:not([class]) {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.site-main li:not([class]) {
  margin-bottom: 0.45em;
}

/* Ordered lists inside answer bodies keep numerals visible */
.faq-answer-inner ol,
.m-faq-a-inner ol {
  padding-left: 1.3em;
}
.faq-answer-inner li,
.m-faq-a-inner li {
  margin-bottom: 0.5em;
}

/* --------------------------------------------------------------------------
   6. Anchor colour inheritance
   Links inside dark bands / buttons / headings should never come out
   system-blue or underlined-by-accident.
   -------------------------------------------------------------------------- */

a {
  color: var(--color-blue-accent, #2E86DE);
  text-decoration: none;
  transition: color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

a:hover {
  color: var(--color-blue-bright, #4A9AE8);
}

/* Plain links nested in dark contexts stay light */
[data-theme="dark"] a:not(.btn):not(.city-chip):not(.ai-chat-window *),
.svc-areas-band a:not(.btn),
.cta-banner a:not(.btn) {
  color: #9CC7F0;
}

[data-theme="dark"] a:not(.btn):hover,
.svc-areas-band a:not(.btn):hover,
.cta-banner a:not(.btn):hover {
  color: #fff;
}

/* Headings never render as links even when wrapped in <a> */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.card h3 a, .m-card h3 a, .service-card .svc-title a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   7. Quote-form chip focus states (keyboard + programmatic)
   -------------------------------------------------------------------------- */

.qf-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-badge, 999px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.qf-chip:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

/* Hidden checkbox drives the checked look */
.qf-chip input[type="checkbox"],
.qf-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* :has() drives the pill fill; the sibling selector covers the icon */
.qf-chip:has(input:checked) {
  border-color: var(--color-cyan, #00B4D8);
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  color: #fff;
}

.qf-chip input:checked + svg,
.qf-chip:has(input:checked) svg {
  color: #fff;
}

/* Focus ring for keyboard users — mirrors global focus-visible style */
.qf-chip:focus-visible,
.qf-chip input:focus-visible + *,
.qf-chip:focus-within {
  outline: 2px solid var(--color-blue-accent, #2E86DE);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   8. Table overflow wrapping + .m-table responsive scroll
   -------------------------------------------------------------------------- */

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: top;
  overflow-wrap: break-word; /* long service names never push the layout */
  word-break: normal;
  word-wrap: break-word; /* legacy alias */
}

th {
  font-weight: 800;
  white-space: nowrap;
}

td strong {
  word-break: keep-all;
}

/* Wrap any wide table so phones scroll horizontally instead of zooming */
.m-table-wrap,
.table-wrap,
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.m-table-wrap::-webkit-scrollbar,
.m-table-wrap::-webkit-scrollbar-thumb {
  height: 8px;
  border-radius: 999px;
}
.m-table-wrap::-webkit-scrollbar-thumb {
  background: var(--color-border, #E3EBF5);
}

/* --------------------------------------------------------------------------
   9. iOS input zoom fix — every editable control renders at >= 16px so
   Safari never auto-zooms on focus.
   -------------------------------------------------------------------------- */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="date"],
input[type="time"],
input:not([type]),
textarea,
select {
  font-family: inherit;
  font-size: 16px; /* iOS zoom threshold */
  font-size: max(16px, 1em);
  color: var(--color-text-dark, #0A1628);
}

textarea {
  resize: vertical;
  min-height: 96px;
}

/* Placeholders stay soft but readable */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--color-text-light, #8896AB);
  opacity: 1;
}

/* Inputs on dark cards keep white text */
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] textarea,
[data-theme="dark"] select,
.quote-form-wrap input,
.quote-form-wrap textarea,
.ai-chat-input {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-button, 10px);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
.quote-form-wrap input:focus,
.quote-form-wrap textarea:focus {
  outline: none;
  border-color: var(--color-cyan, #00B4D8);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.22);
}

/* Buttons & selects on iOS must not get the native glossy skin */
button,
select {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   10. Small shared primitives that leak across layers
   -------------------------------------------------------------------------- */

/* Live "open now" dot used in topbar pill + chatbot status */
.dot,
.topbar-pill .dot,
.st-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green, #2ECC71);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

/* Breadcrumb separators */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb .sep {
  color: var(--color-text-light, #8896AB);
}

.breadcrumb .current {
  color: #fff;
  opacity: 0.85;
}

/* Skip link (a11y) — hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--color-navy, #0A1628);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-button, 10px) 0;
  font-weight: 800;
}

.skip-link:focus {
  left: 0;
}

/* Horizontal rules inside sections get the soft border colour */
.site-main hr,
.m-section hr {
  border: none;
  border-top: 1px solid var(--color-border, #E3EBF5);
  margin: 24px 0;
}

/* Utility: hide scrollbars only where we deliberately scroll horizontally */
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Screen-reader only helper used by injected widgets */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   11. Reduced-motion guard for this layer
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:active {
    transform: none;
  }
}

/* >>>>>>> SOURCE: css/v10.css <<<<<<< */
/* ==========================================================================
   v10.css — v10 layer
   BC Home Service — bconehomes.com
   Refined card surfaces + standardized section eyebrows + service-areas
   band + CTA banner + stats-on-dark. All colours read from main.css tokens
   with standalone fallbacks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. v10 surface tokens
   -------------------------------------------------------------------------- */
:root {
  --v10-surface-raised: #ffffff;
  --v10-surface-sunken: #f6f9fc;
  --v10-text-strong: var(--color-text-dark, #0A1628);
  --v10-text-soft: var(--color-text-medium, #4A5568);
  --v10-text-faint: var(--color-text-light, #8896AB);
  --v10-border-soft: #E3EBF5;
  --v10-border-strong: #CBD9EA;
  --v10-shadow-card: 0 2px 4px rgba(10, 22, 40, 0.04),
                     0 12px 32px -12px rgba(10, 22, 40, 0.12);
  --v10-shadow-card-hover: 0 4px 8px rgba(10, 22, 40, 0.06),
                           0 24px 48px -16px rgba(10, 22, 40, 0.18);
  --v10-radius-card: var(--radius-card, 16px);
  --v10-radius-pill: var(--radius-badge, 999px);
}

/* --------------------------------------------------------------------------
   2. .v10-* utility surfaces (used by v10.js injections + new sections)
   -------------------------------------------------------------------------- */
.v10-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--color-off-white, #F7FAFD);
}

.v10-section.alt {
  background: #fff;
}

.v10-card {
  background: var(--v10-surface-raised, #fff);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--v10-radius-card, 16px);
  box-shadow: var(--v10-shadow-card);
  padding: 26px;
  color: var(--v10-text-soft, #4A5568);
  transition: transform var(--duration-normal, 0.3s) var(--ease-smooth, ease),
              border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.v10-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--v10-border-strong, #CBD9EA);
}

.v10-card h2,
.v10-card h3,
.v10-card h4 {
  color: var(--v10-text-strong, #0A1628);
  margin: 0 0 10px;
}

.v10-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--v10-radius-pill, 999px);
  background: rgba(46, 134, 222, 0.1);
  color: var(--color-blue-accent, #2E86DE);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v10-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg,
    transparent,
    var(--v10-border-soft, #E3EBF5) 20%,
    var(--v10-border-soft, #E3EBF5) 80%,
    transparent);
}

/* --------------------------------------------------------------------------
   3. Section eyebrow standardization
   One pill style shared by .section-eyebrow / .m-eyebrow everywhere.
   -------------------------------------------------------------------------- */
.section-eyebrow,
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 16px;
  border-radius: var(--v10-radius-pill, 999px);
  border: 1px solid rgba(46, 134, 222, 0.25);
  background: rgba(46, 134, 222, 0.08);
  color: var(--color-blue-accent, #2E86DE);
  font-size: var(--font-size-eyebrow, 0.78rem);
  font-weight: 800;
  letter-spacing: var(--letter-spacing-eyebrow, 0.12em);
  text-transform: uppercase;
  line-height: 1.4;
}

/* Per-service tint when the page sets --svc-color */
.m-eyebrow,
.section-eyebrow[style*="--svc-color"] {
  border-color: rgba(var(--svc-color-rgb, 46, 134, 222), 0.28);
  background: rgba(var(--svc-color-rgb, 46, 134, 222), 0.09);
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
}

/* Centered variant under section headers */
.section-eyebrow.center {
  margin-left: auto;
  margin-right: auto;
}

/* Dark backgrounds (navy sections) */
.section-eyebrow.on-dark,
.section-eyebrow.dark,
[data-theme="dark"] .section-eyebrow,
.svc-areas-band .section-eyebrow {
  border-color: rgba(0, 180, 216, 0.45);
  background: rgba(0, 180, 216, 0.12);
  color: #7FE3F5;
}

/* Accent line above centered headers */
.section-accent-line {
  position: relative;
}

.section-header .section-accent-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   4. Cards on the refined surface system (service/feature cards)
   -------------------------------------------------------------------------- */
.card,
.service-card,
.feature-card,
.m-card {
  background: var(--v10-surface-raised, #fff);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--v10-radius-card, 16px);
  box-shadow: var(--v10-shadow-card);
  color: var(--v10-text-soft, #4A5568);
}

.card:hover,
.service-card:hover,
.feature-card:hover {
  box-shadow: var(--v10-shadow-card-hover);
  border-color: var(--v10-border-strong, #CBD9EA);
}

/* Dark sections swap to glass surfaces */
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .service-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   5. .svc-areas-band — dark navy coverage band with cities grid + CTA
   -------------------------------------------------------------------------- */
.svc-areas-band {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(0, 180, 216, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(46, 134, 222, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-navy, #0A1628) 0%, #0d2b4e 55%, var(--color-dark-primary, #12305C) 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
  overflow: hidden;
}

.svc-areas-band .section-title,
.svc-areas-band h2 {
  color: #fff;
}

.svc-areas-band .section-subtitle,
.svc-areas-band p {
  color: rgba(255, 255, 255, 0.72);
}

.svc-areas-inner {
  position: relative;
  z-index: 1;
}

/* Cities grid — responsive chip field */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-button, 12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.city-chip svg {
  flex-shrink: 0;
  color: var(--color-cyan, #00B4D8);
}

.city-chip:hover,
.city-chip:focus-visible {
  background: rgba(0, 180, 216, 0.18);
  border-color: rgba(0, 180, 216, 0.55);
  color: #fff;
  transform: translate3d(0, -2px, 0);
}

/* CTA row under the grid */
.svc-areas-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   6. .cta-banner — gradient navy banner with .cta-actions
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl, 24px);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(0, 180, 216, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(255, 107, 53, 0.18) 0%, transparent 45%),
    linear-gradient(135deg, var(--color-navy, #0A1628) 0%, #0d2b4e 50%, var(--color-dark-primary, #12305C) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.55);
  isolation: isolate;
}

.cta-banner::after {
  /* faint dot texture, static */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: -1;
}

.cta-banner h2,
.cta-banner h3 {
  color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 26px;
}

/* Action row inside the banner */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   7. .stats-on-dark — stat band for navy sections
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.stats-on-dark {
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius-card, 16px);
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  box-shadow: var(--v10-shadow-card);
}

.stats-on-dark .stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.stat-num {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text-dark, #0A1628);
  font-variant-numeric: tabular-nums;
}

.stats-on-dark .stat-num {
  background: linear-gradient(135deg, #48CAE4, var(--color-blue-accent, #2E86DE));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-medium, #4A5568);
}

.stats-on-dark .stat-label {
  color: rgba(255, 255, 255, 0.66);
}

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
}

@media (max-width: 640px) {
  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
  }

  .city-chip {
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .svc-areas-cta .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   9. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .city-chip,
  .v10-card,
  .card,
  .service-card,
  .feature-card {
    transition: none;
  }
  .city-chip:hover,
  .v10-card:hover,
  .card:hover,
  .service-card:hover,
  .feature-card:hover {
    transform: none;
  }
}

/* >>>>>>> SOURCE: css/v15.css <<<<<<< */
/* ==========================================================================
   v15.css — v15 layer
   BC Home Service — bconehomes.com
   Brand/logo wrappers, header & topbar polish, animated nav underlines,
   footer grid refinement (4-column -> responsive). Fallbacks included so
   the layer renders correctly even without main.css variables.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand logo — .v15-brand-imgwrap + .brand-logo-img
   The wrapper fixes a stable layout box so swapping avif/webp/png
   fallbacks never shifts the header.
   -------------------------------------------------------------------------- */
.v15-brand-imgwrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.v15-brand-imgwrap picture {
  display: block;
  line-height: 0;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: clamp(40px, 5vw, 52px);
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

/* Footer logo mark (square badge) */
.logo-mark img,
.logo-mark picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   2. Topbar polish
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: var(--z-topbar, 1030);
  background: linear-gradient(90deg, var(--color-navy, #0A1628), var(--color-dark-primary, #12305C));
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.topbar a:hover {
  color: #fff;
}

.topbar a svg {
  opacity: 0.75;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-right {
  flex-shrink: 0;
}

/* Emergency pill */
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(255, 107, 53, 0.18);
  border: 1px solid rgba(255, 140, 66, 0.4);
  color: #FFB38A;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.topbar-pill .dot {
  background: var(--color-orange-bright, #FF8C42);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.22);
}

/* Vertical hairline separators */
.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

/* Hours text hides on the smallest screens */
.topbar-left-full {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
}

.call-link {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar-left-full { display: none; }
}

@media (max-width: 620px) {
  .topbar .container { min-height: 34px; }
  .topbar-right a span,
  .topbar-right a { font-size: 0.74rem; }
  .topbar { font-size: 0.72rem; }
}

/* --------------------------------------------------------------------------
   3. Header refinements — nav link underline animation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-modal, 1040);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border, #E3EBF5);
  transition: box-shadow var(--duration-normal, 0.3s) var(--ease-smooth, ease);
}

.nav.scrolled {
  box-shadow: 0 8px 24px -12px rgba(10, 22, 40, 0.18);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* Animated underline: scaleX transform only (GPU-friendly) */
.nav-menu > a,
.desktop-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--color-text-dark, #0A1628);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu > a::after,
.desktop-nav > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-normal, 0.3s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.nav-menu > a:hover,
.desktop-nav > a:hover,
.nav-menu > a[aria-current="page"],
.desktop-nav > a[aria-current="page"] {
  color: var(--color-blue-accent, #2E86DE);
}

.nav-menu > a:hover::after,
.desktop-nav > a:hover::after,
.nav-menu > a[aria-current="page"]::after,
.desktop-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Dropdown trigger button inherits link styling */
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--color-text-dark, #0A1628);
}

.nav-dropdown > button svg {
  transition: transform var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.nav-dropdown:hover > button svg {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(560px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--color-border, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  box-shadow: var(--shadow-float, 0 24px 60px -18px rgba(10, 22, 40, 0.28));
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 8px, 0);
  transition: opacity var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              transform var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              visibility 0s linear var(--duration-fast, 0.2s);
  z-index: 10;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
  transition-delay: 0s;
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-button, 10px);
  text-decoration: none;
  transition: background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.nav-dropdown-item .icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--svc-color-rgb, 46, 134, 222), 0.12);
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
}

.nav-dropdown-item .name {
  color: var(--color-text-dark, #0A1628);
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-dropdown-item .desc {
  color: var(--color-text-light, #8896AB);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-dropdown-item:hover {
  background: rgba(46, 134, 222, 0.06);
}

/* Header action cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-button, 10px);
  border: 1px solid var(--color-border, #E3EBF5);
  background: #fff;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 999px;
  background: var(--color-navy, #0A1628);
  transition: transform var(--duration-normal, 0.3s) var(--ease-smooth, ease),
              opacity var(--duration-fast, 0.2s) linear;
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-menu.desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav .container { min-height: 64px; }
}

/* --------------------------------------------------------------------------
   4. .v15-eyebrow
   -------------------------------------------------------------------------- */
.v15-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: var(--radius-badge, 999px);
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.1), rgba(0, 180, 216, 0.12));
  border: 1px solid rgba(46, 134, 222, 0.22);
  color: var(--color-blue-accent, #2E86DE);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   5. Footer grid refinement — 4 columns collapsing responsively
   -------------------------------------------------------------------------- */
.footer {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(46, 134, 222, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-navy, #0A1628) 0%, #060f1e 100%);
  color: rgba(255, 255, 255, 0.74);
  padding: clamp(48px, 6vw, 76px) 0 0;
  margin-top: auto; /* flex child of .site-wrapper -> pinned to bottom */
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr; /* brand | services | company | contact */
  gap: 40px;
  align-items: start;
}

/* Brand column */
.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.footer-brand .brand-sub {
  display: block;
  color: var(--color-cyan, #00B4D8);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 18px;
}

/* Social row */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-button, 10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  transition: transform var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.footer-social:hover {
  transform: translate3d(0, -3px, 0);
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  border-color: transparent;
  color: #fff;
}

/* Link columns */
.footer-col h3 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-col h3 a {
  color: inherit;
}

.footer-col ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              padding-left var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.footer-col a:hover {
  color: var(--color-cyan, #00B4D8);
  padding-left: 4px;
}

/* Compact brand strip */
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

/* Contact items */
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-cyan, #00B4D8);
}

.footer-contact-item .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.footer-contact-item .value,
.footer-contact-item a {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-contact-item a:hover {
  color: var(--color-cyan, #00B4D8);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-links,
.fb-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom a,
.fb-links a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-bottom a:hover,
.fb-links a:hover {
  color: var(--color-cyan, #00B4D8);
}

/* Responsive collapse: 4 -> 2 -> 1 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   6. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nav-menu > a::after,
  .desktop-nav > a::after,
  .nav-dropdown-menu,
  .nav-dropdown > button svg,
  .mobile-menu-btn span,
  .footer-social,
  .footer-col a {
    transition: none;
  }
  .footer-social:hover,
  .nav-dropdown-item:hover {
    transform: none;
  }
}

/* >>>>>>> SOURCE: css/v16.css <<<<<<< */
/* ==========================================================================
   v16.css — v16 layer: internal page heroes & page furniture
   BC Home Service — bconehomes.com
   .hero-v9 body scope, .page-hero (split / centered), breadcrumb, hero CTAs
   & badges, about-hero stats, service-info grid, process grid, hero
   contact form. Loaded after v15 on every internal page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. .page-hero — internal page hero (dark navy gradient)
   Pages pass inline --svc-color gradients; this layer supplies layout.
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
  background: linear-gradient(135deg, #050d1a 0%, var(--color-navy, #0A1628) 45%, #0d2b4e 80%, #1a3a5f 100%);
  color: #fff;
  isolation: isolate;
}

body.hero-v9 .page-hero {
  color: #fff;
}

/* Centered variant */
.page-hero-centered {
  text-align: center;
}

.hero-centered-content {
  max-width: 780px;
  margin: 0 auto;
}

/* Split layout: copy left, visual/form right */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-split-grid-reverse,
.page-hero-split-reverse .hero-split-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.page-hero-split-reverse .hero-split-grid > .hero-content {
  order: 2;
}

/* Hero copy column */
.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-content .section-eyebrow {
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 18px;
}

.hero-content .lead,
.page-hero .lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 0 28px;
}

.page-hero-centered .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb inside dark hero */
.page-hero .breadcrumb {
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: #9CC7F0;
  font-weight: 700;
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. Hero CTAs & badges
   -------------------------------------------------------------------------- */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-badge svg {
  color: var(--color-cyan, #00B4D8);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Hero visual + orbit decorations
   -------------------------------------------------------------------------- */
.hero-visual-3d {
  position: relative;
  z-index: 2;
  perspective: 1000px;
  min-width: 0;
}

/* Orbit rings injected in page heroes */
.page-hero-orbit {
  position: absolute;
  top: 50%;
  right: -140px;
  width: 480px;
  height: 480px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.pho-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pho-ring.r2 { inset: 16%; border-color: rgba(0, 180, 216, 0.16); }
.pho-ring.r3 { inset: 32%; border-color: rgba(46, 134, 222, 0.2); }

.pho-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-cyan, #00B4D8);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
  animation: phoPulse 3s var(--ease-in-out, ease-in-out) infinite;
}

.pho-dot.d1 { top: 6%; left: 46%; }
.pho-dot.d2 { bottom: 14%; left: 8%; animation-delay: 0.8s; background: var(--color-blue-accent, #2E86DE); }
.pho-dot.d3 { top: 40%; right: 4%; animation-delay: 1.6s; background: var(--color-orange-bright, #FF8C42); }

.pho-glow {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22), transparent 65%);
  filter: blur(18px);
}

@keyframes phoPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.5); opacity: 1; }
}

/* --------------------------------------------------------------------------
   4. Hero contact form (right column of split heroes)
   -------------------------------------------------------------------------- */
.hero-contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl, 24px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px -20px rgba(5, 13, 26, 0.55);
}

.hcf-input-wrap {
  position: relative;
  margin-bottom: 12px;
}

.hcf-input-wrap > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hcf-input,
.hcf-select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px 13px 42px;
  border-radius: var(--radius-button, 10px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.hcf-input:focus,
.hcf-select:focus {
  outline: none;
  border-color: var(--color-cyan, #00B4D8);
  background: rgba(255, 255, 255, 0.1);
}

.hcf-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.hcf-btn {
  width: 100%;
  margin-top: 6px;
}

.hcf-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   5. .about-hero-stat — credibility strip
   -------------------------------------------------------------------------- */
.about-hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl, 24px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(22px, 3vw, 34px);
}

.about-hero-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.about-hero-stat {
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-button, 12px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ahs-num {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #48CAE4, var(--color-blue-accent, #2E86DE));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.ahs-label {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.about-hero-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.ahs-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green, #2ECC71);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  animation: ahsPulse 2s var(--ease-out, ease-out) infinite;
  flex-shrink: 0;
}

@keyframes ahsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* --------------------------------------------------------------------------
   6. .service-info-grid / list / image
   -------------------------------------------------------------------------- */
.service-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.service-info-image img,
.service-showcase img,
.svc-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card, 16px);
  display: block;
}

.service-showcase {
  position: relative;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.18));
}

.service-showcase .ss-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(10, 22, 40, 0.72);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-showcase .ss-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 26, 0.88));
  color: #fff;
}

.ss-caption h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.ss-caption p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  margin: 0;
}

/* Checkmark list next to the visual */
.service-info-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.service-info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-medium, #4A5568);
}

.service-info-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(var(--svc-color-rgb, 46, 134, 222), 0.14);
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
  font-size: 0.72rem;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   7. Process grid — numbered steps
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--v10-surface-raised, #fff);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  padding: 26px 22px;
  box-shadow: var(--v10-shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.12));
  text-align: center;
}

.process-step h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-text-dark, #0A1628);
  margin: 16px 0 8px;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-medium, #4A5568);
  margin: 0;
}

.ps-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 18px;
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(46, 134, 222, 0.35), rgba(0, 180, 216, 0.35)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 20px -8px rgba(var(--svc-color-rgb, 46, 134, 222), 0.35);
}

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-split-grid,
  .hero-split-grid-reverse,
  .page-hero-split-reverse .hero-split-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-split-reverse .hero-split-grid > .hero-content {
    order: 0;
  }

  .page-hero-orbit { display: none; }

  .hero-visual-3d { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   9. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pho-dot,
  .ahs-pulse {
    animation: none;
  }
}
/* ===== v21 MISSING-WIDGET STYLES (restored) =====
   v16.js injects a mobile action bar (.v16-action-bar) and mobile dock rows
   (.v16-dock-*) on every page, and v18 toggles .v18-ab-in/.v18-ab-hidden —
   but NO stylesheet ever defined them: every page rendered a raw unstyled
   link row at the bottom on ALL viewports. main.js initStickyCTA() also
   injects .sticky-cta-bar on subpages with zero CSS outside the homepage.
   These rules restore the intended design: fixed glass bar, mobile-only,
   safe-area aware, 48px touch targets. */
.v16-action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1085;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 18, 32, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.v16-action-bar .v16-ab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.v16-action-bar .v16-ab-btn.call { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }
.v16-action-bar .v16-ab-btn.wa   { background: #25D366; color: #fff; }
.v16-action-bar .v16-ab-btn.book { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.v16-action-bar .v16-ab-btn:active { transform: scale(0.97); }
@media (min-width: 769px) {
  .v16-action-bar { display: none; }
}
/* main.js sticky CTA bar (subpages) */
.sticky-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1080;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 18, 32, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sticky-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.sticky-cta-bar a.cta-call { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }
.sticky-cta-bar a.cta-quote { background: #fff; color: #0f172a; }
@media (min-width: 769px) { .sticky-cta-bar { display: none; } }
/* float clearance above the bars (chat/whatsapp floats) */
@media (max-width: 860px) {
  .ai-chat-float, .whatsapp-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* v16 drawer dock rows (same v21 restore, part 2) — v16.js swaps the
   drawer's .mn-foot for a .v16-dock-row (Call / WhatsApp / Book) + an
   hours line, but no stylesheet ever defined them: the row rendered as
   stacked plain links inside an otherwise fully styled drawer. Restores
   the intended compact dock: horizontal flex row, 48px touch targets,
   brand-colored icons, live open/closed dot. Additive only. */
.v16-dock-row {
  display: flex;
  gap: 8px;
}
.v16-dock-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 48px;
  padding: 9px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.v16-dock-btn:active { transform: scale(0.96); background: rgba(72, 202, 228, 0.14); border-color: rgba(72, 202, 228, 0.35); }
.v16-dock-btn:focus-visible { outline: 2px solid #48CAE4; outline-offset: -2px; }
.v16-dock-ico { position: relative; display: inline-flex; line-height: 0; }
.v16-dock-btn svg { width: 18px; height: 18px; color: #48CAE4; }
.v16-dock-btn[href^="tel:"] svg { color: #FF8C42; }
.v16-dock-btn[href*="wa.me"] svg { color: #25D366; }
.v16-dock-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}
.v16-hc-dot {
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.22);
}
.v16-dock-hours.v16-closed .v16-hc-dot,
.v16-hours-chip.v16-closed .v16-hc-dot { background: #E74C3C; box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2); }

/* dedupe: when a page already ships its own sticky CTA (.m-sticky-cta),
   the injected bars stay hidden to avoid stacking two bars */
body:has(.m-sticky-cta) .v16-action-bar,
body:has(.m-sticky-cta) .sticky-cta-bar { display: none; }

/* >>>>>>> SOURCE: css/v17.css <<<<<<< */
/* ==========================================================================
   v17.css — v17 layer: premium page components
   BC Home Service — bconehomes.com
   Cost tables (sticky head / zebra / hover), dark quote form, before/after
   comparison slider, Google-style review cards, area cards, section
   dividers. Fallbacks keep everything rendering without main.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. .v17-* helpers (used by v17.js injections where present)
   -------------------------------------------------------------------------- */
.v17-card {
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 2px 4px rgba(10, 22, 40, 0.04), 0 16px 40px -16px rgba(10, 22, 40, 0.14);
  padding: 26px;
}

.v17-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(46, 134, 222, 0.1);
  color: var(--color-blue-accent, #2E86DE);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.v17-band {
  background: linear-gradient(135deg, var(--color-navy, #0A1628), var(--color-dark-primary, #12305C));
  color: #fff;
  border-radius: var(--radius-xl, 24px);
  padding: clamp(28px, 4vw, 44px);
}

/* --------------------------------------------------------------------------
   2. Enhanced section dividers — opt-in utilities
   Apply .divider-accent (gradient hairline) or .divider-soft (solid) to a
   <section> to draw a refined edge at its top; sections with their own
   background simply skip the class.
   -------------------------------------------------------------------------- */
.section.divider-accent::before,
.m-section.divider-accent::before {
  content: "";
  display: block;
  width: min(100%, 720px);
  height: 1px;
  margin: 0 auto clamp(18px, 2.5vw, 28px);
  background: linear-gradient(90deg,
    transparent,
    var(--v10-border-soft, #E3EBF5) 18%,
    rgba(0, 180, 216, 0.5) 50%,
    var(--v10-border-soft, #E3EBF5) 82%,
    transparent);
  pointer-events: none;
}

.section.divider-soft::before,
.m-section.divider-soft::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
  background: var(--v10-border-soft, #E3EBF5);
  pointer-events: none;
}

/* Standalone divider element */
.section-divider {
  border: none;
  height: 1px;
  width: min(100%, 720px);
  margin: clamp(28px, 4vw, 44px) auto;
  background: linear-gradient(90deg,
    transparent,
    var(--v10-border-soft, #E3EBF5) 18%,
    rgba(46, 134, 222, 0.45) 50%,
    var(--v10-border-soft, #E3EBF5) 82%,
    transparent);
}

/* --------------------------------------------------------------------------
   3. .cost-table — premium pricing table
   Sticky header, zebra rows, hover highlight. Wrapped by .m-table-wrap or
   a plain .table-wrap for horizontal scroll on phones.
   -------------------------------------------------------------------------- */
.cost-table-wrap,
.table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-card, 16px);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  box-shadow: var(--v10-shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.12));
  background: #fff;
}

.cost-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 0.92rem;
}

.cost-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-navy, #0A1628), var(--color-dark-primary, #12305C));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 15px 18px;
  white-space: nowrap;
}

.cost-table thead th:first-child { border-top-left-radius: var(--radius-card, 16px); }
.cost-table thead th:last-child  { border-top-right-radius: var(--radius-card, 16px); }

/* Zebra + hover rows */
.cost-table tbody tr:nth-child(even) {
  background: #f8fbfe;
}

.cost-table tbody tr {
  transition: background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.cost-table tbody tr:hover {
  background: #eef6ff;
}

.cost-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--v10-border-soft, #E3EBF5);
  color: var(--color-text-medium, #4A5568);
  vertical-align: top;
}

.cost-table tbody tr:last-child td {
  border-bottom: none;
}

.cost-table td:first-child {
  font-weight: 700;
  color: var(--color-text-dark, #0A1628);
}

/* Price column */
.cost-table .cost {
  white-space: nowrap;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bare .cost-table (the common markup — no wrapper element) gets the
   full premium skin; corners are rounded via the thead rules above. */
.cost-table {
  border-radius: var(--radius-card, 16px);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  box-shadow: var(--v10-shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.12));
  background: #fff;
}

/* When a scroll wrapper exists it owns the chrome */
.cost-table-wrap .cost-table,
.table-wrap .cost-table {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* --------------------------------------------------------------------------
   4. .quote-form-wrap — dark glass quote card on the navy gradient section
   -------------------------------------------------------------------------- */
.quote-form-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl, 24px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -24px rgba(5, 13, 26, 0.65);
  color: #fff;
}

/* Step progress rail */
.qf-progress {
  margin-bottom: 26px;
}

.qf-step-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.qf-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.qf-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  transition: width var(--duration-normal, 0.3s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

/* Steps: only .active shows */
.qf-step {
  display: none;
}

.qf-step.active {
  display: block;
}

/* Input groups */
.qf-input-group {
  position: relative;
  margin-bottom: 18px;
}

.qf-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.qf-icon {
  position: absolute;
  left: 14px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.qf-input,
.qf-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px 13px 42px;
  border-radius: var(--radius-button, 10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.qf-textarea {
  padding-left: 14px;
  min-height: 110px;
  resize: vertical;
}

.qf-input:focus,
.qf-textarea:focus {
  outline: none;
  border-color: var(--color-cyan, #00B4D8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.qf-input::placeholder,
.qf-textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

/* Inline errors */
.qf-error {
  display: none;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF9B8A;
}

.qf-error:not(:empty),
.qf-error.show {
  display: block;
}

/* Chip field */
.qf-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Action row */
.qf-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

/* Dark companion card (blog pages) */
.quote-form-card {
  border-radius: 22px;
}

/* --------------------------------------------------------------------------
   5. .ba-comparison — before/after drag slider
   JS (main.js) sets .ba-after-wrap width + .ba-handle left in %, and adds
   .ba-touched on first interaction. This layer owns the visuals.
   -------------------------------------------------------------------------- */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.ba-card {
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  box-shadow: var(--v10-shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.12));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ba-comparison {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0d1b2e;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* After image is clipped by JS-driven width on this wrapper */
.ba-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%; /* JS updates this while dragging */
  overflow: hidden;
  border-right: 3px solid rgba(255, 255, 255, 0.9);
}

/* The after image must render at FULL card scale even though its wrapper
   shrinks: anchor it to the wrapper height and rebuild the 4/3 width via
   aspect-ratio (mirrors .ba-comparison), so it always lines up with the
   "before" photo underneath. */
.ba-after-wrap .ba-img {
  width: auto;
  height: 100%;
  min-width: 100%;
  aspect-ratio: 4 / 3;
  max-width: none;
}

/* Corner labels */
.ba-label {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 5px 13px;
  border-radius: var(--radius-badge, 999px);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.ba-label-before {
  left: 12px;
  background: rgba(10, 22, 40, 0.68);
}

.ba-label-after {
  right: 12px;
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
}

/* Drag handle — grips + arrows, looks grabbable */
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(5, 13, 26, 0.45);
  cursor: ew-resize;
  display: grid;
  place-items: center;
  pointer-events: none; /* container drives the drag */
}

.ba-handle::before,
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2.5px solid var(--color-navy, #0A1628);
  border-left: 2.5px solid var(--color-navy, #0A1628);
}

.ba-handle::before {
  left: 11px;
  transform: translateY(-50%) rotate(-45deg);
}

.ba-handle::after {
  right: 11px;
  transform: translateY(-50%) rotate(135deg);
}

/* Vertical grip line through the handle */
.ba-comparison::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0.15));
  pointer-events: none;
  z-index: 2;
}

/* Drag hint fades after first touch */
.ba-drag-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(10, 22, 40, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
  transition: opacity var(--duration-normal, 0.3s) var(--ease-smooth, ease),
              transform var(--duration-normal, 0.3s) var(--ease-smooth, ease);
  animation: baHintNudge 2.2s var(--ease-in-out, ease-in-out) infinite;
}

.ba-touched .ba-drag-hint,
.ba-comparison.ba-touched .ba-drag-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  animation: none;
}

@keyframes baHintNudge {
  0%, 100% { transform: translateX(-50%) translateX(-4px); }
  50%      { transform: translateX(-50%) translateX(4px); }
}

/* Card info block */
.ba-info {
  padding: 20px 22px 24px;
  flex: 1;
}

.ba-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-dark, #0A1628);
  margin: 0 0 6px;
}

.ba-info p {
  font-size: 0.88rem;
  color: var(--color-text-medium, #4A5568);
  margin: 0 0 14px;
}

.ba-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.78rem;
  color: var(--color-text-light, #8896AB);
}

.ba-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ba-meta strong {
  color: var(--color-text-dark, #0A1628);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   6. .review-card — Google-style review
   -------------------------------------------------------------------------- */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  padding: 26px;
  box-shadow: var(--v10-shadow-card, 0 12px 32px -12px rgba(10, 22, 40, 0.12));
  position: relative;
}

/* Google "G" watermark */
.review-card::after {
  content: "G";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--v10-border-soft, #E3EBF5);
  color: #4285F4;
  font-weight: 900;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-gold, #FFD700);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--color-text-medium, #4A5568);
  margin: 0;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.18), rgba(0, 180, 216, 0.18));
  display: grid;
  place-items: center;
  color: var(--color-blue-accent, #2E86DE);
  font-weight: 800;
  overflow: hidden;
}

.review-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-dark, #0A1628);
  line-height: 1.3;
}

.review-loc {
  display: block;
  font-size: 0.76rem;
  color: var(--color-text-light, #8896AB);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. .area-card — service-area city card
   -------------------------------------------------------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-button, 12px);
  text-decoration: none;
  transition: transform var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              box-shadow var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.area-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(46, 134, 222, 0.45);
  box-shadow: 0 14px 28px -12px rgba(10, 22, 40, 0.18);
}

.area-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(46, 134, 222, 0.1);
  color: var(--color-blue-accent, #2E86DE);
  flex-shrink: 0;
}

/* Core-tier cities get the orange treatment */
.area-card.core .area-icon {
  background: rgba(255, 107, 53, 0.12);
  color: var(--color-orange, #FF6B35);
}

.area-card.core {
  border-color: rgba(255, 107, 53, 0.35);
}

.area-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text-dark, #0A1628);
  line-height: 1.25;
}

.area-tier {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light, #8896AB);
}

.area-card.core .area-tier {
  color: var(--color-orange, #FF6B35);
}

/* Hero chip strip on the service-areas page */
.areas-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.areas-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-badge, 999px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
}

.areas-chip-core {
  background: rgba(255, 107, 53, 0.16);
  border-color: rgba(255, 140, 66, 0.45);
  color: #FFB38A;
}

/* --------------------------------------------------------------------------
   8. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ba-drag-hint { animation: none; }
  .cost-table tbody tr,
  .area-card,
  .qf-progress-fill,
  .qf-input,
  .qf-textarea {
    transition: none;
  }
  .area-card:hover { transform: none; }
}

/* >>>>>>> SOURCE: css/v18.css <<<<<<< */
/* ==========================================================================
   v18.css — v18 layer: m-* design system polish + mobile furniture
   BC Home Service — bconehomes.com
   Final polish for .m-section / .m-card / .m-faq-* components, the mobile
   sticky call bar, badge colours, FAQ category pills, blog cards and .gr-*
   grid utilities. Fallbacks included for standalone use.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. .m-section — content rhythm for long-form pages
   -------------------------------------------------------------------------- */
.m-section {
  padding: clamp(44px, 6vw, 84px) 0;
}

.m-section + .m-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.m-section-head {
  max-width: 860px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.m-section-head .m-eyebrow {
  justify-content: center;
}

/* Headline + eyebrow type */
.m-h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-dark, #0A1628);
  margin: 0 0 14px;
}

.m-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-medium, #4A5568);
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. .m-card / .m-cards — stat & feature cards (blog + internal pages)
   -------------------------------------------------------------------------- */
.m-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.m-card {
  background: var(--v10-surface-raised, #fff);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  padding: 26px 24px;
  box-shadow: 0 2px 4px rgba(10, 22, 40, 0.04), 0 14px 34px -14px rgba(10, 22, 40, 0.12);
  color: var(--color-text-medium, #4A5568);
  min-width: 0;
}

.m-card h2,
.m-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text-dark, #0A1628);
  margin: 14px 0 8px;
}

.m-card h3 a {
  color: inherit;
  text-decoration: none;
}

.m-card h3 a:hover {
  color: var(--color-blue-accent, #2E86DE);
}

.m-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* Icon chip inside stat cards */
.m-chip {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(var(--svc-color-rgb, 46, 134, 222), 0.12);
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
}

.m-chip svg {
  width: 22px;
  height: 22px;
}

/* Animated counter inside cards */
.m-counter {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  color: var(--svc-color, var(--color-blue-accent, #2E86DE));
}

/* Cards used as links get an arrow nudge */
a.m-card,
a.m-card:hover {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. .m-faq-item — accordion (modern.js toggles .open + inline max-height)
   -------------------------------------------------------------------------- */
.m-faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.m-faq-item {
  background: var(--v10-surface-raised, #fff);
  border: 1.5px solid var(--v10-border-soft, #E3EBF5);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              box-shadow var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.m-faq-item.open {
  border-color: rgba(46, 134, 222, 0.5);
  box-shadow: 0 16px 34px -16px rgba(10, 22, 40, 0.2);
}

.m-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text-dark, #0A1628);
  line-height: 1.45;
}

.m-faq-q:hover {
  color: var(--color-blue-accent, #2E86DE);
}

.m-faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(46, 134, 222, 0.1);
  color: var(--color-blue-accent, #2E86DE);
  transition: transform var(--duration-normal, 0.3s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.m-faq-item.open .m-faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  color: #fff;
}

/* Answer shell — max-height is driven inline by modern.js */
.m-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal, 0.3s) var(--ease-smooth, ease);
}

.m-faq-a-inner {
  padding: 0 22px 22px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--color-text-medium, #4A5568);
}

.m-faq-a-inner p {
  margin: 0 0 12px;
}

.m-faq-a-inner p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   4. .m-sticky-cta — mobile sticky bottom call bar
   Lives as a direct <body> child after .site-wrapper. Hidden on desktop.
   -------------------------------------------------------------------------- */
.m-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  display: none;
  gap: 1px;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone home bar */
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-shadow: 0 -12px 32px -12px rgba(5, 13, 26, 0.5);
  transform: translate3d(0, 100%, 0); /* slides up once JS shows it */
  transition: transform var(--duration-normal, 0.3s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.m-sticky-cta[aria-hidden="false"],
.m-sticky-cta.show,
.m-sticky-cta.visible {
  transform: translate3d(0, 0, 0);
}

.m-sticky-cta .cta-call,
.m-sticky-cta .cta-quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.m-sticky-cta .cta-call {
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange, #FF6B35), var(--color-orange-bright, #FF8C42));
}

.m-sticky-cta .cta-quote {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
}

.m-sticky-cta .cta-call:active,
.m-sticky-cta .cta-quote:active {
  transform: translateY(1px);
}

/* Show only on phones/tablets */
@media (max-width: 860px) {
  .m-sticky-cta {
    display: flex;
  }

  /* Keep floating widgets clear of the bar */
  .ai-chat-float,
  .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  /* Give the page breathing room above the bar */
  body:has(.m-sticky-cta[aria-hidden="false"]) .footer {
    padding-bottom: calc(clamp(48px, 6vw, 76px) + 64px);
  }
}

/* --------------------------------------------------------------------------
   5. Badges
   -------------------------------------------------------------------------- */
.m-badge,
.m-badge-blue,
.m-badge-green,
.m-badge-dark,
.m-badge-orange,
.badge,
.badge-blue,
.badge-green,
.badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-badge, 999px);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.m-badge, .badge {
  background: rgba(46, 134, 222, 0.12);
  color: var(--color-blue-accent, #2E86DE);
}

.m-badge-blue, .badge-blue {
  background: linear-gradient(135deg, var(--color-blue-accent, #2E86DE), var(--color-cyan, #00B4D8));
  color: #fff;
}

.m-badge-green, .badge-green {
  background: rgba(46, 204, 113, 0.14);
  color: var(--color-green-dark, #1B9E5A);
}

.m-badge-orange, .badge-orange {
  background: rgba(255, 107, 53, 0.14);
  color: var(--color-orange, #FF6B35);
}

.m-badge-dark {
  background: rgba(10, 22, 40, 0.85);
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. .faq-cat-chip — category pills (FAQ hub)
   Base styles; the FAQ page's inline <style> may layer on top.
   -------------------------------------------------------------------------- */
.faq-cat-bar {
  padding-top: 26px;
  position: relative;
  z-index: 5;
}

.faq-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  box-shadow: 0 24px 60px -28px rgba(10, 22, 40, 0.28);
  border-radius: 20px;
  padding: 16px 18px;
}

.faq-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-badge, 999px);
  border: 1.5px solid #e2e8f0;
  background: #f6f9fc;
  color: #1a2a40;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  min-height: 44px;
  transition: transform var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              border-color var(--duration-fast, 0.2s) var(--ease-smooth, ease),
              background-color var(--duration-fast, 0.2s) var(--ease-smooth, ease);
}

.faq-cat-chip svg {
  color: var(--color-blue-accent, #2E86DE);
}

.faq-cat-chip:hover {
  border-color: #9cc7f0;
  background: #f0f7ff;
  transform: translate3d(0, -1px, 0);
}

/* --------------------------------------------------------------------------
   7. .blog-card — image top, chip, title, excerpt, meta
   -------------------------------------------------------------------------- */
.blog-grid,
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--v10-surface-raised, #fff);
  border: 1px solid var(--v10-border-soft, #E3EBF5);
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(10, 22, 40, 0.04), 0 14px 34px -14px rgba(10, 22, 40, 0.12);
  text-decoration: none;
  color: inherit;
}

/* Image area (set as a background by JS on .bc-img) */
.bc-img {
  display: block;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(46, 134, 222, 0.14), rgba(0, 180, 216, 0.14)),
    #eef4fa;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-normal, 0.3s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.blog-card:hover .bc-img {
  transform: scale(1.04);
}

/* Body */
.bc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}

.bc-cat {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--radius-badge, 999px);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(46, 134, 222, 0.1);
  color: var(--color-blue-accent, #2E86DE);
}

.bc-cat.c-heating  { background: rgba(255, 107, 53, 0.12);  color: var(--color-orange, #FF6B35); }
.bc-cat.c-cooling  { background: rgba(0, 180, 216, 0.12);   color: #0096C7; }
.bc-cat.c-plumbing { background: rgba(46, 134, 222, 0.12);  color: var(--color-blue-accent, #2E86DE); }
.bc-cat.c-money    { background: rgba(255, 215, 0, 0.16);   color: #9a7b00; }
.bc-cat.c-emergency{ background: rgba(214, 69, 65, 0.12);   color: #D64541; }

.blog-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-dark, #0A1628);
  margin: 0;
}

.blog-card:hover h3 {
  color: var(--color-blue-accent, #2E86DE);
}

.bc-exc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-medium, #4A5568);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-light, #8896AB);
  margin-top: auto;
}

.bc-meta .dot {
  width: 4px;
  height: 4px;
  padding: 0;
  background: var(--color-text-light, #8896AB);
  box-shadow: none;
  flex-shrink: 0;
}

/* Read-more link pattern under cards */
.bc-more,
.blog-card .read-more {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-blue-accent, #2E86DE);
}

/* --------------------------------------------------------------------------
   8. .gr-* grid utilities
   -------------------------------------------------------------------------- */
.gr {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gr-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gr-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gr-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Fixed-span helpers (fall back to one column on phones) */
.gr-span-2 { grid-column: span 2; }
.gr-span-3 { grid-column: span 3; }

/* Gaps */
.gr-tight { gap: 12px; }
.gr-snug  { gap: 16px; }
.gr-loose { gap: 34px; }

/* Alignment */
.gr-center { align-items: center; }
.gr-start  { align-items: start; }

@media (max-width: 720px) {
  .gr-span-2,
  .gr-span-3 {
    grid-column: auto;
  }
}

/* --------------------------------------------------------------------------
   9. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .m-sticky-cta,
  .m-faq-item,
  .m-faq-icon,
  .m-faq-a,
  .faq-cat-chip,
  .bc-img,
  .blog-card .bc-img {
    transition: none;
  }
  .blog-card:hover .bc-img,
  .faq-cat-chip:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   10. v22 CONSOLIDATION — one progress bar, one mobile action bar
   --------------------------------------------------------------------------
   Four scroll-progress bars and four mobile CTA bars were being stacked on
   the same pages by different script generations. Canonical elements now:
     • scroll progress → .v17-progress (js/v17.js)
     • mobile action bar → .v16-action-bar (js/v16.js)
   The JS builders for the legacy elements are retired; these rules are the
   CSS safety net for the few pages that carry legacy static copies. */
.scroll-progress,
.v10-progress,
.bcta-bar,
.sticky-cta-bar:not(.v16-action-bar),
.bc-sticky-cta {
  display: none !important;
}

/* --------------------------------------------------------------------------
   11. v22 FIX — Expert Services bento grid (homepage #services + all bento
   grids): logical card order, working featured span, aligned cards.
   --------------------------------------------------------------------------
   Three defects fixed without touching any markup or animation:
   1. v17.js promotes the first card of every bento grid to `.span-2`, but no
      stylesheet ever defined `.span-2` — the "featured" card silently lost
      its 2-column span. Restored here for every .v17-bento grid site-wide.
   2. On the homepage the cards ran Plumbing, Windows & Doors, Heating…
      (Windows & Doors second, before the core trades). Cards now follow the
      business priority order: Plumbing → Heating → Cooling → Heat Pump →
      Water Heater → Boiler → Windows & Doors → 24/7 Emergency.
   3. Cards in the same row had ragged bottoms (CTA links at different
      heights). Cards are flex columns now and the CTA pins to the bottom,
      so every row aligns perfectly while keeping all imagery/animation. */
.v17-bento > .span-2 { grid-column: span 2; }

#services .service-card { display: flex; flex-direction: column; }
#services .service-card > div:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
#services .service-card > div:last-child > a:last-child { margin-top: auto; }

/* logical order (grid items are auto-placed in "order" sequence) */
#services .v17-bento > .service-card:nth-child(1) { order: 0; } /* Plumbing (featured span-2) */
#services .v17-bento > .service-card:nth-child(2) { order: 6; } /* Windows & Doors → row 3 */
#services .v17-bento > .service-card:nth-child(3) { order: 1; } /* Heating / Furnace */
#services .v17-bento > .service-card:nth-child(4) { order: 2; } /* Cooling / AC */
#services .v17-bento > .service-card:nth-child(5) { order: 3; } /* Heat Pump */
#services .v17-bento > .service-card:nth-child(6) { order: 4; } /* Water Heater */
#services .v17-bento > .service-card:nth-child(7) { order: 5; } /* Boiler Service */
#services .v17-bento > .service-card:nth-child(8) { order: 7; } /* 24/7 Emergency */

/* --------------------------------------------------------------------------
   12. v22 FIX — mobile layout repair kit (Hunter H10/H2 findings)
   -------------------------------------------------------------------------- */

/* (a) Floating buttons overlap fix: on every internal page the WhatsApp
   button and the AI chat orb were pinned to the SAME right-corner spot,
   so the chat orb sat on top of WhatsApp and swallowed its taps
   (verified with elementFromPoint). WhatsApp now owns the left edge —
   the exact treatment the homepage already uses — and its tooltip
   flips to open rightwards so it stays on screen. */
.whatsapp-float { left: 16px; right: auto; }
.whatsapp-float .wa-tooltip { left: calc(100% + 12px); right: auto; }

/* (b) The mobile action bar covered the footer's last row: the page
   bottom needs reserved space equal to the bar height + iOS safe area. */
@media (max-width: 768px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

/* (c) Bare price tables ("table.cost-table" used outside .table-wrap —
   plumbing, heating, about, emergency, water-heaters …) had
   min-width:560px with no scroll container: on a 390px phone the last
   ~170px of columns were permanently CLIPPED and unreachable (site-wide
   body overflow-x: clip). The classic responsive-table pattern makes the
   table itself the horizontal scroll container, so every column becomes
   swipeable — zero visual change on desktop. */
@media (max-width: 720px) {
  table.cost-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-width: 0 !important; /* v17's min-width:560px overrides max-width unless neutralized */
    width: 100%;
    overscroll-behavior-x: contain;
  }
}

/* (d) Touch-target safety bumps for the smallest controls flagged in the
   audit (est-chips with zero gap, 28px seasonal dismiss, 19px call link). */
@media (max-width: 640px) {
  .est-chip { min-height: 44px; }
  .v15-seasonal-close, .seasonal-dismiss { min-width: 44px; min-height: 44px; }
  .v17-toc-toggle { min-width: 44px; min-height: 44px; }
}

