/* ====== Local SEO Landing Pages (PBI #45815) ====== */

.local-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ====== HERO SECTION ====== */
.local-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #262626 0%, #444 100%);
}
.local-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
}
.local-hero-content {
    position: relative;
    padding: 48px 40px;
    max-width: 720px;
    color: #fff;
}
.local-hero-badge {
    display: inline-block;
    background: #C4112F;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.local-hero h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    padding: 0;
    border: 0;
    color: #fff;
}
.local-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}
.local-hero-cta {
    display: inline-block;
    background: #C4112F;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.local-hero-cta:hover {
    background: #9E0D25;
    color: #fff;
    text-decoration: none;
}

/* Per-city hero gradients — brand-color tints. Marketing-supplied photography
   is a Phase 3 polish pass; placeholder gradients keep the visual treatment
   distinct per page without stock-photo risk. */
.local-hero--hub          { background: linear-gradient(135deg, #262626 0%, #C4112F 60%, #9E0D25 100%); }
.local-hero--los-angeles  { background: linear-gradient(135deg, #8B2500 0%, #C4112F 50%, #444 100%); }
.local-hero--san-francisco { background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 50%, #444 100%); }
.local-hero--phoenix      { background: linear-gradient(135deg, #6b1d00 0%, #C4112F 50%, #444 100%); }
.local-hero--albuquerque  { background: linear-gradient(135deg, #5c2a1a 0%, #8B4513 50%, #444 100%); }
.local-hero--bend         { background: linear-gradient(135deg, #1f3d2c 0%, #2d5a3c 50%, #444 100%); }
.local-hero--dallas       { background: linear-gradient(135deg, #262626 0%, #C4112F 50%, #444 100%); }
.local-hero--el-paso      { background: linear-gradient(135deg, #4a2510 0%, #8B4513 50%, #444 100%); }

/* ====== VALUE PROPS BAR ====== */
.local-valueprops {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 48px;
}
.local-vp {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.local-vp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C4112F;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}
.local-vp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.local-vp-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #262626;
}
.local-vp-text span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ====== CITY-SPECIFIC COPY BLOCK ====== */
.local-copy {
    margin-bottom: 48px;
    max-width: 880px;
}
.local-copy p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 18px 0;
}
.local-copy p:last-child { margin-bottom: 0; }

/* ====== PRODUCT GRID SECTION ====== */
.local-products {
    margin-bottom: 48px;
}
.local-products h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 20px 0;
}
#local-hits .ais-Hits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
#local-hits .ais-Hits-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0;
}
#local-hits {
    min-height: 300px;
}
.local-no-products {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 15px;
}

/* ====== WHY BUYDIRECT SECTION ====== */
.local-benefits {
    margin-bottom: 48px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 40px 32px;
}
.local-benefits h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 28px 0;
    text-align: center;
}
.local-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.local-benefit {
    text-align: center;
}
.local-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C4112F;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    margin: 0 auto 12px auto;
}
.local-benefit strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 6px;
}
.local-benefit p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ====== SERVICE AREA LIST ====== */
.local-service-area {
    margin-bottom: 48px;
}
.local-service-area h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 16px 0;
}
.local-service-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 16px;
}
.local-service-area-list li {
    font-size: 14px;
    color: #333;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ====== HUB PAGE — INTRO + REGION CARDS ====== */
.local-hub-intro {
    max-width: 880px;
    margin-bottom: 36px;
}
.local-hub-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}
.local-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.local-hub-card {
    display: block;
    padding: 24px 20px;
    background: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.local-hub-card:hover {
    border-color: #C4112F;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}
.local-hub-card-region {
    display: inline-block;
    background: #C4112F;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.local-hub-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 8px 0;
}
.local-hub-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 14px 0;
}
.local-hub-card-cta {
    font-size: 13px;
    font-weight: 600;
    color: #C4112F;
}

/* ====== CTA BANNER ====== */
.local-cta {
    background: #C4112F;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 48px;
}
.local-cta h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
}
.local-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}
.local-cta-btn {
    display: inline-block;
    background: #fff;
    color: #C4112F;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.local-cta-btn:hover {
    background: #f5f5f5;
    color: #9E0D25;
    text-decoration: none;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .local-valueprops { grid-template-columns: repeat(2, 1fr); }
    .local-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .local-service-area-list { grid-template-columns: repeat(3, 1fr); }
    .local-hub-grid { grid-template-columns: repeat(2, 1fr); }
    #local-hits .ais-Hits-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .local-page { padding: 0 12px; }
    .local-hero {
        min-height: 240px;
        margin-bottom: 28px;
        border-radius: 8px;
    }
    .local-hero-content { padding: 28px 20px; }
    .local-hero h1 { font-size: 22px; }
    .local-hero-sub {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .local-hero-cta {
        font-size: 13px;
        padding: 10px 20px;
    }

    .local-valueprops {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 16px;
        margin-bottom: 32px;
    }

    .local-copy p { font-size: 15px; }

    .local-products { margin-bottom: 32px; }
    .local-products h2 { font-size: 18px; }
    #local-hits .ais-Hits-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .local-benefits {
        padding: 28px 16px;
        margin-bottom: 32px;
    }
    .local-benefits h2 { font-size: 18px; }
    .local-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .local-benefit {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .local-benefit-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .local-service-area-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .local-hub-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .local-cta {
        padding: 32px 20px;
        margin-bottom: 32px;
        border-radius: 8px;
    }
    .local-cta h2 { font-size: 20px; }
    .local-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
