﻿/* ==========================================================================
   Glory Business · 站点增强样式
   说明：只做“补充/兜底”，不覆盖模板原有排版，方便后续主题升级
   ========================================================================== */

:root {
    --gb-navy: #123456;
    --gb-navy-deep: #244166;
    --gb-wa: #25d366;
    --gb-wa-dark: #1da851;
    --gb-line: #dfe4ea;
    --gb-muted: #6b7683;
}

/* 锚点定位时给吸顶导航留出空间 */
#services {
    scroll-margin-top: 120px;
}
#top {
    scroll-margin-top: 0;
}

/* ---------- 联系区：WhatsApp 咨询卡（替代原表单） ---------- */
.wa-contact {
    max-width: 640px;
}

.wa-contact-lead {
    font-size: 16px;
    line-height: 1.75;
    color: #3a4552;
    margin: 0 0 24px;
}

.wa-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.wa-topic {
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    color: var(--gb-navy);
    background: #ffffff;
    border: 1px solid var(--gb-line);
    border-radius: 999px;
    padding: 11px 20px;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.wa-topic:hover,
.wa-topic:focus-visible {
    color: #128c46;
    border-color: var(--gb-wa);
    background: #f2fdf6;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, .18);
    outline: none;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 260px;
    padding: 17px 36px;
    border-radius: 999px;
    background: var(--gb-wa);
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(37, 211, 102, .32);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.wa-btn:hover,
.wa-btn:focus-visible {
    background: var(--gb-wa-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 211, 102, .42);
    text-decoration: none !important;
}

.wa-btn .fa {
    font-size: 20px;
    line-height: 1;
}

.wa-contact-meta {
    margin: 18px 0 0;
    font-size: 13px;
    letter-spacing: .2px;
    color: var(--gb-muted);
}

/* ---------- 浮动 WhatsApp 按钮 ---------- */
.zsxda {
    background: var(--gb-wa) !important;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.zsxda img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.zsxda:hover,
.zsxda:focus-visible {
    background: var(--gb-wa-dark) !important;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}

@media (max-width: 768px) {
    .zsxda {
        width: 54px;
        height: 54px;
    }
    .zsxda img {
        width: 30px;
        height: 30px;
    }
    .wa-btn {
        width: 100%;
        min-width: 0;
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* ---------- 移动端菜单：展开时锁定页面滚动 ---------- */
body.gb-menu-open {
    overflow: hidden;
}

/* ---------- 图片兜底 ---------- */
img.gb-img-fallback {
    object-fit: contain !important;
    opacity: .85;
}

/* 团队/办公室卡片：避免图片被拉伸变形 */
.bt_bb_image img[style*="height:160px"] {
    object-fit: cover;
    object-position: center top;
}

/* ---------- 无障碍：键盘焦点可见 ---------- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gb-wa);
    outline-offset: 3px;
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
    .wa-topic,
    .wa-btn,
    .zsxda,
    .bt-menu-backdrop {
        transition: none !important;
    }
}

/* ---------- 桌面端顶部导航：logo 一行，菜单下移一行，避免与 logo 重叠 ---------- */
@media (min-width: 1200px) {
    .bt-logo-area {
        position: relative;
    }
    .bt-logo-area .menuPort {
        position: absolute;
        left: 0;
        right: 0;
        top: 104px;
    }
    .bt-logo-area .menuPort nav {
        float: right;
        width: auto;
    }
}
/* ---------- 移动端（<1200px）自建导航条 + 抽屉菜单 ---------- */
@media (max-width: 1199.98px) {
    .mainHeader .bt-logo-area,
    .bt-vertical-header-top,
    .bt-vertical-menu-trigger,
    .bt-horizontal-menu-trigger {
        display: none !important;
    }

    .gb-mbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9500;
        display: flex;
        align-items: center;
        height: 60px;
        padding: 0 8px 0 16px;
        background: #0b1b2b;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .22);
    }

    .gb-mbar-logo {
        display: block;
        flex: 0 0 auto;
    }

    .gb-mbar-logo img {
        display: block;
        height: 26px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    .gb-mbar-spacer {
        flex: 1 1 auto;
    }

    .gb-mbar-act {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: #fff;
        font-size: 19px;
        text-decoration: none;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .gb-mbar-btn {
        flex-direction: column;
        gap: 4px;
    }

    .gb-mbar-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

    body.gb-mnav-open .gb-mbar-btn span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.gb-mnav-open .gb-mbar-btn span:nth-child(2) {
        opacity: 0;
    }

    body.gb-mnav-open .gb-mbar-btn span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .gb-mnav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9400;
        overflow-y: auto;
        background: #0b1b2b;
        transform: translateY(-105%);
        transition: transform .3s ease;
    }

    body.gb-mnav-open .gb-mnav {
        transform: translateY(0);
    }

    body.gb-mnav-open {
        overflow: hidden;
    }

    .gb-mnav ul {
        list-style: none;
        margin: 0;
        padding: 0 0 24px;
    }

    .gb-mnav li {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .gb-mnav a {
        display: block;
        padding: 15px 20px;
        color: #fff;
        font-size: 15px;
        line-height: 1.35;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .gb-mnav li.gb-mnav-sub a {
        padding-left: 38px;
        font-size: 14px;
        color: rgba(255, 255, 255, .82);
    }

    .gb-mnav li.gb-mnav-cta {
        border: 0;
        padding: 18px 20px 0;
    }

    .gb-mnav li.gb-mnav-cta a {
        padding: 13px 18px;
        text-align: center;
        border-radius: 999px;
        background: #25d366;
        color: #07301a;
        font-weight: 700;
    }
}

@media (min-width: 1200px) {
    .gb-mbar,
    .gb-mnav {
        display: none !important;
    }
}
/* ==========================================================================
   GB 内容板块（服务详情 / 数据条 / 行动条）
   ========================================================================== */
.gb-sec,
.gb-anchor {
    scroll-margin-top: 128px;
}

.gb-sec {
    padding: 78px 0 84px;
    background: #ffffff;
}

.gb-sec-tint {
    background: #f5f8fb;
}

.gb-sec.gb-tight {
    padding: 34px 0;
    background: #0f2c45;
}

.gb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 26px;
}

.gb-eyebrow {
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7d8fa1;
}

.gb-eyebrow-light {
    color: rgba(255, 255, 255, .62);
}

.gb-h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.015em;
    color: #0e1c2a;
    max-width: 880px;
}

.gb-head .gb-lead {
    font-size: 16.5px;
    line-height: 1.72;
    color: #516270;
    max-width: 800px;
}

.gb-head-cta {
    margin-top: 18px;
}

.gb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f2c45;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(15, 44, 69, .18);
    transition: border-color .22s ease, color .22s ease;
}

.gb-link::after {
    content: "→";
    font-size: 15px;
}

.gb-link:hover,
.gb-link:focus-visible {
    color: #0a52a2;
    border-bottom-color: #0a52a2;
}

.gb-grid {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

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

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

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

.gb-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5ecf3;
    border-radius: 16px;
    padding: 26px 24px 22px;
    box-shadow: 0 14px 34px rgba(15, 44, 69, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(15, 44, 69, .10);
    border-color: #d3e0ec;
}

.gb-card h3,
.gb-card h4 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
    color: #10233a;
}

.gb-card p {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.68;
    color: #52626f;
}

.gb-card-sub {
    font-size: 11.5px !important;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8496a6 !important;
    margin-bottom: 14px !important;
}

.gb-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0f2c45;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gb-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.gb-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.6;
    color: #465866;
}

.gb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d7e6f1;
    box-shadow: inset 0 0 0 2px #0f2c45;
}

.gb-list-strong li {
    font-size: 14.5px;
    margin-bottom: 12px;
    color: #3d4f5d;
}

.gb-list-tight li {
    margin-bottom: 7px;
    padding-left: 20px;
}

.gb-card-foot {
    margin: 0 !important;
    padding-top: 13px;
    border-top: 1px dashed #e0e8f0;
    font-size: 13px !important;
    color: #647686 !important;
}

.gb-card-sm {
    padding: 20px 20px 18px;
}

.gb-mini {
    background: #fff;
    border: 1px solid #e5ecf3;
    border-radius: 14px;
    padding: 20px 20px 18px;
    box-shadow: 0 10px 26px rgba(15, 44, 69, .045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gb-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 44, 69, .085);
}

.gb-mini h4 {
    margin: 0 0 8px;
    font-size: 15.5px;
    line-height: 1.35;
    font-weight: 800;
    color: #10233a;
}

.gb-mini p {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.66;
    color: #546472;
}

.gb-block {
    margin-top: 62px;
    scroll-margin-top: 128px;
}

.gb-block-head {
    max-width: 780px;
}

.gb-block-head h3 {
    margin: 0 0 8px;
    font-size: clamp(21px, 2.1vw, 27px);
    line-height: 1.25;
    font-weight: 800;
    color: #10233a;
}

.gb-block-head p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #5b6b79;
}

.gb-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e5ecf3;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 44, 69, .05);
}

.gb-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.gb-table th {
    background: #0f2c45;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 18px;
    white-space: nowrap;
}

.gb-table td {
    padding: 15px 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #46586a;
    border-top: 1px solid #eef3f8;
}

.gb-table tbody tr:nth-child(even) {
    background: #f9fbfd;
}

.gb-table td strong {
    color: #10233a;
}

.gb-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: #7b8b9a;
}

.gb-steps {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.gb-steps li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid #e5ecf3;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 10px 26px rgba(15, 44, 69, .04);
}

.gb-step-no {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0f2c45;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-steps h4 {
    margin: 2px 0 6px;
    font-size: 15.5px;
    font-weight: 800;
    color: #10233a;
}

.gb-steps p {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.66;
    color: #546472;
}

.gb-split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
    gap: 26px;
    margin-top: 28px;
}

.gb-split-main h4,
.gb-panel h4 {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 800;
    color: #10233a;
}

.gb-split-main h4 + p,
.gb-panel p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #52626f;
}

.gb-panel {
    background: #fff;
    border: 1px solid #e5ecf3;
    border-radius: 14px;
    padding: 20px 20px 18px;
    margin-bottom: 16px;
}

.gb-panel-warn {
    background: #fff8f0;
    border-color: #f4ddc4;
}

.gb-panel p {
    margin: 0;
    font-size: 13.6px;
}

.gb-timeline {
    margin-top: 26px;
    display: grid;
    gap: 10px;
}

.gb-tl {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid #0f2c45;
    box-shadow: 0 8px 22px rgba(15, 44, 69, .045);
}

.gb-tl span {
    flex: 0 0 118px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #0f2c45;
}

.gb-tl p {
    margin: 0;
    font-size: 13.6px;
    line-height: 1.6;
    color: #556573;
}

.gb-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, .14);
}

.gb-stat {
    background: #0f2c45;
    padding: 22px 20px;
    color: #fff;
}

.gb-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}

.gb-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .68);
}

.gb-band {
    background: #0b1b2b;
    color: #fff;
    padding: 64px 0;
}

.gb-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.gb-band h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.gb-band p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
    max-width: 560px;
}

.gb-band-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gb-btn-green {
    background: #25d366;
    color: #06301a;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .28);
}

.gb-btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .36);
}

.gb-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
}

.gb-btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
}

/* 滚动渐显（JS 未执行时保持可见） */
.gb-pre {
    opacity: 0;
    transform: translateY(16px);
}

.gb-reveal {
    transition: opacity .6s ease, transform .6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .gb-pre {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   桌面端导航：下拉、窄桌面兼容、当前板块高亮
   ========================================================================== */
@media (min-width: 1200px) {
    .menuPort nav ul.menu > li {
        position: relative;
    }

    .menuPort nav ul.menu > li > a {
        white-space: nowrap;
        transition: color .22s ease;
        position: relative;
    }

    .menuPort nav ul.menu > li > a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        background: currentColor;
        opacity: 0;
        transform: scaleX(.4);
        transform-origin: left center;
        transition: opacity .22s ease, transform .26s ease;
    }

    .menuPort nav ul.menu > li:hover > a::after,
    .menuPort nav ul.menu > li.current-menu-item > a::after,
    .menuPort nav ul.menu > li.gb-nav-active > a::after {
        opacity: .85;
        transform: scaleX(1);
    }

    .menuPort nav ul.sub-menu {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 268px;
        max-width: 340px;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #e6ecf2;
        box-shadow: 0 22px 48px rgba(11, 27, 43, .18);
        z-index: 30;
    }

    .menuPort nav ul.menu > li:hover > ul.sub-menu,
    .menuPort nav ul.menu > li:focus-within > ul.sub-menu {
        display: block;
    }

    .menuPort nav ul.sub-menu li {
        float: none !important;
        display: block;
        width: auto;
    }

    .menuPort nav ul.sub-menu li a {
        display: block;
        padding: 11px 18px;
        font-size: 13.5px;
        line-height: 1.45;
        font-weight: 500;
        color: #17324a !important;
        white-space: normal;
        text-align: left;
        transition: background .18s ease, color .18s ease;
    }

    .menuPort nav ul.sub-menu li a:hover {
        background: #f1f6fa;
        color: #0a52a2 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .menuPort nav ul.menu > li > a {
        font-size: 13.5px;
        letter-spacing: 0;
    }

    .menuPort nav ul.sub-menu {
        min-width: 240px;
        max-width: 320px;
    }
}

/* 1200–1319 极窄桌面：再收一档，保证菜单与右侧图标不挤不裁 */
@media (min-width: 1200px) and (max-width: 1319px) {
    .menuPort nav ul.menu > li > a {
        font-size: 12.5px;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .menuPort nav ul.menu {
        margin-left: 0;
    }

    .menuPort .topTools,
    .menuPort .topBarList,
    .menuPort .btIconWidget {
        margin-left: 4px;
    }
}

/* 新板块的窄屏适配 */
@media (max-width: 1023px) {
    .gb-sec {
        padding: 58px 0 62px;
    }

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

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

    .gb-sec,
    .gb-anchor,
    .gb-block {
        scroll-margin-top: 86px;
    }
}

@media (max-width: 719px) {
    .gb-wrap {
        padding: 0 18px;
    }

    .gb-grid-3,
    .gb-grid-4,
    .gb-grid-2,
    .gb-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

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

    .gb-sec {
        padding: 48px 0 52px;
    }

    .gb-block {
        margin-top: 44px;
    }

    .gb-h2 {
        font-size: 26px;
    }

    .gb-card,
    .gb-mini,
    .gb-panel {
        padding: 20px 18px 18px;
    }

    .gb-steps li {
        padding: 16px 16px;
        gap: 12px;
    }

    .gb-tl {
        flex-direction: column;
        gap: 4px;
    }

    .gb-tl span {
        flex: none;
    }

    .gb-band {
        padding: 46px 0;
    }

    .gb-btn {
        width: 100%;
    }

    .gb-sec,
    .gb-anchor,
    .gb-block {
        scroll-margin-top: 76px;
    }
}
/* 首屏 logo 在亮色天空上更清晰 */
@media (min-width: 1200px) {
    .bt-logo-area .logo img.btMainLogo,
    .bt-logo-area .logo img.btAltLogo {
        filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .38));
    }
}
