/* ==========================================================================
   moban1 站点样式（重构版）
   原 style.css(16KB) + main_box.css(48KB，含大量其他项目组件) 合并精简为本文件。
   变量、配色、尺寸与原样式保持一致，只保留页面实际使用的规则。
   ========================================================================== */

:root {
    --brand: #1a4b8c;
    /* 主色：导航/标题/按钮 */
    --gold: #d4af37;
    /* 点缀金：首屏按钮 */
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #526278;
    --line: #e7edf4;
    --soft: #f5f8fb;
    --accent: #f59e0b;
    --shadow: 0 18px 45px rgba(19, 32, 51, .08);
    --shadow-sm: 0 10px 28px rgba(19, 32, 51, .06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", -apple-system, "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: #f6f8fc;
    -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

svg.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -.1em;
    overflow: hidden;
}

/* 首页容器宽度（原样式覆盖 Bootstrap 的响应式宽度） */
.container {
    max-width: 1530px;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.navbar {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.navbar_box .navbar-brand {
    margin-bottom: 0;
    color: var(--brand);
    font-size: 24px;
    font-weight: 700;
}

.navbar_box .navbar-brand span {
    color: var(--gold);
}

.navbar .nav-link {
    color: #333;
    margin: 0 8px;
}

.navbar .nav-link:hover {
    color: var(--brand);
}

.navbar_box .navbar-nav .nav-item {
    position: relative;
}

.navbar_box .navbar-nav .nav-item.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 50%;
    height: 4px;
    background: var(--brand);
    transform: translateX(-50%);
}

.navbar_box .phone_fr {
    padding: 8px 15px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
}

.navbar_box .phone_fr p {
    margin: 0;
}

.navbar-toggler {
    padding: 0;
    border: 0;
    font-size: 25px;
}

/* 移动端折叠菜单：展开后纵向排列 */
@media (max-width: 991.98px) {
    .navbar_box .navbar-collapse {
        margin-top: 10px;
        padding: 6px 0;
        border-top: 1px solid var(--line);
    }

    .navbar_box .nav-link {
        padding: 10px 0;
    }

    .navbar_box .navbar-nav .nav-item.active::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   首屏 banner
   -------------------------------------------------------------------------- */
.banner-section {
    display: flex;
    align-items: center;
    min-height: 400px;
    margin-top: 64px;
    padding: 45px 0;
    background: var(--brand);
    color: #fff;
}

.banner-text h1 {
    margin-bottom: 16px;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 700;
}

.banner-text .text {
    font-size: 20px;
    line-height: 28px;
}

.btn_group a {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff;
}

.btn_group a:hover {
    background: #fff;
    color: var(--gold);
}

.btn_group .btn_shop {
    margin-left: 15px;
    background: transparent;
    border: 1px solid #fff;
}

/* 内页 banner（较矮、居中） */
.banner-section-about {
    min-height: 260px;
}

.banner-section-about .container {
    text-align: center;
}

.banner-section-about .banner-text {
    width: 100%;
}

.banner-section-about .banner-text h1 {
    font-size: 35px;
}

.btn_group p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    opacity: .9;
}

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section-title {
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 15px;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: #1e293b;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--brand);
    transform: translateX(-50%);
}

.case-desc {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* 产品卡片（首页） */
.product-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-card h4 {
    padding: 15px 15px 8px;
    font-size: 15px;
    text-align: center;
}

/* 企业优势 */
.advantage-card {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: #fff;
    cursor: pointer;
    transition: all .4s ease;
}

.advantage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #1a4b8c, #2980b9);
    transition: width .4s ease;
}

.advantage-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(52, 152, 219, .25);
}

.advantage-card:hover::before {
    width: 100%;
    opacity: .1;
}

.advantage-card h4 {
    transition: color .3s ease;
}

.advantage-card:hover h4 {
    color: #2980b9;
}

/* 关于我们 */
.about-section .about_fl {
    padding-right: 20px;
}

.about-section .about_fr {
    padding-left: 90px;
}

.about-section .space-y li {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.about-section .space-y .icon {
    margin-right: 5px;
    font-size: 20px;
    color: var(--gold);
}

/* 新闻轮播 */
.newsSwiper {
    padding-bottom: 50px;
}

.news-card {
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-info {
    padding: 18px;
}

.news-info h5 {
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   联系我们 / 页脚
   -------------------------------------------------------------------------- */
.contact-section {
    background: var(--brand);
}

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

.contact-section .section-title::after {
    background: #fff;
}

.contact-section p {
    font-size: 18px;
    color: #fff;
}

.contact-section p .icon {
    font-size: 20px;
}

.contact-section p.phone {
    font-size: 24px;
}

.contact-section p a:hover {
    color: var(--gold);
}

/* 全国服务区域 */
.branch-wrap {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.branch-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.branch-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.branch-list span a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .06);
    border-radius: 50px;
    transition: all .3s ease;
}

.branch-list span:hover a {
    background: var(--brand);
    color: #fff;
}

/* 移动端悬浮拨号 */
.call-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    font-size: 30px;
    background: var(--brand);
    border-radius: 50%;
}

.call-btn a {
    color: #fff;
}

footer {
    background: #1e293b;
}

footer p {
    margin-bottom: 0;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   内页：geo 版式
   -------------------------------------------------------------------------- */
.geo-wrap {
    width: 1350px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.geo-breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--muted);
}

.geo-breadcrumb a {
    font-weight: 800;
    color: var(--ink-2);
}

.geo-section {
    padding: 16px 0 30px;
}

.geo-section-head {
    margin-bottom: 28px;
    text-align: center;
}

.geo-section-head h2 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.3;
    color: #111827;
}

.geo-section-head p {
    margin-top: 8px;
    color: var(--muted);
}

.geo-under {
    width: 54px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--accent);
    border-radius: 4px;
}

.geo-grid {
    display: grid;
    gap: 22px;
}

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

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

.geo-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.geo-card-body {
    padding: 22px;
}

.geo-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    color: #172033;
}

.geo-card p,
.geo-muted {
    font-size: 14px;
    line-height: 1.9;
    color: #45556a;
}

.geo-thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f1f5f9;
}

.geo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.geo-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 900;
    color: #64748b;
    background: linear-gradient(135deg, #eef5fb, #f8fafc);
}

.geo-more {
    font-size: 14px;
    font-weight: 900;
    color: var(--brand);
}

.geo-list {
    display: grid;
    gap: 14px;
}

.geo-list-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.geo-list-item h3 {
    font-size: 25px;
    font-weight: 700;
}

.geo-list-item .geo-thumb {
    height: 118px;
    border-radius: 10px;
}

.geo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.geo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.geo-panel {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.geo-panel h3 {
    font-size: 23px;
    font-weight: 600;
}

.geo-side {
    display: grid;
    gap: 14px;
}

.geo-side a {
    display: block;
    padding: 12px 14px;
    font-weight: 800;
    color: var(--ink-2);
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.geo-side span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.geo-article h1 {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
}

.geo-article-body {
    margin-top: 20px;
    line-height: 2;
    color: var(--ink-2);
}

.geo-article-body p {
    margin: 12px 0;
}

.geo-article-body img {
    margin: 14px auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

/* 关于页：文中配图（原为内联样式） */
.about-inline-ad {
    float: left;
    width: 320px;
    max-width: 42%;
    margin: 0 24px 16px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.geo-about-capability-head {
    margin: 42px 0 22px;
}

.geo-about-capability .geo-panel {
    box-shadow: var(--shadow-sm);
}

.geo-about-capability .geo-panel h3 {
    font-size: 20px;
    font-weight: 700;
}

/* 产品详情 */
.geo-detail-shell {
    display: grid;
    gap: 24px;
}

.geo-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: start;
}

.geo-detail-shell>.geo-detail {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.geo-detail-image {
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.geo-detail-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    background: #f1f5f9;
    border-radius: 10px;
}

.geo-product-summary h1 {
    margin: 6px 0 10px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.geo-product-summary p {
    margin-bottom: 14px;
    line-height: 1.9;
    color: #45556a;
}

.geo-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 900;
    color: var(--brand);
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.geo-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.geo-product-grid .geo-article h2 {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.geo-product-aside {
    display: grid;
    gap: 18px;
}

.geo-product-aside .geo-panel h3 {
    font-size: 17px;
    font-weight: 700;
}

.geo-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.geo-chip-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--ink-2);
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.geo-point-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.geo-point-list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.75;
    color: #45556a;
}

.geo-point-list li::before {
    content: "";
    position: absolute;
    top: .78em;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.geo-faq-mini {
    margin-top: 8px;
}

.geo-faq-mini dt {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 900;
    color: #111827;
}

.geo-faq-mini dd {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.75;
    color: #45556a;
}

.geo-info-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed #d9e3ee;
}

.geo-info-row b {
    color: #64748b;
}

.geo-info-row span {
    font-weight: 800;
    color: #1f2937;
    word-break: break-word;
}

.geo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.geo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    font-weight: 900;
    border: 1px solid transparent;
    border-radius: 999px;
}

.geo-btn-primary {
    color: #172033;
    background: var(--accent);
}

.geo-btn-outline {
    color: var(--brand);
    background: #fff;
    border-color: var(--line);
}

/* 新闻列表分页 */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.pagination a,
.pagination span {
    padding: 10px 14px;
    font-weight: 900;
    color: var(--ink-2);
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.pagination a:hover {
    color: var(--brand);
    border-color: rgba(37, 99, 235, .25);
}

.pagination .active {
    color: var(--brand);
    background: rgba(37, 99, 235, .12);
    border-color: rgba(37, 99, 235, .25);
}

/* 新闻详情：AI 摘要卡 + 上下篇（原为内联样式） */
.news-ai-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 0 0 22px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.news-ai-card__thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 90px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 6px;
}

.news-ai-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-ai-card__name {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #2563eb;
}

.news-ai-card__desc {
    font-size: 14px;
    line-height: 1.85;
    color: #4b5563;
}

.news-ai-card__phone {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #f97316;
    text-align: right;
}

.news-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.news-adjacent a,
.news-adjacent span {
    display: block;
    padding: 10px 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.news-adjacent a {
    color: #334155;
}

.news-adjacent span {
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   文章正文（富文本）
   -------------------------------------------------------------------------- */
.custom-html-style p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 2;
    text-indent: 30px;
}

.custom-html-style img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.custom-html-style h1,
.custom-html-style h2,
.custom-html-style h3,
.custom-html-style h4,
.custom-html-style h5 {
    margin: 20px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-indent: 30px;
    border: none;
}

.custom-html-style strong,
.custom-html-style em {
    font-weight: 400;
    font-style: normal;
}

.custom-html-style li {
    margin-bottom: 8px;
    line-height: 1.7;
    text-indent: 30px;
}

.custom-html-style table {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
    border-collapse: collapse;
}

.custom-html-style table th {
    padding: 12px 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.custom-html-style table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.custom-html-style table tbody tr:nth-child(even) {
    background: #fafafa;
}

.custom-html-style table tbody tr:hover {
    background: #f0f7ff;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .about-section .about_fl,
    .about-section .about_fr {
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    }

    .geo-grid-2,
    .geo-grid-3,
    .geo-layout,
    .geo-detail,
    .geo-product-grid {
        grid-template-columns: 1fr;
    }

    .geo-list-item {
        grid-template-columns: 1fr;
    }

    .geo-detail-image img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .call-btn {
        display: flex;
    }

    .section-title {
        font-size: 20px;
    }

    .case-desc,
    .about-section .space-y li {
        font-size: 14px;
    }

    .navbar_box .navbar-brand {
        font-size: 17px;
    }

    .navbar_box .phone_fr {
        padding: 5px 6px;
        font-size: 12px;
    }

    .navbar_box .phone_fr .icon {
        font-size: 14px;
    }

    .banner-section {
        min-height: 320px;
        margin-top: 88px;
    }

    .banner-text h1,
    .banner-section-about .banner-text h1 {
        font-size: 20px;
    }

    .banner-text .text,
    .banner-text p {
        font-size: 14px;
    }

    .btn_group .btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .product-card h4,
    .advantage-card h4 {
        font-size: 18px;
    }

    .contact-section p {
        font-size: 14px;
    }

    .contact-section p.phone {
        font-size: 16px;
    }

    footer p {
        font-size: 14px;
    }

    .about-inline-ad {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px;
    }

    .news-ai-card {
        flex-direction: column;
    }

    .news-ai-card__thumb {
        flex: none;
        width: 100%;
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .geo-wrap {
        max-width: calc(100% - 22px);
    }

    .geo-section {
        padding: 20px 0;
    }

    .geo-card-body,
    .geo-panel,
    .geo-detail-shell>.geo-detail {
        padding: 20px;
    }

    .geo-product-summary h1 {
        font-size: 26px;
    }

    .geo-panel h3 {
        font-size: 20px;
    }

    .geo-info-row {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .news-adjacent {
        grid-template-columns: 1fr;
    }
}
