﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');

:root {
    --kg-navy: #081d31;
    --kg-navy-2: #0b2c47;
    --kg-blue: #0f6d8f;
    --kg-cyan: #17a7b8;
    --kg-teal: #0f8f83;
    --kg-orange: #e59b36;
    --kg-paper: #f4f8fb;
    --kg-white: #ffffff;
    --kg-text: #162235;
    --kg-muted: #64748b;
    --kg-border: #d7e2ea;
    --kg-shadow: 0 24px 70px rgba(8, 29, 49, .13);
    --kg-radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--kg-text);
    background: var(--kg-white);
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    line-height: 1.75;
}

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

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    background: rgba(8, 29, 49, .82);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    transition: background .25s ease, box-shadow .25s ease;
}

    .site-header.is-scrolled {
        background: rgba(8, 29, 49, .97);
        box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
    }

.navbar {
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--kg-cyan), var(--kg-blue));
    box-shadow: 0 10px 24px rgba(23, 167, 184, .27);
    font-weight: 900;
    font-size: 1.35rem;
}

.navbar-nav {
    gap: .3rem;
}

.nav-link {
    position: relative;
    padding: .65rem .9rem !important;
    color: rgba(255, 255, 255, .74) !important;
    font-weight: 600;
}

    .nav-link:hover,
    .nav-link.active {
        color: #fff !important;
    }

        .nav-link.active::after {
            position: absolute;
            left: .9rem;
            right: .9rem;
            bottom: .25rem;
            height: 2px;
            content: "";
            border-radius: 999px;
            background: var(--kg-cyan);
        }

.btn-brand {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--kg-cyan), var(--kg-blue));
    box-shadow: 0 12px 26px rgba(15, 109, 143, .25);
    font-weight: 700;
}

    .btn-brand:hover,
    .btn-brand:focus {
        color: #fff;
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--kg-blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 810px;
    padding: 150px 0 92px;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(23, 167, 184, .18), transparent 28%), radial-gradient(circle at 15% 75%, rgba(15, 143, 131, .16), transparent 25%), linear-gradient(145deg, #061525 0%, #0b2b46 57%, #0b3e57 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-title {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.04em;
}

    .hero-title span {
        display: block;
        margin-top: .2em;
        color: #6fe1e7;
    }

.hero-text {
    max-width: 660px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 45px;
}

    .hero-proof div {
        display: flex;
        flex-direction: column;
    }

    .hero-proof strong {
        color: #fff;
        font-size: 1.55rem;
        font-weight: 900;
    }

    .hero-proof span {
        color: rgba(255,255,255,.58);
        font-size: .82rem;
    }

.hero-dashboard {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 26px;
    padding: 24px;
    background: rgba(8, 29, 49, .72);
    box-shadow: 0 35px 90px rgba(0,0,0,.34);
    backdrop-filter: blur(20px);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.dashboard-top,
.system-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .dashboard-top div,
    .system-panel-header div {
        display: flex;
        flex-direction: column;
    }

    .dashboard-top small,
    .system-panel-header small {
        color: rgba(255,255,255,.45);
        font-size: .67rem;
        letter-spacing: .13em;
    }

    .dashboard-top strong,
    .system-panel-header strong {
        font-size: 1.1rem;
    }

.status-dot {
    color: #9ff5d7;
    font-size: .75rem;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

    .dashboard-kpis article {
        padding: 15px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 15px;
        background: rgba(255,255,255,.05);
    }

    .dashboard-kpis span,
    .dashboard-kpis small {
        display: block;
        color: rgba(255,255,255,.5);
        font-size: .7rem;
    }

    .dashboard-kpis strong {
        display: block;
        margin: 4px 0;
        color: #fff;
        font-size: 1.45rem;
    }

.dashboard-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.chart-card,
.map-card {
    min-height: 220px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.05);
}

.chart-title {
    color: rgba(255,255,255,.62);
    font-size: .74rem;
}

.fake-line-chart {
    display: flex;
    align-items: end;
    gap: 9px;
    height: 150px;
    margin-top: 20px;
    padding: 0 6px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

    .fake-line-chart span {
        flex: 1;
        min-width: 8px;
        border-radius: 6px 6px 0 0;
        background: linear-gradient(to top, #0f6d8f, #6fe1e7);
        box-shadow: 0 0 18px rgba(111,225,231,.16);
    }

.fake-map {
    position: relative;
    height: 160px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(35deg, transparent 47%, rgba(255,255,255,.1) 48%, transparent 50%), linear-gradient(-18deg, transparent 45%, rgba(255,255,255,.08) 46%, transparent 49%), rgba(15, 109, 143, .15);
}

.map-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 50% 50% 50% 0;
    background: var(--kg-orange);
    transform: rotate(-45deg);
}

.pin-1 {
    left: 22%;
    top: 28%;
}

.pin-2 {
    left: 62%;
    top: 20%;
}

.pin-3 {
    left: 48%;
    top: 62%;
}

.pin-4 {
    left: 78%;
    top: 70%;
}

.dashboard-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: rgba(255,255,255,.55);
    font-size: .75rem;
}

    .dashboard-footer i {
        color: #6fe1e7;
    }

.section {
    padding: 96px 0;
}

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

.section-dark {
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(23,167,184,.15), transparent 28%), var(--kg-navy);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

    .section-heading.text-center {
        margin-right: auto;
        margin-left: auto;
    }

    .section-heading h2,
    .product-detail h2,
    .contact-panel h2,
    .case-data-request h2 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3.1rem);
        font-weight: 900;
        line-height: 1.25;
        letter-spacing: -.035em;
    }

    .section-heading p {
        margin-top: 18px;
        color: var(--kg-muted);
        font-size: 1.05rem;
    }

.product-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--kg-border);
    border-radius: var(--kg-radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(8,29,49,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--kg-shadow);
    }

.product-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--kg-cyan), var(--kg-blue));
    font-size: 1.45rem;
}

.product-tag {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--kg-blue);
    background: #e8f5f8;
    font-size: .7rem;
    font-weight: 800;
}

.product-card h3 {
    margin: 26px 0 12px;
    font-size: 1.35rem;
    font-weight: 800;
}

.product-card p {
    color: var(--kg-muted);
}

.feature-list,
.large-check-list {
    padding: 0;
    list-style: none;
}

    .feature-list li,
    .large-check-list li {
        position: relative;
        padding-left: 26px;
        color: #344256;
    }

        .feature-list li + li,
        .large-check-list li + li {
            margin-top: 9px;
        }

        .feature-list li::before,
        .large-check-list li::before {
            position: absolute;
            left: 0;
            top: .05em;
            color: var(--kg-teal);
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--kg-blue);
    font-weight: 800;
}

.workflow-section {
    background: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)), linear-gradient(90deg, var(--kg-border) 1px, transparent 1px);
    background-size: auto, 42px 42px;
}

.workflow-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

    .workflow-track article {
        position: relative;
        padding: 22px 16px;
        border: 1px solid var(--kg-border);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(8,29,49,.05);
        text-align: center;
    }

        .workflow-track article > span {
            position: absolute;
            top: 12px;
            left: 14px;
            color: #9aabb9;
            font-size: .7rem;
            font-weight: 800;
        }

    .workflow-track i {
        display: block;
        margin: 18px 0;
        color: var(--kg-blue);
        font-size: 2rem;
    }

    .workflow-track h3 {
        font-size: 1rem;
        font-weight: 800;
    }

    .workflow-track p {
        margin: 0;
        color: var(--kg-muted);
        font-size: .8rem;
    }

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

    .value-grid article {
        padding: 24px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 18px;
        background: rgba(255,255,255,.05);
    }

    .value-grid i {
        color: #6fe1e7;
        font-size: 1.4rem;
    }

    .value-grid h3 {
        margin: 16px 0 8px;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .value-grid p {
        margin: 0;
        color: rgba(255,255,255,.56);
        font-size: .88rem;
    }

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    border: 1px solid var(--kg-border);
    border-radius: 26px;
    background: linear-gradient(135deg, #f5fbfc, #fff8ed);
}

    .cta-panel h2 {
        margin: 0;
        font-size: clamp(1.8rem, 4vw, 2.7rem);
        font-weight: 900;
    }

    .cta-panel p {
        margin: 10px 0 0;
        color: var(--kg-muted);
    }

.page-hero {
    padding: 150px 0 80px;
    color: #fff;
    background: radial-gradient(circle at 80% 30%, rgba(23,167,184,.2), transparent 30%), linear-gradient(135deg, #071828, #0b3651);
}

    .page-hero h1 {
        margin: 0;
        font-size: clamp(2.5rem, 5vw, 4.4rem);
        font-weight: 900;
        letter-spacing: -.04em;
    }

    .page-hero p {
        max-width: 760px;
        margin: 20px 0 0;
        color: rgba(255,255,255,.68);
        font-size: 1.08rem;
    }

.product-index {
    display: block;
    color: #c9d5dd;
    font-size: 3.3rem;
    font-weight: 900;
    line-height: 1;
}

.product-detail .lead {
    color: var(--kg-muted);
}

.detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
}

    .detail-feature-grid article {
        padding: 18px;
        border: 1px solid var(--kg-border);
        border-radius: 16px;
        background: #fff;
    }

    .detail-feature-grid i {
        color: var(--kg-blue);
    }

    .detail-feature-grid h3 {
        margin: 10px 0 5px;
        font-size: .98rem;
        font-weight: 800;
    }

    .detail-feature-grid p {
        margin: 0;
        color: var(--kg-muted);
        font-size: .78rem;
    }

.system-panel {
    padding: 28px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(155deg, var(--kg-navy), #0b4660);
    box-shadow: var(--kg-shadow);
}

.system-panel-header > span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #a7f4de;
    background: rgba(167,244,222,.1);
    font-size: .7rem;
}

.system-flow {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

    .system-flow > div {
        display: grid;
        grid-template-columns: 34px 46px 1fr;
        align-items: center;
        padding: 13px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        background: rgba(255,255,255,.05);
    }

        .system-flow > div span {
            display: grid;
            width: 28px;
            height: 28px;
            place-items: center;
            border-radius: 50%;
            background: rgba(111,225,231,.16);
            color: #6fe1e7;
            font-size: .75rem;
            font-weight: 800;
        }

        .system-flow > div i {
            color: #fff;
        }

    .system-flow > i {
        justify-self: center;
        color: rgba(255,255,255,.2);
    }

.system-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

    .system-metrics article {
        padding: 14px;
        border-radius: 13px;
        background: rgba(255,255,255,.07);
        text-align: center;
    }

    .system-metrics span,
    .system-metrics strong {
        display: block;
    }

    .system-metrics span {
        color: rgba(255,255,255,.45);
        font-size: .72rem;
    }

    .system-metrics strong {
        margin-top: 4px;
        color: #6fe1e7;
    }

.large-check-list {
    margin-top: 26px;
}

    .large-check-list li {
        padding-left: 30px;
        font-size: 1rem;
    }

.streetlight-visual,
.payment-visual {
    position: relative;
    min-height: 500px;
}

.street-map {
    position: absolute;
    inset: 0 50px 40px 0;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(25deg, transparent 43%, rgba(255,255,255,.95) 44%, rgba(255,255,255,.95) 47%, transparent 48%), linear-gradient(-18deg, transparent 38%, rgba(255,255,255,.75) 39%, rgba(255,255,255,.75) 42%, transparent 43%), linear-gradient(135deg, #cce8de, #86b9c2);
    box-shadow: var(--kg-shadow);
}

.lamp {
    position: absolute;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    color: var(--kg-orange);
    background: var(--kg-navy);
    box-shadow: 0 10px 25px rgba(8,29,49,.25);
}

.lamp-1 {
    left: 18%;
    top: 25%;
}

.lamp-2 {
    right: 20%;
    top: 18%;
}

.lamp-3 {
    left: 45%;
    bottom: 22%;
}

.lamp-4 {
    right: 12%;
    bottom: 15%;
}

.street-stat {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 22px 26px;
    border-radius: 18px;
    color: #fff;
    background: var(--kg-navy);
    box-shadow: var(--kg-shadow);
}

    .street-stat strong,
    .street-stat span {
        display: block;
    }

    .street-stat strong {
        font-size: 1.8rem;
    }

    .street-stat span {
        color: rgba(255,255,255,.6);
        font-size: .8rem;
    }

.invoice-sheet {
    max-width: 470px;
    margin: 30px auto;
    padding: 34px;
    border: 1px solid var(--kg-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--kg-shadow);
}

.invoice-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--kg-blue);
    font-weight: 900;
}

.invoice-sheet h3 {
    margin: 18px 0 22px;
    font-size: 1.5rem;
    font-weight: 900;
}

.invoice-row,
.invoice-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--kg-border);
}

    .invoice-row span,
    .invoice-total span {
        color: var(--kg-muted);
    }

    .invoice-row .paid {
        color: var(--kg-teal);
    }

.invoice-total {
    margin-top: 12px;
    border: 0;
    font-size: 1.15rem;
}

.payment-summary {
    position: absolute;
    right: 0;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    width: 190px;
    padding: 20px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--kg-orange), #cc7430);
    box-shadow: var(--kg-shadow);
}

    .payment-summary i {
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .payment-summary span {
        color: rgba(255,255,255,.72);
        font-size: .78rem;
    }

.custom-service-list,
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .custom-service-list span,
    .tech-grid span {
        padding: 12px 16px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 999px;
        background: rgba(255,255,255,.06);
    }

.tech-grid {
    justify-content: center;
}

    .tech-grid span {
        border-color: var(--kg-border);
        background: #fff;
        box-shadow: 0 8px 20px rgba(8,29,49,.05);
        font-weight: 700;
    }

.case-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

    .case-filter button {
        padding: 10px 18px;
        border: 1px solid var(--kg-border);
        border-radius: 999px;
        color: var(--kg-text);
        background: #fff;
        font-weight: 700;
    }

        .case-filter button.active,
        .case-filter button:hover {
            color: #fff;
            border-color: var(--kg-blue);
            background: var(--kg-blue);
        }

.case-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--kg-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(8,29,49,.06);
}

.case-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.case-type,
.case-year {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.case-type {
    color: #fff;
    background: var(--kg-blue);
}

    .case-type.streetlight {
        background: var(--kg-orange);
    }

    .case-type.payment {
        background: var(--kg-teal);
    }

.case-year {
    color: var(--kg-muted);
    background: var(--kg-paper);
}

.case-card h2 {
    font-size: 1.35rem;
    font-weight: 900;
}

.case-card p {
    color: var(--kg-muted);
}

.case-result {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

    .case-result span {
        padding: 7px 10px;
        border-radius: 10px;
        color: #285a4f;
        background: #e9f8f4;
        font-size: .76rem;
        font-weight: 700;
    }

.case-note {
    color: #9a6f2b;
}

.case-data-request {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.request-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

    .request-grid span {
        padding: 14px;
        border: 1px solid var(--kg-border);
        border-radius: 13px;
        background: #fff;
        text-align: center;
        font-weight: 700;
    }

.case-empty {
    padding: 35px;
    border: 1px dashed var(--kg-border);
    border-radius: 18px;
    color: var(--kg-muted);
    text-align: center;
}

.about-values {
    display: grid;
    gap: 14px;
}

    .about-values article {
        display: flex;
        gap: 18px;
        padding: 22px;
        border: 1px solid var(--kg-border);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(8,29,49,.05);
    }

    .about-values i {
        color: var(--kg-blue);
        font-size: 1.35rem;
    }

    .about-values h3 {
        margin: 0 0 5px;
        font-size: 1rem;
        font-weight: 800;
    }

    .about-values p {
        margin: 0;
        color: var(--kg-muted);
        font-size: .85rem;
    }

.contact-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    padding: 46px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(145deg, var(--kg-navy), #0b3b55);
    box-shadow: var(--kg-shadow);
}

.contact-copy p {
    color: rgba(255,255,255,.62);
}

.contact-info {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

    .contact-info span {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,.74);
    }

    .contact-info i {
        color: #6fe1e7;
    }

.contact-form-wrap {
    padding: 28px;
    border-radius: 20px;
    color: var(--kg-text);
    background: #fff;
}

    .contact-form-wrap > div,
    .contact-form-wrap .form-row + div {
        margin-top: 16px;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-form-wrap label {
    display: block;
    margin-bottom: 7px;
    font-size: .82rem;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: var(--kg-border);
    border-radius: 12px;
}

textarea.form-control {
    min-height: 140px;
}

.field-error {
    display: block;
    margin-top: 5px;
    color: #c43e3e;
    font-size: .75rem;
}

.form-result {
    display: block;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
}

    .form-result.success {
        color: #236c58;
        background: #e9f8f4;
    }

.site-footer {
    padding: 60px 0 26px;
    color: rgba(255,255,255,.68);
    background: #061522;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

    .footer-brand div {
        display: flex;
        flex-direction: column;
    }

    .footer-brand strong {
        color: #fff;
    }

    .footer-brand small {
        color: rgba(255,255,255,.5);
    }

.footer-summary {
    max-width: 440px;
    margin-top: 18px;
}

.footer-title {
    margin: 0 0 15px;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,.58);
}

    .site-footer a:hover {
        color: #fff;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .75rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--kg-blue);
    box-shadow: 0 12px 28px rgba(8,29,49,.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
}

    .back-to-top.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

[hidden] {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .workflow-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-dashboard {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 18px 0 24px;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-dashboard {
        margin-top: 12px;
    }

    .case-data-request,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .streetlight-visual,
    .payment-visual {
        min-height: 430px;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 72px 0;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .hero-proof {
        gap: 20px;
    }

    .dashboard-kpis,
    .dashboard-content,
    .detail-feature-grid,
    .system-metrics,
    .request-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .cta-panel,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-panel {
        padding: 26px;
    }

    .contact-form-wrap {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .brand-copy small {
        display: none;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .workflow-track,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .case-card {
        padding: 24px;
    }

    .page-hero {
        padding-top: 125px;
    }

    .street-map {
        right: 0;
    }

    .street-stat {
        right: 14px;
        bottom: 14px;
    }

    .payment-summary {
        position: static;
        width: auto;
        margin: -10px 15px 0;
    }
}


/* =========================================================
   V2.5 Enterprise — IRRS Actual Product Showcase
   ========================================================= */

.home-dashboard-feature {
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%);
}

.home-dashboard-shell {
    padding: 42px;
    border: 1px solid var(--kg-border);
    border-radius: 30px;
    background: radial-gradient(circle at 88% 12%, rgba(23,167,184,.12), transparent 28%), #fff;
    box-shadow: var(--kg-shadow);
}

.home-dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

    .home-dashboard-heading h2,
    .irrs-final-cta h2 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3.15rem);
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: -.035em;
    }

    .home-dashboard-heading p {
        max-width: 850px;
        margin: 14px 0 0;
        color: var(--kg-muted);
        font-size: 1.02rem;
    }

.home-dashboard-image {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #26465f;
    border-radius: 22px;
    background: #061624;
    box-shadow: 0 32px 70px rgba(8,29,49,.24);
}

    .home-dashboard-image img {
        display: block;
        width: 100%;
        transition: transform .5s ease;
    }

    .home-dashboard-image:hover img {
        transform: scale(1.018);
    }

    .home-dashboard-image span {
        position: absolute;
        right: 18px;
        bottom: 18px;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 10px 15px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 999px;
        color: #fff;
        background: rgba(5,21,34,.82);
        backdrop-filter: blur(12px);
        font-size: .82rem;
        font-weight: 800;
    }

.home-dashboard-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 18px;
}

    .home-dashboard-modules span {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 13px;
        border: 1px solid var(--kg-border);
        border-radius: 13px;
        color: #365469;
        background: #f7fafc;
        font-size: .85rem;
        font-weight: 800;
    }

    .home-dashboard-modules i {
        color: var(--kg-blue);
    }

.irrs-enterprise-hero {
    position: relative;
    overflow: hidden;
    padding: 145px 0 90px;
    color: #fff;
    background: radial-gradient(circle at 10% 18%, rgba(123,77,255,.22), transparent 25%), radial-gradient(circle at 87% 28%, rgba(23,167,184,.17), transparent 28%), linear-gradient(145deg, #040f1c, #071d31 60%, #082b3f);
}

.irrs-enterprise-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.irrs-enterprise-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.045em;
}

    .irrs-enterprise-hero h1 span {
        color: #77e9ed;
    }

.irrs-enterprise-hero p {
    margin: 25px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 1.08rem;
    line-height: 1.9;
}

.irrs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.irrs-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: rgba(255,255,255,.62);
    font-size: .82rem;
}

    .irrs-hero-proof span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .irrs-hero-proof i {
        color: #75eef1;
    }

.irrs-hero-screen,
.irrs-showcase-screen {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(117,238,241,.2);
    border-radius: 22px;
    background: #061624;
    box-shadow: 0 38px 90px rgba(0,0,0,.38);
    cursor: zoom-in;
}

.irrs-hero-screen {
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

    .irrs-hero-screen img,
    .irrs-showcase-screen img {
        display: block;
        width: 100%;
        transition: transform .45s ease, filter .45s ease;
    }

    .irrs-hero-screen:hover img,
    .irrs-showcase-screen:hover img {
        transform: scale(1.018);
        filter: brightness(1.05);
    }

    .irrs-hero-screen > span {
        position: absolute;
        right: 15px;
        bottom: 15px;
        padding: 8px 12px;
        border-radius: 999px;
        color: #fff;
        background: rgba(4,15,28,.82);
        font-size: .74rem;
        font-weight: 800;
    }

.irrs-positioning {
    background: #f5f9fc;
}

.irrs-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

    .irrs-capability-grid article {
        position: relative;
        min-height: 270px;
        padding: 28px;
        overflow: hidden;
        border: 1px solid var(--kg-border);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(8,29,49,.06);
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .irrs-capability-grid article:hover {
            transform: translateY(-7px);
            box-shadow: var(--kg-shadow);
        }

    .irrs-capability-grid i {
        display: grid;
        width: 58px;
        height: 58px;
        place-items: center;
        border-radius: 17px;
        color: #fff;
        background: linear-gradient(135deg, #7450e9, #1681a7);
        font-size: 1.35rem;
    }

    .irrs-capability-grid h3 {
        margin: 23px 0 9px;
        font-size: 1.18rem;
        font-weight: 900;
    }

    .irrs-capability-grid p {
        margin: 0;
        color: var(--kg-muted);
        font-size: .91rem;
        line-height: 1.78;
    }

.irrs-capability-no {
    position: absolute;
    right: 18px;
    top: 17px;
    color: #dce7ee;
    font-size: 2.3rem;
    font-weight: 900;
}

.irrs-dashboard-showcase {
    background: radial-gradient(circle at 10% 8%, rgba(116,80,233,.16), transparent 22%), radial-gradient(circle at 89% 52%, rgba(23,167,184,.12), transparent 25%), #04111d;
}

    .irrs-dashboard-showcase .section-heading p {
        color: rgba(255,255,255,.58);
    }

.irrs-showcase-item {
    display: grid;
    grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 44px;
    padding: 54px 0;
    border-top: 1px solid rgba(255,255,255,.09);
}

    .irrs-showcase-item.reverse {
        grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
    }

        .irrs-showcase-item.reverse .irrs-showcase-copy {
            order: 2;
        }

        .irrs-showcase-item.reverse > .irrs-showcase-screen {
            order: 1;
        }

.irrs-showcase-copy h3 {
    margin: 9px 0 17px;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    font-weight: 900;
}

.irrs-showcase-copy p {
    color: rgba(255,255,255,.62);
    font-size: .98rem;
    line-height: 1.85;
}

.irrs-showcase-copy ul {
    margin: 22px 0 27px;
    padding: 0;
    list-style: none;
}

.irrs-showcase-copy li {
    position: relative;
    padding-left: 25px;
    color: rgba(255,255,255,.72);
    font-size: .88rem;
}

    .irrs-showcase-copy li + li {
        margin-top: 9px;
    }

    .irrs-showcase-copy li::before {
        position: absolute;
        left: 0;
        color: #75eef1;
        content: "\f058";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

.irrs-showcase-index {
    color: #8e78ff;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.irrs-showcase-screen {
    border-color: rgba(255,255,255,.13);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.irrs-screen-stack {
    display: grid;
    gap: 14px;
}

.irrs-showcase-screen.secondary {
    width: 76%;
    margin-left: auto;
}

.irrs-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 44px;
    border: 1px solid var(--kg-border);
    border-radius: 28px;
    background: linear-gradient(135deg, #f1fbfc, #fff8ed);
}

    .irrs-final-cta p {
        margin: 12px 0 0;
        color: var(--kg-muted);
    }

.irrs-media-modal .modal-content {
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
    background: #04111d;
    box-shadow: 0 35px 90px rgba(0,0,0,.45);
}

.irrs-media-modal .modal-header {
    border-bottom-color: rgba(255,255,255,.1);
}

.irrs-media-modal video {
    display: block;
    width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    background: #000;
}

#irrsImageModal .modal-body {
    display: grid;
    min-height: 0;
    place-items: center;
    padding: 16px;
    overflow: auto;
}

#irrsImageViewer {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
}

.irrs-product-entry {
    padding: 34px 0;
    background: #071a2a;
}

.irrs-product-entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 23px;
    color: #fff;
    background: radial-gradient(circle at 12% 20%, rgba(23,167,184,.14), transparent 28%), rgba(255,255,255,.05);
}

    .irrs-product-entry-card h2 {
        margin: 0;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 900;
    }

    .irrs-product-entry-card p {
        margin: 9px 0 0;
        color: rgba(255,255,255,.62);
    }

@media (max-width: 1199.98px) {
    .irrs-hero-screen {
        transform: none;
    }

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

@media (max-width: 991.98px) {
    .home-dashboard-heading,
    .irrs-final-cta,
    .irrs-product-entry-card {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .irrs-showcase-item,
    .irrs-showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

        .irrs-showcase-item.reverse .irrs-showcase-copy,
        .irrs-showcase-item.reverse > .irrs-showcase-screen {
            order: initial;
        }
}

@media (max-width: 575.98px) {
    .home-dashboard-shell {
        padding: 22px;
        border-radius: 22px;
    }

    .home-dashboard-modules,
    .irrs-capability-grid {
        grid-template-columns: 1fr;
    }

    .home-dashboard-image span {
        right: 10px;
        bottom: 10px;
        font-size: .7rem;
    }

    .irrs-enterprise-hero {
        padding-top: 126px;
    }

        .irrs-enterprise-hero h1 {
            font-size: clamp(2rem, 10vw, 2.7rem);
            word-break: keep-all;
        }

    .irrs-showcase-item {
        padding: 42px 0;
    }

    .irrs-showcase-screen.secondary {
        width: 100%;
    }

    .irrs-final-cta {
        padding: 28px;
    }
}


/* V2.5.1 — Real agency deployment list */
.case-summary-strip {
    color: #fff;
    background: #071a2a;
}

.case-summary-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

    .case-summary-grid article {
        padding: 25px 16px;
        border-right: 1px solid rgba(255,255,255,.08);
        text-align: center;
    }

        .case-summary-grid article:last-child {
            border-right: 0;
        }

    .case-summary-grid strong {
        display: block;
        font-size: 2rem;
        font-weight: 900;
    }

    .case-summary-grid span {
        color: rgba(255,255,255,.52);
        font-size: .78rem;
    }

.agency-county-grid {
    display: grid;
    gap: 26px;
}

.agency-county-card {
    padding: 28px;
    border: 1px solid var(--kg-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(6,22,36,.06);
}

.agency-county-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

    .agency-county-head h2 {
        margin: 0;
        font-size: 1.55rem;
        font-weight: 900;
    }

    .agency-county-head strong {
        display: grid;
        width: 54px;
        height: 54px;
        place-items: center;
        border-radius: 16px;
        color: #fff;
        background: linear-gradient(135deg,var(--kg-cyan),var(--kg-blue));
        font-size: 1.3rem;
        font-weight: 900;
    }

.agency-list-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.agency-card {
    min-height: 120px;
    padding: 17px;
    border: 1px solid var(--kg-border);
    border-radius: 16px;
    background: linear-gradient(145deg,#fff,#f6fafc);
    transition: .22s ease;
}

    .agency-card:hover {
        transform: translateY(-4px);
        border-color: rgba(22,129,167,.36);
        box-shadow: 0 13px 28px rgba(6,22,36,.08);
    }

    .agency-card h3 {
        margin: 0;
        font-size: .95rem;
        font-weight: 900;
    }

    .agency-card > div,
    .multi-product-grid article > div {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 14px;
    }

.product-pill {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
}

    .product-pill.irrs {
        color: #0b6380;
        background: #e5f5fa;
    }

    .product-pill.streetlight {
        color: #8b5a13;
        background: #fff2dc;
    }

    .product-pill.payment {
        color: #24715f;
        background: #e8f7f2;
    }

.multi-product-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
}

    .multi-product-grid article {
        padding: 22px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 19px;
        background: rgba(255,255,255,.05);
    }

        .multi-product-grid article > span {
            color: #75eef1;
            font-size: .76rem;
            font-weight: 900;
        }

    .multi-product-grid h3 {
        margin: 12px 0 0;
        color: #fff;
        font-size: 1rem;
        font-weight: 900;
    }

.section-dark .product-pill.irrs {
    color: #bcecff;
    background: rgba(35,139,190,.18);
}

.section-dark .product-pill.streetlight {
    color: #ffe2a8;
    background: rgba(228,160,75,.16);
}

.section-dark .product-pill.payment {
    color: #baf5df;
    background: rgba(22,160,133,.16);
}

.case-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--kg-border);
    border-radius: 18px;
    color: var(--kg-muted);
    background: var(--kg-paper);
}

    .case-disclaimer i {
        margin-top: 5px;
        color: var(--kg-blue);
    }

    .case-disclaimer p {
        margin: 0;
    }

@media(max-width:1199.98px) {
    .agency-list-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .multi-product-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:767.98px) {
    .case-summary-grid {
        grid-template-columns: repeat(2,1fr);
    }

        .case-summary-grid article:last-child {
            grid-column: 1 / -1;
        }

    .agency-list-grid,
    .multi-product-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:575.98px) {
    .agency-county-card {
        padding: 20px;
    }

    .agency-list-grid,
    .multi-product-grid {
        grid-template-columns: 1fr;
    }

    .product-pill {
        min-height: 34px;
        padding: 7px 12px;
        font-size: .82rem;
    }
}

.site-header .navbar {
    min-height: 78px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
    line-height: 1;
}

.site-header .kg-brand-logo {
    display: block;
    width: 72px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .site-header .navbar {
        min-height: 68px;
    }

    .site-header .kg-brand-logo {
        width: 60px;
        height: 54px;
    }
}

.site-header .kg-brand-logo {
    width: auto;
    height: 58px;
}

/* Header Logo */
.site-header .navbar {
    min-height: 64px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0;
    margin-right: 1rem;
    line-height: 1;
}

    .site-header .navbar-brand .kg-brand-logo {
        display: block;
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        object-fit: contain;
        flex: 0 0 48px;
    }

@media (max-width: 767.98px) {
    .site-header .navbar {
        min-height: 58px;
    }

    .site-header .navbar-brand {
        height: 50px;
    }

        .site-header .navbar-brand .kg-brand-logo {
            width: 42px !important;
            height: 42px !important;
            max-width: 42px !important;
            max-height: 42px !important;
            flex-basis: 42px;
        }
}

/* =========================================================
   V2.5.3 — Global Typography Scale
   統一縮小各頁標題，避免標題過大與不必要換行
   ========================================================= */

/* 首頁 Hero 主標 */
.hero-title {
    max-width: 720px;
    font-size: clamp(2.1rem, 3.65vw, 3.65rem);
    line-height: 1.16;
    letter-spacing: -.035em;
    word-break: keep-all;
}

    .hero-title span {
        margin-top: .18em;
        font-size: .9em;
    }

.hero-text {
    max-width: 680px;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.82;
}

/* 一般內頁頁首 */
.page-hero {
    padding-top: 136px;
    padding-bottom: 68px;
}

    .page-hero h1 {
        max-width: 860px;
        font-size: clamp(2rem, 3.6vw, 3.35rem);
        line-height: 1.18;
        letter-spacing: -.035em;
        word-break: keep-all;
    }

    .page-hero p {
        max-width: 780px;
        margin-top: 17px;
        font-size: 1rem;
        line-height: 1.82;
    }

/* 各頁主要章節標題 */
.section-heading h2,
.product-detail h2,
.contact-panel h2,
.case-data-request h2 {
    font-size: clamp(1.72rem, 2.8vw, 2.55rem);
    line-height: 1.24;
    letter-spacing: -.025em;
    word-break: keep-all;
}

.section-heading p {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.78;
}

/* 首頁 Dashboard 展示與 CTA */
.home-dashboard-heading h2,
.irrs-final-cta h2 {
    font-size: clamp(1.78rem, 2.9vw, 2.55rem);
    line-height: 1.22;
    letter-spacing: -.025em;
}

.home-dashboard-heading p,
.irrs-final-cta p {
    font-size: .98rem;
    line-height: 1.78;
}

/* 一般 CTA */
.cta-panel h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    line-height: 1.24;
    letter-spacing: -.025em;
}

.cta-panel p {
    font-size: .98rem;
    line-height: 1.75;
}

/* IRRS 專頁 Hero */
.irrs-enterprise-hero h1 {
    max-width: 720px;
    font-size: clamp(2.05rem, 3.75vw, 3.55rem);
    line-height: 1.16;
    letter-spacing: -.035em;
    word-break: keep-all;
}

.irrs-enterprise-hero p {
    margin-top: 21px;
    font-size: 1rem;
    line-height: 1.82;
}

/* IRRS 實際系統展示標題 */
.irrs-showcase-copy h3 {
    font-size: clamp(1.5rem, 2.45vw, 2.05rem);
    line-height: 1.28;
    letter-spacing: -.02em;
}

.irrs-showcase-copy p {
    font-size: .95rem;
    line-height: 1.82;
}

/* 產品頁標題 */
.product-card h3 {
    margin-top: 22px;
    font-size: 1.22rem;
    line-height: 1.35;
}

.product-detail .lead {
    font-size: 1rem;
    line-height: 1.8;
}

.product-index {
    font-size: 2.75rem;
}

/* 案例與縣市標題 */
.agency-county-head h2 {
    font-size: 1.38rem;
}

.agency-card h3 {
    font-size: .92rem;
}

.multi-product-grid h3 {
    font-size: .95rem;
    line-height: 1.45;
}

/* 關於我們與聯絡區 */
.about-values h3 {
    font-size: .96rem;
}

.contact-panel h2 {
    max-width: 650px;
}

/* Footer */
.footer-title {
    font-size: .86rem;
}

/* 平板 */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: clamp(2rem, 5.5vw, 3.1rem);
    }

    .page-hero h1 {
        font-size: clamp(1.95rem, 5vw, 2.85rem);
    }

    .irrs-enterprise-hero h1 {
        font-size: clamp(2rem, 5.5vw, 3rem);
    }
}

/* 手機 */
@media (max-width: 767.98px) {
    .hero-title {
        max-width: none;
        font-size: clamp(1.95rem, 8.4vw, 2.55rem);
        line-height: 1.2;
        word-break: normal;
    }

        .hero-title span {
            font-size: .88em;
        }

    .hero-text {
        font-size: .94rem;
        line-height: 1.75;
    }

    .page-hero {
        padding-top: 118px;
        padding-bottom: 56px;
    }

        .page-hero h1 {
            max-width: none;
            font-size: clamp(1.8rem, 7.6vw, 2.35rem);
            line-height: 1.22;
            word-break: normal;
        }

        .page-hero p {
            font-size: .94rem;
            line-height: 1.72;
        }

    .section-heading h2,
    .product-detail h2,
    .contact-panel h2,
    .case-data-request h2,
    .home-dashboard-heading h2,
    .irrs-final-cta h2 {
        font-size: clamp(1.55rem, 6.4vw, 2rem);
        line-height: 1.28;
        word-break: normal;
    }

    .section-heading p,
    .home-dashboard-heading p,
    .irrs-final-cta p,
    .cta-panel p {
        font-size: .94rem;
    }

    .cta-panel h2 {
        font-size: clamp(1.5rem, 6vw, 1.95rem);
    }

    .irrs-enterprise-hero h1 {
        max-width: none;
        font-size: clamp(1.95rem, 8vw, 2.5rem);
        line-height: 1.2;
        word-break: normal;
    }

    .irrs-enterprise-hero p {
        font-size: .94rem;
        line-height: 1.75;
    }

    .irrs-showcase-copy h3 {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .product-index {
        font-size: 2.35rem;
    }
}

/* 小型手機 */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(1.85rem, 9vw, 2.35rem);
    }

    .page-hero h1,
    .irrs-enterprise-hero h1 {
        font-size: clamp(1.75rem, 8.8vw, 2.2rem);
    }

    .section-heading h2,
    .product-detail h2,
    .contact-panel h2,
    .case-data-request h2,
    .home-dashboard-heading h2,
    .irrs-final-cta h2 {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }
}

/* =========================================================
   V2.5.4 — Header Brand / Company Logo
   ========================================================= */

.site-header .navbar {
    min-height: 64px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.site-header .navbar-brand.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 56px;
    padding: 0;
    margin-right: 1rem;
    line-height: 1;
    gap: 10px;
}

    .site-header .navbar-brand.brand .kg-brand-logo {
        display: block;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        object-fit: contain;
        object-position: center;
        flex: 0 0 46px;
    }

    .site-header .navbar-brand.brand .brand-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        line-height: 1.15;
    }

        .site-header .navbar-brand.brand .brand-copy strong {
            color: #fff;
            font-size: .98rem;
            font-weight: 800;
            letter-spacing: .05em;
            white-space: nowrap;
        }

        .site-header .navbar-brand.brand .brand-copy small {
            margin-top: 4px;
            color: rgba(255,255,255,.52);
            font-size: .56rem;
            font-weight: 600;
            letter-spacing: .11em;
            white-space: nowrap;
        }

@media (max-width: 767.98px) {
    .site-header .navbar {
        min-height: 58px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .site-header .navbar-brand.brand {
        height: 50px;
        margin-right: .75rem;
        gap: 8px;
    }

        .site-header .navbar-brand.brand .kg-brand-logo {
            width: 40px !important;
            min-width: 40px !important;
            max-width: 40px !important;
            height: 40px !important;
            min-height: 40px !important;
            max-height: 40px !important;
            flex-basis: 40px;
        }

        .site-header .navbar-brand.brand .brand-copy strong {
            font-size: .9rem;
        }

        .site-header .navbar-brand.brand .brand-copy small {
            font-size: .52rem;
        }
}

@media (max-width: 575.98px) {
    .site-header .navbar-brand.brand .brand-copy strong {
        font-size: .86rem;
    }

    .site-header .navbar-brand.brand .brand-copy small {
        display: none;
    }
}

/* =========================================================
   IRRS 系統總覽圖
   ========================================================= */
.irrs-overview-section {
    background:
        radial-gradient(circle at 15% 10%, rgba(32, 112, 190, .08), transparent 32%),
        #f5f8fc;
}

.irrs-overview-board {
    display: block;
    width: 100%;
    margin: 34px auto 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(8, 41, 82, .14);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 35, 70, .13);
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}

.irrs-overview-board:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 82px rgba(7, 35, 70, .18);
}

.irrs-overview-board img {
    display: block;
    width: 100%;
    height: auto;
}

.irrs-overview-board span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 18px;
    color: #24415f;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
}

/* =========================================================
   聯絡表單 CAPTCHA / 防機器人
   ========================================================= */
.kg-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.kg-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kg-contact-form > div > div + div {
    margin-top: 16px;
}

.kg-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #17314f;
    font-size: .88rem;
    font-weight: 700;
}

.kg-field-error {
    display: block;
    margin-top: 6px;
    color: #c53b3b;
    font-size: .82rem;
}

.kg-captcha-field {
    padding: 16px;
    border: 1px solid rgba(12, 57, 98, .12);
    border-radius: 14px;
    background: rgba(245, 249, 253, .9);
}

.kg-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.kg-captcha-row img {
    width: 220px;
    max-width: 100%;
    height: 72px;
    object-fit: cover;
    border: 1px solid rgba(8, 44, 80, .14);
    border-radius: 10px;
    background: #fff;
}

.kg-captcha-refresh {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: #175a91;
    font-weight: 700;
}

.kg-form-result {
    display: block;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.7;
}

.kg-form-result.success {
    color: #165c38;
    border: 1px solid rgba(31, 138, 82, .24);
    background: #eaf8f0;
}

.kg-form-result.error {
    color: #9a2e2e;
    border: 1px solid rgba(196, 57, 57, .22);
    background: #fff0f0;
}

@media (max-width: 767.98px) {
    .kg-form-row {
        grid-template-columns: 1fr;
    }

    .kg-captcha-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .irrs-overview-board {
        border-radius: 14px;
    }
}

/* =========================================================
   V2.5.10 — About / Contact layout repair
   ========================================================= */
.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.74);
    text-decoration: none;
}

.contact-info a:hover {
    color: #fff;
}

.contact-info a i {
    color: #6fe1e7;
}

.contact-form-wrap > div {
    margin-top: 0;
}

.contact-form-wrap .kg-captcha-field {
    margin-top: 16px;
}

.contact-form-wrap .btn-brand {
    margin-top: 18px;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #c53b3b;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .contact-panel {
        padding: 24px;
    }

    .contact-form-wrap {
        padding: 20px;
    }
}

/* =========================================================
   Error page
   ========================================================= */

.kg-error-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 48px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(15, 38, 71, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 38, 71, 0.1);
}

.kg-error-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(220, 53, 69, 0.1);
    color: #c73545;
    font-size: 38px;
}

.kg-error-wrap h2 {
    margin: 14px 0 18px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #102947;
}

.kg-error-message {
    max-width: 620px;
    margin: 0 auto;
    color: #5e6f83;
    font-size: 17px;
    line-height: 1.9;
}

.kg-error-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kg-error-reference {
    margin-top: 30px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #f5f8fb;
    color: #64748b;
}

    .kg-error-reference span {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
    }

    .kg-error-reference strong {
        color: #16365d;
        font-family: Consolas, monospace;
        letter-spacing: 0.05em;
    }

@media (max-width: 767.98px) {
    .kg-error-wrap {
        padding: 44px 24px;
        border-radius: 18px;
    }

    .kg-error-actions {
        flex-direction: column;
    }

        .kg-error-actions .btn {
            width: 100%;
        }
}