/* =========================================================
   WATER SUPPLY GUIDE
   Layout only. Copy, links and images stay.
========================================================= */

.supply-page {
    background: #F8FBFC;
    color: #4a4a4a;
    font-family: "Google Sans Flex", sans-serif;
}

.supply-page img {
    max-width: 100%;
}

.supply-page .nav-toggle {
    display: none;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.supply-page header {
    background: linear-gradient(to right, #ffffff, #eef8ff);
    box-shadow: 0 1px 0 rgba(0, 60, 143, 0.06), 0 8px 24px rgba(0, 40, 80, 0.06);
    padding: 0;
}

.supply-page header .container {
    width: min(1160px, calc(100% - 48px));
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.supply-page header .branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.supply-page header .branding img {
    width: 118px;
    height: auto;
    margin-right: 16px;
}

.supply-page header .company-info h1,
.supply-page header .company-info h1 span {
    margin: 0;
    color: #0072BC;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.supply-page header .company-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.supply-page header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
}

.supply-page header nav a {
    position: relative;
    color: #003C8F;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
    text-decoration: none;
}

.supply-page header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00AEEF;
    transition: width .25s ease;
}

.supply-page header nav a:hover,
.supply-page header nav a[href="services.html"] {
    color: #00AEEF;
}

.supply-page header nav a:hover::after,
.supply-page header nav a[href="services.html"]::after {
    width: 100%;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.supply-page .page-hero.services-hero {
    height: auto;
    min-height: 380px;
    padding: 64px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(0, 28, 64, 0.55), rgba(0, 24, 56, 0.72)),
        url("../images/services/banner.JPG") center center / cover no-repeat;
}

.supply-page .page-hero::before {
    display: none;
}

.supply-page .services-hero .hero-content {
    width: min(820px, calc(100% - 32px));
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.supply-page .services-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.supply-page .services-hero h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.supply-page .services-hero p {
    margin: 16px 0 0;
    color: #E5E5E5;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   ARTICLE
--------------------------------------------------------- */

.supply-page section.section:has(> .article-wrap) {
    padding: 0;
    background: transparent;
}

.supply-page .section > .container.article-wrap {
    display: block !important;
    width: min(1160px, calc(100% - 48px)) !important;
    max-width: 1160px !important;
    margin: 56px auto 28px !important;
    padding: 40px 44px 36px !important;
    background: #ffffff;
    border: 1px solid #e7f4fb;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 40, 80, 0.06);
    box-sizing: border-box !important;
}

.supply-page .article-wrap h1,
.supply-page .article-wrap h2,
.supply-page .article-wrap h3,
.supply-page .article-wrap p,
.supply-page .article-wrap li {
    text-align: left;
    overflow-wrap: break-word;
}

.supply-page .article-wrap h1 {
    margin: 0 0 18px;
    color: #003C8F;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.supply-page .article-wrap h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: #00AEEF;
}

.supply-page .article-wrap h2 {
    margin: 36px 0 12px;
    color: #003C8F;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
}

.supply-page .article-wrap h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-top: 10px;
    border-radius: 2px;
    background: #00AEEF;
}

.supply-page .article-wrap h3 {
    margin: 26px 0 8px;
    color: #0072BC;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.supply-page .article-wrap p,
.supply-page .article-wrap li {
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.supply-page .article-intro {
    color: #063652;
    font-size: 17px;
    font-weight: 600;
}

.supply-page .article-wrap p {
    max-width: none;
    margin: 0 0 16px;
}

.supply-page .article-note {
    margin: 8px 0 28px;
    padding: 18px 20px;
    background: #e7f4fb;
    border-left: 3px solid #0072BC;
    border-radius: 16px;
}

.supply-page .article-note strong {
    display: block;
    margin-bottom: 8px;
    color: #003C8F;
    font-size: 16px;
    font-weight: 800;
}

.supply-page .system-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 8px !important;
    box-sizing: border-box !important;
}

.supply-page .system-card {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 20px 18px !important;
    background: #F8FBFC !important;
    border: 1px solid #e7f4fb;
    border-radius: 16px !important;
    box-sizing: border-box !important;
}

.supply-page .system-card h3 {
    margin: 0 0 8px;
    color: #0072BC;
    font-size: 18px;
}

.supply-page .system-card p {
    margin: 0;
}

.supply-page section.section:has(> .container-small) {
    width: min(1160px, calc(100% - 48px));
    margin: 8px auto 72px;
    padding: 36px 24px;
    background: #003C8F;
    border-radius: 16px;
    box-sizing: border-box;
    text-align: center;
}

.supply-page section.section:has(> .container-small) h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
    text-align: center;
}

.supply-page section.section:has(> .container-small) h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: #00AEEF;
}

.supply-page section.section:has(> .container-small) p {
    max-width: none;
    margin: 0 0 18px;
    color: #e4eef8;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

.supply-page section.section:has(> .container-small) br {
    display: none;
}

.supply-page .compare-table {
    width: 100%;
    margin: 8px 0 28px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e7f4fb;
    border-radius: 16px;
    background: #ffffff;
}

.supply-page .compare-table th,
.supply-page .compare-table td {
    border: 0;
    border-bottom: 1px solid #e7f4fb;
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
}

.supply-page .compare-table th {
    background: #e7f4fb;
    color: #003C8F;
    font-weight: 800;
}

.supply-page .compare-table tr:last-child td {
    border-bottom: 0;
}

.supply-page .compare-table td strong {
    color: #0072BC;
    font-weight: 800;
}

.supply-page .step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 8px 0 4px;
}

.supply-page .step-card {
    padding: 20px 18px;
    background: #F8FBFC;
    border: 1px solid #e7f4fb;
    border-radius: 16px;
    overflow: visible;
}

.supply-page .step-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0072BC;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.supply-page .article-wrap ol,
.supply-page .article-wrap ul {
    margin: 4px 0 18px;
    padding-left: 22px;
}

.supply-page .article-wrap ol li,
.supply-page .article-wrap ul li {
    margin-bottom: 12px;
}

.supply-page .article-wrap ol li strong,
.supply-page .article-wrap ul li strong {
    color: #003C8F;
    font-weight: 800;
}

.supply-page .info-box,
.supply-page .warning-box {
    margin: 28px 0;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: none;
}

.supply-page .info-box {
    background: #e7f4fb;
    border-left: 3px solid #0072BC;
}

.supply-page .warning-box {
    background: #FFF8E8;
    border-left: 3px solid #D99A16;
}

.supply-page .info-box strong,
.supply-page .warning-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 800;
}

.supply-page .info-box strong {
    color: #003C8F;
}

.supply-page .warning-box strong {
    color: #795500;
}

.supply-page .info-box p,
.supply-page .warning-box p {
    margin: 0;
}

.supply-page .project-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 8px 0 8px;
    font-size: 0;
}

.supply-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #009FE3;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.supply-page .project-note .btn:first-child {
    background: transparent;
    color: #0072BC;
    border: 1.5px solid #0072BC;
}

.supply-page .btn:hover {
    background: #007BC1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 114, 188, 0.22);
}

.supply-page .project-note .btn:first-child:hover {
    background: #e7f4fb;
    color: #0072BC;
    box-shadow: none;
}

.supply-page .article-wrap .section {
    margin: 32px 0 0;
    padding: 36px 24px;
    background: #003C8F;
    border-radius: 16px;
    text-align: center;
}

.supply-page .article-wrap .section .container-small {
    width: 100%;
    max-width: none;
    margin: 0;
}

.supply-page .article-wrap .section h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
}

.supply-page .article-wrap .section h2::after {
    margin-left: auto;
    margin-right: auto;
}

.supply-page .article-wrap .section p {
    margin: 0 0 18px;
    color: #e4eef8;
    font-size: 16px;
}

.supply-page .article-wrap .section br {
    display: none;
}

.supply-page #scrollTopBtn {
    border-radius: 999px;
    background: #0d9de3;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .supply-page header .company-info h1,
    .supply-page header .company-info h1 span,
    .supply-page header .company-info p {
        white-space: normal;
    }

    .supply-page header .company-info h1,
    .supply-page header .company-info h1 span {
        font-size: 18px;
    }

    .supply-page header .branding img {
        width: 100px;
    }

    .supply-page header nav {
        gap: 16px;
    }

    .supply-page .services-hero h2 {
        font-size: 40px;
    }

}

@media (max-width: 900px) {

    .supply-page header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: min(1160px, calc(100% - 32px));
        min-height: 72px;
    }

    .supply-page header .company-info {
        display: none;
    }

    .supply-page header .branding img {
        width: 112px;
        margin-right: 0;
    }

    .supply-page .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 11px 9px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .supply-page .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #003C8F;
        transition: transform .2s ease, opacity .2s ease;
    }

    .supply-page header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .supply-page header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .supply-page header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .supply-page header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 8px 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(to right, #ffffff, #eef8ff);
        box-shadow: 0 16px 28px rgba(0, 40, 80, 0.12);
    }

    .supply-page header.nav-open nav {
        display: flex;
    }

    .supply-page header nav a {
        padding: 14px 22px;
        font-size: 16px;
        text-align: left;
    }

    .supply-page header nav a::after {
        display: none;
    }

    .supply-page .page-hero.services-hero {
        min-height: 280px;
        padding: 48px 16px;
    }

    .supply-page .services-hero h2 {
        font-size: 36px;
    }

    .supply-page .section > .container.article-wrap {
        width: min(1160px, calc(100% - 32px)) !important;
        margin: 28px auto 20px !important;
        padding: 24px 18px 20px !important;
    }

    .supply-page section.section:has(> .container-small) {
        width: min(1160px, calc(100% - 32px));
        margin: 8px auto 48px;
    }

}

@media (max-width: 640px) {

    .supply-page .system-grid {
        grid-template-columns: 1fr !important;
    }

    .supply-page .services-hero h2,
    .supply-page .article-wrap h1,
    .supply-page section.section:has(> .container-small) h2 {
        font-size: 28px;
    }

    .supply-page .article-wrap h2 {
        font-size: 22px;
    }

    .supply-page .services-hero p,
    .supply-page .article-wrap p,
    .supply-page .article-wrap li,
    .supply-page .article-intro {
        font-size: 15px;
    }

    .supply-page .step-grid {
        grid-template-columns: 1fr;
    }

    .supply-page .compare-table {
        display: block;
        overflow-x: auto;
    }

    .supply-page .project-note .btn,
    .supply-page .section .btn {
        width: 100%;
    }

    .supply-page #scrollTopBtn span {
        display: none;
    }

    .supply-page #scrollTopBtn {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 50%;
    }

}
