/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ffffff;
    color: #183053;

    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;

    background: #3f668f;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-container {
    width: min(1200px, calc(100% - 40px));
    height: 100px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 3rem;
}


/* LOGO */

.site-logo {
    display: inline-flex;
    align-items: center;
}

.logo-large {
    width: 100px;
    height: auto;
}

.logo-small {
    display: none;

    width: 58px;
    height: auto;
}


/* NAVIGATION */

.primary-nav {
    display: flex;
    align-items: center;

    gap: 2rem;
}

.primary-nav a {
    color: #ffffff;

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.primary-nav a:hover {
    color: #79d6f2;
}

.primary-nav .nav-cta {
    padding: 0.8rem 1.2rem;

    background: #1999c6;
    color: #ffffff;
}

.primary-nav .nav-cta:hover {
    background: #157fa5;
    color: #ffffff;
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 6px 0;

    background: #ffffff;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #183053;
}


/* IMAGE */

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;

    overflow: hidden;

    background: #183053;
}

.hero-image img {
    position: absolute;

    width: 65%;
    height: auto;

    top: 50%;
    right: 0;

    transform: translateY(-50%);

    max-width: none;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 28%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 28%,
        black 100%
    );
}

/* OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(24, 48, 83, 0.95) 0%,
            rgba(24, 48, 83, 0.82) 34%,
            rgba(24, 48, 83, 0.35) 58%,
            rgba(24, 48, 83, 0.04) 78%
        );
}


/* CONTENT */

.hero-container {
    position: relative;

    z-index: 2;

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 150px 0 80px;
}

.hero-content {
    max-width: 690px;
}


/* EYEBROW */

.hero-eyebrow {
    margin: 0 0 1.4rem;

    color: #79d6f2;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}


/* HEADLINE */

.hero h1 {
    margin: 0 0 1.75rem;

    color: #ffffff;

    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;

    color: #79d6f2;
}


/* INTRO */

.hero-intro {
    max-width: 610px;

    margin: 0 0 2.5rem;

    color: #e3edf4;

    font-size: 1.1rem;
    line-height: 1.75;
}


/* BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 1rem;

    margin-bottom: 4rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0.95rem 1.5rem;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #1999c6;
    color: #ffffff;
}

.button-primary:hover {
    background: #157fa5;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.65);

    color: #ffffff;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* TRUST BAR */

.hero-trust {
    display: flex;

    max-width: 650px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    flex: 1;

    padding: 1.5rem 1.5rem 0 0;
}

.trust-item + .trust-item {
    padding-left: 1.5rem;

    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    margin-bottom: 0.25rem;

    color: #ffffff;

    font-size: 1rem;
}

.trust-item span {
    color: #b9cad6;

    font-size: 0.85rem;
}


/* =========================================
   HEADER / HERO - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .primary-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 20px;
        right: 20px;

        padding: 1.5rem;

        background: #3f668f;

        border-top: 1px solid rgba(255, 255, 255, 0.18);

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
    }


    .primary-nav.nav-open {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }


    .primary-nav a {
        padding: 1rem 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }


    .primary-nav .nav-cta {
        margin-top: 1rem;

        padding: 1rem;

        text-align: center;

        border-bottom: 0;
    }


    .menu-toggle {
        display: block;
    }

}


@media (max-width: 600px) {

    .nav-container {
        height: 78px;
    }


    /* SWITCH TO COMPACT LOGO */

    .logo-large {
        display: none;
    }

    .logo-small {
        display: block;

        width: 25px;
        height: auto;
        transform: translateY(0px);
    }

    .hero {
        min-height: 100svh;

        align-items: flex-end;
    }

    .hero-image img {
        width: 95%;
        height: auto;

        top: 40px;
        right: 0;

        transform: none;

        object-fit: initial;

        -webkit-mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 70%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 70%,
            transparent 100%
        );
    }

    .hero-container {
        width: calc(100% - 40px);

        padding: 130px 0 45px;
    }

    .hero h1 {
        font-size: clamp(3.25rem, 15vw, 4.6rem);
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 3rem;
    }

    .hero-trust {
        flex-direction: column;
    }

    .trust-item {
        padding: 1rem 0;
    }

    .trust-item + .trust-item {
        padding-left: 0;

        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

}

/* =========================================
   HERO - SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .hero-image img {
        width: 88%;
        top: 55px;
        right: 0;
    }

}

/* =========================================
   COMMON PLUMBING PROBLEMS
========================================= */

.problems-section {
    padding: 8rem 0;

    background: #ffffff;
    color: #183053;
}

.problems-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADING */

.problems-heading {
    max-width: 760px;

    margin-bottom: 5rem;
}

.problems-heading .section-eyebrow {
    margin: 0 0 1.25rem;

    color: #1999c6;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.problems-heading h2 {
    margin: 0 0 1.75rem;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.045em;
}

.problems-heading h2 span {
    display: block;

    color: #1999c6;
}

.problems-heading > p:last-child {
    max-width: 640px;

    margin: 0;

    color: #586b7d;

    font-size: 1.08rem;
    line-height: 1.75;
}


/* GRID */

.problems-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #dce4ea;
    border-left: 1px solid #dce4ea;
}

.problem-item {
    padding: 2.5rem;

    border-right: 1px solid #dce4ea;
    border-bottom: 1px solid #dce4ea;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.problem-item:hover {
    background: #f5f9fc;

    transform: translateY(-3px);
}

.problem-number {
    display: block;

    margin-bottom: 2.25rem;

    color: #1999c6;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.problem-item h3 {
    margin: 0 0 1rem;

    font-size: 1.45rem;
    font-weight: 700;
}

.problem-item p {
    margin: 0;

    color: #617486;

    font-size: 0.98rem;
    line-height: 1.7;
}

/* =========================================
   COMMON PLUMBING PROBLEMS - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .problems-section {
        padding: 5rem 0;
    }

    .problems-container {
        width: calc(100% - 40px);
    }

    .problems-heading {
        margin-bottom: 3.5rem;
    }

    .problems-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .problem-item {
        padding: 2rem;
    }

}

/* =========================================
   WHY FIX YOUR LEAKS
========================================= */

.why-section {
    padding: 8rem 0;

    background: #142a49;
    color: #ffffff;
}

.why-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 8rem;
    align-items: start;
}


/* HEADING */

.why-heading {
    position: static;
    
}

.why-heading .section-eyebrow {
    margin: 0 0 1.25rem;

    color: #79d6f2;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.why-heading h2 {
    margin: 0 0 2rem;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.045em;
}

.why-heading h2 span {
    display: block;

    color: #79d6f2;
}

.why-intro {
    max-width: 520px;

    margin: 0;

    color: #c6d5e3;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* TRUST POINTS */

.why-points {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.why-point {
    display: grid;
    grid-template-columns: 65px 1fr;

    gap: 1.5rem;

    padding: 3rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.why-number {
    padding-top: 0.35rem;

    color: #79d6f2;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.why-point h3 {
    margin: 0 0 1rem;

    font-size: 1.65rem;
    font-weight: 700;
}

.why-point p {
    max-width: 520px;

    margin: 0;

    color: #b8cad9;

    font-size: 1rem;
    line-height: 1.75;
}

/* =========================================
   WHY FIX YOUR LEAKS - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .why-container {
        grid-template-columns: 1fr;

        gap: 4rem;
    }

    
    .why-intro {
        max-width: 650px;
    }

}


@media (max-width: 600px) {

    .why-section {
        padding: 5rem 0;
    }

    .why-container {
        width: calc(100% - 40px);

        gap: 3.5rem;
    }

    .why-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .why-point {
        grid-template-columns: 45px 1fr;

        gap: 1rem;

        padding: 2.5rem 0;
    }

}

/* =========================================
   SMALL LEAK / BIG PROBLEM
========================================= */

.leak-section {
    padding: 8rem 0;

    background: #f3f7fa;
    color: #183053;
}

.leak-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 0.85fr;

    gap: 7rem;
    align-items: center;
}


/* LEFT CONTENT */

.leak-content {
    max-width: 650px;
}

.leak-content .section-eyebrow {
    margin: 0 0 1.25rem;

    color: #1999c6;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.leak-content h2 {
    margin: 0 0 2rem;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.045em;
}

.leak-content h2 span {
    display: block;

    color: #1999c6;
}

.leak-intro {
    margin: 0 0 1.5rem;

    color: #4f6476;

    font-size: 1.08rem;
    line-height: 1.8;
}

.leak-copy {
    margin: 0 0 2.5rem;

    color: #617486;

    font-size: 1rem;
    line-height: 1.75;
}


/* WARNING PANEL */

.leak-warning {
    padding: 3.5rem;

    background: #183053;
    color: #ffffff;
}

.warning-eyebrow {
    margin: 0 0 2rem;

    color: #79d6f2;

    text-transform: uppercase;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.warning-item {
    display: grid;
    grid-template-columns: 50px 1fr;

    gap: 1rem;

    padding: 2rem 0;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.warning-number {
    padding-top: 0.25rem;

    color: #79d6f2;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.1em;
}

.warning-item h3 {
    margin: 0 0 0.75rem;

    font-size: 1.35rem;
    font-weight: 700;
}

.warning-item p {
    margin: 0;

    color: #bfd0df;

    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   SMALL LEAK / BIG PROBLEM - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .leak-container {
        grid-template-columns: 1fr;

        gap: 4rem;
    }

    .leak-content {
        max-width: 700px;
    }

}


@media (max-width: 600px) {

    .leak-section {
        padding: 5rem 0;
    }

    .leak-container {
        width: calc(100% - 40px);

        gap: 3rem;
    }

    .leak-content h2 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .leak-warning {
        padding: 2rem;
    }

    .warning-item {
        grid-template-columns: 40px 1fr;

        padding: 1.75rem 0;
    }

}

/* =========================================
   HOW IT WORKS
========================================= */

.process-section {
    padding: 8rem 0;

    background: #ffffff;
    color: #183053;
}

.process-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADING */

.process-heading {
    max-width: 720px;

    margin-bottom: 5rem;
}

.process-heading .section-eyebrow {
    margin: 0 0 1.25rem;

    color: #1999c6;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.process-heading h2 {
    margin: 0 0 1.75rem;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.045em;
}

.process-heading h2 span {
    display: block;

    color: #1999c6;
}

.process-heading > p:last-child {
    max-width: 560px;

    margin: 0;

    color: #586b7d;

    font-size: 1.08rem;
    line-height: 1.75;
}


/* STEPS */

.process-steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #dce4ea;
}

.process-step {
    position: relative;

    padding: 2.75rem 2.5rem 0 0;
}

.process-step + .process-step {
    padding-left: 2.5rem;

    border-left: 1px solid #dce4ea;
}

.process-number {
    display: inline-flex;

    margin-bottom: 2rem;

    color: #1999c6;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.process-step h3 {
    margin: 0 0 1rem;

    font-size: 1.55rem;
    font-weight: 700;
}

.process-step p {
    margin: 0;

    color: #617486;

    font-size: 1rem;
    line-height: 1.75;
}

/* =========================================
   HOW IT WORKS - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 2.25rem 0;

        border-bottom: 1px solid #dce4ea;
    }

    .process-step + .process-step {
        padding-left: 0;

        border-left: 0;
    }

}


@media (max-width: 600px) {

    .process-section {
        padding: 5rem 0;
    }

    .process-container {
        width: calc(100% - 40px);
    }

    .process-heading {
        margin-bottom: 3.5rem;
    }

    .process-heading h2 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

}


/* =========================================
   CONTACT / FINAL CTA
========================================= */

.contact-section {
    padding: 8rem 0;

    background: #183053;
    color: #ffffff;
}

.contact-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 7rem;
    align-items: start;
}


/* LEFT SIDE */

.contact-content .section-eyebrow {
    margin: 0 0 1.25rem;

    color: #79d6f2;

    text-transform: uppercase;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.contact-content h2 {
    margin: 0 0 2rem;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.045em;
}

.contact-content h2 span {
    display: block;

    color: #79d6f2;
}

.contact-intro {
    max-width: 560px;

    margin: 0 0 3rem;

    color: #c6d5e3;

    font-size: 1.08rem;
    line-height: 1.8;
}


/* PHONE */

.contact-call {
    margin-bottom: 3.5rem;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-label {
    display: block;

    margin-bottom: 0.6rem;

    color: #b9cad6;

    font-size: 0.85rem;
}

.contact-call a {
    color: #ffffff;

    text-decoration: none;

    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
}

.contact-call a:hover {
    color: #79d6f2;
}


/* CONTACT NOTES */

.contact-notes {
    display: grid;

    gap: 1.4rem;
}

.contact-note strong,
.contact-note span {
    display: block;
}

.contact-note strong {
    margin-bottom: 0.25rem;

    color: #ffffff;

    font-size: 0.95rem;
}

.contact-note span {
    color: #aebfcd;

    font-size: 0.9rem;
}


/* FORM PANEL */

.contact-form-wrap {
    padding: 3rem;

    background: #ffffff;
    color: #183053;
}

.form-eyebrow {
    margin: 0 0 2rem;

    color: #1999c6;

    text-transform: uppercase;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.contact-form {
    display: grid;

    gap: 1.5rem;
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1.25rem;
}

.form-group {
    display: grid;

    gap: 0.55rem;
}

.form-group label {
    color: #183053;

    font-size: 0.85rem;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 0.95rem 1rem;

    border: 1px solid #ccd8e2;

    background: #f8fafc;
    color: #183053;

    font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #79d6f2;
    outline-offset: 1px;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    border: 0;

    cursor: pointer;

    justify-self: start;
}

/* =========================================
   CONTACT / FINAL CTA - RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 4rem;
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 5rem 0;
    }

    .contact-container {
        width: calc(100% - 40px);

        gap: 3rem;
    }

    .contact-content h2 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .contact-form-wrap {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }

}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 4.5rem 0 2rem;

    background: #3f668f;
    color: #ffffff;
}

.footer-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* BRAND */

.footer-brand {
    max-width: 520px;

    margin-bottom: 3.5rem;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 90px;
    height: auto;
}

.footer-brand p {
    margin: 0;

    color: #afc0ce;

    font-size: 0.95rem;
    line-height: 1.7;
}


/* NAV */

.footer-nav {
    display: flex;
    flex-wrap: wrap;

    gap: 2rem;

    padding-bottom: 3rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-nav a {
    color: #ffffff;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: #79d6f2;
}


/* BOTTOM */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;

    padding-top: 2rem;

    color: #8fa2b3;

    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.concept-note {
    text-align: right;
}

/* =========================================
   FOOTER - RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .site-footer {
        padding: 3.5rem 0 2rem;
    }

    .footer-container {
        width: calc(100% - 40px);
    }

    .footer-nav {
        flex-direction: column;

        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 0.75rem;
    }

    .concept-note {
        text-align: left;
    }

}