/* =========================================================
   TSS SOLAR PANEL POWER WASHING
   MAIN WEBSITE STYLES
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #0b214d;
    background: #ffffff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   BRAND COLORS
========================================================= */

:root {
    --navy: #0b214d;
    --navy-dark: #061a40;
    --green: #5d9418;
    --green-bright: #72a51c;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --text: #0b214d;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    min-height: 112px;
    padding: 18px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    position: relative;
    z-index: 10;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 100px;
    height: auto;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav > a:not(.quote-button) {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s ease;
}

.main-nav > a:not(.quote-button):hover {
    color: var(--green);
}


/* Quote button */

.quote-button {
    min-width: 190px;
    padding: 12px 18px;
    border-radius: 9px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quote-button span {
    color: var(--green-bright);
    font-size: 28px;
}

.quote-button small {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.quote-button strong {
    display: block;
    font-size: 16px;
    margin-top: 2px;
}


/* =========================================================
   GENERAL
========================================================= */

main {
    width: 100%;
}

section {
    width: 100%;
}

.section-label {
    color: var(--green);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.green-line {
    width: 58px;
    height: 3px;
    background: var(--green);
    margin: 18px 0 22px;
}


/* =========================================================
   ABOUT / HERO
========================================================= */

.about-hero {
    min-height: 510px;
    display: grid;
    grid-template-columns: 44% 56%;
    position: relative;
    overflow: hidden;
}

.about-content {
    padding: 30px 4% 30px 4%;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.about-content h1 {
    font-size: clamp(38px, 4vw, 62px);
    line-height: 0.98;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--navy);
}

.about-intro {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}


/* Hero image */

.hero-image {
    min-height: 510px;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: "";
    position: absolute;
    left: -90px;
    top: 0;
    bottom: 0;
    width: 180px;
    z-index: 2;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        rgba(255,255,255,0.9) 20%,
        rgba(255,255,255,0) 100%
    );
}

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


/* =========================================================
   BENEFITS
========================================================= */

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

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    font-weight: bold;
}

.benefit h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--navy);
}

.benefit p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--navy);
}


/* =========================================================
   COMMITMENT
========================================================= */

.commitment {
    display: grid;
    grid-template-columns: 57% 43%;
    gap: 32px;
    align-items: center;
    padding: 24px 4% 30px;
    background: #ffffff;
}

.about-content .section-label {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.commitment .section-label {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.commitment-image {
    overflow: hidden;
    border-radius: 12px;
}

.commitment-image img {
    height: 295px;
    object-fit: cover;
}

.commitment-content {
    padding: 10px 2% 10px 0;
}

.commitment-content > p:not(.section-label) {
    font-size: 16px;
    line-height: 1.65;
    max-width: 620px;
}

.contact-details {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-details a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
}

.contact-details span {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}


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

.services {
    background: var(--light-bg);
    padding: 45px 4% 38px;
}

.services-heading {
    text-align: center;
    margin-bottom: 34px;
}

.services-heading .section-label {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.services-heading h2 {
    color: var(--navy);
    font-size: clamp(36px, 3.5vw, 52px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin: 0 auto 20px;
    max-width: 1200px;
}

.services-heading > p {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    font-size: 19px;
    line-height: 1.55;
    text-align: center;
}


/* Service cards */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.service-image {
    height: 250px;
    overflow: hidden;
    background: #ffffff;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.service-content {
    padding: 34px 18px 22px;
    position: relative;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    position: absolute;
    top: -29px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.service-content h3 {
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--navy);
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {

    min-height: 150px;

    padding: 30px 10%;

    background: var(--navy-dark);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 90px;

}

.contact-cta h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.contact-cta p {
    font-size: 15px;
}


/* Call button */

.call-button {
    min-width: 230px;
    padding: 12px 25px;
    border-radius: 7px;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 28px;
}

.call-button span {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.call-button strong {
    font-size: 16px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 22px 4%;
    background: var(--navy-dark);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .site-header {
        padding: 16px 4%;
    }

    .logo-text strong {
        font-size: 48px;
    }

    .logo-text span {
        font-size: 13px;
    }

    .main-nav {
        gap: 18px;
    }

    .quote-button {
        min-width: 160px;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 40px 6%;
    }

    .hero-image {
        min-height: 400px;
    }

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

    .commitment-content {
        padding: 10px 0 20px;
    }

    .services-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-heading > p {
        padding-left: 0;
    }

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

    .service-image {
        height: 240px;
    }

    .filtration-images {
        height: 240px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
h1 {
    font-size: 24px;
}

.section-label {
    font-size: 20px !important;
}

.services-title {
    font-size: 24px !important;
}

.about-title {
    font-size: 24px !important;
    line-height: 1.1 !important;
}

    .site-header {
        min-height: auto;
        padding: 14px 5%;
        flex-direction: column;
        gap: 15px;
    }

    .contact-cta {
    padding: 50px 5%;
    gap: 35px;
}

.about-section h2 {
    font-size: 38px;
    line-height: 1.05;
}
    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo-mark {
        width: 55px;
        height: 55px;
    }

    .logo-text strong {
        font-size: 40px;
    }

    .logo-text span {
        font-size: 10px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .main-nav > a:not(.quote-button) {
        font-size: 13px;
    }

.quote-button {
    min-width: auto;
    width: auto;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.2;
}

.quote-button a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

    .about-content {
        padding: 35px 5%;
    }

    .about-content h1 {
        font-size: 42px;
    }

    .about-intro {
        font-size: 15px;
    }

    .benefits {
        gap: 8px;
    }

    .benefit h3 {
        font-size: 12px;
    }

    .benefit p {
        font-size: 10px;
    }

    .hero-image {
        min-height: 300px;
    }

    .commitment {
    display: block;
    padding: 0 5% 20px;
    margin: 0;
    min-height: 0;
}

.commitment-image {
    display: none;
}

.commitment-image img {
    height: auto;
}

.commitment-content {
    padding: 0;
    margin: 0;
}

    .services {
        padding: 35px 5%;
    }

    .services-heading h2 {
        font-size: 38px;
    }

    .service-image {
        height: 220px;
    }

    .filtration-images {
        height: 220px;
    }

    .contact-cta {
    min-height: auto;
    padding: 35px 5% 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .call-button {
        width: 100%;
    }

    footer {
        flex-direction: column;
        padding: 25px 5%;
    }
}
/* =========================================================
   FILTRATION SYSTEM â€” TWO PHOTOS
========================================================= */

.filtration-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: 250px;
    background: #ffffff;
}

.filtration-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    display: block;
}