/* 嘉元水電工程行 — shared design system */
:root  {
    --navy: #102c42;
    --deep: #0b2031;
    --blue: #087abe;
    --cyan: #57bddf;
    --yellow: #f2c449;
    --ink: #173247;
    --muted: #617381;
    --line: #dbe3e8;
    --soft: #f1f6f8;
    --white: #fff;
}

*  {
    box-sizing: border-box;
}

html  {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body  {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

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

button, a  {
    -webkit-tap-highlight-color: transparent;
}

button  {
    cursor: pointer;
}

img  {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, p  {
    margin-top: 0;
}

h1, h2, h3  {
    line-height: 1.5;
    letter-spacing: .025em;
}

h2  {
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    margin-bottom: 22px;
}

h3  {
    font-size: 21px;
}

p  {
    color: var(--muted);
}

[hidden]  {
    display: none !important;
}

:focus-visible  {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}

::selection  {
    background: var(--yellow);
    color: var(--navy);
}

.container  {
    width: min(1240px, calc(100% - 112px));
    margin-inline: auto;
}

.section  {
    padding-block: 104px;
}

.soft  {
    background: var(--soft);
}

.eyebrow  {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .19em;
    color: var(--blue);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before  {
    content: "";
    width: 22px;
    height: 3px;
    background: var(--yellow);
    flex-shrink: 0;
}

.section-title > p:last-child  {
    margin-bottom: 0;
}

.section-top  {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 46px;
}

.section-top .button  {
    flex-shrink: 0;
    margin-bottom: 5px;
}

.section-title h2  {
    margin-bottom: 16px;
}

.button  {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 13px 25px;
    background: var(--blue);
    color: #fff;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.button span  {
    font-size: 20px;
    line-height: 1;
}

.button:hover  {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

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

.button.yellow:hover  {
    background: #ffda70;
}

.button.outline  {
    background: transparent;
    color: #fff;
    border-color: #ffffff65;
}

.button.outline:hover  {
    background: #ffffff15;
}

.button.light  {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.button.light:hover  {
    background: var(--navy);
    color: #fff;
}

.button-row  {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.text-link  {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
}

.text-link span  {
    font-size: 22px;
}

.site-header  {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 3.5%;
    gap: 24px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #e9edf0;
}

.brand  {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img  {
    width: 49px;
    height: 49px;
    object-fit: contain;
    background: white;
}

.brand > span  {
    font-size: 20px;
    letter-spacing: .07em;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.5;
}

.brand small  {
    display: block;
    font: 13px/1.8 Arial, sans-serif;
    letter-spacing: .16em;
}

#main-nav  {
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.8vw, 28px);
}

#main-nav a  {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-block: 32px;
    white-space: nowrap;
}

#main-nav a::after  {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--blue);
    transition: width .2s;
}

#main-nav a:hover::after, #main-nav a[aria-current]::after  {
    width: 100%;
}

.header-phone  {
    background: var(--navy);
    color: #fff;
    padding: 11px 18px;
    font-size: 13px;
    white-space: nowrap;
}

.header-phone span  {
    color: var(--yellow);
    margin-left: 16px;
}

.menu-toggle  {
    display: none;
    background: none;
    border: 0;
    padding: 12px;
}

.menu-toggle span  {
    width: 25px;
    height: 2px;
    background: var(--navy);
    display: block;
    margin: 6px 0;
}

.skip-link  {
    position: fixed;
    left: 12px;
    top: -80px;
    padding: 12px;
    background: var(--yellow);
    z-index: 100;
}

.skip-link:focus  {
    top: 12px;
}

.grid  {
    display: grid;
    gap: 28px;
}

.three  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four  {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-wrap  {
    position: relative;
    overflow: hidden;
}

.image-wrap img  {
    aspect-ratio: 1.5;
    width: 100%;
    object-fit: cover;
    transition: transform .6s;
}

a:hover .image-wrap img  {
    transform: scale(1.045);
}

.card-body  {
    padding: 25px 0;
    position: relative;
}

.category  {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.category span  {
    color: #82919d;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.card-body h3  {
    font-size: 20px;
    margin-bottom: 14px;
}

.card-body > p:not(.category)  {
    font-size: 14px;
}

.product-card  {
    border: 1px solid var(--line);
    background: #fff;
    transition: box-shadow .3s;
}

.product-card:hover  {
    box-shadow: 0 10px 25px #163d5210;
}

.product-image  {
    background: #fff;
    padding: 28px;
    position: relative;
    border-bottom: 1px solid #edf1f3;
}

.product-image img  {
    height: 220px;
    width: 100%;
    object-fit: contain;
    transition: transform .4s;
}

.product-card:hover img  {
    transform: scale(1.035);
}

.product-card .card-body  {
    padding: 25px;
}

.item-number  {
    position: absolute;
    top: 10px;
    left: 14px;
    font: 13px Arial, sans-serif;
    color: #8093a1;
}

.image-label  {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 3px 9px;
    background: #0b2031be;
    color: #fff;
    font-size: 13px;
}

.case-card .card-body  {
    padding-right: 35px;
}

.circle-arrow  {
    position: absolute;
    bottom: 27px;
    right: 0;
    width: 31px;
    height: 31px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.image-note  {
    font-size: 13px;
    margin: 22px 0 0;
}

.notice  {
    border-left: 3px solid var(--yellow);
    padding: 18px 22px;
    background: var(--soft);
    font-size: 14px;
    margin-bottom: 32px;
}

.page-banner  {
    position: relative;
    background: var(--navy);
    padding: 28px 0 64px;
    color: white;
    overflow: hidden;
    background-image: linear-gradient(90deg,#0c2539f5,#102c42c9), url('../images/banner01.jpg');
    background-size: cover;
    background-position: center;
}

.breadcrumb  {
    font-size: 13px;
    color: #afc2cf;
    margin-bottom: 44px;
}

.breadcrumb a  {
    color: white;
}

.page-banner .eyebrow  {
    color: var(--cyan);
}

.page-banner h1  {
    font-size: clamp(28px,3.5vw,47px);
    max-width: 1000px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.page-banner p:last-child  {
    color: #c3d3de;
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.banner-decoration  {
    position: absolute;
    right: 4%;
    top: 30px;
    font: 900 230px Arial, sans-serif;
    color: #ffffff05;
}

.filter-bar  {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.filter-bar button  {
    border: 1px solid var(--line);
    background: white;
    color: var(--muted);
    padding: 10px 23px;
    font-size: 14px;
}

.filter-bar button.active  {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.result-count  {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
}

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

.about-photo  {
    position: relative;
    padding: 0 30px 35px 0;
}

.about-photo > img  {
    width: 100%;
    aspect-ratio: 1.12;
    object-fit: cover;
}

.photo-stamp  {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 24px 34px;
    background: var(--blue);
    color: #a4dafa;
    font: 13px/1.8 Arial, sans-serif;
    letter-spacing: .1em;
    border-left: 4px solid var(--yellow);
}

.photo-stamp strong  {
    display: block;
    margin-top: 8px;
    color: white;
    font: 700 25px/1.6 "Microsoft JhengHei",sans-serif;
}

.cta  {
    position: relative;
    padding-block: 62px;
    background: linear-gradient(90deg,#0a4779f7,#075782da,#0b203189), url('../images/cta01.jpg') center/cover;
    color: white;
}

.cta-inner  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta .eyebrow  {
    color: #98d6f7;
}

.cta h2  {
    margin-bottom: 13px;
}

.cta p:last-child  {
    color: #c5dfef;
    margin-bottom: 0;
    font-size: 14px;
}

.cta .button  {
    min-width: 185px;
}

footer  {
    background: var(--deep);
    color: #b6c5cf;
    padding-top: 66px;
    font-size: 13px;
}

.footer-grid  {
    display: grid;
    grid-template-columns: 1.15fr 1fr .7fr;
    gap: 65px;
    padding-bottom: 48px;
}

footer .brand > span  {
    color: white;
}

footer .brand  {
    margin-bottom: 22px;
}

footer .brand img  {
    border-radius: 3px;
}

footer p  {
    color: #9eb0bd;
    margin-bottom: 8px;
}

footer h3  {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-number  {
    color: #fff;
    font: 26px/1.7 Arial,sans-serif;
}

.footer-nav  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 22px;
}

footer a:hover  {
    color: var(--yellow);
}

.footer-bottom  {
    padding-block: 22px;
    border-top: 1px solid #ffffff17;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 13px;
}

.footer-bottom > span  {
    letter-spacing: .13em;
}

.floating-contact  {
    position: fixed;
    bottom: 27px;
    right: 18px;
    z-index: 20;
    box-shadow: 0 4px 18px #102c4220;
}

.floating-contact a  {
    display: grid;
    place-items: center;
    min-width: 52px;
    min-height: 60px;
    background: #fff;
    color: var(--navy);
    font: 700 13px/1.3 Arial,sans-serif;
    padding: 10px;
}

.floating-contact a + a  {
    background: var(--blue);
    color: white;
}

.floating-contact small  {
    font: 13px "Microsoft JhengHei",sans-serif;
}

.mobile-only  {
    display: none;
}

.detail-cover  {
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
}

.detail-copy  {
    max-width: 850px;
    margin: 70px auto;
}

.detail-copy h2  {
    font-size: 28px;
}

.detail-copy h3  {
    margin-top: 28px;
}

.detail-nav  {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    margin-top: 55px;
    padding-top: 28px;
    font-size: 13px;
}

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

@media (min-width: 1600px)  {
    .container  {
        width: min(1400px, calc(100% - 160px));
    }
}

@media (max-width: 1100px)  {
    .container  {
        width: calc(100% - 64px);
    }
    .site-header  {
        height: 78px;
        padding-inline: 28px;
    }
    .menu-toggle  {
        display: block;
        margin-left: auto;
        order: 3;
    }
    #main-nav  {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        padding: 20px 32px;
        background: white;
        box-shadow: 0 15px 20px #102c4215;
    }
    #main-nav.is-open  {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 25px;
    }
    #main-nav a  {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    #main-nav a::after  {
        bottom: 0;
    }
    .section  {
        padding-block: 75px;
    }
    .about-layout  {
        gap: 40px;
    }
    .four  {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .footer-grid  {
        gap: 35px;
    }
    .three  {
        gap: 20px;
    }
    .product-image  {
        padding: 22px;
    }
    .product-image img  {
        height: 180px;
    }
}

@media (max-width: 760px)  {
    .container  {
        width: calc(100% - 40px);
    }
    .site-header  {
        height: 74px;
        padding-inline: 16px;
        gap: 10px;
    }
    .brand img  {
        width: 39px;
        height: 39px;
    }
    .brand > span  {
        font-size: 17px;
    }
    .brand small  {
        font-size: 13px;
        letter-spacing: .09em;
    }
    .header-phone  {
        display: none;
    }
    #main-nav  {
        top: 74px;
        padding-inline: 22px;
    }
    .section  {
        padding-block: 62px;
    }
    .section-top  {
        align-items: start;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }
    .eyebrow  {
        font-size: 13px;
        letter-spacing: .13em;
    }
    .three, .four  {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-layout  {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-photo  {
        padding: 0 20px 26px 0;
    }
    .about-photo > img  {
        aspect-ratio: 1.35;
    }
    .photo-stamp  {
        padding: 20px 24px;
    }
    .photo-stamp strong  {
        font-size: 22px;
    }
    .product-image img  {
        height: 240px;
    }
    .product-image  {
        padding: 30px;
    }
    .page-banner  {
        padding-bottom: 40px;
    }
    .breadcrumb  {
        margin-bottom: 32px;
    }
    .page-banner h1  {
        font-size: 29px;
    }
    .page-banner p:last-child  {
        font-size: 14px;
    }
    .filter-bar  {
        gap: 8px;
    }
    .filter-bar button  {
        padding: 8px 15px;
        font-size: 13px;
    }
    .result-count  {
        width: 100%;
        margin-top: 9px;
    }
    .cta-inner  {
        flex-direction: column;
        align-items: start;
        gap: 28px;
    }
    .cta  {
        padding-block: 50px;
    }
    .mobile-only  {
        display: inline;
    }
    .footer-grid  {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .footer-nav  {
        grid-template-columns: repeat(3,1fr);
    }
    .footer-bottom  {
        flex-direction: column;
        padding-right: 30px;
    }
    .footer-bottom > span  {
        display: none;
    }
    .floating-contact  {
        bottom: 15px;
        right: 10px;
    }
    .floating-contact a  {
        min-height: 50px;
        min-width: 44px;
        font-size: 13px;
    }
    .detail-nav  {
        font-size: 13px;
        gap: 10px;
    }
    .detail-copy  {
        margin-block: 45px;
    }
}

@media (prefers-reduced-motion: reduce)  {
    html  {
        scroll-behavior: auto;
    }
    *, *::before, *::after  {
        transition: none !important;
        animation: none !important;
    }
}

/* Shared visual language: generous spacing, soft surfaces and rounded images. */
:root {
    --navy: #173d55;
    --deep: #123449;
    --blue: #258dbb;
    --cyan: #68bddf;
    --yellow: #f0cb66;
    --ink: #244354;
    --muted: #647d8b;
    --line: #dce8ee;
    --soft: #f0f7fa;
}
body {
    font-size: 17px;
    line-height: 1.9;
}
small {
    font-size: 13px;
}
h1, h2, h3 {
    font-weight: 600;
}
.container {
    width: min(1200px, calc(100% - 100px));
}
.eyebrow {
    font: 500 23px/1.5 Arial, sans-serif;
    letter-spacing: .01em;
    margin-bottom: 7px;
}
.eyebrow::before {
    display: none;
}
.eyebrow::after {
    content: '';
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, #afc8d5 70%, var(--yellow) 70%);
}
.section-title h2 {
    font-size: clamp(28px, 2.5vw, 37px);
    font-weight: 600;
    line-height: 1.65;
}
.button {
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    min-height: 47px;
    padding: 10px 24px;
    gap: 28px;
    box-shadow: 0 5px 15px #18729b12;
}
.button.white, .button.light {
    background: white;
    color: var(--blue);
    border: 1px solid #e2edf2;
}
.button.white:hover, .button.light:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}
.site-header {
    height: 96px;
    gap: 25px;
    border: 0;
    padding-inline: 3%;
    box-shadow: 0 2px 15px #183c5309;
}
.brand {
    gap: 11px;
}
.brand img {
    width: 54px;
    height: 54px;
    background: transparent;
}
.brand > span {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .04em;
}
.brand small {
    font-size: 13px;
    letter-spacing: .03em;
}
#main-nav {
    gap: clamp(15px, 1.5vw, 26px);
}
.header-phone {
    border-radius: 25px;
    font-size: 15px;
    background: #eaf5fa;
    color: var(--blue);
    padding: 10px 20px;
}
.header-phone span {
    color: var(--blue);
    margin-left: 10px;
}
.page-banner {
    padding: 28px 0 75px;
    background: linear-gradient(110deg, #163448 15%, #28546a 100%);
    color: #ffffff;
    border-radius: 0 0 90px 0;
    isolation: isolate;
}
.page-banner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 46%;
    background: linear-gradient(90deg, #21475c, #16344866), url('../images/service/06.jpg') center/cover;
    opacity: .55;
    z-index: -1;
    border-radius: 160px 0 0 0;
}
.page-banner .eyebrow {
    color: #f0cc79;
    font-size: 19px;
    letter-spacing: .06em;
}
.page-banner h1 {
    font-size: clamp(29px, 3vw, 44px);
    max-width: 920px;
    font-weight: 500;
}
.page-banner p:last-child {
    color: #d3e2eb;
    font-size: 16px;
}
.breadcrumb, .breadcrumb a {
    color: #c3d7e3;
    font-size: 13px;
}
.banner-decoration {
    display: none;
}
.image-wrap {
    border-radius: 22px;
}
.image-label {
    border-radius: 16px;
    font-size: 13px;
    padding: 4px 12px;
}
.category {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .025em;
}
.category span, .image-note, .item-number, .result-count {
    font-size: 13px;
}
.text-link {
    font-size: 14px;
    font-weight: 500;
}
.card-body h3 {
    font-weight: 500;
}
.card-body > p:not(.category) {
    font-size: 16px;
}
.product-card {
    border: 0;
    background: transparent;
    border-radius: 24px;
}
.product-card:hover {
    box-shadow: none;
}
.product-image {
    border: 0;
    border-radius: 24px;
    background: #f3f1ec;
    padding: 36px;
}
.product-image img {
    mix-blend-mode: multiply;
}
.product-card .card-body {
    padding: 24px 10px 30px;
}
.item-number {
    left: 20px;
    top: 18px;
}
.case-card .image-wrap {
    border-radius: 24px 24px 55px 24px;
}
.case-card .card-body {
    padding-left: 5px;
    padding-bottom: 30px;
}
.circle-arrow {
    background: #eaf5fa;
    color: var(--blue);
    border: 0;
    width: 37px;
    height: 37px;
}
.news-card .image-wrap {
    border-radius: 24px;
}
.filter-bar {
    border: 0;
    padding-bottom: 12px;
    gap: 14px;
}
.filter-bar button {
    border: 1px solid #e1ebf0;
    border-radius: 28px;
    padding: 11px 26px;
    font-size: 16px;
}
.filter-bar button.active {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 5px 15px #208ab526;
}
.notice {
    border: 0;
    border-radius: 18px;
    color: #617f91;
}
.about-photo > img {
    border-radius: 30px 30px 80px 30px;
}
.photo-stamp {
    border-radius: 22px;
    border: 6px solid white;
    padding: 22px 28px;
    background: #3ca3ca;
    font-size: 13px;
}
.detail-cover {
    border-radius: 28px;
}
.detail-nav a {
    font-size: 15px;
}
.cta {
    background: linear-gradient(115deg, #edc365, #f5dca0);
    color: #193d51;
    border-radius: 65px 65px 0 0;
    padding-block: 65px;
    overflow: hidden;
    isolation: isolate;
}
.cta::before, .cta::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid #ffffff30;
    left: -50px;
    top: 50px;
    z-index: -1;
}
.cta::after {
    width: 590px;
    height: 590px;
    left: -115px;
    top: -15px;
}
.cta .eyebrow {
    color: #745620;
    font-size: 22px;
}
.cta h2 {
    font-size: 33px;
    font-weight: 500;
}
.cta p:last-child {
    color: #455a5e;
    font-size: 16px;
}
.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}
.cta-phone {
    font: 400 38px/1.4 Arial, sans-serif;
    letter-spacing: .025em;
}
.cta-contact > span {
    font-size: 15px;
    color: #455a5e;
    margin-bottom: 8px;
}
footer {
    background: #122e41;
    color: #c3d2dc;
    font-size: 15px;
}
footer .brand > span {
    color: var(--navy);
}
footer p {
    color: #648192;
    font-size: 14px;
}
footer h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 500;
}
.footer-number {
    color: var(--blue);
}
.footer-nav a {
    font-size: 16px;
}
footer a:hover {
    color: #0076a5;
}
.footer-bottom {
    border-top-color: #d3e3eb;
    font-size: 13px;
}
.footer-bottom small {
    font-size: 13px;
}
.footer-bottom > span {
    font-size: 13px;
    letter-spacing: .01em;
}
.floating-contact {
    border-radius: 30px;
    overflow: hidden;
    right: 18px;
    bottom: 25px;
}
.floating-contact a {
    min-width: 55px;
    min-height: 65px;
    font-size: 15px;
}
.floating-contact small {
    font-size: 13px;
}
@media (max-width: 1280px) {
    .site-header {
        height: 86px;
        padding-inline: 28px;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
        order: 3;
    }
    #main-nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 20px;
        right: 20px;
        padding: 20px 30px;
        background: white;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 15px 30px #21445517;
    }
    #main-nav.is-open {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 25px;
    }
    #main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    #main-nav a::after {
        bottom: 0;
    }
    .footer-grid {
        gap: 35px;
    }
    .footer-grid .brand > span {
        font-size: 19px;
    }
}
@media (max-width: 900px) {
    .container {
        width: calc(100% - 60px);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
    .footer-nav {
        grid-template-columns: repeat(4, 1fr);
    }
    .cta h2 {
        font-size: 29px;
    }
    .cta-phone {
        font-size: 30px;
    }
}
@media (max-width: 760px) {
    body {
        font-size: 16px;
    }
    .container {
        width: calc(100% - 40px);
    }
    .site-header {
        height: 82px;
        padding-inline: 15px;
        gap: 10px;
    }
    .brand img {
        width: 43px;
        height: 43px;
    }
    .brand > span {
        font-size: 19px;
        letter-spacing: .02em;
    }
    .brand small {
        font-size: 13px;
        letter-spacing: 0;
    }
    #main-nav {
        top: 82px;
        left: 10px;
        right: 10px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .eyebrow {
        font-size: 22px;
    }
    .section-top {
        gap: 22px;
    }
    .page-banner {
        border-radius: 0 0 50px 0;
        padding-bottom: 42px;
    }
    .page-banner h1 {
        font-size: 28px;
    }
    .page-banner .eyebrow {
        font-size: 15px;
        letter-spacing: 0;
    }
    .page-banner p:last-child {
        font-size: 16px;
    }
    .filter-bar {
        gap: 10px;
    }
    .filter-bar button {
        padding: 9px 20px;
        font-size: 15px;
    }
    .cta {
        border-radius: 38px 38px 0 0;
        padding-block: 45px;
    }
    .cta h2 {
        font-size: 26px;
    }
    .cta-inner {
        gap: 26px;
    }
    .cta-phone {
        font-size: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        padding-right: 45px;
    }
    .floating-contact {
        right: 8px;
        bottom: 14px;
    }
    .floating-contact a {
        min-width: 48px;
        min-height: 57px;
        padding: 8px;
        font-size: 13px;
    }
    .floating-contact small {
        font-size: 13px;
    }
}

/* Shared contrast and material-inspired accents. */
.header-phone {
    background: #f4dc9f;
    color: #274252;
}
.header-phone span {
    color: #274252;
}
.cta .button.white {
    background: #193d51;
    border-color: #193d51;
    color: #fff;
}
.cta .button.white:hover {
    background: #28647c;
    border-color: #28647c;
}
footer .brand > span,
footer h3 {
    color: #f2f6f8;
}
footer p {
    color: #b3c6d2;
}
.footer-number {
    color: #f0cc79;
}
footer a:hover {
    color: #f0cc79;
}
.footer-bottom {
    border-top-color: #ffffff24;
}
.floating-contact a + a {
    background: #1c667a;
}
.notice,
.article-callout {
    background: #f5f0e5;
}
.filter-bar button.active {
    background: #1c4962;
    border-color: #1c4962;
}
