/**
 * KFX Roofing - Blue Smoke Pages Stylesheet
 *
 * Consolidated styles for page templates, archives, and singles.
 * Extracted from inline styles during JOB-010 audit.
 *
 * Table of Contents:
 * 1. 404 PAGE
 * 2. ABOUT PAGE
 * 3. CONTACT PAGE
 * 4. REVIEWS PAGE
 * 5. PROJECT ARCHIVE
 * 6. SERVICE AREA ARCHIVE
 * 7. PROJECT SINGLE
 * 8. SERVICE AREA SINGLE
 *
 * @package KFX_Theme
 * @since 1.0.0
 */

/* ===========================================
   1. 404 PAGE
   =========================================== */

.error-404 {
    background: var(--bs-bg-section, #0a1628);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-wrapper {
    width: 100%;
    padding: 4rem 1.5rem;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Alert Icon Box */
.error-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(17, 141, 240, 0.15);
    border: 2px solid rgba(17, 141, 240, 0.4);
    margin-bottom: 1.5rem;
    color: var(--bs-primary-blue, #118df0);
}

/* Title */
.error-404 h1 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.75rem;
}

/* Description */
.error-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(17, 141, 240, 0.3);
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    background: rgba(17, 141, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--bs-primary-blue, #118df0);
}

.quick-link-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-text-white, #fff);
    margin-bottom: 0.25rem;
}

.quick-link-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Search */
.error-search {
    max-width: 500px;
    margin: 0 auto;
}

.error-search .search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.error-search .search-field {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bs-text-white, #fff);
    font-size: 0.95rem;
    border-radius: 0;
}

.error-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.error-search .search-field:focus {
    outline: none;
    border-color: var(--bs-primary-blue, #118df0);
    background: rgba(255, 255, 255, 0.08);
}

.error-search .search-submit {
    padding: 1rem 1.5rem;
    background: var(--bs-primary-blue, #118df0);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.error-search .search-submit:hover {
    background: var(--bs-primary-blue-dark, #0a6bc4);
}

/* 404 Responsive */
@media (max-width: 768px) {
    .error-404-wrapper {
        padding: 3rem 1rem;
    }

    .error-icon-box {
        width: 80px;
        height: 80px;
    }

    .error-icon-box svg {
        width: 40px;
        height: 40px;
    }

    .error-404 h1 {
        font-size: 2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-search .search-form {
        flex-direction: column;
    }

    .error-search .search-submit {
        width: 100%;
    }
}


/* ===========================================
   2. ABOUT PAGE
   =========================================== */

.about-page {
    background: var(--bs-bg-dark, #050a15);
}

/* About Page Section Header */
.about-page .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-page .section-header h2 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 1rem;
}

.about-page .section-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Company Story */
.about-story {
    padding: 5rem 1.5rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.story-title {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .story-title {
        font-size: 2.5rem;
    }
}

.story-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.story-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.about-page .stat-item {
    display: flex;
    flex-direction: column;
}

.about-page .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary-blue, #118df0);
}

.about-page .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story image with gradient fade overlay (matches repair types styling) */
.story-image--fade {
    position: relative;
}

.story-image--fade img {
    border-radius: var(--bs-radius-sm, 6px);
}

.story-image--fade::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--bs-radius-sm, 6px);
    background: radial-gradient(
        ellipse at center,
        transparent 50%,
        rgba(15, 23, 42, 0.4) 85%,
        rgba(15, 23, 42, 0.8) 100%
    );
    pointer-events: none;
}

.about-page .image-placeholder {
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .about-page .image-placeholder {
        height: 500px;
    }
}

/* Mission & Values */
.about-values {
    padding: 5rem 1.5rem;
}

.mission-box {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.mission-quote {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary-blue, #118df0);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    font-family: Georgia, serif;
}

.mission-label {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--bs-primary-blue, #118df0);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1.5rem;
}

.mission-text {
    font-size: 1.5rem;
    color: var(--bs-text-white, #fff);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

@media (max-width: 768px) {
    .mission-text {
        font-size: 1.25rem;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(17, 141, 240, 0.3);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.2) 0%, rgba(17, 141, 240, 0.1) 100%);
    border: 1px solid rgba(17, 141, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bs-primary-blue, #118df0);
}

.value-card h3 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Team Profiles */
.about-team {
    padding: 5rem 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(17, 141, 240, 0.3);
}

.team-photo {
    height: 280px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, rgba(10, 22, 40, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.experience-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--bs-primary-blue, #118df0);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.team-content {
    padding: 1.5rem;
}

.team-content h3 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.25rem;
}

.team-title {
    font-size: 0.9rem;
    color: var(--bs-primary-blue, #118df0);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.team-specialty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1rem;
}

.team-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.team-certs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cert-badge {
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.3);
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    color: var(--bs-primary-blue, #118df0);
    font-weight: 600;
}

.team-fun-fact {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.team-fun-fact::before {
    content: '\01F4A1 ';
}

/* Certifications */
.about-certs {
    padding: 5rem 1.5rem;
}

.about-certs .container {
    max-width: 1000px;
}

.certs-primary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .certs-primary {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-card.cert-primary {
    background: rgba(17, 141, 240, 0.08);
    border: 1px solid rgba(17, 141, 240, 0.4);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cert-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6rem;
}

.cert-info h3 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.25rem;
}

.cert-info p {
    font-size: 0.9rem;
    color: var(--bs-primary-blue, #118df0);
    font-weight: 600;
    margin: 0;
}

.certs-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 576px) {
    .certs-secondary {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cert-card.cert-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    text-align: center;
}

.cert-card.cert-secondary h4 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.25rem;
}

.cert-card.cert-secondary p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.certs-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-icon {
    color: var(--bs-primary-blue, #118df0);
}

.trust-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-text-white, #fff);
}

.trust-sub {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Stats Strip */
.about-stats {
    background: linear-gradient(135deg, #0a1628 0%, #050a15 50%, #0a1628 100%);
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(17, 141, 240, 0.3);
    border-bottom: 1px solid rgba(17, 141, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(17, 141, 240, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-block {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary-blue, #118df0);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3.5rem;
    }
}

.stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Community */
.about-community {
    padding: 5rem 1.5rem;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .community-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.community-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-icon {
    width: 48px;
    height: 48px;
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bs-primary-blue, #118df0);
}

.community-content h3 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 0.5rem;
}

.community-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.community-image .image-placeholder {
    height: 450px;
}

/* Location */
.about-location {
    padding: 5rem 1.5rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 400px;
    }
}

.location-map {
    min-height: 300px;
    border-radius: var(--bs-radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

@media (min-width: 1024px) {
    .location-map {
        min-height: 400px;
    }
    .location-map iframe {
        min-height: 400px;
    }
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.location-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
}

.location-info h3 {
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--bs-text-white, #fff);
    margin: 0 0 1.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    color: var(--bs-primary-blue, #118df0);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.info-value {
    display: block;
    font-size: 1rem;
    color: var(--bs-text-white, #fff);
    line-height: 1.5;
}

.info-link {
    font-size: 1rem;
    color: var(--bs-primary-blue, #118df0);
    text-decoration: none;
    font-weight: 600;
}

.info-link:hover {
    text-decoration: underline;
}

.location-cta {
    display: block;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bs-primary-blue, #118df0) 0%, var(--bs-primary-blue-dark, #0a6bc4) 100%);
    border-radius: var(--contact-card-radius, 8px);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.location-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 141, 240, 0.4);
}

.location-cta svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    margin-top: -2px;
}

/* ============================================
   INTERACTIVE DIRECTIONS MAP
   ============================================ */

/* Directions Form */
.directions-form-wrapper {
    /* Spacing handled by .location-map-column gap */
}

.directions-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.directions-input-group {
    flex: 1;
    min-width: 200px;
}

.directions-input-group .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bs-radius-sm);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.directions-input-group .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.directions-input-group .form-input:focus {
    outline: none;
    border-color: var(--bs-primary-blue, #118df0);
    background: rgba(17, 141, 240, 0.05);
    box-shadow: 0 0 0 3px rgba(17, 141, 240, 0.1);
}

.directions-location-btn,
.directions-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--bs-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.directions-location-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.directions-location-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.directions-submit-btn {
    background: linear-gradient(135deg, var(--bs-primary-blue, #118df0) 0%, var(--bs-primary-blue-dark, #0a6bc4) 100%);
    color: #fff;
}

.directions-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 141, 240, 0.4);
}

/* Map Column (contains form + map on same grid column) */
.location-map-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Interactive Map Container */
.location-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-map--interactive {
    min-height: 400px;
    border-radius: var(--bs-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Google Maps Info Window overrides - reduce default padding */
.location-map--interactive .gm-style-iw-c {
    padding: 8px !important;
}

.location-map--interactive .gm-style-iw-d {
    overflow: hidden !important;
}

/* Google Places Autocomplete dropdown styling */
.pac-container {
    background: #0a1628;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--bs-radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    margin-top: 4px;
}

.pac-item {
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background: rgba(17, 141, 240, 0.15);
}

.pac-item-query {
    color: #fff;
    font-weight: 500;
}

.pac-matched {
    color: #118df0;
    font-weight: 600;
}

.pac-icon {
    filter: invert(1) brightness(0.7);
}

/* Directions Panel (step-by-step directions) */
.directions-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bs-radius-sm);
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

/* Style Google's directions output */
.directions-panel .adp {
    background: transparent !important;
}

.directions-panel .adp-placemark {
    background: rgba(17, 141, 240, 0.1) !important;
    border: 1px solid rgba(17, 141, 240, 0.3) !important;
    border-radius: var(--bs-radius-sm);
    margin-bottom: 0.5rem;
    padding: 0.75rem !important;
}

.directions-panel .adp-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem !important;
}

.directions-panel .adp-substep {
    color: rgba(255, 255, 255, 0.7) !important;
}

.directions-panel .adp-summary {
    background: rgba(17, 141, 240, 0.15) !important;
    border-radius: var(--bs-radius-sm);
    padding: 0.75rem !important;
    color: #fff !important;
    font-weight: 600;
}

.directions-panel table {
    width: 100%;
}

.directions-panel td {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Directions Summary */
.directions-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, rgba(17, 141, 240, 0.05) 100%);
    border-radius: var(--bs-radius-sm);
    margin-bottom: 1rem;
    border: 1px solid rgba(17, 141, 240, 0.3);
}

.directions-stats {
    display: flex;
    gap: 2rem;
}

.directions-stat {
    display: flex;
    flex-direction: column;
}

.directions-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary-blue, #118df0);
    font-family: var(--bs-font-heading, 'Roboto Condensed', sans-serif);
}

.directions-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Directions Action Buttons */
.directions-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.directions-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--bs-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.directions-action-btn.btn-primary {
    background: var(--bs-primary-blue, #118df0);
    color: #fff;
    border: none;
}

.directions-action-btn.btn-primary:hover {
    background: var(--bs-primary-blue-bright, #3BA3F5);
    transform: translateY(-1px);
}

.directions-action-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.directions-action-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .directions-form-row {
        flex-direction: column;
    }

    .directions-input-group {
        width: 100%;
    }

    .directions-location-btn,
    .directions-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .directions-summary {
        gap: 1rem;
    }

    .directions-stat-value {
        font-size: 1.25rem;
    }

    .directions-actions {
        flex-direction: column;
    }

    .directions-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Screen reader only helper */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Directions Section (Contact Page) */
.directions-section {
    padding: 4rem 0;
}

.directions-section .directions-form-wrapper {
    margin-bottom: 1.5rem;
}

.directions-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.directions-map-wrapper .location-map {
    border-radius: var(--bs-radius-sm);
    overflow: hidden;
}

.directions-map-wrapper .directions-panel {
    border-radius: var(--bs-radius-sm);
}

/* ===========================================
   SECTION SPACING - Site-wide Consistency
   =========================================== */
:root {
    --section-gap: 3rem; /* 48px - consistent spacing between sections */
}

/* Inline Directions Section (inside left column) */
.directions-section-inline {
    margin-top: var(--section-gap);
}

.directions-section-inline .section-header {
    margin-bottom: 1.5rem;
}

.directions-section-inline .section-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.directions-section-inline .section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.directions-section-inline .directions-form-wrapper {
    margin-bottom: 1.5rem;
}


/* ===========================================
   3. CONTACT PAGE
   =========================================== */

.contact-page {
    --contact-blue: #118df0;
    --contact-blue-dark: #0a6bc4;
    --contact-bg-dark: #050a15;
    --contact-bg-section: #0a1628;
    --contact-glass-bg: rgba(255, 255, 255, 0.03);
    --contact-glass-border: rgba(255, 255, 255, 0.08);
    --contact-text-white: #ffffff;
    --contact-text-muted: rgba(255, 255, 255, 0.7);
    --contact-text-subtle: rgba(255, 255, 255, 0.5);
    --contact-orange: #ffa500;
}

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, var(--contact-bg-dark) 0%, var(--contact-bg-section) 100%);
    text-align: center;
    overflow: hidden;
}

.contact-hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.contact-hero-glow--left {
    top: -200px;
    left: 10%;
    background: radial-gradient(circle, rgba(17, 141, 240, 0.15) 0%, transparent 70%);
}

.contact-hero-glow--right {
    bottom: -200px;
    right: 10%;
    background: radial-gradient(circle, rgba(17, 141, 240, 0.1) 0%, transparent 70%);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.3);
    color: var(--contact-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--contact-text-white);
    margin: 0 0 20px;
    line-height: 1.1;
}

.contact-page .text-blue {
    color: var(--contact-blue);
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--contact-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Main Content Grid */
.contact-main {
    padding: 60px 0;
    background: var(--contact-bg-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Standardized border-radius for all contact page cards */
:root {
    --contact-card-radius: 8px;
}

/* Contact Form */
.form-glass {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--contact-glass-border);
    border-radius: var(--contact-card-radius);
    overflow: hidden;
}

.form-header {
    background: transparent;
    padding: 24px 24px 0;
    text-align: center;
}

.form-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--contact-text-white);
    margin: 0;
}

.form-body {
    padding: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--contact-card-radius);
    padding: 14px 16px;
    color: var(--contact-text-white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--contact-blue);
    background: rgba(255, 255, 255, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--contact-text-subtle);
}

.form-select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
    color: var(--contact-text-muted);
}

.form-select option {
    background: var(--contact-bg-section);
    color: var(--contact-text-white);
}

.form-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--contact-blue);
    pointer-events: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--contact-blue) 0%, var(--contact-blue-dark) 100%);
    border: none;
    border-radius: var(--contact-card-radius);
    padding: 16px;
    color: var(--contact-text-white);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(17, 141, 240, 0.4);
    transition: all 0.3s ease;
}

.form-submit:hover {
    box-shadow: 0 6px 30px rgba(17, 141, 240, 0.5);
    transform: translateY(-2px);
}

.form-privacy {
    color: var(--contact-text-subtle);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 16px 0 0;
}

/* Form Messages (AJAX response) */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--contact-card-radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.form-message--success svg {
    color: #22c55e;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.form-message--error svg {
    color: #ef4444;
}

/* Submit button loading state */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.form-submit .spinner {
    animation: spin 1s linear infinite;
}

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

/* Google Places Autocomplete Dropdown (dark theme) */
.pac-container {
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--contact-card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    font-family: inherit;
    margin-top: 4px;
}

.pac-item {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.9rem;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background: rgba(17, 141, 240, 0.2);
}

.pac-item-query {
    color: #fff;
    font-weight: 500;
}

.pac-matched {
    color: var(--contact-blue);
    font-weight: 600;
}

.pac-icon {
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

/* Hide Google logo in autocomplete */
.pac-logo::after {
    display: none;
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--contact-glass-bg);
    border: 1px solid var(--contact-glass-border);
    border-radius: var(--contact-card-radius);
    padding: 24px;
}

.info-card--highlight {
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, rgba(10, 22, 40, 0.9) 100%);
    border-color: rgba(17, 141, 240, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--contact-blue) 0%, var(--contact-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--contact-text-white);
}

.info-card-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--contact-text-muted);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-phone {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--contact-text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-phone:hover {
    color: var(--contact-blue);
}

.info-subtext {
    color: var(--contact-text-subtle);
    font-size: 0.85rem;
    margin: 4px 0 0;
}

.info-card-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--contact-text-white);
    margin: 0 0 20px;
}

.contact-page .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-page .info-item:last-of-type {
    margin-bottom: 0;
}

.contact-page .info-item svg {
    color: var(--contact-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-page .info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--contact-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-page .info-item a {
    color: var(--contact-text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-page .info-item a:hover {
    color: var(--contact-blue);
}

.contact-page .info-item address,
.contact-page .info-item p {
    color: var(--contact-text-muted);
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-emergency {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: var(--contact-card-radius);
}

.info-emergency svg {
    color: var(--contact-orange);
}

.info-emergency span {
    color: var(--contact-orange);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.social-links--full {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--contact-glass-bg);
    border: 1px solid var(--contact-glass-border);
    border-radius: var(--contact-card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contact-text-muted);
    transition: all 0.3s ease;
}

.social-links--full .social-link {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.social-link:hover {
    background: rgba(17, 141, 240, 0.1);
    border-color: rgba(17, 141, 240, 0.3);
    color: var(--contact-blue);
}

.review-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: var(--contact-card-radius);
    color: var(--contact-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.review-cta svg {
    color: var(--contact-orange);
}

.review-cta:hover {
    background: rgba(255, 165, 0, 0.2);
}

/* Map Placeholder */
.info-card--map {
    padding: 0;
    overflow: hidden;
}

.contact-page .map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.1) 0%, var(--contact-bg-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-page .map-placeholder svg {
    color: var(--contact-blue);
    opacity: 0.5;
}

.contact-page .map-placeholder span {
    color: var(--contact-text-muted);
    font-size: 1.1rem;
    font-weight: 600;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--contact-blue);
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.map-link:hover {
    gap: 10px;
}

/* Trust Section */
.contact-trust {
    padding: 48px 0;
    background: var(--contact-bg-dark);
    border-top: 1px solid var(--contact-glass-border);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-page .trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--contact-text-subtle);
    font-size: 0.9rem;
}

.contact-page .trust-badge svg {
    color: var(--contact-blue);
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .contact-hero p {
        font-size: 1.05rem;
    }

    .contact-main {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-card--highlight {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        gap: 24px;
    }

    .contact-page .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 48px 0;
    }

    .contact-hero h1 {
        font-size: 1.85rem;
    }

    .contact-main {
        padding: 48px 0;
    }

    .form-body {
        padding: 16px;
    }

    .info-card {
        padding: 20px;
    }
}


/* ===========================================
   4. REVIEWS PAGE
   =========================================== */

.reviews-page {
    background: #0a1628;
    min-height: 100vh;
}

/* Reviews Hero Section */
.reviews-hero {
    background: linear-gradient(180deg, #050a15 0%, #0a1628 100%);
    padding: 4rem 0;
    text-align: center;
}

.reviews-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.75rem;
    color: #fff;
    margin: 0 0 1rem;
}

.reviews-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Aggregate Rating Card */
.aggregate-rating-card {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bs-radius-xs);
}

.rating-score {
    text-align: center;
}

.rating-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.rating-stars svg {
    width: 20px;
    height: 20px;
    color: #ffa500;
    fill: currentColor;
}

.rating-details {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    text-align: left;
}

.rating-count-total {
    display: flex;
    flex-direction: column;
}

.rating-count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.rating-count-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.rating-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.source-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.source-pill svg {
    flex-shrink: 0;
}

.google-review-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.google-review-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.google-review-btn svg {
    width: 20px;
    height: 20px;
}

/* Reviews Filter Section */
.reviews-filters {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-filters .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 1;
    min-width: 0;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-tab.active {
    background: #118df0;
    border-color: #118df0;
    font-weight: 600;
}

.filter-selects {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.sort-select,
.source-select,
.city-select {
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.sort-select:hover,
.source-select:hover,
.city-select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.sort-select:focus,
.source-select:focus,
.city-select:focus {
    outline: none;
    border-color: #118df0;
}

.sort-select option,
.source-select option,
.city-select option {
    background: #0a1628;
    color: #fff;
    padding: 0.5rem;
}

/* Reviews Grid */
.reviews-grid-section {
    padding: 3rem 0;
}

/* NOTE: .reviews-grid is defined in blue-smoke-theme.css (design system) */

@media (max-width: 968px) {
    .aggregate-rating-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .rating-details {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 1.5rem;
        text-align: center;
    }
    .rating-sources {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .reviews-hero h1 {
        font-size: 2rem;
    }
}

/* Review Card */
.review-card-full {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.review-card-full.hidden {
    display: none;
}

.review-card-full:hover {
    border-color: rgba(17, 141, 240, 0.3);
}

/* Quote Icon */
.review-quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    color: rgba(17, 141, 240, 0.2);
}

/* Review Header */
.review-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.4) 0%, rgba(10, 107, 196, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.review-author-name span {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.65rem;
    color: #22c55e;
}

.verified-badge svg {
    width: 10px;
    height: 10px;
}

.review-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Stars + Service */
.review-stars-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 0.15rem;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    fill: #ffa500;
}

.service-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.3);
    font-size: 0.7rem;
    color: #118df0;
    font-weight: 600;
}

/* Highlight Quote */
.review-highlight {
    padding: 0.75rem 1rem;
    background: rgba(17, 141, 240, 0.1);
    border-left: 3px solid #118df0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #fff;
    font-style: italic;
}

/* Review Text Wrapper - handles truncation */
.review-text-wrapper {
    flex: 1;
    position: relative;
}

.review-text-wrapper.is-truncated .review-text {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.review-text-wrapper.is-truncated .review-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(10, 22, 40, 1));
    pointer-events: none;
}

.review-text-wrapper.is-expanded .review-text {
    max-height: none;
}

.review-text-wrapper.is-expanded .review-text::after {
    display: none;
}

/* Review Text */
.review-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Read More Button */
.review-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0;
    background: transparent;
    border: none;
    color: #118df0;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.review-read-more:hover {
    color: #3BA3F5;
}

.review-read-more svg {
    transition: transform 0.2s ease;
}

.review-text-wrapper.is-expanded .review-read-more svg {
    transform: rotate(180deg);
}

/* Review Footer (Source + Verified) */
.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-footer .review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.review-footer .verified-badge {
    margin-left: auto;
}

/* Review Source (standalone) */
.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-source svg {
    width: 16px;
    height: 16px;
}

.review-source span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Load More */
.load-more-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.load-more-btn {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #118df0;
    color: #118df0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: rgba(17, 141, 240, 0.1);
}

/* Reviews CTA Section */
.reviews-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, #0a1628 100%);
    text-align: center;
}

.reviews-cta h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    margin: 0 0 1rem;
}

.reviews-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #118df0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta-btn-primary:hover {
    background: #0a6bc4;
    transform: translateY(-2px);
}

.cta-btn-primary svg {
    width: 18px;
    height: 18px;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #118df0;
    color: #118df0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta-btn-secondary:hover {
    background: rgba(17, 141, 240, 0.1);
}

/* No results */
.no-reviews-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
}

.no-reviews-message.visible {
    display: block;
}


/* ===========================================
   5. PROJECT ARCHIVE
   =========================================== */

.projects-archive-page {
    background: #0a1628;
    min-height: 100vh;
}

/* Projects Hero Header */
.projects-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.projects-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.projects-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Projects Filter Tabs */
.projects-filter-section {
    padding: 0 0 3rem;
}

.projects-archive-page .filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.projects-archive-page .filter-tab {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.projects-archive-page .filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.projects-archive-page .filter-tab.active {
    background: #118df0;
    border-color: #118df0;
    color: white;
    font-weight: 600;
}

.projects-archive-page .filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.projects-archive-page .filter-separator {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

/* City filter dropdown for projects - inline with tabs */
.projects-filter-section .filter-selects {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .projects-archive-page .filter-tabs-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-archive-page .filter-separator {
        display: none;
    }
}

/* Projects Grid */
.projects-grid-section {
    padding: 0 0 5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .projects-hero h1 {
        font-size: 2rem;
    }
    .projects-hero .hero-subtitle {
        font-size: 1rem;
    }
}

/* No Projects */
.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.no-projects p {
    margin: 1rem 0 0;
    font-size: 0.9rem;
}

/* Projects Pagination */
.projects-archive-page .pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.projects-archive-page .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.projects-archive-page .pagination .page-numbers:hover {
    background: rgba(17, 141, 240, 0.2);
    border-color: rgba(17, 141, 240, 0.3);
}

.projects-archive-page .pagination .page-numbers.current {
    background: #118df0;
    border-color: #118df0;
    font-weight: 600;
}

/* Filtered Projects */
.projects-archive-page .project-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.projects-archive-page .project-card.hidden {
    display: none;
}

/* No results message */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
}

.no-results-message.visible {
    display: block;
}


/* ===========================================
   6. SERVICE AREA ARCHIVE
   =========================================== */

/* Base Variables */
.service-areas-archive {
    --primary-blue: #118df0;
    --primary-blue-dark: #0a6bc4;
    --bg-dark: #050a15;
    --bg-section: #0a1628;
    --bg-card: #0d1c33;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(17, 141, 240, 0.4);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-subtle: rgba(255, 255, 255, 0.5);
    --bs-text-subtle: rgba(255, 255, 255, 0.5);
    --bs-text-muted: rgba(255, 255, 255, 0.7);
    --bs-primary-blue: #118df0;
}

/* Archive Hero - Centered Stats Style */
.archive-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
    overflow: hidden;
    text-align: center;
}

.archive-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(17, 141, 240, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(17, 141, 240, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.archive-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.archive-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
    line-height: 1.1;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Hero Stats - Horizontal Row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.hero-stat {
    text-align: center;
}

.service-areas-archive .stat-value {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.service-areas-archive .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-subtle);
    margin-top: 8px;
}

/* Areas Content Section */
.areas-content-section {
    padding: 48px 0 32px;
    background: var(--bg-dark);
}

.areas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.areas-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

.view-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
}

.view-btn svg {
    flex-shrink: 0;
}

/* County Sections */
.county-section {
    margin-bottom: 32px;
}

.county-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

/* List View */
.cities-list-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.city-row:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

.city-row--hq {
    background: rgba(17, 141, 240, 0.1);
    border-color: rgba(17, 141, 240, 0.3);
}

.city-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-pin {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.city-row .city-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.city-badge {
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.city-badge--hq {
    background: var(--primary-blue);
    color: var(--text-white);
}

.city-badge--featured {
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.4);
    color: var(--primary-blue);
}

.city-row-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.city-services {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.city-arrow {
    color: var(--primary-blue);
    transition: transform 0.2s ease;
}

.city-row:hover .city-arrow {
    transform: translateX(4px);
}

/* Grid View */
.cities-grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--bs-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.city-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

.city-card--hq {
    background: rgba(17, 141, 240, 0.1);
    border-color: rgba(17, 141, 240, 0.3);
}

.city-card .city-pin {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.city-card-info {
    display: flex;
    flex-direction: column;
}

.city-card .city-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.city-card .city-services {
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.city-card .city-badge {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* City Cards Detailed (Blue Smoke Design) */
.cities-grid-detailed {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.city-card-detailed {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.city-card-detailed:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(17, 141, 240, 0.3);
    transform: translateY(-4px);
}

.city-card-detailed.city-card--hq {
    background: rgba(17, 141, 240, 0.08);
    border-color: rgba(17, 141, 240, 0.3);
}

.city-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.2) 0%, rgba(17, 141, 240, 0.1) 100%);
    border: 1px solid rgba(17, 141, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.city-card-icon svg {
    color: var(--primary-blue);
}

.city-card-content {
    flex: 1;
    min-width: 0;
}

.city-card-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-white);
    margin: 0 0 0.25rem;
}

.city-card-services {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.city-card-arrow {
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.city-card-detailed:hover .city-card-arrow {
    transform: translateX(4px);
}

.city-card-detailed .city-badge {
    position: absolute;
    top: 8px;
    right: 8px;
}

@media (max-width: 1024px) {
    .cities-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cities-grid-detailed {
        grid-template-columns: 1fr;
    }

    .city-card-detailed {
        padding: 1.25rem;
    }
}

/* City Services List - Link Cards (JOB-169) */
.city-services-list {
    margin-top: 2rem;
}

.svc-intro-list__card--link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.svc-intro-list__card--link:hover {
    transform: translateY(-2px);
}

/* Map View Placeholder */
.map-layout {
    min-height: 500px;
}

.service-areas-archive .map-placeholder {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    color: var(--text-subtle);
    padding: 40px;
}

.map-placeholder-content svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.map-placeholder-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.map-placeholder-content p {
    font-size: 0.9rem;
    margin: 0 0 24px;
}

/* NOTE: .btn-outline is defined in blue-smoke-theme.css (design system) */

/* Trusty.app Project Map Embed */
.trusty-map-container {
    width: 100%;
    min-height: 500px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    overflow: hidden;
}

.trusty-map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
}

@media (min-width: 768px) {
    .trusty-map-container,
    .trusty-map-container iframe {
        min-height: 600px;
    }
}

/* Don't See Your City Banner */
.city-banner-section {
    padding: 0 0 48px;
    background: var(--bg-dark);
}

.city-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    background: var(--glass-bg);
    border-left: 4px solid var(--primary-blue);
}

.city-banner p {
    font-size: 1rem;
    color: var(--text-white);
    margin: 0;
}

.city-banner strong {
    color: var(--primary-blue);
}

.city-banner a:not(.btn-primary-sm) {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.city-banner a:not(.btn-primary-sm):hover {
    text-decoration: underline;
}

.btn-primary-sm {
    display: inline-flex;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.btn-primary-sm:hover {
    background: var(--primary-blue-dark);
}

/* Services Available Section */
.services-available-section {
    padding: 64px 0;
    background: var(--bg-section);
}

.service-areas-archive .section-header {
    margin-bottom: 40px;
}

.service-areas-archive .section-header.text-center {
    text-align: center;
}

.service-areas-archive .section-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 12px;
}

.section-subtext {
    font-size: 1rem;
    color: var(--text-subtle);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.service-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.service-item span {
    font-size: 0.9rem;
    color: var(--text-white);
}

/* Archive CTA Section */
.archive-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.1) 0%, var(--bg-section) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 32px;
}

.service-areas-archive .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Service Areas Archive Buttons */
.service-areas-archive .btn-primary,
.service-areas-archive .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-areas-archive .btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.service-areas-archive .btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.service-areas-archive .btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.service-areas-archive .btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* No Areas Section */
.no-areas-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.no-areas-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.no-areas-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 0 16px;
}

.no-areas-content p {
    color: var(--text-muted);
    margin: 0 0 24px;
}

/* Service Areas Archive Responsive */
@media (max-width: 1024px) {
    .cities-grid-view {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .archive-hero {
        padding: 60px 0 48px;
    }

    .archive-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .service-areas-archive .stat-value {
        font-size: 2rem;
    }

    .areas-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-toggle {
        width: 100%;
        overflow-x: auto;
    }

    .cities-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-banner {
        flex-direction: column;
        text-align: center;
    }

    .services-available-section,
    .archive-cta {
        padding: 48px 0;
    }
}

@media (max-width: 576px) {
    .cities-grid-view {
        grid-template-columns: 1fr;
    }

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

    .city-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .city-row-right {
        width: 100%;
        justify-content: space-between;
    }

    .view-btn span:not(.sr-only) {
        display: none;
    }

    .view-btn {
        padding: 10px 14px;
    }
}


/* ===========================================
   7. PROJECT SINGLE
   =========================================== */

.project-detail-page {
    background: #050a15;
    min-height: 100vh;
}

.project-detail-section {
    padding: 3rem 0 5rem;
}

.project-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    align-items: start;
}

@media (max-width: 968px) {
    .project-detail-card {
        grid-template-columns: 1fr;
    }
}

/* Gallery Side */
.project-gallery-side {
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.15) 0%, rgba(10, 22, 40, 0.9) 100%);
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.gallery-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #118df0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

@media (max-width: 968px) {
    .project-gallery-side {
        position: relative;
        top: 0;
    }
}

.project-main-image {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    aspect-ratio: 4/3;
}

.project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-main-image .placeholder-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

/* Gallery Wrapper with Arrows Overlay */
.project-gallery-wrapper {
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-arrow-left {
    left: 1rem;
}

.gallery-arrow-right {
    right: 1rem;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.gallery-arrow svg {
    width: 24px;
    height: 24px;
}

/* Mobile: slightly smaller arrows */
@media (max-width: 768px) {
    .gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .gallery-arrow-left {
        left: 0.5rem;
    }

    .gallery-arrow-right {
        right: 0.5rem;
    }

    .gallery-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Gallery Navigation Dots */
.gallery-nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--bs-radius-xs);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    width: 24px;
    background: #118df0;
}

.gallery-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Content Side */
.project-content-side {
    padding: 2.5rem;
}

/* Project Badges */
.project-detail-page .project-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.project-detail-page .project-badge {
    position: static !important;
    display: inline-block !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: capitalize;
    white-space: nowrap;
    line-height: 1.4;
    border: none;
    margin: 0;
}

.project-detail-page .project-badge.type-badge {
    background: #118df0 !important;
    color: white !important;
}

.project-detail-page .project-badge.date-badge {
    background: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Project Title */
.project-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

/* Project Location */
.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #118df0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.project-location svg {
    flex-shrink: 0;
}

.project-location a {
    color: inherit;
    text-decoration: none;
}

.project-location a:hover {
    text-decoration: underline;
}

/* Project Description */
.project-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Project Stats Grid */
.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card {
    text-align: center;
}

.project-detail-page .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.project-detail-page .stat-value.highlight {
    color: #118df0;
}

.project-detail-page .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Section Labels */
.project-section-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #118df0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

/* Products Used */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-tag {
    background: rgba(17, 141, 240, 0.15);
    border: 1px solid rgba(17, 141, 240, 0.3);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: white;
}

/* Services List */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.services-list .check-icon {
    width: 16px;
    height: 16px;
    color: #22c55e;
    flex-shrink: 0;
}

.services-list a {
    color: inherit;
    text-decoration: none;
}

.services-list a:hover {
    color: #118df0;
}

/* Project Testimonial */
.project-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.125rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Testimonial Read More */
.testimonial-text-wrapper .text-full {
    display: none;
}

.testimonial-text-wrapper[data-expanded="true"] .text-truncated {
    display: none;
}

.testimonial-text-wrapper[data-expanded="true"] .text-full {
    display: inline;
}

.testimonial-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    background: none;
    border: none;
    color: #118df0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.testimonial-read-more::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23118df0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.testimonial-text-wrapper[data-expanded="true"] .testimonial-read-more::after {
    transform: rotate(180deg);
}

.testimonial-read-more:hover {
    color: #3BA3F5;
}

/* CTA Button */
.project-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #118df0 0%, #0a6bc4 100%);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 141, 240, 0.4);
}

.project-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 141, 240, 0.5);
}

/* Before/After Section - Standalone below gallery */
.before-after-section {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
}

.before-after-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #118df0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.before-after-slider {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Support both plain <img> and <picture> wrappers (Imagify WebP) */
.before-after-slider img,
.before-after-slider picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.before-after-slider img {
    object-fit: cover;
}

.before-after-slider .after-image {
    z-index: 1;
}

.before-after-slider .before-image {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #118df0;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(17, 141, 240, 0.5);
    z-index: 10;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #118df0;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(17, 141, 240, 0.6);
}

.slider-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    z-index: 1;
}

.ba-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Related Projects */
.related-projects-section {
    padding: 4rem 0;
    background: rgba(10, 22, 40, 0.5);
}

.related-projects-section .section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .project-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .project-content-side {
        padding: 1.5rem;
    }
    .project-title {
        font-size: 1.5rem;
    }
    .related-projects-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================================
   8. SERVICE AREA SINGLE
   =========================================== */

/* Base Variables */
.service-area-page {
    --primary-blue: #118df0;
    --primary-blue-dark: #0a6bc4;
    --bg-dark: #050a15;
    --bg-section: #0a1628;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(17, 141, 240, 0.3);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-subtle: rgba(255, 255, 255, 0.5);
}

.service-area-page .section-padding {
    padding: 80px 0;
}

/* Background utilities */
.service-area-page .bg-dark {
    background-color: var(--bg-dark);
}

.service-area-page .bg-section {
    background-color: var(--bg-section);
}

.service-area-page .text-center {
    text-align: center;
}

.service-area-page .mt-lg {
    margin-top: 40px;
}

/* Service Area Section Header */
.service-area-page .section-header {
    margin-bottom: 48px;
}

.service-area-page .section-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.service-area-page .section-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Glass Card Base */
.service-area-page .card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.service-area-page .card-glass:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
}

/* Area Summary Section */
.area-summary-content {
    max-width: 900px;
    margin: 0 auto;
}

.area-summary-content .section-header {
    margin-bottom: 32px;
}

.area-summary-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.area-summary-text p {
    margin-bottom: 16px;
}

.area-summary-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Split Intro Section (2-Column Layout)
   ========================================================================== */

.area-intro-split .section-header {
    margin-bottom: 40px;
}

.area-intro-split-grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

/* 2-column layout when image exists */
.area-intro-split-grid.has-image {
    grid-template-columns: 1fr 1fr;
}

/* Single column when no image */
.area-intro-split-grid.no-image {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.area-intro-split-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.area-intro-split-content p {
    margin-bottom: 16px;
}

.area-intro-split-content p:last-child {
    margin-bottom: 0;
}

.area-intro-split-content h3,
.area-intro-split-content h4 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.area-intro-split-content ul,
.area-intro-split-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.area-intro-split-content li {
    margin-bottom: 8px;
}

.area-intro-split-image {
    position: relative;
    border-radius: var(--bs-radius-sm);
    overflow: hidden;
}

.area-intro-split-image .split-intro-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--bs-radius-sm);
}

/* Tablet: Stack columns */
@media (max-width: 992px) {
    .area-intro-split-grid.has-image {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .area-intro-split-image {
        order: -1; /* Image first on mobile */
        max-width: 600px;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .area-intro-split .section-header {
        margin-bottom: 24px;
    }

    .area-intro-split-content {
        font-size: 1rem;
    }

    .area-intro-split-grid {
        gap: 24px;
    }
}

/* Service Area Services Grid */
.service-area-page .services-grid {
    display: grid;
    gap: 24px;
}

.service-area-page .services-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .service-area-page .services-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-area-page .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card */
.service-area-page .service-card {
    overflow: hidden;
}

.service-card-image {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.service-card-image .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-area-page .service-card:hover .card-img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 24px;
}

.service-card-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.service-card-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-card-title a:hover {
    color: var(--primary-blue);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

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

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 32px;
    text-align: center;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(17, 141, 240, 0.2) 0%, rgba(17, 141, 240, 0.1) 100%);
    border: 1px solid rgba(17, 141, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 12px;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Neighborhoods Section - Compact City Cards
   Main styles in blue-smoke-theme.css */

.service-area-page .cta-card {
    padding: 32px;
    text-align: center;
}

.service-area-page .cta-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 12px;
}

.service-area-page .cta-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Nearby Cities */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .nearby-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.nearby-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
}

.nearby-name {
    font-weight: 600;
    color: var(--text-white);
    transition: color 0.2s ease;
}

.nearby-card:hover .nearby-name {
    color: var(--primary-blue);
}

.nearby-arrow {
    color: var(--text-subtle);
    transition: all 0.2s ease;
}

.nearby-card:hover .nearby-arrow {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* Nearby Grid Detailed (Blue Smoke City Cards) */
.nearby-grid-detailed {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .nearby-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .nearby-grid-detailed {
        grid-template-columns: 1fr;
    }
}

/* Service Area Buttons */
.service-area-page .btn-primary,
.service-area-page .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-area-page .btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.service-area-page .btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.service-area-page .btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.service-area-page .btn-secondary:hover {
    background: rgba(17, 141, 240, 0.1);
}

/* Service Area Responsive */
@media (max-width: 768px) {
    .service-area-page .section-padding {
        padding: 60px 0;
    }

    .service-area-page .section-header h2 {
        font-size: 2rem;
    }

    .service-area-page .section-subtext {
        font-size: 1rem;
    }

    .benefit-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .service-area-page .section-padding {
        padding: 48px 0;
    }

    .service-area-page .section-header {
        margin-bottom: 32px;
    }

    .service-area-page .section-header h2 {
        font-size: 1.75rem;
    }
}

/* ===========================================
   9. PROJECT MODAL (JOB-145)
   Rich lightbox for project details on service pages
   =========================================== */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.project-modal-container {
    position: relative;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bs-bg-card, #0f1d32);
    border-radius: 16px;
    border: 1px solid var(--bs-border, rgba(255, 255, 255, 0.1));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.project-modal.is-open .project-modal-container {
    transform: scale(1);
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.project-modal-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Gallery Slider */
.project-modal-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    flex-shrink: 0;
}

.project-modal-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal-slide.active {
    opacity: 1;
}

.project-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation Arrows */
.project-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.project-modal-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.project-modal-prev {
    left: 16px;
}

.project-modal-next {
    right: 16px;
}

/* Image Counter */
.project-modal-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Details Section */
.project-modal-details {
    padding: 24px 32px 32px;
    overflow-y: auto;
    flex: 1;
}

.project-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.project-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--bs-text-muted, #8b9cb5);
    font-size: 0.9375rem;
}

.project-modal-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-modal-location svg {
    color: var(--bs-accent-blue, #3b82f6);
}

.project-modal-type {
    padding: 4px 12px;
    background: var(--bs-accent-blue, #3b82f6);
    color: #fff;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-modal-date {
    color: var(--bs-text-muted, #8b9cb5);
}

/* Stats Grid */
.project-modal-stats {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-top: 1px solid var(--bs-border, rgba(255, 255, 255, 0.1));
    border-bottom: 1px solid var(--bs-border, rgba(255, 255, 255, 0.1));
}

.project-modal-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-modal-stat .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.project-modal-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--bs-text-muted, #8b9cb5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products */
.project-modal-products {
    margin-bottom: 16px;
    color: var(--bs-text-body, #c5d1e3);
    font-size: 0.9375rem;
}

.project-modal-products strong {
    color: #fff;
}

/* Description */
.project-modal-description {
    margin-bottom: 24px;
    color: var(--bs-text-body, #c5d1e3);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.project-modal-description p:last-child {
    margin-bottom: 0;
}

/* View Full Project Link */
.project-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-modal-container {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .project-modal-gallery {
        aspect-ratio: 4 / 3;
    }

    .project-modal-details {
        padding: 20px 20px 24px;
    }

    .project-modal-title {
        font-size: 1.5rem;
    }

    .project-modal-meta {
        gap: 12px;
        font-size: 0.875rem;
    }

    .project-modal-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .project-modal-nav {
        width: 40px;
        height: 40px;
    }

    .project-modal-prev {
        left: 8px;
    }

    .project-modal-next {
        right: 8px;
    }
}

@media (max-width: 576px) {
    .project-modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .project-modal-title {
        font-size: 1.25rem;
    }

    .project-modal-stats {
        gap: 12px;
    }

    .project-modal-stat .stat-value {
        font-size: 1.1rem;
    }
}

/* ===========================================
   9b. PROJECT CARD MODAL TRIGGER STYLES (JOB-145)
   Additional styles for cards that open modals
   =========================================== */

/* Make project cards clickable when they trigger modals */
.project-card[data-modal-target] {
    cursor: pointer;
}

.project-card[data-modal-target] .project-card-link {
    cursor: pointer;
}

/* View indicator overlay on hover */
.project-card-view-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card-view-indicator svg {
    width: 32px;
    height: 32px;
}

.project-card-view-indicator span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card[data-modal-target]:hover .project-card-view-indicator {
    opacity: 1;
}

/* Subtle scale on hover */
.project-card[data-modal-target]:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card[data-modal-target] .project-card-image img {
    transition: transform 0.3s ease;
}
