/* =========================
   GLOBAL
========================= */

:root {
    --navy: #052f61;
    --navy-dark: #032447;
    --blue: #075b96;
    --accent: #b58a4a;

    --white: #ffffff;
    --off-white: #f5f8fb;
    --light-gray: #dfe6ec;
    --gray: #46515c;
    --text: #17212b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.narrow-container {
    max-width: 850px;
}

.section {
    padding: 100px 0;
}

.light-section {
    background: var(--off-white);
}

h1, h2, h3, h4 {
    line-height: 1.15;
    color: var(--navy);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 25px;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: 18px;
}

.section-label,
.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.light-label {
    color: #e3bd83;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: min(1250px, 92%);
    min-height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.main-logo {
    width: 115px;
    height: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    background: white;
    border: 1px solid #111;
    padding: 10px 18px;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    background: #f1f3f5;
    color: #111;
}

.main-nav a.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.nav-contact {
    border: 1px solid var(--navy);
    padding: 10px 20px;
}

.nav-contact:hover {
    background: var(--navy);
    color: white !important;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(8, 20, 31, 0.94) 0%,
            rgba(8, 20, 31, 0.80) 52%,
            rgba(8, 20, 31, 0.35) 100%
        ),
        url("images/hero.jpg") center / cover no-repeat;
}

.hero-content {
    position: relative;
    width: min(1180px, 90%);
    margin: 0 auto;
    color: white;
    max-width: 1180px;
}

.hero-content h1 {
    color: white;
    max-width: 800px;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 680px;
    font-size: 1.2rem;
    color: #e6ebef;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: var(--navy);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: white;
}

.btn-dark:hover {
    background: var(--blue);
}


/* =========================
   CREDENTIALS
========================= */

.credentials {
    background: var(--navy);
    color: white;
}

.credentials-grid {
    width: min(1250px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.credential {
    padding: 25px 28px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.credential:last-child {
    border-right: none;
}

.credential-number {
    display: block;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.credential p {
    margin: 0;
    color: #e1e6eb;
    font-size: 1rem;
    line-height: 1.5;
}

.credential p.licensed-southeast {
    font-weight: 800;
    font-size: 0.95rem;
}

.credential-emphasis {
    font-weight: 800;
    font-size: 0.95rem;
}


/* =========================
   ABOUT / CONTENT
========================= */

.split-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 90px;
    align-items: start;
}

.split-layout > div:first-child > p:not(.section-label) {
    color: var(--gray);
    font-size: 1.05rem;
}

.feature-box {
    background: var(--navy);
    color: white;
    padding: 45px;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.check-list li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 12px;
}

.text-link {
    color: var(--blue);
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

.large-copy {
    font-size: 1.35rem;
    color: var(--navy);
    line-height: 1.6;
}

.about-section {
    padding-bottom: 0px;
}

.qualifications-image {
    width: 100%;
    margin-top: 40px;
}

.qualifications-image img {
    width: 100%;
    height: auto;
    display: block;
}

section.about-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.qualifications-image {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.qualifications-image img {
    display: block;
    margin-bottom: 0;
}

/*.site-footer {
    margin-top: 0;
} *?

/* ABOUT HERO IMAGE
.about-hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            var(--navy-dark) 0%,
            var(--navy-dark) 48%,
            rgba(3, 42, 89, 0.98) 52%,
            rgba(3, 42, 89, 0.92) 57%,
            rgba(3, 42, 89, 0.80) 63%,
            rgba(3, 42, 89, 0.65) 69%,
            rgba(3, 42, 89, 0.48) 75%,
            rgba(3, 42, 89, 0.32) 81%,
            rgba(3, 42, 89, 0.18) 88%,
            rgba(3, 42, 89, 0.08) 94%,
            rgba(3, 42, 89, 0.02) 100%
        ),
        url("images/about-hero.jpg");

    background-size: auto 130%;
    background-position: right 45%;
    background-repeat: no-repeat;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .container > p:last-child {
    max-width: 550px;
}
*/


/* =========================
   CARDS
========================= */

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading > p:last-child {
    color: var(--gray);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.info-card {
    background: white;
    border: 1px solid var(--light-gray);
    padding: 38px;
}

.service-card {
    min-height: 260px;
}

.service-card h3,
.info-card h3 {
    margin-bottom: 15px;
}

.service-card p,
.info-card p {
    color: var(--gray);
}

.card-number {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 45px;
}

.center-button {
    text-align: center;
    margin-top: 45px;
}


/* =========================
   SERVICE AREA
========================= */

.service-area {
    background: var(--navy-dark);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-area h2 {
    color: white;
}

.states {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 35px;
}

.states span {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 20px;
    font-size: 0.9rem;
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
    background: var(--navy);
    color: white;
    padding: 105px 0;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.page-hero p:last-child {
    max-width: 680px;
    color: #d5dce2;
    font-size: 1.1rem;
}


/* =========================
   PROJECTS
========================= */

.project-category {
    margin-bottom: 100px;
}

.category-heading {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 35px;
}

.category-heading > span {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: bold;
    padding-top: 5px;
}

.category-heading h2 {
    margin: 0;
}

.project-list {
    border-top: 1px solid var(--light-gray);
}

.project-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    padding: 25px 10px;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.project-row:hover {
    background: var(--off-white);
}

.project-row h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.project-row p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.project-row > span {
    color: var(--gray);
    font-size: 0.9rem;
}

.showcase-gray {
    background: linear-gradient(
        135deg,
        #d8dde1 0%,
        #e8ebed 45%,
        #f5f6f7 100%
    );
}


/* =========================
   PROJECT PAGE / CAROUSEL
========================= */

.projects-hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            var(--navy-dark) 0%,
            var(--navy-dark) 42%,
            rgba(3, 42, 89, 0.95) 52%,
            rgba(3, 42, 89, 0.70) 65%,
            rgba(3, 42, 89, 0.25) 82%,
            rgba(3, 42, 89, 0.05) 100%
        ),
        url("images/projects-hero.jpg");

    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}

.projects-hero .container {
    position: relative;
    z-index: 2;
}

.projects-hero .container > p:last-child {
    max-width: 550px;
}

.projects-section {
    padding: 80px 0;
}


/* =========================
   PROJECTS PAGE HERO
========================= */

.projects-hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            var(--navy-dark) 0%,
            var(--navy-dark) 42%,
            rgba(3, 42, 89, 0.95) 52%,
            rgba(3, 42, 89, 0.70) 65%,
            rgba(3, 42, 89, 0.25) 82%,
            rgba(3, 42, 89, 0.05) 100%
        ),
        url("images/projects-hero.jpg");

    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}

.projects-hero .container {
    position: relative;
    z-index: 2;
}

.projects-hero .container > p:last-child {
    max-width: 550px;
}


/* =========================
   PROJECTS SECTION
========================= */

.projects-section {
    padding: 80px 0;
}

.projects-section .project-category {
    margin: 0;
    padding: 0;
}

.projects-section .project-category:last-child {
    margin-bottom: 0;
}


/* =========================
   FOUR ROW PROJECT LAYOUT
========================= */

.projects-section .showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.projects-section .showcase-layout.image-right .showcase-photo {
    order: 2;
}

.projects-section .showcase-layout.image-right .showcase-projects {
    order: 1;
}


/* =========================
   PROJECT IMAGES
========================= */

.showcase-photo {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--off-white);
}

.showcase-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================
   PROJECT CAROUSEL AREA
========================= */

.showcase-projects {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 0;
    background: white;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.showcase-title {
    background: var(--blue);
    color: white;
    padding: 22px 25px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

.carousel-wrapper,
.showcase-carousel-wrapper {
    position: relative;
    display: block;
    width: 100%;
    flex: 1;
    height: auto;
    min-height: 0;
    min-width: 0;
}

.project-carousel,
.showcase-carousel {
    display: flex;
    gap: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
    display: none;
}


/* =========================
   PROJECT CARDS
========================= */

.projects-section .showcase-carousel .project-card {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.project-card {
    background: white;
    border: 0;
    padding: 45px 65px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card h3 {
    position: static;
    width: auto;
    height: auto;
    display: block;
    padding: 0;
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: left;
}

.project-location {
    font-weight: 600;
    margin-bottom: 8px;
}

.project-description {
    color: var(--gray);
    margin-bottom: 10px;
}

.project-contractor {
    color: var(--gray);
    font-size: 1rem;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.project-status {
    display: inline-block;
    align-self: flex-start;
    background: var(--blue);
    color: white;
    padding: 5px 10px;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.showcase-gray {
    background: linear-gradient(
        135deg,
        #d8dde1 0%,
        #e8ebed 45%,
        #f5f6f7 100%
    );
}


/* =========================
   CAROUSEL ARROWS
========================= */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 48px;
    border: 1px solid var(--light-gray);
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: var(--navy);
    color: white;
}

.carousel-btn:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}


/* =========================
   TABLET RESPONSIVE
========================= 

@media (max-width: 900px) {
    .projects-section .showcase-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-section .showcase-layout.image-right .showcase-photo,
    .projects-section .showcase-layout.image-right .showcase-projects {
        order: initial;
    }

    .showcase-photo {
        aspect-ratio: 16 / 10;
    }

    .showcase-projects {
        aspect-ratio: auto;
        min-height: 330px;
    }

    .showcase-title {
        padding: 15px 18px;
        font-size: 1rem;
    }
}


/* =========================
   PHONE RESPONSIVE
========================= 

@media (max-width: 600px) {
    .projects-section {
        padding: 55px 0;
    }

    .project-category {
        margin-bottom: 0;
    }

    .project-category h2 {
        font-size: 1.6rem;
    }

    .showcase-photo {
        aspect-ratio: 1 / 1;
    }

    .showcase-projects {
        padding: 0;
        min-height: 320px;
    }

    .projects-section .showcase-carousel .project-card {
        flex: 0 0 100%;
        height: 100%;
        min-height: 0;
        padding: 35px 48px;
    }

    .carousel-btn {
        width: 30px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }
} */


/* =========================
   ABOUT MAIN
========================= */

.about-main {
    padding: 75px 0;
}

.about-main-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.75fr;
    gap: 70px;
    align-items: center;
}

.about-main-copy h2 {
    color: var(--navy);
    margin-bottom: 22px;
}

.about-main-copy > p:not(.section-label) {
    color: var(--gray);
    line-height: 1.7;
}

.about-main-image {
    max-width: 420px;
    width: 100%;
    justify-self: end;
}

.about-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-heading h2 {
    white-space: nowrap;
}

.about-hero {
    padding: 45px 0;
}

.about-qualifications {
    padding-bottom: 0;
}

.about-qualifications .qualifications-image {
    margin-bottom: 0;
}

.about-qualifications .qualifications-image img {
    display: block;
    margin-bottom: 0;
}

.about-qualifications .qualifications-image {
    margin-top: 0;
    padding-top: 0;
}

.about-qualifications .card-grid {
    margin-bottom: 0;
}

/*
@media (max-width: 800px) {
    .about-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-main-image {
        justify-self: center;
        max-width: 380px;
    }

    .about-main-image img {
        height: auto;
    }
}*/


/* =========================
   PARTNERS
========================= */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--light-gray);
    border-left: 1px solid var(--light-gray);
}

.partner-grid div {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    border-right: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    font-weight: 600;
    color: var(--navy);
}


/* =========================
   BRAND
========================= */

.brand-section {
    background: var(--navy);
    padding: 85px 0;
    color: white;
}

.brand-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.brand-layout h2 {
    color: white;
}

.brand-layout p:not(.section-label) {
    color: #ccd5dc;
    max-width: 600px;
}

.plumbfather-logo {
    max-width: 250px;
    max-height: 180px;
    object-fit: contain;
}


/* =========================
   CONTACT
========================= */

.contact-layout {
    display: block;
}

.contact-info {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.contact-info > p {
    color: var(--gray);
}

.contact-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 35px;
    margin: 30px 0 25px;
}

.contact-office {
    box-sizing: border-box;
    min-width: 0;
    padding: 30px;
    background: var(--off-white);
    border-top: 4px solid var(--navy);
}

.contact-office h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin: 0 0 20px;
}

.contact-detail {
    border-top: 1px solid var(--light-gray);
    padding: 20px 0;
}

.contact-detail span {
    display: block;
    color: var(--gray);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.contact-detail p {
    color: var(--navy);
    font-weight: 600;
    margin: 0;
}

.contact-office .contact-detail:last-child {
    padding-bottom: 0;
}

.contact-detail a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/*
@media (max-width: 768px) {
    .contact-offices {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .contact-office {
        padding: 25px;
    }
} /*


/* =========================
   CTA
========================= */

.cta-section {
    padding: 0;
    background: #eef1f3;
}

.cta-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 60px;
}

.cta-text {
    max-width: 720px;
    padding: 75px 0;
    align-self: center;
}

.cta-content h2 {
    margin-bottom: 65px;
}

.cta-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 45px;
}

.cta-image {
    width: calc(100% + (100vw - min(1250px, 92vw)) / 2 + 40px);
    max-width: none;
    min-height: 100%;
    justify-self: start;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.cta-section {
    padding: 0;
    background: #eef1f3;
    overflow: hidden;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 0;
    background: var(--navy-dark);
    color: #e1e6eb;
}

/* Main Footer Layout */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.4fr);
    align-items: center;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Footer Logo */
.site-footer .footer-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: contain;
}

/* Offices and Contact Button Column */
.site-footer .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    text-align: center;
}

/* Footer Offices */
.site-footer .footer-offices {
    margin: 0 0 18px;
}

.site-footer .footer-offices p {
    margin: 0;
    color: #e1e6eb;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* Contact Button */
.site-footer .footer-contact-btn {
    display: inline-block;
    flex-shrink: 0;
    margin: 0;
    padding: 12px 26px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.site-footer .footer-contact-btn:hover,
.site-footer .footer-contact-btn:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--navy-dark);
}

.site-footer .footer-contact-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Service Area */
.site-footer .footer-service-area {
    min-width: 0;
    padding: 0;
}

.site-footer .footer-service-area h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.site-footer .footer-service-area p {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.site-footer .footer-service-area p:last-child {
    margin-bottom: 0;
    color: #bfcbd6;
    font-size: 18px;
}
/* Copyright */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 5%;
    text-align: center;
}

.site-footer .footer-bottom p {
    margin: 0;
    color: #bfcbd6;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================
   FOOTER MOBILE
========================= 

@media (max-width: 800px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 26px;
        padding-top: 32px;
        padding-bottom: 32px;
        text-align: center;
    }

    .site-footer .footer-logo {
        width: 130px;
    }

    .site-footer .footer-service-area h4 {
        font-size: 18px;
    }
} */


/* =========================
   PROJECTS PAGE HERO
========================= */

.projects-hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            var(--navy-dark) 0%,
            var(--navy-dark) 48%,
            rgba(3, 42, 89, 0.95) 52%,
            rgba(3, 42, 89, 0.70) 65%,
            rgba(3, 42, 89, 0.25) 82%,
            rgba(3, 42, 89, 0.05) 100%
        ),
        url("images/projects-hero.jpg");

    background-size: auto 400%;
    background-position: right center;
    background-repeat: no-repeat;
}

.projects-hero .container {
    position: relative;
    z-index: 2;
}

.projects-hero .container > p:last-child {
    max-width: 550px;
}

/* =========================
   FONT SIZE ADJUSTMENTS
========================= */

body {
    font-size: 1.15rem;
}

/* Navigation */
.main-nav a {
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    font-size: 1.05rem;
}

/* Paragraphs */
.split-layout > div:first-child > p:not(.section-label),
.cta-text p,
.page-hero p:last-child {
    font-size: 1.15rem;
}

/* Credentials */
.credential p {
    font-size: 1.05rem;
}

/* Project Cards */
.project-card h3 {
    font-size: 1.35rem;
}

.project-contractor {
    font-size: 1.05rem;
}

/* Small Labels */
.section-label,
.eyebrow {
    font-size: 0.9rem;
}

/* Navigation - Keep Original Size */
.main-nav a {
    font-size: 0.92rem;
}

/* =========================
   GLOBAL TYPOGRAPHY
========================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* MAIN HEADINGS */
h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.13;
    margin-bottom: 24px;
}

/* MAIN PAGE TITLES */
h1 {
    font-size: clamp(42px, 5.7vw, 76px);
    letter-spacing: -1.8px;
}

/* SECTION TITLES */
h2 {
    font-size: clamp(30px, 3.5vw, 46px);
    letter-spacing: -1.8px;
}

/* SUBHEADINGS */
h3 {
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

/* SMALL SECTION LABELS */
.eyebrow,
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* STANDARD PARAGRAPHS */
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* INTRODUCTORY PARAGRAPHS */
.intro {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.8;
}

/* HERO DESCRIPTION */
.hero-copy {
    font-size: 16px;
    font-weight: 400;
}

/* NAVIGATION */
.main-nav a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* BUTTONS */
.btn,
.footer-contact-btn,
button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* TEXT LINKS */
.text-link {
    font-size: 14px;
    font-weight: 700;
}

/* PROJECT CARD TITLES */
.project-card h3 {
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.13;
}

/* PROJECT CARD DESCRIPTIONS */
.project-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

/* SERVICE AREA BUTTONS */
.states span {
    font-size: 14px;
    font-weight: 400;
}

/* MOBILE TYPOGRAPHY 
@media (max-width: 650px) {

    h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .intro {
        font-size: 17px;
    }

    .project-card p {
        font-size: 13px;
    }
}
*/

/* =========================================
   MOBILE RESPONSIVE FIXES
   PLUMBING PURVEYORS WEBSITE
   Paste at the VERY BOTTOM of style.css
========================================= */

@media (max-width: 800px) {

    /* =========================
       GENERAL MOBILE LAYOUT
    ========================= */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .container,
    .hero-content {
        width: 92%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: 55px 0;
    }

    h1 {
        font-size: clamp(30px, 7vw, 42px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    h2 {
        font-size: clamp(26px, 6vw, 34px);
        line-height: 1.2;
        letter-spacing: -0.8px;
    }

    h3 {
        font-size: 21px;
        line-height: 1.3;
    }

    p {
        font-size: 15px;
        line-height: 1.65;
    }

    .section-heading h2 {
        white-space: normal;
    }


    /* =========================
       HEADER AND NAVIGATION
    ========================= */

    .site-header {
        position: relative;
        width: 100%;
    }

    .nav-container {
        width: 96%;
        min-height: auto;
        padding: 14px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .main-logo {
        width: 105px;
        max-width: 100%;
        height: auto;
    }

    .main-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 100%;
        min-width: 0;
    }

    .main-nav a {
        flex: 0 1 auto;
        min-width: 0;
        padding: 9px 7px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .nav-contact {
        padding: 9px 7px;
    }


    /* =========================
       HOMEPAGE HERO
    ========================= */

    .hero {
        min-height: auto;
        padding: 75px 0;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.15;
        margin-bottom: 22px;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 15px;
        font-size: 13px;
        text-align: center;
    }


    /* =========================
       CREDENTIALS
       KEEP ALL FOUR IN ONE ROW
    ========================= */

    .credentials-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
    }

    .credential {
        min-width: 0;
        padding: 18px 7px;
        border-right: 1px solid rgba(255,255,255,0.15);
        border-bottom: none;
        text-align: center;
    }

    .credential:last-child {
        border-right: none;
    }

    .credential-number {
        font-size: 17px;
        line-height: 1.2;
        margin-bottom: 8px;
        overflow-wrap: anywhere;
    }

    .credential p,
    .credential p.licensed-southeast,
    .credential-emphasis {
        font-size: 10px;
        line-height: 1.4;
        font-weight: 500;
        overflow-wrap: anywhere;
    }


    /* =========================
       ABOUT SECTION
    ========================= */

    .split-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .split-layout > div:first-child > p:not(.section-label) {
        font-size: 15px;
        line-height: 1.7;
    }

    .feature-box {
        padding: 25px 22px;
    }

    .check-list li {
        font-size: 14px;
        padding: 12px 0;
    }

    .large-copy {
        font-size: 17px;
    }

    .about-main {
        padding: 50px 0;
    }

    .about-main-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .about-main-image {
        width: 100%;
        max-width: 350px;
        justify-self: center;
    }


    /* =========================
       SERVICE CARDS
    ========================= */

    .section-heading {
        margin-bottom: 30px;
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .service-card,
    .info-card {
        min-height: auto;
        padding: 25px;
    }

    .service-card h3,
    .info-card h3 {
        font-size: 20px;
    }

    .service-card p,
    .info-card p {
        font-size: 15px;
    }


    /* =========================
       SERVICE AREA
       STATES IN TWO ROWS
    ========================= */

    .service-area {
        padding: 55px 0;
    }

    .service-area h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .states {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 500px;
        margin: 25px auto 0;
    }

    .states span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 10px 5px;
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
        overflow-wrap: break-word;
    }


    /* =========================
       PROJECTS AND CAROUSELS
    ========================= */

    .projects-section {
        padding: 50px 0;
    }

    .projects-section .showcase-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .showcase-photo {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .showcase-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .showcase-projects {
        width: 100%;
        aspect-ratio: auto;
        min-height: 350px;
    }

    .showcase-title {
        padding: 14px 12px;
        font-size: 16px;
    }

    .projects-section .showcase-carousel .project-card {
        padding: 28px 42px;
    }

    .project-card h3 {
        font-size: 19px;
        line-height: 1.3;
    }

    .project-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .project-contractor {
        font-size: 12px;
    }

    .carousel-btn {
        width: 28px;
        height: 40px;
    }

    .carousel-btn.prev {
        left: 4px;
    }

    .carousel-btn.next {
        right: 4px;
    }


    /* =========================
       CALL TO ACTION
    ========================= */

    .cta-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .cta-text {
        padding: 45px 0;
        width: 100%;
    }

    .cta-content h2 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .cta-text p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .cta-image {
        width: 100%;
        max-width: 100%;
        min-height: 0;
    }

    .cta-image img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }


    /* =========================
       FOOTER
    ========================= */

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
    }

    .site-footer .footer-logo {
        width: 145px;
        max-width: 100%;
    }

    .site-footer .footer-contact {
        padding: 0;
        gap: 10px;
    }

    .site-footer .footer-offices {
        margin-bottom: 8px;
    }

    .site-footer .footer-offices p {
        font-size: 14px;
        line-height: 1.5;
    }

    .site-footer .footer-contact-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .site-footer .footer-service-area {
        width: 100%;
        padding: 0;
    }

    .site-footer .footer-service-area h4 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .site-footer .footer-service-area p,
    .site-footer .footer-service-area p:last-child {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .site-footer .footer-bottom {
        padding: 12px 5%;
    }

    .site-footer .footer-bottom p {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }

}


/* =========================================
   SMALL PHONES
   iPhone SE and similar sizes
========================================= */

@media (max-width: 390px) {

    .main-nav {
        gap: 3px;
    }

    .main-nav a {
        padding: 8px 5px;
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons .btn {
        font-size: 12px;
        padding: 11px 12px;
    }

    .credential {
        padding: 16px 4px;
    }

    .credential-number {
        font-size: 15px;
    }

    .credential p,
    .credential p.licensed-southeast,
    .credential-emphasis {
        font-size: 9px;
    }

    .states {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .states span {
        font-size: 12px;
        padding: 10px 6px;
    }

    .projects-section .showcase-carousel .project-card {
        padding: 25px 35px;
    }

}

/* =========================================
   MOBILE FIXES - PARTNERS AND CONTACT
========================================= */

@media (max-width: 800px) {

    /* PARTNERS PAGE */
    .partner-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
    }

    .partner-grid div {
        min-width: 0;
        min-height: 100px;
        padding: 15px 10px;
        font-size: 13px;
        overflow-wrap: anywhere;
        text-align: center;
    }

    /* CONTACT PAGE */
    .contact-offices {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        width: 100%;
    }

    .contact-office {
        width: 100%;
        min-width: 0;
        padding: 25px;
    }

}


/* ==========================================
   PROJECTS PAGE - MOBILE CARD REDESIGN
   ========================================== */

@media (max-width: 800px) {

    /* PROJECTS SECTION */

    .projects-section {
        padding: 35px 0 50px;
    }

    .projects-section > .container {
        width: 92%;
        max-width: 100%;
    }

    .projects-section .project-category {
        margin: 0 0 32px;
        padding: 0;
    }

    .projects-section .project-category:last-child {
        margin-bottom: 0;
    }

    /* STACK CATEGORY CONTENT */

    .projects-section .showcase-layout,
    .projects-section .showcase-layout.image-right {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        min-width: 0;
    }

    /* REMOVE DESKTOP SQUARE DIMENSIONS */

    .projects-section .showcase-projects {
        display: contents;
    }

    /* CATEGORY TITLE FIRST */

    .projects-section .showcase-title {
        order: 1;
        width: 100%;
        padding: 16px 18px;
        background: var(--blue);
        color: white;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        text-align: center;
    }

    /* IMAGE SECOND */

    .projects-section .showcase-photo {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: #e8edf1;
    }

    .projects-section .showcase-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* PROJECT CAROUSEL THIRD */

    .projects-section .showcase-carousel-wrapper {
        order: 3;
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        padding-bottom: 60px;
        background: white;
        border: 1px solid var(--light-gray);
        border-top: 0;
    }

    .projects-section .showcase-carousel {
        display: flex;
        align-items: stretch;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .projects-section .showcase-carousel::-webkit-scrollbar {
        display: none;
    }

    /* PROJECT CARDS */

    .projects-section .showcase-carousel .project-card {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        min-height: 235px;
        padding: 25px 22px 15px;
        box-sizing: border-box;
        scroll-snap-align: start;
        background: white;
        display: flex;
        flex-direction: column;
    }

    /* PROJECT TITLE */

    .projects-section .project-card h3 {
        position: static;
        display: block;
        width: 100%;
        margin: 0 0 12px;
        padding: 0;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: -0.3px;
        color: var(--navy);
        text-align: left;
    }

    /* LOCATION AND DESCRIPTION */

    .projects-section .project-card p {
        font-size: 14px;
        line-height: 1.55;
        margin: 0 0 10px;
    }

    .projects-section .project-location {
        color: var(--text);
        font-weight: 500;
    }

    .projects-section .project-description {
        color: var(--gray);
    }

    /* CONTRACTOR */

    .projects-section .project-contractor {
        margin-top: auto !important;
        padding-top: 14px;
        border-top: 1px solid var(--light-gray);
        color: var(--gray);
        font-size: 13px;
    }

    /* IN PROGRESS LABEL */

    .projects-section .project-status {
        align-self: flex-start;
        padding: 5px 10px;
        margin-bottom: 15px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.8px;
    }

    /* BOTH ARROWS AT BOTTOM RIGHT */

    .projects-section .carousel-btn {
        position: absolute;
        top: auto;
        bottom: 12px;
        transform: none;
        width: 38px;
        height: 38px;
        border: 1px solid var(--light-gray);
        font-size: 18px;
        cursor: pointer;
        z-index: 5;
    }

    .projects-section .carousel-btn.prev {
        left: auto;
        right: 60px;
        background: white;
        color: var(--navy);
    }

    .projects-section .carousel-btn.next {
        left: auto;
        right: 14px;
        background: var(--navy);
        color: white;
    }

}

/* SMALL PHONES */

@media (max-width: 390px) {

    .projects-section .showcase-carousel .project-card {
        padding: 22px 18px 15px;
    }

    .projects-section .project-card h3 {
        font-size: 18px;
    }

    .projects-section .showcase-title {
        font-size: 15px;
        padding: 14px 12px;
    }

}


/* ==========================================
   PROJECTS HERO - MOBILE ONLY
   ========================================== */

@media (max-width: 800px) {

    .projects-hero {
        min-height: 350px;
        padding: 55px 0;
        display: flex;
        align-items: center;

        background:
            linear-gradient(
                90deg,
                rgba(3, 36, 71, 0.98) 0%,
                rgba(3, 36, 71, 0.90) 55%,
                rgba(3, 36, 71, 0.55) 100%
            ),
            url("images/projects-hero.jpg");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .projects-hero .container {
        width: 92%;
        max-width: 100%;
    }

    .projects-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 18px;
    }

    .projects-hero .container > p:last-child {
        max-width: 330px;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 0;
    }

}


/* =========================================
   MOBILE DROPDOWN NAVIGATION ONLY
========================================= */

@media (max-width: 800px) {

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .nav-container {
        width: 92%;
        min-height: 75px;
        padding: 10px 0;
        margin: 0 auto;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    /* Logo on left */
    .main-logo {
        width: 90px;
        height: auto;
    }

    /* Hamburger button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;

        width: 44px;
        height: 44px;
        padding: 8px;

        background: white;
        border: 1px solid var(--light-gray);
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        background: var(--navy);
        transition: 0.25s ease;
    }

    /* Hide original navigation on mobile */
    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;
        padding: 10px 4% 18px;

        background: white;
        border-top: 1px solid var(--light-gray);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);

        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* Show dropdown when opened */
    .main-nav.menu-open {
        display: flex;
    }

    /* Dropdown links */
    .main-nav a,
    .main-nav .nav-contact {
        display: block;
        width: 100%;
        padding: 13px 15px;

        font-size: 15px;
        text-align: left;

        color: var(--navy);
        background: white;

        border: none;
        border-bottom: 1px solid #e8edf1;
    }

    /* Active page */
    .main-nav a.active {
        background: #eef4f9;
        color: var(--blue);
        border-left: 3px solid var(--blue);
    }

    /* Hamburger animation */
    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}

/* Hidden on desktop */
@media (min-width: 801px) {
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 800px) {

    .site-footer .footer-service-area {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        padding-top: 22px;
        margin-top: 8px;
    }

}


/* HIDE PUBLIC & SCHOOL PROJECTS GRAY IMAGE - MOBILE ONLY */

@media (max-width: 800px) {

    .projects-section .showcase-photo.showcase-gray {
        display: none;
    }

}

/* MOBILE HOMEPAGE - FULL WIDTH CTA IMAGE */
@media (max-width: 800px) {

    .cta-image {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .cta-image img {
        display: block;
        width: 100%;
        max-width: none;
        height: 260px;
        object-fit: cover;
    }

}

