:root {
    --ink: #0F172A;
    --muted: #64748B;
    --orange: #F97316;
    --orange-dark: #D85E0C;
    --paper: #F8FAFC;
    --line: #E2E8F0;
    --steel: #334155;
    --teal: #0F766E;
    --white: #FFFFFF;
    --shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    letter-spacing: 0;
}

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

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.96);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 2px solid rgba(249, 115, 22, 0.8);
    border-radius: 8px;
    color: var(--orange);
    background: rgba(249, 115, 22, 0.08);
}

.brand strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.2;
}

.brand small {
    display: block;
    color: #CBD5E1;
    font-size: 0.78rem;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #E2E8F0;
    font-size: 0.95rem;
}

.main-nav a {
    padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--orange);
}

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
}

.hero {
    position: relative;
    min-height: 78vh;
    color: var(--white);
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.76) 48%, rgba(15, 23, 42, 0.42)),
        url("../images/hero-premium.jpg") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10px;
    background: linear-gradient(90deg, var(--orange), var(--teal), #CBD5E1);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    padding: 76px 0 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FED7AA;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--orange);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: 0;
}

.hero h1 {
    font-size: 4rem;
    max-width: 820px;
    margin-top: 16px;
}

.hero p {
    max-width: 760px;
    margin: 0 0 24px;
    color: #E2E8F0;
    font-size: 1.2rem;
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-dark);
}

.btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.btn-light {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.btn-mark {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.84rem;
}

.contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.contact-chip {
    min-height: 54px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 16px;
    border-left: 3px solid var(--orange);
    background: rgba(15, 23, 42, 0.45);
}

.contact-chip span {
    color: #CBD5E1;
    font-size: 0.86rem;
}

.contact-chip strong {
    color: var(--white);
    font-size: 1.08rem;
}

.section {
    padding: 76px 0;
}

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

.section-dark {
    background: var(--ink);
    color: var(--white);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    align-items: end;
    margin-bottom: 34px;
}

.section-kicker {
    color: var(--orange);
    font-weight: 800;
    margin: 0 0 8px;
}

.section-head h2,
.page-section h2 {
    font-size: 2.25rem;
}

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

.section-dark .section-head p {
    color: #CBD5E1;
}

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

.advantage-item,
.device-card,
.case-card,
.article-card,
.city-link {
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.advantage-item {
    min-height: 138px;
    padding: 20px;
    border: 1px solid var(--line);
}

.advantage-item .num {
    color: var(--orange);
    font-weight: 900;
}

.advantage-item h3 {
    font-size: 1.05rem;
    margin: 10px 0 8px;
}

.advantage-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.92rem;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.device-card {
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover,
.city-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.device-media {
    aspect-ratio: 4 / 3;
    background: #CBD5E1;
    overflow: hidden;
}

.device-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-body {
    padding: 18px;
}

.device-body h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.device-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.process-grid {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.process-step {
    position: relative;
    min-height: 142px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    color: var(--orange);
    font-weight: 900;
    margin-bottom: 16px;
}

.process-step strong {
    display: block;
    margin-bottom: 8px;
}

.process-step span {
    color: #CBD5E1;
    font-size: 0.92rem;
}

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

.case-card {
    overflow: hidden;
    border: 1px solid var(--line);
}

.case-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.case-card .case-body {
    padding: 18px;
}

.case-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.price {
    color: var(--orange);
    font-weight: 900;
}

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

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

.quote-card {
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.quote-card span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--orange);
    font-weight: 900;
}

.quote-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.quote-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.quote-callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}

.quote-callout strong {
    font-size: 1.18rem;
}

.quote-callout .btn-light .btn-mark {
    background: rgba(15, 23, 42, 0.08);
}


.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    max-width: 760px;
}

.contact-panel {
    padding: 26px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}

.contact-panel p {
    color: #CBD5E1;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.contact-list div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list span {
    display: block;
    color: #CBD5E1;
    font-size: 0.88rem;
}

.contact-list strong {
    font-size: 1.16rem;
}

.service-area .section-head {
    margin-bottom: 24px;
}

.nationwide-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--ink), #1E293B);
    color: var(--white);
}

.nationwide-band span {
    display: inline-block;
    margin-bottom: 8px;
    color: #FED7AA;
    font-weight: 800;
}

.nationwide-band strong {
    display: block;
    max-width: 720px;
    font-size: 1.22rem;
    line-height: 1.55;
}

.region-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.region-strip span {
    min-height: 58px;
    padding: 12px 14px;
    border-left: 3px solid var(--orange);
    background: #F8FAFC;
    color: var(--muted);
    font-size: 0.92rem;
}

.region-strip strong {
    color: var(--ink);
    margin-right: 6px;
}

.section-mini-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 16px;
}

.section-mini-head h3 {
    margin: 0;
    font-size: 1.22rem;
}

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


.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.city-link {
    min-height: 104px;
    padding: 18px;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-link strong {
    display: block;
    margin-bottom: 6px;
}

.city-link span {
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer {
    padding: 42px 0 92px;
    background: #111827;
    color: #CBD5E1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 26px;
}

.footer-grid h2,
.footer-grid h3 {
    color: var(--white);
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.footer-links a {
    color: #CBD5E1;
}

.footer-links a:hover {
    color: var(--orange);
}

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 26px;
    z-index: 60;
    display: grid;
    gap: 10px;
}

.float-btn {
    width: 122px;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
}

.float-btn.primary {
    background: var(--orange);
}

.float-btn span {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
}

.mobile-actionbar {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 90;
    transform: translateX(-50%) translateY(120px);
    opacity: 0;
    pointer-events: none;
    max-width: min(520px, calc(100% - 32px));
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.breadcrumb {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 24px 0;
}

.breadcrumb a {
    color: var(--steel);
}

.page-hero {
    padding: 54px 0 64px;
    background: var(--ink);
    color: var(--white);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.page-hero h1 {
    font-size: 3rem;
}

.page-hero p {
    color: #CBD5E1;
    margin: 0 0 22px;
}

.page-hero img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.article-card {
    padding: 30px;
    border: 1px solid var(--line);
}

.article-card p {
    color: #475569;
}

.article-card h2 {
    margin-top: 34px;
    font-size: 1.72rem;
}

.article-card h3 {
    margin-top: 22px;
    font-size: 1.18rem;
}

.article-card ul,
.article-card ol {
    padding-left: 22px;
    color: #475569;
}

.side-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    align-self: start;
}

.side-box {
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 20px;
}

.side-box h2,
.side-box h3 {
    font-size: 1.1rem;
}

.side-links {
    display: grid;
    gap: 8px;
}

.side-links a {
    color: var(--steel);
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}

.side-links a:hover {
    color: var(--orange);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span,
.tag-list a {
    border-radius: 8px;
    padding: 6px 10px;
    background: #F1F5F9;
    color: var(--steel);
    font-size: 0.9rem;
}

.city-hero {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
        url("../images/milling-gantry.jpg") center / cover no-repeat;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 1080px) {
    .advantage-grid,
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .device-grid,
    .quote-grid,
    .region-strip,
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        inset: 72px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 18px;
        background: rgba(15, 23, 42, 0.98);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .main-nav .header-call {
        padding: 12px;
    }

    .hero {
        min-height: 76vh;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section {
        padding: 58px 0;
    }

    .section-head,
    .contact-layout,
    .page-hero-grid,
    .article-wrap,
    .footer-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .section-head {
        align-items: start;
    }

    .device-grid,
    .quote-grid,
    .region-strip,
    .case-grid,
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nationwide-band,
    .section-mini-head {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand small {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.15rem;
    }

    .hero-content {
        padding: 54px 0 50px;
    }

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

    .contact-strip {
        display: grid;
    }

    .advantage-grid,
    .process-grid,
    .device-grid,
    .quote-grid,
    .region-strip,
    .case-grid,
    .cities-grid {
        grid-template-columns: 1fr;
    }

    .section-head h2,
    .page-section h2 {
        font-size: 1.75rem;
    }

    .floating-actions {
        display: none;
    }

    .mobile-actionbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
    }

    .mobile-actionbar a,
    .mobile-actionbar button {
        min-height: 58px;
        border: 0;
        border-right: 1px solid var(--line);
        background: var(--white);
        color: var(--ink);
        font-weight: 900;
    }

    .mobile-actionbar a:first-child {
        background: var(--orange);
        color: var(--white);
    }

    .site-footer {
        padding-bottom: 120px;
    }
}
