/* ================================================================
   HVAC247PRO - Blog Bottom Sections
   5 Sections below pagination: Services, Benefits, Areas, CTA, Trust
   Navy (#0a1628) + Gold (#e92227) Theme
   Version: 1.0
   ================================================================ */

/* ----------------------------------------------------------------
   SHARED SECTION STYLES
   ---------------------------------------------------------------- */
.blog-bottom-sections {
    position: relative;
    z-index: 2;
}

.blog-bottom-sections section {
    padding: 60px 0;
}

.blog-bottom-sections .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-bottom-sections h2 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-bottom-sections h2 span {
    color: #e92227 !important;
}

.blog-bottom-sections .section-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6) !important;
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ----------------------------------------------------------------
   SECTION 1: Featured Services Showcase
   ---------------------------------------------------------------- */
.featured-services-section {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.6) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e92227, #9e1f24);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 40, 46, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 36px;
    color: #e92227 !important;
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e92227 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-card .service-link:hover {
    gap: 10px;
}

/* ----------------------------------------------------------------
   SECTION 2: Contractor Benefits
   ---------------------------------------------------------------- */
.contractor-benefits-section {
    background: linear-gradient(135deg, rgba(19, 35, 55, 0.6) 0%, rgba(10, 22, 40, 0.8) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 40, 46, 0.25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.benefit-card .benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(197, 40, 46, 0.1);
    border: 2px solid rgba(197, 40, 46, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0;
    line-height: 1.5;
}

/* ----------------------------------------------------------------
   SECTION 3: Service Areas Map
   ---------------------------------------------------------------- */
.service-areas-section {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.4) 0%, rgba(10, 22, 40, 0.7) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.area-column {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
}

.area-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #e92227 !important;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(197, 40, 46, 0.2);
}

.area-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-column ul li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.area-column ul li:last-child {
    border-bottom: none;
}

.area-column ul li::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #e92227 !important;
    flex-shrink: 0;
}

.coverage-note {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #e92227 !important;
    margin: 0;
    padding-top: 8px;
}

/* ----------------------------------------------------------------
   SECTION 4: Final CTA Banner
   ---------------------------------------------------------------- */
.final-cta-banner {
    background: linear-gradient(135deg, #132337 0%, #0a1628 50%, #132337 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0 !important;
}

.final-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(197, 40, 46, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-banner .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-banner h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.final-cta-banner .cta-content > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65) !important;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: #e92227;
    color: #0a1628 !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(197, 40, 46, 0.3);
}

.btn-primary-large:hover {
    background: #e8434a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 40, 46, 0.45);
}

.btn-primary-large i {
    color: #0a1628 !important;
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    border-color: #e92227;
    color: #e92227 !important;
    transform: translateY(-3px);
}

.license-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0;
}

/* ----------------------------------------------------------------
   SECTION 5: Trust Badges
   ---------------------------------------------------------------- */
.trust-badges-section {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.3) 100%);
    padding: 50px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: rgba(197, 40, 46, 0.25);
    transform: translateY(-3px);
}

.badge i {
    font-size: 28px;
    color: #e92227 !important;
}

.badge span {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.2;
}

.badge small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 500;
}

/* ----------------------------------------------------------------
   RESPONSIVE - Tablet (1024px and below)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid,
    .benefits-grid,
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-bottom-sections h2 {
        font-size: 24px;
    }

    .final-cta-banner h2 {
        font-size: 26px;
    }

    .badges-grid {
        gap: 20px;
    }
}

/* ----------------------------------------------------------------
   RESPONSIVE - Mobile (768px and below)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
    .blog-bottom-sections section {
        padding: 44px 0;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-bottom-sections h2 {
        font-size: 22px;
    }

    .final-cta-banner h2 {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 16px 24px;
    }

    .service-card,
    .benefit-card {
        padding: 24px 18px;
    }

    .badges-grid {
        gap: 12px;
    }

    .badge {
        min-width: 100px;
        padding: 16px 12px;
    }

    .badge i {
        font-size: 24px;
    }

    .badge span {
        font-size: 12px;
    }
}

/* ----------------------------------------------------------------
   RESPONSIVE - Small Mobile (480px and below)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blog-bottom-sections h2 {
        font-size: 20px;
    }

    .final-cta-banner {
        padding: 50px 0 !important;
    }

    .badges-grid {
        gap: 10px;
    }

    .badge {
        min-width: 90px;
        padding: 14px 10px;
    }
}

/* ----------------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover,
    .benefit-card:hover,
    .badge:hover,
    .btn-primary-large:hover,
    .btn-secondary-large:hover {
        transform: none;
    }
}

/* ----------------------------------------------------------------
   PRINT STYLES
   ---------------------------------------------------------------- */
@media print {
    .final-cta-banner,
    .trust-badges-section {
        display: none !important;
    }

    .blog-bottom-sections section {
        padding: 20px 0;
    }

    .services-grid,
    .benefits-grid,
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
