:root {
    --ink: #071626;
    --navy: #0d2345;
    --navy-2: #142e58;
    --teal: #08bfa7;
    --teal-dark: #068f82;
    --gold: #c8a85e;
    --coral: #ef6f61;
    --paper: #f7f9fb;
    --line: #dce4eb;
    --muted: #66758a;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 22, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.7;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 5vw;
    color: var(--white);
    background: rgba(8, 22, 42, 0.94);
    border-bottom: 4px solid var(--teal);
    backdrop-filter: blur(14px);
}

.compact-header {
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--navy);
    background: var(--white);
    border-radius: 8px;
    font-weight: 900;
    font-family: Georgia, serif;
}

.brand strong,
.brand em {
    display: block;
    line-height: 1.25;
}

.brand strong {
    font-size: 17px;
    font-weight: 700;
}

.brand em {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-style: normal;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover {
    color: var(--teal);
}

.header-phone {
    padding: 8px 13px;
    color: var(--navy);
    background: var(--teal);
    border-radius: 8px;
    font-weight: 700;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 260px);
    padding: 70px 5vw 50px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 22, 38, 0.96), rgba(9, 25, 47, 0.86) 48%, rgba(9, 25, 47, 0.46)),
        linear-gradient(0deg, rgba(7, 22, 38, 0.92), rgba(7, 22, 38, 0.12) 42%, rgba(7, 22, 38, 0.6));
}

.hero:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 920px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
}

.eyebrow,
.section-head span,
.contact-info span,
.service-contact span {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.16;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.hero-en {
    max-width: 700px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-subtitle {
    margin: 26px 0 0;
    color: var(--teal);
    font-size: 31px;
    font-weight: 700;
}

.tagline {
    display: inline-flex;
    margin: 24px 0 0;
    padding: 12px 18px;
    color: #f4d37f;
    border: 1px solid rgba(244, 211, 127, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn.primary {
    color: var(--navy);
    background: var(--teal);
    box-shadow: 0 12px 30px rgba(8, 191, 167, 0.24);
}

.btn.ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.btn.compact {
    min-height: 38px;
    color: var(--navy);
    background: var(--teal);
}

.service-chips {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 46px;
    max-width: 980px;
}

.service-chips a {
    display: grid;
    place-items: center;
    min-height: 56px;
    padding: 8px;
    color: var(--teal);
    background: rgba(21, 48, 91, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    font-weight: 700;
    text-align: center;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.section {
    padding: 86px 5vw;
}

.section-head {
    max-width: 880px;
    margin-bottom: 34px;
}

.section-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
    line-height: 1.25;
}

.section-head p {
    margin: 14px 0 0;
    color: var(--muted);
}

.contents {
    background: var(--white);
}

.contents-list {
    display: grid;
    gap: 14px;
    max-width: 1180px;
}

.contents-list a {
    display: grid;
    grid-template-columns: 64px minmax(160px, 260px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 82px;
    padding: 16px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contents-list b {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--navy-2);
    border-radius: 50%;
    font-size: 19px;
}

.contents-list strong {
    color: var(--ink);
    font-size: 24px;
}

.contents-list em {
    color: var(--muted);
    font-style: normal;
}

.about {
    background: linear-gradient(180deg, #f7f9fb, #eef4f7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 38px;
}

.stat-card {
    position: relative;
    min-height: 190px;
    padding: 28px 24px;
    background: var(--white);
    border-top: 5px solid var(--teal);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--navy-2);
    font-size: 58px;
    line-height: 1;
}

.stat-card strong span {
    color: var(--navy-2);
}

.stat-card h3 {
    margin: 18px 0 4px;
    font-size: 19px;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
}

.about-copy {
    max-width: 900px;
    padding: 34px 40px;
    background: var(--white);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 20px;
}

.about-copy p {
    margin: 0 0 18px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.panorama {
    background: var(--white);
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 30px;
}

.category-tabs button {
    min-height: 64px;
    padding: 10px;
    color: var(--ink);
    background: #eef2f5;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(7, 22, 38, 0.08);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.category-tabs button.active {
    color: var(--white);
    background: var(--navy-2);
    border-color: var(--navy-2);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.flow-card {
    position: relative;
    min-height: 190px;
    padding: 24px 22px;
    color: var(--white);
    background: var(--flow-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.flow-card b {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.flow-card h3 {
    margin: 12px 0 16px;
    font-size: 24px;
}

.flow-card p {
    margin: 0;
    font-size: 18px;
}

.service-panels {
    margin-top: 26px;
}

.service-panel {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    background: #f0f6f7;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-panel.active {
    display: flex;
}

.service-panel h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

.service-panel p {
    margin: 0;
    color: var(--muted);
}

.service-detail-preview {
    background: linear-gradient(180deg, #0b1c34, #10294e);
}

.service-detail-preview .section-head h2 {
    color: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.solution-card {
    min-height: 280px;
    padding: 24px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-top: 5px solid var(--accent);
    border-radius: 8px;
}

.solution-top b,
.solution-top span {
    display: block;
}

.solution-top b {
    font-size: 23px;
}

.solution-top span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.62);
}

.solution-card ul {
    margin: 22px 0 26px;
    padding-left: 20px;
}

.solution-card li {
    margin-bottom: 8px;
}

.solution-card a {
    color: var(--teal);
    font-weight: 700;
}

.workflow {
    background: #f4f7f9;
}

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

.workflow-line article {
    min-height: 168px;
    padding: 22px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(7, 22, 38, 0.07);
}

.workflow-line b {
    color: var(--teal-dark);
    font-size: 25px;
}

.workflow-line h3 {
    margin: 10px 0 8px;
}

.workflow-line p {
    margin: 0;
    color: var(--muted);
}

.commitment {
    margin: 28px 0 0;
    padding: 18px 22px;
    color: var(--navy);
    background: #fff7df;
    border-left: 5px solid var(--gold);
    border-radius: 8px;
}

.contact {
    background: var(--white);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
    gap: 34px;
    max-width: 1180px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    padding: 34px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.contact-info h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-info dl {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.contact-info dl div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
}

.contact-info dt {
    color: var(--teal);
    font-weight: 700;
}

.contact-info dd {
    margin: 0;
    word-break: break-word;
}

.qr-box {
    display: inline-grid;
    gap: 10px;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    text-align: center;
}

.qr-box img {
    width: 132px;
    height: 132px;
    object-fit: cover;
}

.qr-box small {
    color: var(--muted);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    background: var(--paper);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
}

.contact-form .full,
.contact-form button,
.contact-form .flash {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    background: var(--white);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    min-height: 48px;
    border: 0;
    color: var(--navy);
    background: var(--teal);
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.flash {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.flash.success {
    color: #075b4f;
    background: #dff8f3;
}

.flash.error {
    color: #8d2018;
    background: #ffe4df;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    padding: 22px 5vw;
    color: rgba(255, 255, 255, 0.76);
    background: #071626;
    font-size: 14px;
}

.service-page {
    background: #f5f8fa;
}

.service-hero {
    padding: 86px 5vw 70px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 22, 38, 0.96), rgba(14, 42, 79, 0.88)),
        var(--navy);
    border-bottom: 6px solid var(--accent);
}

.service-hero p {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 700;
}

.service-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: 48px;
    line-height: 1.2;
}

.service-hero div {
    max-width: 780px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.74);
}

.service-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    padding: 54px 5vw;
}

.service-side {
    position: sticky;
    top: 100px;
    align-self: start;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(7, 22, 38, 0.08);
}

.service-side strong {
    margin-bottom: 8px;
    color: var(--navy);
}

.service-side a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
}

.service-side a.active,
.service-side a:hover {
    color: var(--white);
    background: var(--navy-2);
}

.service-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.detail-card {
    min-height: 280px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(7, 22, 38, 0.08);
}

.detail-card span {
    display: inline-grid;
    place-items: center;
    min-width: 54px;
    min-height: 32px;
    padding: 4px 10px;
    color: var(--white);
    background: var(--navy-2);
    border-radius: 8px;
    font-weight: 800;
}

.detail-card h2 {
    margin: 18px 0 6px;
    font-size: 26px;
    color: var(--navy);
}

.detail-subtitle {
    margin: 0 0 18px;
    color: var(--teal-dark);
    font-weight: 700;
}

.detail-body p {
    margin: 0 0 12px;
    color: #34465d;
}

.service-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px auto;
    align-items: center;
    gap: 24px;
    margin: 0 5vw 64px;
    padding: 26px 30px;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
}

.service-contact h2 {
    margin: 0 0 8px;
}

.service-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.service-contact img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    padding: 8px;
    background: var(--white);
    border-radius: 8px;
}

@media (max-width: 1180px) {
    .hero,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: none;
    }

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

    .stats-grid,
    .category-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    .site-header {
        position: relative;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px 5vw;
    }

    .site-nav {
        width: 100%;
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .header-phone {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 42px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .service-chips,
    .flow-grid,
    .workflow-line,
    .stats-grid,
    .category-tabs,
    .solution-grid,
    .service-detail-list {
        grid-template-columns: 1fr;
    }

    .service-chips {
        display: flex;
        gap: 10px;
        margin-top: 28px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .service-chips a {
        flex: 0 0 150px;
        min-height: 54px;
    }

    .contents-list a {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .contents-list em {
        grid-column: 2;
    }

    .section {
        padding: 58px 5vw;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .about-copy,
    .contact-info,
    .contact-form {
        padding: 24px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

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

    .service-side {
        position: static;
    }

    .service-contact {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }
}
