/* =========================================================
   CITIES + REUSABLE CITY HUB
========================================================= */

.cities-hub-page,
.city-hub-page {
    background: #ffffff;
}


/* =========================================================
   CITIES MAIN PAGE HERO
========================================================= */

.cities-hub-hero {
    padding: 70px 0 80px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 52%,
            #eef6ff 100%
        );
}

.cities-hub-hero .chp-container {
    max-width: 900px;
}

.cities-hub-hero h1 {
    margin: 14px auto 20px;

    color: #173b63;

    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cities-hub-hero p {
    max-width: 730px;

    margin: 0 auto;

    color: #475569;

    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   CITIES GRID
========================================================= */

.cities-list-section {
    padding: 100px 0;
}

.cities-hub-page .section-heading,
.city-hub-page .section-heading {
    max-width: 820px;

    margin: 0 auto 52px;

    text-align: center;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.city-card {
    display: block;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    text-decoration: none;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.city-card:hover {
    transform: translateY(-5px);

    border-color: #bbf7d0;

    box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.featured-city {
    background:
        linear-gradient(
            145deg,
            #f0fdf4,
            #ffffff
        );

    border-color: #bbf7d0;
}

.city-state {
    display: inline-flex;

    padding: 6px 10px;

    border-radius: 999px;

    background: #ecfdf3;
    color: #15803d;

    font-size: 12px;
    font-weight: 800;
}

.city-card h3 {
    margin: 17px 0 10px;

    color: #173b63;

    font-size: 25px;
}

.city-card p {
    color: #475569;

    line-height: 1.7;
}

.city-link {
    display: inline-block;

    margin-top: 8px;

    color: #15803d;

    font-weight: 700;
}


/* =========================================================
   CITIES SERVICE GRID
========================================================= */

.cities-services-section {
    padding: 100px 0;

    background: #f8fafc;
}

.cities-service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 18px;
}

.cities-service-card {
    padding: 28px 16px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    text-decoration: none;

    transition: .25s ease;
}

.cities-service-card:hover {
    transform: translateY(-4px);

    border-color: #bbf7d0;
}

.cities-service-card span {
    display: block;

    margin-bottom: 13px;

    font-size: 30px;
}

.cities-service-card h3 {
    margin: 0;

    color: #173b63;

    font-size: 16px;
}


/* =========================================================
   CITIES CTA
========================================================= */

.cities-hub-cta {
    padding: 85px 0;

    background: #173b63;
}

.cities-hub-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cities-hub-cta h2 {
    margin: 12px 0;

    color: #ffffff;

    font-size: 37px;
}

.cities-hub-cta p {
    margin: 0;

    color: #cbd5e1;
}


/* =========================================================
   INDIVIDUAL CITY HERO
========================================================= */

.city-hub-hero {
    padding: 55px 0 80px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 50%,
            #eef6ff 100%
        );
}

.city-hub-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;

    gap: 70px;

    align-items: center;
}

.city-hub-hero-content {
    max-width: 770px;
}

.city-hub-hero h1 {
    margin: 14px 0 22px;

    color: #173b63;

    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -1.6px;
}

.city-hub-hero-content > p {
    max-width: 680px;

    margin: 0 0 30px;

    color: #475569;

    font-size: 18px;
    line-height: 1.75;
}


/* CITY SUMMARY */

.city-summary-card {
    padding: 36px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    box-shadow: 0 20px 55px rgba(15,23,42,.09);
}

.city-summary-location {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    border-radius: 16px;

    background: #ecfdf3;
    color: #15803d;

    font-weight: 800;
}

.city-summary-card h3 {
    margin: 0 0 10px;

    color: #173b63;

    font-size: 25px;
}

.city-summary-card > p {
    color: #475569;

    line-height: 1.7;
}

.city-summary-row {
    padding: 15px 0;

    border-top: 1px solid #e2e8f0;
}

.city-summary-row strong {
    display: block;

    color: #15803d;

    font-size: 13px;
    text-transform: uppercase;
}

.city-summary-row span {
    display: block;

    margin-top: 4px;

    color: #475569;

    font-size: 14px;
}


/* =========================================================
   CITY INTRO
========================================================= */

.city-intro-section {
    padding: 95px 0;
}

.city-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;

    gap: 65px;

    align-items: center;
}

.city-intro-grid h2 {
    margin: 13px 0 18px;

    color: #173b63;

    font-size: 41px;
}

.city-intro-grid p {
    color: #475569;

    line-height: 1.8;
}

.city-intro-box {
    padding: 36px;

    background: #173b63;

    border-radius: 22px;

    color: #ffffff;
}

.city-intro-box h3 {
    margin-top: 0;

    color: #ffffff;

    font-size: 24px;
}

.city-intro-box ul {
    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.city-intro-box li {
    padding: 11px 0;

    color: #e2e8f0;

    border-bottom: 1px solid rgba(255,255,255,.14);
}

.city-intro-box li::before {
    content: "✓";

    margin-right: 10px;

    color: #4ade80;
}


/* =========================================================
   CITY SERVICES
========================================================= */

.city-services-section {
    padding: 100px 0;

    background: #f8fafc;
}

.city-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.city-service-card {
    display: block;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    text-decoration: none;

    transition: .25s ease;
}

.city-service-card:hover {
    transform: translateY(-4px);

    border-color: #bbf7d0;

    box-shadow: 0 16px 38px rgba(15,23,42,.07);
}

.city-service-icon {
    margin-bottom: 18px;

    font-size: 30px;
}

.city-service-card h3 {
    margin: 0 0 10px;

    color: #173b63;

    font-size: 21px;
}

.city-service-card p {
    color: #475569;

    line-height: 1.7;
}

.city-service-card > span {
    color: #15803d;

    font-weight: 700;
}


/* =========================================================
   CITY GUIDES
========================================================= */

.city-guides-section {
    padding: 100px 0;
}

.city-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.city-guide-card {
    padding: 32px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.city-guide-label {
    display: inline-flex;

    margin-bottom: 17px;
    padding: 6px 10px;

    border-radius: 999px;

    background: #ecfdf3;
    color: #15803d;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.city-guide-card h3 {
    margin: 0 0 12px;

    color: #173b63;

    font-size: 22px;
    line-height: 1.4;
}

.city-guide-card p {
    color: #475569;

    line-height: 1.7;
}

.city-guide-card a {
    color: #15803d;

    font-weight: 700;
    text-decoration: none;
}

.city-guides-placeholder {
    max-width: 720px;

    margin: 0 auto;
    padding: 45px;

    text-align: center;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 22px;
}


/* =========================================================
   CITY CONTRACTOR
========================================================= */

.city-contractor-section {
    padding: 100px 0;

    background: #f8fafc;
}

.city-contractor-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;

    gap: 65px;

    align-items: center;
}

.city-contractor-grid h2 {
    margin: 13px 0 18px;

    color: #173b63;

    font-size: 41px;
}

.city-contractor-grid p {
    color: #475569;

    line-height: 1.8;
}

.city-contractor-checklist {
    padding: 36px;

    background: #173b63;

    border-radius: 22px;
}

.city-contractor-checklist h3 {
    margin-top: 0;

    color: #ffffff;

    font-size: 24px;
}

.city-contractor-checklist ul {
    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.city-contractor-checklist li {
    padding: 11px 0;

    color: #e2e8f0;

    border-bottom: 1px solid rgba(255,255,255,.14);
}

.city-contractor-checklist li::before {
    content: "✓";

    margin-right: 10px;

    color: #4ade80;
}


/* =========================================================
   CITY FINAL CTA
========================================================= */

.city-final-cta {
    padding: 85px 0;

    background: #173b63;
}

.city-final-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.city-final-cta h2 {
    margin: 12px 0;

    color: #ffffff;

    font-size: 37px;
}

.city-final-cta p {
    margin: 0;

    color: #cbd5e1;
}


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

@media (max-width: 1050px) {

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

}


@media (max-width: 950px) {

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

    .city-hub-hero-grid,
    .city-intro-grid,
    .city-contractor-grid {
        grid-template-columns: 1fr;
    }

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

    .city-hub-hero h1 {
        font-size: 45px;
    }

}


@media (max-width: 650px) {

    .cities-hub-hero,
    .city-hub-hero {
        padding: 45px 0 60px;
    }

    .cities-hub-hero h1,
    .city-hub-hero h1 {
        font-size: 35px;
    }

    .cities-grid,
    .cities-service-grid,
    .city-services-grid,
    .city-guides-grid {
        grid-template-columns: 1fr;
    }

    .cities-list-section,
    .cities-services-section,
    .city-intro-section,
    .city-services-section,
    .city-guides-section,
    .city-contractor-section {
        padding: 70px 0;
    }

    .cities-hub-cta-inner,
    .city-final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}