/* =========================================================================
   Location pages v2 - supplemental styles.
   The v2 layout (resources/views/locations/layout-v2.blade.php) reuses the
   integration/cluster theme wholesale (.qb-int-page.bti-cluster + qbi-*/bti-*
   from integrations.css and buildertrend-cluster.css). This file ONLY adds
   the location-specific components that theme does not provide, plus the
   restyles that adapt v1 city-page content (loc-* classes) to the theme.

   Load order: style.css, location.css, integrations.css,
               buildertrend-cluster.css, THEN this file.
   Everything is scoped under .loc-v2 (the page wrapper) or body.loc-v2-body.
   ========================================================================= */

/* The _v2-cta-brands partial injects its own bottom sticky CTA via the
   body_end stack. v2 ships the cluster sticky CTA instead - suppress the
   old one so only one sticky bar renders. */
body.loc-v2-body .loc-v2-sticky-cta { display: none !important; }

/* =====================================================================
   HERO - v1 content classes (loc-hero-title/subtitle/desc, loc-hl,
   loc-hero-contact) re-dressed for the dark bti-hero. High-specificity
   (body.loc-v2-body / .loc-v2 .bti-hero) so state page CSS and the
   pushed _v2-cta-brands styles cannot fight it.
   ===================================================================== */
.loc-v2 .bti-hero .loc-hero-title {
    color: #ffffff;
    font-family: Lexend, Manrope, system-ui, sans-serif;
    font-weight: 900;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: none;
    margin: 0 0 18px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.loc-v2 .bti-hero .loc-hero-title .loc-hl {
    background: linear-gradient(135deg, #9affff 0%, #5ee8e8 55%, #00c5b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.loc-v2 .bti-hero .loc-hero-subtitle {
    display: block;
    width: auto;
    max-width: 620px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
}
.loc-v2 .bti-hero .loc-hero-desc {
    color: rgba(230, 250, 250, 0.85);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 24px;
    text-align: left;
}
/* trust bar: frosted glass over the dark hero (outranks the pushed
   .loc-v2-cta styles from _v2-cta-brands, which load after this file) */
body.loc-v2-body .bti-hero .loc-hero-trust {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 26px;
}
body.loc-v2-body .bti-hero .loc-hero-trust .social-proof {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(154, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
body.loc-v2-body .bti-hero .loc-hero-trust .proof-copy { color: #ffffff; }
/* small phone/WhatsApp text links under the CTA row */
.loc-v2 .bti-hero .loc-hero-contact {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 18px;
    font-size: 14px;
}
.loc-v2 .bti-hero .loc-hero-contact-link {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    color: #9affff;
    font-weight: 700;
    text-decoration: none;
}
.loc-v2 .bti-hero .loc-hero-contact-link:hover { color: #ffffff; text-decoration: underline; }
.loc-v2 .bti-hero .loc-hero-contact-link svg {
    position: static;
    transform: none;
    width: 15px;
    height: 15px;
}
.loc-v2 .bti-hero .loc-hero-divider { color: rgba(215, 251, 251, 0.4); }

/* ---- per-city SVG art frame (hero + reusable) ---- */
.loc-v2 .locv2-cthumb {
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(154, 255, 255, 0.2);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
    margin: 0 0 22px;
}
.loc-v2 .locv2-cthumb svg { display: block; width: 100%; height: auto; }

/* ---- hero meta: 4 glass tiles (ported from case-studies .cs-meta-item) ---- */
.loc-v2 .locv2-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 340px;
    margin-top: 22px;
}
.loc-v2 .locv2-meta-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 13px 12px 17px;
}
.loc-v2 .locv2-meta-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #9affff, var(--qbi-accent));
}
.loc-v2 .locv2-meta-k {
    font-size: 10.5px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 800;
}
.loc-v2 .locv2-meta-v {
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.35;
}

/* ---- hero trust bar: client logos + stars (replaces the 4 meta tiles) ----
   Compact, glass-panel version of the homepage social-proof bar, sized to sit
   under the two chips in the ~340px hero visual column on the dark hero. */
.loc-v2 .locv2-hproof {
    width: 100%;
    max-width: 340px;
    margin-top: 22px;
}
.loc-v2 .locv2-hproof .social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}
/* row 1: logos + stars on one centered line; row 2: caption below */
.loc-v2 .locv2-hproof-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.loc-v2 .locv2-hproof .avatars--brands { display: inline-flex; align-items: center; }
.loc-v2 .locv2-hproof .brand-cell {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(154, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    padding: 4px;
    margin-left: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loc-v2 .locv2-hproof .brand-cell:first-child { margin-left: 0; }
.loc-v2 .locv2-hproof .brand-cell:nth-child(1) { z-index: 5; }
.loc-v2 .locv2-hproof .brand-cell:nth-child(2) { z-index: 4; }
.loc-v2 .locv2-hproof .brand-cell:nth-child(3) { z-index: 3; }
.loc-v2 .locv2-hproof .brand-cell:nth-child(4) { z-index: 2; }
.loc-v2 .locv2-hproof .brand-cell:nth-child(5) { z-index: 1; }
.loc-v2 .locv2-hproof .brand-cell:hover {
    transform: translateY(-2px) scale(1.06);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.loc-v2 .locv2-hproof .brand-cell img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
/* hover name tooltip (data-tip), styled for the dark hero */
.loc-v2 .locv2-hproof .brand-cell[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    white-space: nowrap;
    background: #06231f;
    color: #eafffb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 4px 9px;
    border-radius: 7px;
    border: 1px solid rgba(154, 255, 255, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 20;
}
.loc-v2 .locv2-hproof .brand-cell[data-tip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.loc-v2 .locv2-hproof .stars { display: inline-flex; gap: 3px; }
.loc-v2 .locv2-hproof .stars .star { width: 15px; height: 15px; }
.loc-v2 .locv2-hproof .proof-copy {
    font-family: Manrope, system-ui, sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1.3;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    white-space: nowrap;
}

/* =====================================================================
   SECTION SHELLS - v2 sections carry .locv2-sec plus the matching v1
   semantic class (loc-why, loc-services, ...) so existing behaviors
   (e.g. _v2-cta-brands mid-page CTA suppression) keep working. The v1
   backgrounds/paddings are neutralised here.
   ===================================================================== */
.loc-v2 .locv2-sec { padding: 78px 0; background: #ffffff; }
.loc-v2 .locv2-sec--alt { background: var(--qbi-soft-bg, #f6fafa); }
.loc-v2 .locv2-head { text-align: center; margin-bottom: 38px; }
.loc-v2 .locv2-head .qbi-section-lead { margin-bottom: 0; }

/* =====================================================================
   WHY SECTION SKINS - same .loc-checklist markup, two presentations.
   Skin A ("painmap"): numbered white pain-map cards.
   Skin B ("band"):    dark stat-band with glass tiles + check icons.
   ===================================================================== */
/* -- skin A: numbered pain-map card grid -- */
.loc-v2 .locv2-why--painmap .loc-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
    counter-reset: locv2pain;
}
.loc-v2 .locv2-why--painmap .loc-checklist li {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid #e2ecee;
    border-top: 3px solid var(--qbi-accent);
    border-radius: 14px;
    padding: 22px 20px 20px 66px;
    font-size: 15.5px;
    font-weight: 700;
    color: #00293a;
    line-height: 1.5;
    box-shadow: 0 6px 20px rgba(0, 41, 58, 0.06);
    counter-increment: locv2pain;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loc-v2 .locv2-why--painmap .loc-checklist li:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 41, 58, 0.11);
}
.loc-v2 .locv2-why--painmap .loc-checklist li::before {
    content: counter(locv2pain, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 20px;
    font-family: Lexend, Manrope, sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 1;
    color: color-mix(in srgb, var(--qbi-accent) 55%, #ffffff);
}
.loc-v2 .locv2-why--painmap .loc-check-icon { display: none; }

/* -- skin B: dark stat-band with glass tiles -- */
.loc-v2 .locv2-why--band .locv2-why-body {
    background:
        radial-gradient(700px 320px at 88% -10%, color-mix(in srgb, var(--qbi-accent) 30%, transparent), transparent 62%),
        linear-gradient(135deg, #0e1f2a 0%, #0a4f4a 100%);
    border-radius: 22px;
    padding: 38px 32px;
    max-width: 1080px;
    margin: 0 auto;
}
.loc-v2 .locv2-why--band .loc-checklist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.loc-v2 .locv2-why--band .loc-checklist li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 18px 16px;
    color: #eafeff;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
}
.loc-v2 .locv2-why--band .loc-check-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 10px;
    background: color-mix(in srgb, var(--qbi-accent) 34%, transparent);
    color: #9affff;
    flex-shrink: 0;
}
.loc-v2 .locv2-why--band .loc-why-visual {
    margin: 26px auto 0;
    max-width: 780px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}
/* shared: image frame in skin A */
.loc-v2 .locv2-why--painmap .loc-why-visual {
    margin: 26px auto 0;
    max-width: 780px;
    box-shadow: 0 14px 34px rgba(0, 41, 58, 0.14);
}

/* =====================================================================
   SERVICES - numbered "what's included" chip map (variant intro) +
   premium restyle of the v1 service blocks.
   ===================================================================== */
.loc-v2 .locv2-svcmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1020px;
    margin: 0 auto 48px;
}
.loc-v2 .locv2-svcmap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2ecee;
    border-radius: 999px;
    padding: 9px 18px 9px 9px;
    font-weight: 800;
    color: #00293a;
    font-size: 14px;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(0, 41, 58, 0.05);
}
.loc-v2 .locv2-svcmap-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--qbi-accent) 13%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--qbi-accent) 32%, transparent);
    color: var(--qbi-accent);
    font-family: Lexend, sans-serif;
    font-weight: 900;
    font-size: 14px;
}
/* v1 service blocks: strip the striped block backgrounds (section rhythm
   comes from .locv2-sec--alt now) and dress the cards like bti-cards */
.loc-v2 .loc-service-block--teal,
.loc-v2 .loc-service-block--white { background: transparent; }
.loc-v2 .loc-service-block-inner { padding: 22px 0; }
.loc-v2 .loc-service-card {
    border: 1px solid #e2ecee;
    border-top: 4px solid var(--qbi-accent);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 41, 58, 0.07);
}
.loc-v2 .loc-service-heading {
    font-family: Lexend, Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.loc-v2 .loc-service-divider { background: var(--qbi-accent); }
.loc-v2 .loc-service-list li::before { background: var(--qbi-accent); }

/* =====================================================================
   MARKET - 3 stat/pull tiles (ported from case-studies .cs-metric)
   ===================================================================== */
/* centered 820px column (matches the centered market prose + heading) so the
   whole market block is symmetric instead of flush-left with empty right side. */
.loc-v2 .locv2-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto 44px;
}
.loc-v2 .locv2-stat {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2ecee;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 6px 20px rgba(0, 41, 58, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loc-v2 .locv2-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 41, 58, 0.11);
}
.loc-v2 .locv2-stat::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--qbi-accent);
}
.loc-v2 .locv2-stat-val {
    font-family: Lexend, Manrope, sans-serif;
    font-weight: 900;
    font-size: clamp(23px, 2.6vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #00293a;
}
.loc-v2 .locv2-stat-label { margin-top: 8px; font-weight: 800; font-size: 14.5px; color: #00293a; }
.loc-v2 .locv2-stat-sub { margin-top: 5px; font-size: 13px; line-height: 1.5; color: #51686f; font-weight: 600; }

/* =====================================================================
   INDUSTRIES - chip cloud restyle of the v1 grid
   ===================================================================== */
.loc-v2 .loc-industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 920px;
    margin: 0 auto 40px;
}
.loc-v2 .loc-industry-item {
    border: 1px solid #d6e6e6;
    border-radius: 999px;
    background: #ffffff;
    padding: 11px 20px;
    font-size: 14.5px;
    font-weight: 700;
    color: #00293a;
    box-shadow: 0 3px 10px rgba(0, 41, 58, 0.04);
}
.loc-v2 .loc-industry-item:hover {
    border-color: var(--qbi-accent);
    color: var(--qbi-accent);
    box-shadow: 0 6px 18px rgba(0, 41, 58, 0.1);
    transform: translateY(-2px);
}

/* =====================================================================
   WHY CHOOSE - checklist to two-column card grid
   ===================================================================== */
.loc-v2 .loc-choose-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 800px;
}
.loc-v2 .loc-choose-list li {
    background: #ffffff;
    border: 1px solid #e2ecee;
    border-radius: 12px;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 15.5px;
    box-shadow: 0 4px 14px rgba(0, 41, 58, 0.05);
}
.loc-v2 .loc-choose-list li::before { background: var(--qbi-accent); }

/* =====================================================================
   INTEGRATIONS - bright-teal v1 cards to white premium cards
   ===================================================================== */
.loc-v2 .loc-integration-card.loc-integration-teal {
    background: #ffffff;
    border: 1px solid #e2ecee;
    border-top: 4px solid var(--qbi-accent);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 41, 58, 0.07);
}
.loc-v2 .loc-integration-heading {
    font-family: Lexend, Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.loc-v2 .loc-integration-list li::before { background: var(--qbi-accent); }

/* =====================================================================
   FAQ - v1 loc-faq-item accordions re-dressed like qbi-faq
   ===================================================================== */
.loc-v2 .loc-faq-list { max-width: 880px; margin: 38px auto 0; }
.loc-v2 .loc-faq-item {
    border: 1px solid #e2ecee;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 41, 58, 0.05);
}
.loc-v2 .loc-faq-item[open] {
    border-color: color-mix(in srgb, var(--qbi-accent) 45%, transparent);
    box-shadow: 0 12px 28px rgba(0, 41, 58, 0.1);
}
.loc-v2 .loc-faq-question {
    font-family: Manrope, system-ui, sans-serif;
    font-weight: 800;
    color: #00293a;
}
.loc-v2 .loc-faq-icon { background: var(--qbi-accent); }
.loc-v2 .loc-faq-answer p { color: #294049; font-weight: 600; }

/* =====================================================================
   CITIES - nearby 3-up cards + twin-link callout + full grid restyle
   ===================================================================== */
.loc-v2 .locv2-near { margin: 0 auto 48px; }
.loc-v2 .locv2-near-grid { max-width: 1020px; }
.loc-v2 .locv2-twin { max-width: 780px; margin: 0 auto 48px; }
.loc-v2 .locv2-twin-k {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--qbi-accent);
    margin-bottom: 10px;
}
.loc-v2 .locv2-twin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-weight: 800;
    font-size: 16px;
    color: var(--qbi-teal, #009282);
    text-decoration: none;
    border-bottom: 2px solid color-mix(in srgb, var(--qbi-teal, #009282) 32%, transparent);
    padding-bottom: 2px;
}
.loc-v2 .locv2-twin-link:hover { color: var(--qbi-accent); border-color: var(--qbi-accent); }
/* the full state grid, re-dressed */
.loc-v2 .loc-city-grid { gap: 14px; }
.loc-v2 .loc-city-card {
    border: 1px solid #e2ecee;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 41, 58, 0.05);
}
.loc-v2 .loc-city-card:hover {
    border-color: var(--qbi-accent);
    box-shadow: 0 10px 26px rgba(0, 41, 58, 0.12);
}
.loc-v2 .loc-city-icon { background: color-mix(in srgb, var(--qbi-accent) 12%, #ffffff); }
.loc-v2 .loc-city-icon svg { color: var(--qbi-accent); }

/* =====================================================================
   FINAL CTA - second (WhatsApp) button on the light band
   ===================================================================== */
.loc-v2 .locv2-final-btns { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.loc-v2 .qbi-final-cta .bti-cta-ghost {
    color: #00293a;
    background: transparent;
    border-color: rgba(0, 41, 58, 0.35);
}
.loc-v2 .qbi-final-cta .bti-cta-ghost:hover {
    background: rgba(0, 41, 58, 0.06);
    border-color: rgba(0, 41, 58, 0.6);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1023px) {
    .loc-v2 .bti-hero .loc-hero-title { font-size: 37px; }
    .loc-v2 .locv2-why--band .loc-checklist { grid-template-columns: repeat(2, 1fr); }
    .loc-v2 .locv2-svcmap { grid-template-columns: repeat(2, 1fr); }
    .loc-v2 .locv2-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 640px) {
    .loc-v2 .locv2-sec { padding: 56px 0; }
    .loc-v2 .bti-hero .loc-hero-title { font-size: 29px; }
    .loc-v2 .bti-hero .loc-hero-subtitle { font-size: 16.5px; }
    .loc-v2 .bti-hero .loc-hero-desc { font-size: 14px; }
    .loc-v2 .bti-hero .loc-hero-contact { flex-wrap: wrap; gap: 10px; }
    .loc-v2 .locv2-why--painmap .loc-checklist { grid-template-columns: 1fr; }
    .loc-v2 .locv2-why--band .locv2-why-body { padding: 26px 18px; }
    .loc-v2 .locv2-why--band .loc-checklist { grid-template-columns: 1fr; }
    .loc-v2 .locv2-svcmap { grid-template-columns: 1fr; }
    .loc-v2 .locv2-stats { grid-template-columns: 1fr; }
    .loc-v2 .locv2-meta { max-width: 420px; }
}
@media (max-width: 480px) {
    .loc-v2 .bti-hero .loc-hero-title { font-size: 25px; }
    .loc-v2 .locv2-meta { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* =====================================================================
   Reduced motion - kill the new hover lifts + any smooth scrolling
   (cluster CSS sets html{scroll-behavior:smooth}; guard it here).
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .loc-v2 .locv2-why--painmap .loc-checklist li,
    .loc-v2 .locv2-stat,
    .loc-v2 .loc-industry-item,
    .loc-v2 .loc-city-card {
        transition: none;
    }
    .loc-v2 .locv2-why--painmap .loc-checklist li:hover,
    .loc-v2 .locv2-stat:hover,
    .loc-v2 .loc-industry-item:hover {
        transform: none;
    }
}

/* =====================================================================
   FINALIZE: alternating soft service-card backgrounds so adjacent cards
   read as distinct, + city-photo frame that supports portrait images.
   ===================================================================== */
/* three soft shades so no two adjacent cards match, even with the
   QuickBooks-integrations block (which stays white) sitting between them:
   teal-block = soft accent tint, white-block = soft neutral grey. */
.loc-v2 .loc-service-block--teal .loc-service-card {
    background: color-mix(in srgb, var(--qbi-accent) 7%, #ffffff);
}
.loc-v2 .loc-service-block--white .loc-service-card {
    background: #f4f6f8;
}

/* city photo in the why band/painmap: centered "postcard", portrait-safe */
.loc-v2 .locv2-why--band .loc-why-visual,
.loc-v2 .locv2-why--painmap .loc-why-visual {
    display: flex;
    justify-content: center;
    max-width: none;
    margin: 28px auto 0;
    border: none;
    box-shadow: none;
    background: none;
    aspect-ratio: auto;   /* cancel location.css .loc-why-visual{aspect-ratio:4/3} */
    overflow: visible;
}
.loc-v2 .loc-why-visual img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 460px;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(0, 41, 58, 0.28);
}
.loc-v2 .locv2-why--band .loc-why-visual img {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* =====================================================================
   HERO city photo: the real skyline, shown soft + transparent behind the
   "on the ground" label (reuses the .locv2-cthumb frame).
   ===================================================================== */
.loc-v2 .locv2-heroimg { position: relative; }
.loc-v2 .locv2-heroimg img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    opacity: 0.82;
}
.loc-v2 .locv2-heroimg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 31, 42, 0.18) 0%, rgba(10, 79, 74, 0.5) 100%);
    pointer-events: none;
}
.loc-v2 .locv2-heroimg-tag,
.loc-v2 .locv2-heroimg-cap {
    position: absolute;
    z-index: 2;
}
.loc-v2 .locv2-heroimg-tag {
    top: 14px;
    left: 16px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #7fe9e0;
}
.loc-v2 .locv2-heroimg-cap {
    bottom: 13px;
    right: 16px;
    left: 16px;
    text-align: right;
    font-size: 12.5px;
    font-weight: 700;
    color: #eafeff;
}

/* =====================================================================
   Mid-page social-proof bar: client-logo avatars (name on hover) + stars,
   a touch smaller than the homepage. Avatar/tooltip styles come from
   integrations.css (.avatars--brands .brand-cell[data-tip]).
   ===================================================================== */
.loc-v2 .locv2-proofsec { padding: 30px 0; background: var(--qbi-soft-bg, #f6fafa); }
.loc-v2 .locv2-proofbar { display: flex; justify-content: center; }
.loc-v2 .locv2-proofbar .social-proof { transform: scale(0.92); transform-origin: center; }

/* =====================================================================
   Nearby-city cards: real per-city photo (falls back to generated SVG).
   ===================================================================== */
.loc-v2 .locv2-sibphoto {
    position: relative;
    overflow: hidden;
    aspect-ratio: 400 / 180;
}
.loc-v2 .locv2-sibphoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.loc-v2 .locv2-sibphoto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 31, 42, 0.12) 0%, rgba(10, 79, 74, 0.6) 100%);
    pointer-events: none;
}
.loc-v2 .locv2-sibphoto-tag {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7fe9e0;
}
.loc-v2 .locv2-sibphoto-cap {
    position: absolute;
    bottom: 11px;
    left: 14px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    color: #eafeff;
}

/* =====================================================================
   Cities section: center the state city grids + their subheadings so
   incomplete rows and the "Construction Bookkeeping in <State>" heading
   read as balanced instead of left-lopsided.
   ===================================================================== */
.loc-v2 .loc-cities .loc-city-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.loc-v2 .loc-cities .loc-city-card {
    flex: 0 1 340px;
    max-width: 360px;
}
.loc-v2 .loc-cities h3 {
    text-align: center;
}
