/* =========================================================
   官网全局样式 —— 方案公司 · 一页长滚动
   主色：科技蓝 1a7bbf / 深蓝灰 0b2b4a / 浅底 f6f8fb
   ========================================================= */

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 锚点平滑滚动 */
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f6f8fb;
    color: #1e293b;
    line-height: 1.7;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 通用区块标题 ---------- */
.section {
    padding: 72px 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1a7bbf;
    background: #e4eefa;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #0b2b4a;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-sub {
    color: #5b6b7d;
    font-size: 16px;
}

/* ---------- 顶部导航 ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 4px rgba(11, 43, 74, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    color: #0b2b4a;
    white-space: nowrap;
}

.logo i {
    color: #1a7bbf;
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.nav-links a:hover {
    color: #1a7bbf;
}

.nav-cta {
    background: #1a7bbf;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #0f5e93;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #0b2b4a;
    cursor: pointer;
}

/* ---------- 首屏 Hero ---------- */
.hero {
    background: linear-gradient(135deg, #0b2b4a 0%, #123e66 55%, #1a7bbf 130%);
    color: #fff;
    padding: 88px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero h1 em {
    font-style: normal;
    color: #7cc0ef;
}

.hero-lead {
    font-size: 17px;
    color: #c9dcee;
    margin-bottom: 26px;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #e6f1fa;
}

.hero-badges i {
    color: #7cc0ef;
    margin-right: 6px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.btn-primary {
    background: #1a7bbf;
    color: #fff;
}

.btn-primary:hover {
    background: #0f5e93;
}

.btn-light {
    background: #fff;
    color: #0b2b4a;
}

.btn-light:hover {
    background: #e3eef7;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    border-color: #fff;
}

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

/* Hero 右侧：一句话价值链条卡 */
.hero-chain {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(4px);
}

.hero-chain h3 {
    font-size: 16px;
    margin-bottom: 18px;
    color: #e6f1fa;
}

.chain-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
    color: #d6e6f4;
    font-size: 15px;
}

.chain-item:last-child {
    border-bottom: none;
}

.chain-item i.fa-circle-check {
    color: #7cc0ef;
}

/* ---------- 业务总览（4 张入口卡） ---------- */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.biz-card {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 14px;
    padding: 28px 22px;
    transition: 0.25s;
    display: block;
}

.biz-card:hover {
    box-shadow: 0 12px 28px rgba(11, 43, 74, 0.1);
    transform: translateY(-4px);
    border-color: #9cc6e6;
}

.biz-card .biz-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: #1a7bbf;
    margin-bottom: 16px;
}

.biz-card:nth-child(2) .biz-icon { background: #0e9f8b; }
.biz-card:nth-child(3) .biz-icon { background: #d98a26; }
.biz-card:nth-child(4) .biz-icon { background: #5a67d8; }

.biz-card h3 {
    font-size: 18px;
    color: #0b2b4a;
    margin-bottom: 8px;
}

.biz-card p {
    font-size: 14px;
    color: #5b6b7d;
    margin-bottom: 12px;
}

.biz-card .biz-more {
    font-size: 14px;
    font-weight: 600;
    color: #1a7bbf;
}

.biz-card:hover .biz-more {
    text-decoration: underline;
}

/* ---------- 分业务详情区块（深色标题行 + 卡片） ---------- */
.biz-section .section-head {
    text-align: left;
    margin-bottom: 36px;
}

.biz-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.biz-kicker .num-badge {
    background: #0b2b4a;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.biz-kicker h2 {
    font-size: 27px;
    color: #0b2b4a;
}

.biz-desc {
    color: #5b6b7d;
    margin-bottom: 28px;
    max-width: 860px;
}

.biz-desc strong {
    color: #0b2b4a;
}

/* 服务卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.card {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 12px;
    padding: 24px 22px;
}

.card i {
    font-size: 22px;
    color: #1a7bbf;
    margin-bottom: 12px;
}

.card h4 {
    font-size: 17px;
    color: #0b2b4a;
    margin-bottom: 8px;
}

.card p,
.card li {
    font-size: 14px;
    color: #5b6b7d;
}

.card ul li {
    position: relative;
    padding: 4px 0 4px 18px;
}

.card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #1a7bbf;
    position: absolute;
    left: 0;
    top: 8px;
}

/* 来料 vs 包工包料 对比表 */
.compare {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6edf4;
}

.compare th,
.compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}

.compare th {
    background: #0b2b4a;
    color: #fff;
    font-weight: 600;
}

.compare tr:last-child td {
    border-bottom: none;
}

.compare td:first-child {
    font-weight: 600;
    color: #0b2b4a;
    white-space: nowrap;
}

/* ---------- 合作总流程 ---------- */
.flow-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    counter-reset: flow;
}

.flow-step {
    position: relative;
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
    margin: 0 6px;
}

.flow-step:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #1a7bbf;
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #f6f8fb;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step .flow-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #e4eefa;
    color: #1a7bbf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.flow-step h4 {
    font-size: 15px;
    color: #0b2b4a;
    margin-bottom: 4px;
}

.flow-step p {
    font-size: 12px;
    color: #8494a5;
}

/* ---------- 行业应用 ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6edf4;
    background: #fff;
    transition: 0.25s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 43, 74, 0.1);
}

.industry-photo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
}

.industry-photo.c1 { background: linear-gradient(135deg, #1a7bbf, #5aa7dd); }
.industry-photo.c2 { background: linear-gradient(135deg, #0e9f8b, #54c7b4); }
.industry-photo.c3 { background: linear-gradient(135deg, #d98a26, #f0b45e); }
.industry-photo.c4 { background: linear-gradient(135deg, #5a67d8, #8b94e8); }

.industry-info {
    padding: 18px 20px 22px;
}

.industry-info h4 {
    font-size: 17px;
    color: #0b2b4a;
    margin-bottom: 6px;
}

.industry-info p {
    font-size: 14px;
    color: #5b6b7d;
}

/* ---------- 品质保障 ---------- */
.quality-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.quality-item {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 12px;
    padding: 20px;
}

.quality-item .q-badge {
    display: inline-block;
    background: #0b2b4a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.quality-item p {
    font-size: 14px;
    color: #5b6b7d;
}

.quality-note {
    background: #e4eefa;
    border-left: 4px solid #1a7bbf;
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #2a4b6e;
}

.quality-note i {
    margin-right: 8px;
    color: #1a7bbf;
}

/* ---------- 案例 ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 12px;
    overflow: hidden;
}

.case-photo {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3f9;
    color: #a7bdd1;
    font-size: 40px;
}

.case-body {
    padding: 20px 22px 24px;
}

.case-tag {
    display: inline-block;
    font-size: 12px;
    color: #1a7bbf;
    background: #e4eefa;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.case-body h4 {
    font-size: 17px;
    color: #0b2b4a;
    margin-bottom: 8px;
}

.case-body p {
    font-size: 14px;
    color: #5b6b7d;
}

/* ---------- 关于我们 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-copy p {
    margin-bottom: 16px;
    color: #3d4f63;
    font-size: 15px;
}

.why-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #dfe7ef;
    font-size: 15px;
    color: #2a3f54;
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list i {
    color: #1a7bbf;
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------- 询盘表单 ---------- */
.inquiry {
    background: linear-gradient(135deg, #0b2b4a 0%, #123e66 100%);
    color: #fff;
}

.inquiry .section-title {
    color: #fff;
}

.inquiry .section-sub {
    color: #c9dcee;
}

.inquiry-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px;
    max-width: 760px;
    margin: 0 auto;
    color: #1e293b;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0b2b4a;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfdbe7;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fbfcfe;
    color: #1e293b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a7bbf;
    background: #fff;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    color: #3d4f63;
    margin: 0;
}

.form-tip {
    font-size: 13px;
    color: #8494a5;
    background: #f0f5fa;
    border: 1px dashed #cfdbe7;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.form-tip i {
    color: #1a7bbf;
    margin-right: 6px;
}

.form-actions {
    margin-top: 8px;
}

.form-result {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    background: #e7f6ee;
    color: #176b42;
    border: 1px solid #b9e3cd;
}

.form-result.show {
    display: block;
}

/* ---------- 页脚 ---------- */
.footer {
    background: #0a2136;
    color: #a8bccf;
    padding: 40px 0 24px;
    font-size: 14px;
}

.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    display: block;
    padding: 4px 0;
}

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

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 24px;
    text-align: center;
    color: #6d839a;
    font-size: 13px;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 992px) {
    .overview-grid,
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid,
    .card-grid.two,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 0;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 24px;
        gap: 14px;
        box-shadow: 0 10px 20px rgba(11, 43, 74, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .section {
        padding: 52px 0;
    }

    .hero {
        padding: 60px 0;
    }

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

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

@media (max-width: 560px) {
    .overview-grid,
    .industry-grid,
    .card-grid,
    .card-grid.two,
    .case-grid,
    .quality-list {
        grid-template-columns: 1fr;
    }

    .flow-row {
        grid-template-columns: 1fr;
    }

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

    .inquiry-card {
        padding: 24px;
    }

    .footer .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
