/**
 * Bay Area Service Hub - HVAC Contractor Profile
 * Industrial Premium Design System
 * Enterprise-grade, trust-focused, conversion-optimized
 */

/* ========================================
   CUSTOM FONTS - Distinctive Typography
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   PREMIUM DESIGN SYSTEM
   ======================================== */

/* Override GeneratePress container padding for this template */
.single-hvac_contractor .site-content,
.single-plumbing_contractor .site-content,
.single-electric_contractor .site-content,
.single-roofing_contractor .site-content {
    padding: 0;
}

/* Remove any nested container constraints within our template */
.bash-contractor-single .container {
    max-width: none;
    padding: 0;
    margin: 0;
}

.bash-contractor-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bash-bg-secondary);

    /* Primary - ZipPicks Blue */
    --bash-primary: #194FAD;
    --bash-primary-dark: #0F3A82;
    --bash-primary-light: #5A9BFF;
    --bash-blue: #0066cc;

    /* Trust Colors */
    --bash-success: #28A745;
    --bash-success-dark: #1e7e34;
    --bash-danger: #DC3545;

    /* Text Hierarchy */
    --bash-text-primary: #0F172A;
    --bash-text-secondary: #475569;
    --bash-text-muted: #94A3B8;
    --bash-text-inverse: #FFFFFF;

    /* Surfaces */
    --bash-bg-primary: #FFFFFF;
    --bash-bg-secondary: #F8FAFC;
    --bash-bg-dark: #0F172A;

    /* Glass Effects */
    --bash-glass: rgba(255, 255, 255, 0.9);
    --bash-glass-border: rgba(255, 255, 255, 0.3);

    /* Gradients */
    --bash-gradient-hero: linear-gradient(135deg, #0F3A82 0%, #194FAD 50%, #2B5FB8 100%);
    --bash-gradient-primary: linear-gradient(135deg, #194FAD 0%, #5A9BFF 100%);
    --bash-gradient-success: linear-gradient(135deg, #28A745 0%, #34CE57 100%);

    /* Borders */
    --bash-border: #E2E8F0;
    --bash-border-light: #F1F5F9;

    /* Shadows */
    --bash-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --bash-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07);
    --bash-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    --bash-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

    /* Radii */
    --bash-radius-sm: 6px;
    --bash-radius: 10px;
    --bash-radius-lg: 16px;
    --bash-radius-xl: 24px;
    --bash-radius-full: 9999px;

    /* Transitions */
    --bash-transition-fast: all 0.15s ease;
    --bash-transition: all 0.25s ease;

    /* Typography */
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--bash-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   HERO SECTION - Dramatic & Premium
   ======================================== */

.bash-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--bash-radius-xl);
}

.bash-hero-gradient {
    background: var(--bash-gradient-hero);
    min-height: 260px;
    position: relative;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    border-radius: var(--bash-radius-xl);
}

/* Subtle geometric pattern overlay */
.bash-hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
}


.bash-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
}

/* Trust Badges - Glass Morphism */
.bash-hero-badges {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 10;
}

.bash-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bash-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bash-glass-border);
    border-radius: var(--bash-radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--bash-text-primary);
    box-shadow: var(--bash-shadow-lg);
    transition: var(--bash-transition-fast);
}

.bash-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--bash-shadow-xl);
}

.bash-badge-icon {
    font-size: 14px;
}

.bash-badge-verified {
    background: var(--bash-gradient-success);
    color: white;
    border: none;
    box-shadow: var(--bash-shadow), 0 4px 20px rgba(5, 150, 105, 0.3);
}

.bash-badge-verified .bash-badge-icon {
    animation: pulseCheck 2s ease-in-out infinite;
}

@keyframes pulseCheck {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bash-badge-beso {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: white;
    border: none;
}

.bash-badge-emergency {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    border: none;
    animation: emergencyPulse 2s ease-in-out infinite;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: var(--bash-shadow), 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { box-shadow: var(--bash-shadow), 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* Score Circle - Premium Design */
.bash-hero-score {
    position: absolute;
    top: 24px;
    right: 24px;
    text-align: center;
    z-index: 10;
}

.bash-score-circle {
    width: 90px;
    height: 90px;
    background: var(--bash-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--bash-shadow-lg);
    margin-bottom: 10px;
}

.bash-score-value {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--bash-primary);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.bash-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bash-glass);
    backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: var(--bash-radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--bash-primary);
    border: 1px solid var(--bash-glass-border);
    box-shadow: var(--bash-shadow);
}

.bash-rank-badge::before {
    content: '🏆';
    font-size: 14px;
}

/* Hero Content - Business Name & License */
.bash-hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 40px;
    right: 40px;
    z-index: 10;
}

.bash-hero-content .bash-business-name {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin: 0 0 8px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.bash-hero-content .bash-license-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.bash-hero-content .bash-license-number::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.bash-hero-content .bash-license-number a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--bash-transition-fast);
}

.bash-hero-content .bash-license-number a:hover {
    color: white;
    text-decoration: underline;
}

/* Hero CTA - Lead Gen Button */
.bash-hero-cta {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--bash-radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), var(--bash-shadow);
    transition: all 0.3s ease;
}

.bash-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(34, 197, 94, 0.5), var(--bash-shadow-lg);
    color: white;
}

.bash-hero-cta:active {
    transform: translateY(0);
}

.bash-cta-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.bash-cta-text {
    letter-spacing: 0.02em;
}

/* Sticky CTA - Desktop: floating button, Mobile: full-width bar */
.bash-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    padding: 14px 24px;
    border-radius: var(--bash-radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.bash-sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bash-sticky-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(34, 197, 94, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

.bash-sticky-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.bash-sticky-text {
    letter-spacing: 0.02em;
}

/* Mobile: Full-width sticky bar */
@media (max-width: 768px) {
    .bash-sticky-cta {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .bash-sticky-cta.visible {
        transform: translateY(0);
    }

    .bash-sticky-cta:not(.visible) {
        transform: translateY(100%);
    }
}

/* ========================================
   BUSINESS INFO SECTION
   ======================================== */

.bash-business-info {
    background: transparent;
    padding: 16px 0;
    position: relative;
    z-index: 5;
}

.bash-info-header {
    margin-bottom: 24px;
}

.bash-business-name {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--bash-text-primary);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.bash-license-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--bash-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bash-license-number::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--bash-primary);
    border-radius: 50%;
}

.bash-license-number a {
    color: var(--bash-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--bash-transition-fast);
}

.bash-license-number a:hover {
    color: var(--bash-primary);
    text-decoration: underline;
}

/* Business Meta Grid */
.bash-business-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
}

.bash-meta-divider {
    width: 4px;
    height: 4px;
    background: var(--bash-text-muted);
    border-radius: 50%;
}

.bash-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--bash-text-secondary);
}

.bash-meta-icon {
    font-size: 18px;
    color: var(--bash-primary);
    width: 24px;
    text-align: center;
}

.bash-meta-item a {
    color: var(--bash-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--bash-transition-fast);
}

.bash-meta-item a:hover {
    color: var(--bash-primary);
}

/* Action Buttons - Premium Style */
.bash-business-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bash-action-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bash-bg-primary);
    border: 2px solid var(--bash-border);
    border-radius: var(--bash-radius-lg);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bash-text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--bash-transition);
    position: relative;
    overflow: hidden;
}

.bash-action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 79, 173, 0.05), transparent);
    transition: var(--bash-transition-slow);
}

.bash-action-button:hover {
    border-color: var(--bash-primary);
    color: var(--bash-primary);
    transform: translateY(-2px);
    box-shadow: var(--bash-shadow-lg);
}

.bash-action-button:hover::before {
    left: 100%;
}

.bash-action-call {
    background: var(--bash-gradient-success);
    border: none;
    color: white;
    box-shadow: var(--bash-shadow), 0 4px 20px rgba(5, 150, 105, 0.25);
}

.bash-action-call:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--bash-shadow-lg), 0 8px 30px rgba(5, 150, 105, 0.35);
    color: white;
}

.bash-action-quote {
    background: var(--bash-gradient-primary);
    border: none;
    color: white;
    box-shadow: var(--bash-shadow), 0 4px 20px rgba(30, 58, 95, 0.25);
}

.bash-action-quote:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--bash-shadow-lg), 0 8px 30px rgba(30, 58, 95, 0.35);
    color: white;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

.bash-content {
    background: transparent;
    padding: 24px 0 32px;
    position: relative;
}



/* Section Titles */
.bash-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.bash-section-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--bash-text-muted);
    margin: 0 0 28px;
    padding-left: 17px;
}

/* ========================================
   MASTER CRITIC CARD - Premium Centerpiece
   ======================================== */

.bash-master-critic {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-lg);
    border: 1px solid var(--bash-border);
    position: relative;
}

.bash-critic-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--bash-border-light);
    position: relative;
}

.bash-critic-score-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.bash-critic-score {
    font-family: 'Outfit', sans-serif;
    font-size: 72px;
    font-weight: 900;
    background: var(--bash-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.bash-critic-score-label {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--bash-text-muted);
}

.bash-critic-rank {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--bash-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bash-critic-rank::before {
    content: '🏆';
}

.bash-critic-summary {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--bash-text-secondary);
    margin-bottom: 36px;
    position: relative;
}

/* Pillar Scores - Premium Grid */
.bash-pillar-scores {
    background: var(--bash-bg-premium);
    border-radius: var(--bash-radius-lg);
    padding: 28px;
    border: 1px solid var(--bash-border-light);
}

.bash-pillar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bash-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.bash-pillar-item {
    position: relative;
}

.bash-pillar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bash-pillar-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius);
    box-shadow: var(--bash-shadow-sm);
}

.bash-pillar-label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bash-text-primary);
}

.bash-pillar-value {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: var(--bash-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.bash-pillar-bar {
    height: 6px;
    background: var(--bash-border);
    border-radius: var(--bash-radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.bash-pillar-fill {
    height: 100%;
    background: var(--bash-gradient-primary);
    border-radius: var(--bash-radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bash-pillar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.bash-pillar-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--bash-text-muted);
    line-height: 1.4;
}

/* ========================================
   PLATFORM SCORECARD - Premium Comparison
   ======================================== */

.bash-platform-scorecard {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
    position: relative;
    overflow: hidden;
}


.bash-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.bash-platform-card {
    background: var(--bash-bg-premium);
    border: 2px solid var(--bash-border-light);
    border-radius: var(--bash-radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: var(--bash-transition);
    position: relative;
    overflow: hidden;
}

/* Platform-specific accent colors */
.bash-platform-card[data-platform="google"] { --platform-color: #EA4335; }
.bash-platform-card[data-platform="yelp"] { --platform-color: #D32323; }
.bash-platform-card[data-platform="bbb"] { --platform-color: #005A8C; }
.bash-platform-card[data-platform="diamond"] { --platform-color: #00A0D2; }
.bash-platform-card[data-platform="checkbook"] { --platform-color: #2E7D32; }

.bash-platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--platform-color, var(--bash-primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bash-platform-card:hover {
    border-color: var(--platform-color, var(--bash-primary));
    transform: translateY(-4px);
    box-shadow: var(--bash-shadow-lg);
}

.bash-platform-card:hover::before {
    transform: scaleX(1);
}

.bash-platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.bash-platform-icon {
    width: 36px;
    height: 36px;
    background: var(--platform-color, var(--bash-primary));
    color: white;
    border-radius: var(--bash-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--bash-shadow-sm);
}

.bash-platform-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bash-text-secondary);
}

.bash-platform-body {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bash-platform-rating {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.bash-rating-value {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--bash-text-primary);
}

.bash-rating-max {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--bash-text-muted);
}

.bash-platform-reviews {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--bash-text-muted);
    margin-top: 6px;
}

.bash-platform-grade {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--bash-success);
}

.bash-platform-certified {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bash-certified-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--bash-success);
}

.bash-certified-years {
    font-size: 14px;
    font-weight: 600;
    color: var(--bash-text-secondary);
}

.bash-platform-detail {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--bash-text-muted);
    margin-top: 6px;
}

.bash-platform-status {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bash-text-secondary);
    padding: 10px 18px;
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius);
    box-shadow: var(--bash-shadow-sm);
}

.bash-status-positive {
    background: rgba(5, 150, 105, 0.1);
    color: var(--bash-success);
}

.bash-platform-na {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--bash-text-muted);
    font-style: italic;
}

/* Delta Alert - Warning Banner */
.bash-platform-delta-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bash-bg-secondary);
    border: 1px solid var(--bash-border);
    border-radius: var(--bash-radius-lg);
}

.bash-delta-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bash-delta-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--bash-text-secondary);
    line-height: 1.6;
}

.bash-delta-text strong {
    color: var(--bash-primary);
    font-weight: 600;
}

/* ========================================
   SERVICES & INFO CARDS
   ======================================== */

.bash-services-section {
    margin-bottom: 40px;
}

.bash-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.bash-info-card {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-lg);
    padding: 28px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
    transition: var(--bash-transition);
}

.bash-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bash-shadow-lg);
}

.bash-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 16px;
}

/* Premium Tags */
.bash-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bash-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--bash-bg-premium);
    border: 1px solid var(--bash-border);
    border-radius: var(--bash-radius-full);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--bash-text-secondary);
    transition: var(--bash-transition-fast);
}

.bash-tag:hover {
    background: var(--bash-primary);
    border-color: var(--bash-primary);
    color: white;
    transform: translateY(-1px);
}

/* All tags use the same blue gradient styling */
.bash-tag-service,
.bash-tag-cert,
.bash-tag-brand,
.bash-tag-area,
.bash-tag-rebate,
.bash-tag-member,
.bash-tag-expertise {
    background: linear-gradient(135deg, rgba(25, 79, 173, 0.08) 0%, rgba(90, 155, 255, 0.12) 100%);
    border-color: rgba(25, 79, 173, 0.2);
    color: var(--bash-primary);
}

/* ========================================
   BESO SECTION - Premium Highlight
   ======================================== */

.bash-beso-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
    position: relative;
    overflow: hidden;
}

.bash-beso-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(5, 150, 105, 0.15);
    border-radius: var(--bash-radius-lg);
    padding: 28px;
}

.bash-beso-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bash-beso-icon {
    font-size: 40px;
}

.bash-beso-label {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--bash-success);
}

.bash-beso-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.bash-beso-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--bash-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bash-beso-item strong {
    color: var(--bash-text-primary);
    font-weight: 600;
}

.bash-beso-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--bash-text-muted);
    margin: 0;
    line-height: 1.7;
}

.bash-beso-note a {
    color: var(--bash-success);
    text-decoration: none;
    font-weight: 500;
}

.bash-beso-note a:hover {
    text-decoration: underline;
}

/* ========================================
   Q&A SECTIONS - Premium Styling
   ======================================== */

.bash-qa-section,
.bash-enhanced-qa-section,
.bash-rebates-section,
.bash-memberships-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

.bash-qa-list {
    display: grid;
    gap: 20px;
}

.bash-qa-item {
    padding: 20px 24px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--bash-radius-lg);
    transition: var(--bash-transition-fast);
}

.bash-qa-item:hover {
    background: #F1F5F9;
}

.bash-qa-compact {
    padding: 16px 20px;
}

.bash-qa-question {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--bash-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bash-qa-answer {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--bash-text-primary);
}

.bash-qa-group {
    margin-bottom: 28px;
}

.bash-qa-group:last-child {
    margin-bottom: 0;
}

.bash-qa-group-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bash-border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   ERROR CONTAINER
   ======================================== */

.bash-error-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.bash-error-container h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--bash-text-primary);
    margin-bottom: 16px;
}

.bash-error-container p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--bash-text-secondary);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .bash-hero-gradient {
        min-height: 240px;
        padding: 24px;
    }

    .bash-hero-badges {
        top: 16px;
        left: 16px;
        gap: 8px;
    }

    .bash-badge {
        padding: 8px 12px;
        font-size: 11px;
    }

    .bash-hero-score {
        top: 16px;
        right: 16px;
    }

    .bash-score-circle {
        width: 70px;
        height: 70px;
    }

    .bash-score-value {
        font-size: 32px;
    }

    .bash-hero-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .bash-hero-content .bash-business-name {
        font-size: 28px;
    }

    .bash-hero-content .bash-license-number {
        font-size: 13px;
    }

    .bash-hero-cta {
        bottom: 16px;
        right: 16px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .bash-cta-icon {
        font-size: 16px;
    }

    .bash-business-info {
        padding: 24px 0;
    }

    .bash-business-meta {
        padding: 16px 20px;
        gap: 16px;
    }

    .bash-contractor-single {
        padding: 16px;
    }

    .bash-business-actions {
        flex-direction: column;
    }

    .bash-action-button {
        width: 100%;
        justify-content: center;
    }

    .bash-content {
        padding: 24px 0;
    }

    .bash-master-critic,
    .bash-platform-scorecard,
    .bash-beso-section,
    .bash-qa-section,
    .bash-enhanced-qa-section,
    .bash-rebates-section,
    .bash-memberships-section {
        padding: 28px;
        border-radius: var(--bash-radius-lg);
    }

    .bash-critic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bash-critic-score {
        font-size: 52px;
    }

    .bash-section-title {
        font-size: 22px;
    }

    .bash-pillar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bash-platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bash-platform-card {
        padding: 16px 12px;
    }

    .bash-rating-value {
        font-size: 28px;
    }

    .bash-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bash-platform-grid {
        grid-template-columns: 1fr;
    }

    .bash-hero-badges {
        max-width: 60%;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .bash-hero {
        min-height: auto;
    }

    .bash-hero-gradient {
        background: #f0f0f0 !important;
        min-height: auto;
        padding: 20px;
    }

    .bash-hero-gradient::before,
    .bash-hero-gradient::after,
    .bash-score-circle::before {
        display: none;
    }

    .bash-action-button {
        display: none;
    }

    .bash-contractor-single {
        background: white;
    }

    .bash-content {
        background: white;
        padding: 20px;
    }

    .bash-content::before {
        display: none;
    }

    .bash-master-critic,
    .bash-platform-scorecard,
    .bash-info-card,
    .bash-qa-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bash-master-critic {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.bash-platform-scorecard {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.bash-info-card {
    animation: fadeInScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bash-info-card:nth-child(1) { animation-delay: 0.3s; }
.bash-info-card:nth-child(2) { animation-delay: 0.4s; }
.bash-info-card:nth-child(3) { animation-delay: 0.5s; }
.bash-info-card:nth-child(4) { animation-delay: 0.6s; }

.bash-beso-section {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

.bash-qa-section,
.bash-enhanced-qa-section {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.bash-pillar-fill {
    animation: growWidth 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes growWidth {
    from {
        width: 0;
    }
}

/* Badge stagger animation */
.bash-hero-badges .bash-badge {
    animation: fadeInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bash-hero-badges .bash-badge:nth-child(1) { animation-delay: 0.2s; }
.bash-hero-badges .bash-badge:nth-child(2) { animation-delay: 0.3s; }
.bash-hero-badges .bash-badge:nth-child(3) { animation-delay: 0.4s; }

.bash-hero-score {
    animation: fadeInScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

/* Platform card stagger */
.bash-platform-card {
    animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bash-platform-card:nth-child(1) { animation-delay: 0.25s; }
.bash-platform-card:nth-child(2) { animation-delay: 0.3s; }
.bash-platform-card:nth-child(3) { animation-delay: 0.35s; }
.bash-platform-card:nth-child(4) { animation-delay: 0.4s; }
.bash-platform-card:nth-child(5) { animation-delay: 0.45s; }
.bash-platform-card:nth-child(6) { animation-delay: 0.5s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   CONTEXTUAL FAQs SECTION
   ======================================== */

.bash-contextual-faqs-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

/* ========================================
   COMPARISONS SECTION
   ======================================== */

.bash-comparisons-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

.bash-comparisons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.bash-comparison-card {
    padding: 24px;
    border-radius: var(--bash-radius-lg);
    border: 1px solid var(--bash-border-light);
}

.bash-comparison-positive {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-color: rgba(5, 150, 105, 0.2);
}

.bash-comparison-consider {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, rgba(251, 191, 36, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.bash-comparison-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 12px;
}

.bash-comparison-positive .bash-comparison-title {
    color: var(--bash-success);
}

.bash-comparison-consider .bash-comparison-title {
    color: #D97706;
}

.bash-comparison-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--bash-text-secondary);
    margin: 0;
}

/* ========================================
   REVIEW SYNTHESIS SECTION
   ======================================== */

.bash-review-synthesis-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

.bash-review-group {
    margin-bottom: 28px;
}

.bash-review-group:last-child {
    margin-bottom: 0;
}

.bash-review-group-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 16px;
}

.bash-review-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.bash-review-list li {
    padding: 12px 16px;
    background: var(--bash-bg-secondary);
    border-radius: var(--bash-radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--bash-text-secondary);
    position: relative;
    padding-left: 36px;
}

.bash-review-list li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bash-review-positive li::before {
    background: var(--bash-success);
}

.bash-review-negative li::before {
    background: #F59E0B;
}

.bash-review-red-flags li::before {
    background: var(--bash-danger);
}

.bash-owner-response {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--bash-text-secondary);
    padding: 16px;
    background: var(--bash-bg-secondary);
    border-radius: var(--bash-radius);
    border-left: 4px solid var(--bash-primary);
    margin: 0;
}

/* ========================================
   CSLB LICENSE SECTION
   ======================================== */

.bash-cslb-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

.bash-cslb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.bash-cslb-item {
    padding: 16px;
    background: var(--bash-bg-secondary);
    border-radius: var(--bash-radius);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bash-cslb-full {
    grid-column: 1 / -1;
}

.bash-cslb-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--bash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bash-cslb-value {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--bash-text-primary);
}

.bash-status-active {
    color: var(--bash-success);
}

/* ========================================
   KNOWS ABOUT / EXPERTISE SECTION
   ======================================== */

.bash-knows-about-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

/* bash-tag-expertise now uses shared neutral styling above */

/* ========================================
   DATA SOURCES SECTION
   ======================================== */

.bash-data-sources-section {
    background: var(--bash-bg-primary);
    border-radius: var(--bash-radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--bash-shadow-card);
    border: 1px solid var(--bash-border);
}

.bash-sources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bash-source-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(25, 79, 173, 0.08) 0%, rgba(90, 155, 255, 0.12) 100%);
    border: 1px solid rgba(25, 79, 173, 0.2);
    border-radius: var(--bash-radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--bash-primary);
    text-decoration: none;
    transition: var(--bash-transition);
}

.bash-source-link:hover {
    background: var(--bash-primary);
    border-color: var(--bash-primary);
    color: white;
    transform: translateY(-1px);
}

/* ========================================
   FOCUS STATES FOR ACCESSIBILITY
   ======================================== */

*:focus-visible {
    outline: 3px solid var(--bash-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline-color: var(--bash-primary);
}
