/* ==========================================================================
  OnlineTechSupport.biz — Main Stylesheet (All text passes WCAG AA)
  ========================================================================== */

/* ==========================================================================
  0. CSS CUSTOM PROPERTIES
  ========================================================================== */
:root {
    --primary: #ffffff;
    --primary-light: #a8340b;          /* darker orange for button hovers */
    --surface: #ffffff;
    --navy: #0f1b2d;
    --navy-2: #1b3a5c;
    --navy-gradient: linear-gradient(135deg, #1b3a5c 0%, #0f1b2d 100%);
    --accent: #c2410c;                 /* conversion orange, AA w/ white    */
    --accent-2: #ea580c;               /* bright orange for icons/graphics */
    --text-primary: #0f1b2d;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(15, 27, 45, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
    --gradient-1: linear-gradient(180deg, #f4f7fb 0%, #e9eef5 100%);
    --gradient-accent: linear-gradient(135deg, #d9480f 0%, #b23a0a 100%);
    --accent-glow: rgba(234, 88, 12, 0.1);
    --accent-2-glow: rgba(234, 88, 12, 0.12);
    --ink: #ffffff;                    /* text on navy/accent fills        */
}

/* ==========================================================================
  1. BASE RESET & TYPOGRAPHY
  ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Clip (not hidden) so the page can never gain horizontal scroll or stretch the
       fixed navbar; hidden kept as fallback for browsers without clip support. */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background: var(--primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: var(--ink);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #eef2f7;
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 27, 45, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 65, 12, 0.55);
}

/* ==========================================================================
  1a. SKIP NAVIGATION — Keyboard / screen reader bypass
  ========================================================================== */
.skip-nav {
    position: absolute;
    top: -1000px;
    left: 0;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: none;
}
.skip-nav:focus {
    top: 0;
}
.skip-nav:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* ==========================================================================
  1b. FOCUS VISIBLE — Visible focus ring for keyboard users
  ========================================================================== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ==========================================================================
  1c. REDUCED MOTION — Respect user preference
  ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
  2. ACCENT & UTILITY CLASSES
  ========================================================================== */
.accent-text {
    color: var(--accent);
}
.accent-border {
    border-color: var(--accent) !important;
}
.glow {
    text-shadow: 0 0 20px rgba(194, 65, 12, 0.35);
}
.glow-green {
    text-shadow: 0 0 20px rgba(22, 163, 74, 0.35);
}

/* ==========================================================================
  3. SECTION DEFAULTS
  ========================================================================== */
section {
    padding: 6rem 0;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-2);
    margin-right: 0.55rem;
    vertical-align: middle;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0;
}

/* ==========================================================================
  4. NAVBAR
  ========================================================================== */
#mainNav {
    background: #FFF;
    height: 4.5rem;      /* fixed height — never grows/shrinks on scroll */
    padding: 0;
    z-index: 1030;
    /* Sticky (not fixed) overlay nav: sticky is immune to the iOS 26 Safari bug
       where position:fixed headers drift above the visual viewport on scroll.
       The negative margin equals the nav height so the hero/service-header
       content underneath keeps its exact pre-existing position. */
    margin-bottom: -4.5rem;
    transition: var(--transition);
}
#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(194, 65, 12, 0.45), 0 10px 34px rgba(15, 27, 45, 0.1);
}
#mainNav .text-white {
    color: var(--navy) !important;
}

/* Brand */
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
}
.navbar-brand .brand-icon {
    margin-right: 0.35rem;
    width: 18px;
    height: 18px;
    vertical-align: -0.125em;
    color: #000000;
}

/* Nav links */
.nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(15, 27, 45, 0.06);
    color: var(--navy) !important;
}
.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Highlighted CTA button in nav */
.nav-cta {
    background: var(--accent) !important;
    color: var(--ink) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.25rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(194, 65, 12, 0.3);
}
.nav-cta:hover {
    background: var(--primary-light) !important;
    color: var(--ink) !important;
    box-shadow: 0 6px 22px rgba(194, 65, 12, 0.45);
    transform: translateY(-1px);
}

/* Dropdown menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 27, 45, 0.12);
    box-shadow: 0 14px 44px rgba(15, 27, 45, 0.14);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}
.dropdown-item {
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-radius: 6px;
    padding: 0.45rem 0.85rem;
    transition: var(--transition);
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(194, 65, 12, 0.08);
    color: var(--accent);
}

/* ==========================================================================
  5. HERO SECTION
  ========================================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--primary);
    overflow: hidden;
}
.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero > .container > p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.7;
}

/* Hero stat numbers */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
}
.hero-stat {
    text-align: center;
}
.hero-stat h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.15rem;
}
.hero-stat p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero primary button */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(194, 65, 12, 0.35);
}
.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.45);
}

/* Hero outline button */
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    background: transparent;
    border: 1.5px solid rgba(15, 27, 45, 0.55);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-outline-custom:hover,
.btn-outline-custom:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 27, 45, 0.25);
}

/* Hero right visual: build plan cards */
.hero-plan {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-plan-step { display: flex; gap: 10px; align-items: center; }
.hero-plan-step.is-sub { padding-left: 20px; }
.hero-plan-chip {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(15, 27, 45, 0.2);
}
.hero-plan-chip i { font-size: 1.05rem; }
.hero-plan-step.is-sub .hero-plan-chip {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid rgba(15, 27, 45, 0.18);
    box-shadow: 0 8px 22px rgba(15, 27, 45, 0.07);
    font-weight: 500;
}
.hero-plan-step.is-sub .hero-plan-chip.is-done { color: var(--accent); }
.hero-plan-check {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 1.2rem;
}
.hero-plan-goal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(194, 65, 12, 0.08);
    border: 1px solid rgba(194, 65, 12, 0.25);
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
  6. HERO — Service pages (smaller hero variant)
  ========================================================================== */
.service-header {
    background: var(--primary);
    border-bottom: 1px solid rgba(15, 27, 45, 0.1);
    color: var(--text-primary);
    padding: 150px 0 3.5rem;
}
.service-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

/* Feature icon — square icon container used in service detail lists */
.feature-icon,
.feature-icon-lg,
.service-card .icon,
.why-card .icon-box,
.pricing-card .icon-box,
.problem-card.solution .icon-box {
    background: var(--navy-gradient);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.feature-icon-lg {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ==========================================================================
  7. SERVICE CARDS — Grid on the services index page
  ========================================================================== */

.service-card {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.07);
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.12);
    transform: translateY(-2px);
}
.service-card .icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.service-card .icon.icon-lg {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    font-size: 1.6rem;
}
.service-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
}
.service-card p {
    color: var(--text-secondary);
}
/* Service card links should show focus */
a.text-decoration-none:focus-visible .service-card {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Bento: featured navy card + full-width banner card */
.service-card.featured {
    background: var(--navy-gradient);
    border-color: var(--navy);
    box-shadow: 0 18px 50px rgba(15, 27, 45, 0.3);
}
.service-card.featured h3,
.service-card.featured p { color: #fff; }
.service-card.featured .icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: none;
}
.service-card.banner {
    background: rgba(15, 27, 45, 0.045);
    border-color: rgba(15, 27, 45, 0.16);
}

/* ==========================================================================
  8. SIDEBAR CARD — Used on service detail pages
  ========================================================================== */

.bg-light.card,
.card.bg-light {
    background: var(--surface) !important;
    border: 1px solid rgba(15, 27, 45, 0.12) !important;
    border-radius: var(--radius);
}
.card h5 {
    color: var(--text-primary);
}
.card .small,
.card span {
    color: var(--text-secondary);
}
.card .bi-check-circle-fill {
    color: var(--accent-2) !important;
}
.card.border-0 {
    border: 1px solid rgba(15, 27, 45, 0.15) !important;
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.1);
}

/* ==========================================================================
  9. BREADCRUMB — Page hierarchy on service detail pages
  ========================================================================== */

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    opacity: 1;
}
.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Accessibility: never dim link text (keeps AA contrast) */
a[style*="opacity:0.8"] { opacity: 1 !important; }
.badge-notice { color: #a8340b !important; }
.notice,
.legal-emphasis { color: #a16207 !important; }

/* ==========================================================================
  10. PROBLEM / SOLUTION — Approach section on landing page
  ========================================================================== */

#problem {
    background: var(--gradient-1);
    position: relative;
}

/* Problem card */
.problem-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.08);
    transition: var(--transition);
}
.problem-card:hover {
    border-color: rgba(194, 65, 12, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 14px 44px rgba(15, 27, 45, 0.12);
}
.problem-card .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}
.problem-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.problem-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* Solution card flips to navy */
.problem-card.solution {
    background: var(--navy-gradient);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 18px 50px rgba(15, 27, 45, 0.3);
}
.problem-card.solution h3 { color: #fff; }
.problem-card.solution p { color: rgba(255, 255, 255, 0.85); }
.problem-card.solution .features-list li { color: #fff; }
.problem-card.solution .features-list li i { color: #fff; }
.problem-card.solution .icon-box {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: none;
}

/* VS divider */
.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0;
}
.vs-divider::before,
.vs-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 27, 45, 0.3), transparent);
    margin: 0 1rem;
}

/* ==========================================================================
  11. PRICING
  ========================================================================== */

#pricing {
    background: var(--gradient-1);
}

/* Pricing card — glass card with gradient top accent line */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.pricing-card:hover::before {
    transform: scaleX(1);
}
.pricing-card:hover {
    border-color: rgba(194, 65, 12, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 18px 52px rgba(15, 27, 45, 0.14);
}
.pricing-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}
.pricing-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.pricing-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}
.pricing-card .features-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-card .features-list li i {
    color: var(--accent-2);
    font-size: 0.75rem;
}

/* Fixed-rate pricing: rate list rows */
.rate-panel {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.14);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 14px 44px rgba(15, 27, 45, 0.08);
}
.rate-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.rate-panel-title i { color: var(--accent-2); }
.rate-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.18);
}
.rate-row:last-child { border-bottom: 0; }
.rate-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.rate-info { flex: 1; min-width: 0; }
.rate-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.15rem; }
.rate-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}
.rate-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    white-space: nowrap;
}
.rate-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 2px;
}

/* ==========================================================================
  12. WHY CHOOSE US
  ========================================================================== */

#why-choose-us {
    background: var(--primary);
    position: relative;
}

/* Why-choose card */
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 27, 45, 0.12);
    box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
    transition: var(--transition);
}
.why-card:hover {
    border-color: rgba(194, 65, 12, 0.45);
    transform: translateY(-3px);
}
.why-card .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}
.why-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Featured navy card in the 2x2 grid */
.why-card.featured {
    background: var(--navy-gradient);
    border-color: var(--navy);
    box-shadow: 0 18px 50px rgba(15, 27, 45, 0.3);
}
.why-card.featured h3,
.why-card.featured p { color: #fff; }
.why-card.featured .icon-box {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: none;
}

/* ==========================================================================
  13. PROCESS / HOW IT WORKS
  ========================================================================== */

#process {
    background: var(--primary);
}

/* Individual step row */
.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}
/* Connecting line between steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 60px;
    bottom: -1rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(27, 58, 92, 0.4), transparent);
}

/* Step number circle */
.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: #fff;
    color: var(--navy);
    border: 2px solid rgba(15, 27, 45, 0.25);
}
.process-step.active .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(194, 65, 12, 0.35);
}
.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
  14. RESULTS
  ========================================================================== */

#results {
    background: var(--gradient-1);
}

/* Scenario Cards */
.scenario-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.scenario-card:hover {
    border-color: rgba(194, 65, 12, 0.4);
    transform: translateY(-3px);
}
.scenario-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(15, 27, 45, 0.06);
    border: 1px solid rgba(15, 27, 45, 0.16);
    border-radius: 4px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.8rem;
}
.scenario-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    color: var(--text-primary);
}
.scenario-subhead {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1.5;
    opacity: 1;
}
.scenario-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.scenario-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.scenario-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}
.scenario-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.scenario-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.15rem;
    position: relative;
    margin-bottom: 0.25rem;
}
.scenario-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.scenario-roi-list li::before {
    content: "✓";
    color: #16a34a;
}
.scenario-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 0.25rem 0;
    opacity: 0.5;
}

/* Featured wide card with 3-column body */
.scenario-card.scenario-wide { padding: 2.5rem; }
.scenario-wide .scenario-body { flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
    .scenario-wide .scenario-body { flex-direction: row; gap: 2rem; }
    .scenario-wide .scenario-body > div { flex: 1; }
    .scenario-wide .scenario-body > div + div {
        border-left: 1px dashed rgba(15, 27, 45, 0.2);
        padding-left: 2rem;
    }
}

/* ==========================================================================
  15. CALL-TO-ACTION — Main site (navy band, white box)
  ========================================================================== */

#cta {
    background: var(--navy-gradient);
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
}

/* CTA white box */
.cta-box {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 24px 70px rgba(8, 15, 26, 0.45);
    text-align: center;
    position: relative;
}
.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
}
.cta-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 1rem auto 2rem;
}
.cta-box .btn-primary-custom {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Risk reversal badges */
.cta-box .risk-reversal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.cta-box .risk-reversal i {
    color: var(--accent-2);
    margin-right: 0.3rem;
}

/* ==========================================================================
  16. CALL-TO-ACTION — Service pages (navy gradient bar style)
  ========================================================================== */

.cta-section {
    background: var(--navy-gradient);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.cta-section h2 {
    color: #fff;
    font-weight: 700;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.85) !important;
}
.cta-section .btn-light {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}
.cta-section .btn-light:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(194, 65, 12, 0.45);
}
.cta-section .btn-light:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ==========================================================================
  17. LEAD FORM — Inquiry form inside main-site CTA
  ========================================================================== */

.lead-form .form-control,
.lead-form .form-select {
    background: #fff;
    border: 1.5px solid rgba(15, 27, 45, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}
.lead-form .form-control:focus,
.lead-form .form-select:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.18);
    color: var(--text-primary);
}
.lead-form .form-control::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.lead-form .form-select option {
    background: var(--primary);
    color: var(--text-primary);
}
.lead-form .form-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.lead-form .form-floating > label {
    color: var(--text-muted);
    padding-left: 1rem;
}
.lead-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Submit button */
.lead-form .btn-submit {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
}
.lead-form .btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(194, 65, 12, 0.45);
}
.lead-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Submit spinner */
.lead-form .btn-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}
.lead-form .btn-submit.loading .spinner {
    display: inline-block;
}
.lead-form .btn-submit.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Validation feedback */
.lead-form .invalid-feedback {
    font-size: 0.78rem;
    color: #ff6b6b;
    margin-top: 0.25rem;
}
.lead-form .was-validated .form-control:invalid,
.lead-form .was-validated .form-select:invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}
.lead-form .was-validated .form-control:valid,
.lead-form .was-validated .form-select:valid {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px var(--accent-2-glow);
}

/* ==========================================================================
  18. FORM SUCCESS STATE
  ========================================================================== */

/* Success toast notification */
.lead-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 380px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(22, 163, 74, 0.35);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    box-shadow: 0 14px 44px rgba(15, 27, 45, 0.18);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.lead-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.lead-toast .toast-icon {
    color: var(--accent-2);
    font-size: 1.8rem;
    margin-right: 0.8rem;
}
.lead-toast .toast-title {
    font-weight: 600;
    font-size: 0.95rem;
}
.lead-toast .toast-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.lead-toast .toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}
.lead-toast .toast-close:hover {
    color: var(--text-primary);
}
.lead-toast.error {
    border-color: rgba(255, 107, 107, 0.2);
}
.lead-toast.error .toast-icon {
    color: #ff6b6b;
}

/* Inline success message (replaces form) */
.form-success {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}
.form-success.show {
    display: block;
}
.form-success .success-icon {
    font-size: 3rem;
    color: var(--accent-2);
    margin-bottom: 1rem;
}
.form-success h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.form-success p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ==========================================================================
  19. FOOTER — Main landing page (full footer with links & social)
  ========================================================================== */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 2rem;
    background: var(--navy);
}
footer a {
    color: #a8b9cc;
    text-decoration: none;
    transition: color var(--transition);
}
footer a:hover {
    color: var(--accent-2);
}
footer .brand {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
footer .brand .accent-text { color: #fb923c; }
footer .brand i,
footer .brand svg {
    color: var(--accent-2) !important;
    width: 16px;
    height: 16px;
    vertical-align: -0.125em;
}
footer .tagline {
    color: #94a3b8;
    font-size: 0.88rem;
}
footer .social-links {
    display: flex;
    gap: 1rem;
}
footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition);
}
footer .social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
footer .footer-links h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}
footer .footer-links li {
    list-style: none;
    margin-bottom: 0.4rem;
}
footer .footer-links li a {
    font-size: 0.88rem;
}
footer .text-muted { color: #94a3b8 !important; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* ==========================================================================
  20. FOOTER — Service pages (simpler footer)
  ========================================================================== */

.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
}
.footer .fw-semibold {
    color: #e2e8f0;
}

/* ==========================================================================
  21. SECTION BACKGROUNDS (Service pages)
  ========================================================================== */

#services {
    background: var(--primary);
}
section.py-5 {
    background: var(--primary);
}

/* ==========================================================================
  22. 404 PAGE
  ========================================================================== */

.display-1 {
    color: var(--text-muted);
}

/* ==========================================================================
  23. SCROLL ANIMATIONS (Intersection Observer)
  ========================================================================== */

/* Fade-up reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide-in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-in reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children animation */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================================================
  24. RESPONSIVE BREAKPOINTS
  ========================================================================== */

/* 5-column grid (20% width) — for "Why Choose Us" cards */
@media (min-width: 992px) {
    .col-lg-2-4 {
        width: 20%;
        flex: 0 0 20%;
    }
}

/* Tablet and below */
@media (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .hero-stat {
        flex: 1;
        min-width: 100px;
    }
    .hero-stat h3 {
        font-size: 1.3rem;
    }
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    .process-step:not(:last-child)::after {
        left: 19px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    .vs-divider {
        padding: 0.8rem 0;
    }
    footer .footer-links {
        margin-top: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        gap: 1rem;
    }
}

/* ==========================================================================
  25. BOOTSTRAP OVERRIDES
  ========================================================================== */

/* Consistent content width across all pages — only at large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Heading letter-spacing */
h2, .h2 {
    letter-spacing: -0.02em;
}

/* ==========================================================================
  26. KEYFRAMES
  ========================================================================== */

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
  27. MOBILE RESPONSIVE FIXES
  ========================================================================== */

/* Allow hero buttons to wrap on very small screens */
@media (max-width: 480px) {
    .btn-primary-custom,
    .btn-outline-custom {
        white-space: normal;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    .hero-actions .btn-primary-custom,
    .hero-actions .btn-outline-custom {
        width: auto;
        min-width: 260px;
    }
}

/* Fixed-rate pricing: stack to single column at 480px and below */
@media (max-width: 480px) {
    #pricing .row .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Navbar toggler: bring back into viewport on very small screens */
@media (max-width: 480px) {
	.navbar-brand {
		margin-right: 0;
	}
    .navbar-toggler {
        position: relative;
        left: 0px;
    }
}

/* Nav CTA button: prevent overflow inside collapsed menu on small screens */
@media (max-width: 480px) {
    .nav-cta {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem;
        white-space: normal;
        max-width: 280px;
    }
}

/* Collapsed nav menu: drop below the fixed-height nav as an overlay on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1040;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 12px 40px rgba(15, 27, 45, 0.14);
        border-radius: 0 0 12px 12px;
        padding: 1rem;
        margin-top: 0;
    }
    /* Keep CTA button compact in mobile menu — no full-width stretch */
    .navbar-collapse .nav-item:last-child {
        align-self: flex-start;
        margin-top: 0.5rem;
    }
    .navbar-collapse .nav-cta {
        display: inline-block;
        width: auto;
        text-align: center;
    }
}

/* Scroll-reveal transforms shift content off-screen at very small viewports */
@media (max-width: 480px) {
    .reveal-left,
    .reveal-right,
    .reveal-left.visible,
    .reveal-right.visible {
        transform: translateX(0) !important;
    }
}

/* ==========================================================================
  28. PORTFOLIO INDEX — navy/white cards on portfolio/index.html
  ========================================================================== */

.portfolio-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 27, 45, 0.12) !important;
    box-shadow: 0 6px 24px rgba(15, 27, 45, 0.06) !important;
}
.portfolio-card:hover,
a.portfolio-card-wrap:hover .portfolio-card {
    border-color: rgba(15, 27, 45, 0.2) !important;
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.12) !important;
}
.portfolio-tag {
    background: rgba(15, 27, 45, 0.06) !important;
    border-color: rgba(15, 27, 45, 0.16) !important;
}
.portfolio-card-arrow { color: var(--accent) !important; }

/* ==========================================================================
  29. LOCATION PAGES — arizona/*.html design system
  Formerly location-pages.css (linked separately); merged here so the whole
  site ships from one stylesheet. Every selector is .loc-* scoped, so no
  conflict with main-site styles. Five archetypes share these modules:
  City Report, District Guide, Industry Spotlight, Growth Playbook,
  Community Standard.
  ========================================================================== */

/* 29.1 LOCATION HERO — navy band, white text (deliberately NOT the white
  service-header used on service pages) */
.loc-hero {
    position: relative;
    background: var(--navy-gradient);
    color: #fff;
    padding: clamp(7rem, 11vw, 9.5rem) 0 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 27, 45, 0.1);
}

/* Thin orange rule — the location-page mark */
.loc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 55%, transparent 100%);
}

/* Faint engineering grid texture (not a radial wash) */
.loc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.loc-hero .container { position: relative; z-index: 1; }

.loc-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0.4rem 0 1.25rem;
    max-width: 760px;
}

.loc-hero h1 .loc-accent-word { color: var(--accent-2); }

.loc-hero-lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 1.75rem;
}

.loc-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.loc-hero-actions .btn { border-radius: 12px; padding: 0.8rem 1.7rem; font-weight: 600; }

.loc-hero-actions .btn-loc-primary {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(194, 65, 12, 0.4);
}
.loc-hero-actions .btn-loc-primary:hover,
.loc-hero-actions .btn-loc-primary:focus-visible {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.5);
}

.loc-hero-actions .btn-loc-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}
.loc-hero-actions .btn-loc-ghost:hover,
.loc-hero-actions .btn-loc-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Breadcrumb on navy */
.loc-crumb {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.loc-crumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.loc-crumb a:hover { color: #fff; text-decoration: underline; }
.loc-crumb .loc-crumb-here { color: var(--accent-2); font-weight: 600; }

/* Small-caps label with orange dash */
.loc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.6rem;
}
.loc-eyebrow::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-2);
}
.loc-hero .loc-eyebrow { color: #fb923c; }
.loc-hero .loc-eyebrow::before { background: #fb923c; }

/* Hero chips (sector / audience tags) */
.loc-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    max-width: 640px;
}
.loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.loc-chip i { color: #fb923c; }
.loc-chip:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* City snapshot card (hero right column) */
.loc-snapshot {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(8, 15, 26, 0.4);
    padding: 1.75rem 1.75rem 1.5rem;
    color: var(--text-primary);
}
.loc-snapshot h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.loc-snapshot h2 i { color: var(--accent-2); }
.loc-snap-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.16);
    font-size: 0.92rem;
}
.loc-snap-row:last-child { border-bottom: 0; }
.loc-snap-row .k { color: var(--text-secondary); font-weight: 500; }
.loc-snap-row .v { color: var(--navy); font-weight: 700; text-align: right; }
.loc-snap-row .v em { font-style: normal; color: var(--accent); }
.loc-snap-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* 29.2 SECTIONS & BANDS */
.loc-section { padding: 5rem 0; }
.loc-section--tint { background: #f4f7fb; border-top: 1px solid rgba(15, 27, 45, 0.07); border-bottom: 1px solid rgba(15, 27, 45, 0.07); }
.loc-section--navy {
    background: var(--navy-gradient);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.loc-section--navy .loc-h2 { color: #fff; }
.loc-section--navy .loc-sub { color: rgba(255, 255, 255, 0.82); }
.loc-section--navy .loc-eyebrow { color: #fb923c; }
.loc-section--navy .loc-eyebrow::before { background: #fb923c; }

.loc-h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.loc-sub {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.25rem;
}
.loc-section--navy .loc-sub { max-width: 680px; }

/* Big stat numbers band */
.loc-statband { display: flex; flex-wrap: wrap; }
.loc-stat {
    flex: 1 1 200px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-left: 1px solid rgba(15, 27, 45, 0.1);
}
.loc-stat:first-child { border-left: 0; }
.loc-stat b {
    display: block;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.1;
}
.loc-stat b span { color: var(--accent); }
.loc-stat p { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* 29.3 QUESTION CARDS — local search intent (City Report) */
.loc-qcard {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.loc-qcard:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
    transform: translateY(-3px);
}
.loc-qcard i {
    color: var(--accent-2);
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}
.loc-qcard h3 { font-size: 1.04rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.loc-qcard p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* 29.4 DISTRICT CARDS (District Guide) */
.loc-district {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.6rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.loc-district:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
}
.loc-district-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.loc-district-head .loc-pin {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-district-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0; }
.loc-district-head .loc-district-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.loc-district p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.9rem; }
.loc-district ul { list-style: none; padding: 0; margin: 0; }
.loc-district ul li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--text-primary);
    padding: 0.28rem 0;
}
.loc-district ul li i { color: #16a34a; line-height: 1.4; }

/* 29.5 INDUSTRY ROWS — numbered editorial (Industry Spotlight) */
.loc-industry-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    padding: 1.9rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.18);
    align-items: start;
}
.loc-industry-row:first-child { padding-top: 0.5rem; }
.loc-industry-row:last-child { border-bottom: 0; padding-bottom: 0.5rem; }
.loc-industry-num {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: rgba(15, 27, 45, 0.16);
    -webkit-text-stroke: 1.5px rgba(15, 27, 45, 0.35);
    color: transparent;
    padding-top: 0.15rem;
}
.loc-industry-row h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.loc-industry-row p { font-size: 0.94rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.75rem; max-width: 620px; }
.loc-industry-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.loc-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(15, 27, 45, 0.05);
    border: 1px solid rgba(15, 27, 45, 0.14);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    text-decoration: none;
}
.loc-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(194, 65, 12, 0.06); }

/* 29.6 TIMELINE — launch steps (Growth Playbook) */
.loc-timeline { display: flex; flex-direction: column; }
.loc-tstep {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1.35rem;
    position: relative;
    padding-bottom: 2.25rem;
}
.loc-tstep:last-child { padding-bottom: 0; }
.loc-tstep::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 0.25rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(27, 58, 92, 0.3), transparent);
}
.loc-tstep:last-child::before { display: none; }
.loc-tstep-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    z-index: 1;
}
.loc-tstep h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.loc-tstep p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.65; margin: 0; max-width: 560px; }

/* 29.7 TWO TRACKS — new vs established (Growth Playbook) */
.loc-track {
    border-radius: var(--radius);
    padding: 1.9rem;
    height: 100%;
}
.loc-track--new {
    background: var(--navy-gradient);
    color: #fff;
    border: 1px solid var(--navy);
    box-shadow: 0 18px 50px rgba(15, 27, 45, 0.3);
}
.loc-track--est {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.14);
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.08);
}
.loc-track h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.4rem; }
.loc-track--new h3 { color: #fff; }
.loc-track--est h3 { color: var(--navy); }
.loc-track .loc-track-sub { font-size: 0.88rem; margin-bottom: 1.1rem; }
.loc-track--new .loc-track-sub { color: rgba(255, 255, 255, 0.82); }
.loc-track--est .loc-track-sub { color: var(--text-secondary); }
.loc-track ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.loc-track ul li { display: flex; gap: 0.55rem; padding: 0.32rem 0; font-size: 0.9rem; line-height: 1.5; }
.loc-track--new ul li { color: rgba(255, 255, 255, 0.92); }
.loc-track--est ul li { color: var(--text-primary); }
.loc-track ul li i { margin-top: 0.15rem; }
.loc-track--new ul li i { color: #fb923c; }
.loc-track--est ul li i { color: var(--accent); }

/* 29.8 ORGANIZATION CARDS — HOAs, clubs, practices (Community Standard) */
.loc-org {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.loc-org:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
}
.loc-org .loc-org-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-org h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.loc-org p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* 29.9 SCENARIO BLOCKS — typical local requests (honest framing, no fake names) */
.loc-scenario {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 27, 45, 0.07);
    position: relative;
}
.loc-scenario .loc-scenario-mark {
    color: var(--accent-2);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.loc-scenario .loc-scenario-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.loc-scenario p { font-size: 0.93rem; color: var(--text-primary); line-height: 1.65; margin-bottom: 0.9rem; }
.loc-scenario a { font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.loc-scenario a:hover { text-decoration: underline; }

/* 29.10 FAQ ACCORDION — locally specific questions */
.loc-faq .accordion-item {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    overflow: hidden;
}
.loc-faq .accordion-button {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1.1rem 1.3rem;
    box-shadow: none;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f1b2d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c2410c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.loc-faq .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(194, 65, 12, 0.045);
    box-shadow: none;
}
.loc-faq .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.18);
}
.loc-faq .accordion-body {
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
    padding: 0 1.3rem 1.25rem;
}

/* 29.11 NEARBY CITIES + SERVICE LINK ROWS */
.loc-nearby { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.loc-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border: 1.5px solid rgba(15, 27, 45, 0.28);
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.loc-chip-link:hover,
.loc-chip-link:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.loc-chip-link i { font-size: 0.8rem; }

.loc-linkrow {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.18);
}
.loc-linkrow:last-child { border-bottom: 0; }
.loc-linkrow .loc-linkrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-linkrow h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 0.2rem; }
.loc-linkrow p { font-size: 0.86rem; color: var(--text-secondary); margin: 0; }
.loc-linkrow a {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.loc-linkrow a:hover { text-decoration: underline; }

/* Rate rows (reuse .rate-panel on location pages) */
.loc-rate .rate-panel { height: 100%; }

/* 29.12 RESPONSIVE */
@media (max-width: 991.98px) {
    .loc-hero { padding-top: 6.5rem; }
    .loc-snapshot { margin-top: 2.25rem; max-width: 480px; }
    .loc-industry-row { grid-template-columns: 48px 1fr; gap: 1rem; }
    .loc-industry-num { font-size: 1.9rem; }
    .loc-stat { border-left: 0; border-bottom: 1px solid rgba(15, 27, 45, 0.1); }
    .loc-stat:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
    .loc-section { padding: 3.75rem 0; }
    .loc-hero-actions .btn { width: 100%; justify-content: center; }
    .loc-linkrow { grid-template-columns: 40px 1fr; }
    .loc-linkrow a { grid-column: 2; }
}

/* Ultra-wide safety: never let content stretch on 4K/ultrawide */
@media (min-width: 1920px) {
    .loc-hero h1 { max-width: 860px; }
    .loc-hero-lead { max-width: 700px; }
}
