@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
    --navy: #071a2f;
    --navy-soft: #0d2946;
    --blue: #1677ff;
    --teal: #19b7b0;
    --teal-light: #d9f6f4;
    --sky: #eef7ff;
    --white: #ffffff;
    --text: #172033;
    --muted: #667085;
    --border: #dbe4ec;
    --light: #f7fafc;
    --shadow: 0 20px 50px rgba(7, 26, 47, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* DEMO BANNER */

.demo-banner {
    padding: 8px 20px;
    text-align: center;
    color: var(--white);
    background: var(--navy);
    font-size: 13px;
    font-weight: 700;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-family: "Manrope", sans-serif;
    color: var(--navy);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-left: auto;
}

.nav-links a {
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    padding: 13px 19px;
    border-radius: 10px;
    color: var(--white);
    background: var(--blue);
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: #0d5fd1;
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 27px;
}


/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
}

.button-primary:hover {
    background: #0d5fd1;
}

.button-secondary {
    color: var(--navy);
    background: var(--white);
    border-color: var(--border);
}

.button-secondary:hover {
    border-color: var(--blue);
}

.button-white {
    color: var(--navy);
    background: var(--white);
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.button-full {
    width: 100%;
}


/* HERO */

.hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(25, 183, 176, 0.18), transparent 28%),
        linear-gradient(135deg, #f6fbff, #eaf5ff);
}

.hero-grid {
    min-height: 670px;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr;
    align-items: center;
    gap: 80px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #8ee6e1;
}

.hero h1 {
    max-width: 760px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.hero-description {
    max-width: 650px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 19px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    color: var(--navy-soft);
    font-size: 14px;
    font-weight: 700;
}

.hero-panel {
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-panel-top {
    padding: 38px;
}

.emergency-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 30px;
    color: #a8f0ec;
    background: rgba(25, 183, 176, 0.14);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-panel h2 {
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero-panel p {
    margin-top: 17px;
    color: #b9c8d7;
}

.hero-panel-actions {
    display: grid;
    gap: 16px;
    padding: 28px 38px 38px;
    background: var(--navy-soft);
}

.emergency-call {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.call-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: var(--teal);
    font-size: 22px;
}

.emergency-call span:last-child {
    display: flex;
    flex-direction: column;
}

.emergency-call small {
    color: #a8b7c7;
}

.emergency-call strong {
    color: var(--white);
    font-size: 20px;
}


/* TRUST STRIP */

.trust-strip {
    color: var(--white);
    background: var(--navy);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    padding: 29px 22px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid div:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.trust-grid span {
    margin-top: 3px;
    color: #b5c3d1;
    font-size: 13px;
}


/* GENERAL SECTIONS */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-content h2,
.emergency-section h2,
.service-type-card h2 {
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.section-heading > p:last-child,
.about-content > p,
.contact-content > p,
.service-type-card > p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
}


/* SERVICES */

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

.service-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(22, 119, 255, 0.35);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    color: var(--navy);
    background: var(--teal-light);
    font-size: 23px;
    font-weight: 800;
}

.service-card h3,
.process-card h3 {
    color: var(--navy);
    font-family: "Manrope", sans-serif;
}

.service-card p {
    margin: 12px 0 22px;
    color: var(--muted);
}

.service-card a {
    color: var(--blue);
    font-weight: 800;
}


/* ABOUT */

.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 75px;
}

.about-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #133655, #071a2f);
    box-shadow: var(--shadow);
}

.pipe {
    position: absolute;
    border-radius: 18px;
    background: linear-gradient(90deg, #c9d7e3, #f8fbfd, #9fb1bf);
}

.pipe-one {
    width: 320px;
    height: 68px;
    top: 90px;
    left: -55px;
    transform: rotate(18deg);
}

.pipe-two {
    width: 280px;
    height: 68px;
    top: 210px;
    right: -30px;
    transform: rotate(-15deg);
}

.pipe-three {
    width: 210px;
    height: 68px;
    bottom: 90px;
    left: 80px;
    transform: rotate(8deg);
}

.water-drop {
    position: absolute;
    width: 70px;
    height: 90px;
    border-radius: 50% 50% 50% 10%;
    background: linear-gradient(145deg, #63d8d1, #1677ff);
    transform: rotate(45deg);
}

.drop-one {
    top: 70px;
    right: 80px;
}

.drop-two {
    right: 160px;
    bottom: 95px;
    transform: scale(0.65) rotate(45deg);
}

.about-badge {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
}

.about-badge strong {
    display: block;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: 23px;
}

.about-badge span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 28px 0 32px;
    color: var(--navy-soft);
    font-weight: 600;
}


/* EMERGENCY SECTION */

.emergency-section {
    padding: 80px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 50%, rgba(25, 183, 176, 0.18), transparent 24%),
        var(--navy);
}

.emergency-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.emergency-grid > div:first-child {
    max-width: 720px;
}

.emergency-section h2 {
    color: var(--white);
}

.emergency-section p {
    margin-top: 16px;
    color: #bac7d4;
}

.emergency-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* PROCESS */

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

.process-card {
    padding: 34px;
    border-top: 4px solid var(--teal);
    border-radius: 0 0 18px 18px;
    background: var(--sky);
}

.process-number {
    display: block;
    margin-bottom: 28px;
    color: var(--blue);
    font-family: "Manrope", sans-serif;
    font-size: 36px;
    font-weight: 800;
}

.process-card p {
    margin-top: 12px;
    color: var(--muted);
}


/* SERVICE TYPES */

.service-types-section {
    background: var(--light);
}

.service-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-type-card {
    padding: 42px;
    border-radius: 22px;
}

.residential-card {
    border: 1px solid var(--border);
    background: var(--white);
}

.commercial-card {
    color: var(--white);
    background: var(--navy-soft);
}

.commercial-card h2,
.commercial-card > p {
    color: var(--white);
}

.service-type-card ul {
    display: grid;
    gap: 10px;
    margin: 25px 0 30px;
    padding-left: 18px;
}

.commercial-card ul {
    color: #d2dce5;
}


/* REVIEWS */

.reviews-section {
    background: #0a223b;
}

.section-heading-light h2 {
    color: var(--white);
}

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

.review-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.stars {
    margin-bottom: 20px;
    color: #ffd166;
    letter-spacing: 3px;
}

.review-card p {
    margin-bottom: 24px;
    color: #d4dee8;
    font-size: 17px;
}


/* CONTACT */

.contact-section {
    background:
        radial-gradient(circle at 15% 45%, rgba(25, 183, 176, 0.13), transparent 24%),
        var(--sky);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 70px;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-top: 35px;
}

.contact-details div {
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    color: var(--navy);
}

.contact-details a,
.contact-details span {
    margin-top: 4px;
    color: var(--muted);
}

.contact-form {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #ccd8e2;
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.11);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    min-height: 24px;
    margin-top: 14px;
    text-align: center;
    color: var(--blue);
    font-weight: 700;
}


/* FOOTER */

.site-footer {
    padding-top: 70px;
    color: var(--white);
    background: #061625;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer-logo {
    color: var(--white);
}

.footer-grid p {
    max-width: 350px;
    margin-top: 18px;
    color: #aebdca;
}

.footer-grid h3 {
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
}

.footer-grid a:not(.logo) {
    margin-bottom: 10px;
    color: #aebdca;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 55px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8fa0ae;
    font-size: 13px;
}


/* TABLET */

@media (max-width: 1000px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links.active {
        position: absolute;
        top: 78px;
        right: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.active a {
        padding: 13px;
    }

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

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

    .process-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

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

    .emergency-grid {
        align-items: flex-start;
        flex-direction: column;
    }

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


/* MOBILE */

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero-grid {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .hero-buttons,
    .emergency-actions {
        flex-direction: column;
    }

    .hero-buttons .button,
    .emergency-actions .button {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 9px;
    }

    .trust-grid,
    .services-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section {
        padding: 75px 0;
    }

    .hero-panel-top,
    .hero-panel-actions,
    .service-type-card,
    .contact-form {
        padding: 26px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}