/* Service Page Styles */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #CEDFF9;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
#EnableDragAndZoom {
    width: 16%;
    padding: 14px 30px;
    background-color: var(--text-dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    width: 100vw;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

.mobile-nav-actions {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .has-dropdown i {
    font-size: 10px;
    margin-left: 5px;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.header.scrolled .phone-link {
    color: var(--text-dark);
}

.phone-link i {
    font-size: 14px;
}

.search-btn,
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
    transition: var(--transition);
}

.header.scrolled .search-btn,
.header.scrolled .lang-btn {
    color: var(--text-dark);
}

.search-btn:hover,
.lang-btn:hover {
    color: var(--primary-color);
}

.mobile-contact-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 20px;
    line-height: 1.2;
    white-space: nowrap;
    align-self: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-contact-btn:hover,
.mobile-contact-btn:active {
    background-color: #fff;
    color: var(--primary-color, #0f3e72);
}

.header.scrolled .mobile-contact-btn {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Service Hero */
.service-hero {
    position: relative;
    height: 67vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    /* background: linear-gradient(to right, rgba(0, 30, 60, 0.75) 0%, rgba(0, 30, 60, 0.35) 100%); */
    z-index: -1;
}

.service-hero-content {
    color: white;
    padding-top: 60px;
    text-align: center;
}

.service-hero-content h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    max-width: none;
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    /* 保留基础圆角，clip-path会覆盖 */
    transition: var(--transition);
    /* 切掉左上和右下角，15px是切角的大小 */
    clip-path: polygon(15px 0%,
            /* 左上角切掉 */
            100% 0%,
            /* 右上角 */
            100% calc(100% - 15px),
            /* 右下角切掉 */
            calc(100% - 15px) 100%,
            /* 右下角切掉 */
            0% 100%,
            /* 左下角 */
            0% 15px
            /* 左上角切掉 */
        );
}

.btn-discover:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Service About Section */
.service-about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

/* 主布局：左右分栏 */
.about-main-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 5vw, 72px);
    margin-bottom: 60px;
    align-items: start;
    margin-top: 30px;
}

/* Phase 5: About page narrative refinement */
.page-kicker,
.section-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.service-hero-content {
    max-width: 760px;
    margin-right: auto;
    padding-top: 0;
    text-align: left;
}

.service-hero-content h1 {
    max-width: 720px;
    color: var(--primary-color);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.04;
}

.service-hero {
    height: 430px;
    min-height: 430px;
    justify-content: flex-start;
    background: #f7f9fc;
}

.service-hero-bg img {
    object-position: center;
}

.service-hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.58) 38%, rgba(255,255,255,0) 67%);
}

.business-system {
    padding: 90px 0;
    background: #f5f8fc;
}

.business-system-heading {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 46px;
}

.business-system-heading h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
}

.business-system-heading p {
    max-width: 58ch;
    margin: 0;
    color: #53657a;
    line-height: 1.7;
}

.business-system-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #d8e4f2;
    background: #d8e4f2;
    gap: 1px;
}

.business-system-grid article {
    min-height: 190px;
    padding: 32px 26px;
    background: #fff;
}

.business-system-grid h3 {
    margin: 0 0 14px;
    color: var(--primary-color);
    font-size: 21px;
}

.business-system-grid p {
    margin: 0;
    color: #617186;
    line-height: 1.65;
}

.internal-page-cta {
    padding: 0 0 86px;
    background: #fff;
}

.internal-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px 64px;
    color: var(--text-dark);
    background-color: var(--accent-color);
    background-image: url('https://www.conbyth.cn/images/footer-bg.webp');
    background-position: center;
    background-size: cover;
    border-radius: 14px;
}

.internal-page-cta h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
}

.internal-page-cta a {
    flex: 0 0 auto;
    padding: 15px 22px;
    color: var(--primary-color);
    background: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.about-stats-row {
    overflow: hidden;
    margin-top: 10px;
    background: var(--accent-color);
    border: 1px solid #bfd3ef;
    border-radius: 14px;
}

.about-stats-row .stat-item {
    min-height: 150px;
    justify-content: center;
    border-right: 1px solid rgba(26,54,93,.12);
}

.about-stats-row .stat-item:last-child { border-right: 0; }
.about-stats-row .stat-num,
.about-stats-row .stat-plus { color: var(--primary-color); }
.about-stats-row .stat-label { color: #43566f; }

@media (max-width: 768px) {
    .service-hero { height: 300px; min-height: 300px; }
    .service-hero-content { padding: 0 22px; }
    .service-hero-content h1 { font-size: 46px; }
    .service-hero-bg img { object-position: 62% center; }
    .business-system { padding: 62px 0; }
    .business-system-heading { grid-template-columns: 1fr; gap: 18px; }
    .business-system-grid { grid-template-columns: repeat(2, 1fr); }
    .business-system-grid article { min-height: 170px; padding: 24px 18px; }
    .internal-page-cta { padding-bottom: 56px; }
    .internal-page-cta-inner { display: block; padding: 34px 24px; margin: 0 20px; }
    .internal-page-cta h2 { margin-bottom: 26px; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); margin: 10px 20px 0; }
    .about-stats-row .stat-item { min-height: 125px; border-bottom: 1px solid rgba(26,54,93,.12); }
}

@media (max-width: 390px) {
    .business-system-grid { grid-template-columns: 1fr; }
    .business-system-grid article { min-height: auto; }
}

/* 左侧图片区域 */
.about-image-wrapper {
    width: 100%;
    margin: 0;
    justify-self: start;
}

.about-image-wrapper .service-about-image {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.about-image-wrapper .service-about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 62%;
}

/* 右侧内容区域 */
.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-about-title {
    font-size: 36px;
    color: var(--text-dark);
    margin: 0;
}

.service-about-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}


.service-about-title p {
    font-size: 13px;
    color: var(--text-light);
    max-width: 560px;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* 底部统计数据行 */
.about-stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.about-stats-row .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-stats-row .stat-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.about-stats-row .stat-plus {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.about-stats-row .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Development History */
.development-history {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.history-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.history-header {
    position: sticky;
    top: 100px;
}

.history-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.history-title p {
    font-size: 13px;
    color: var(--text-light);
    max-width: 560px;
}

.timeline {
    position: relative;
    margin: 0 auto;
    height: 600px;
    overflow-y: auto;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.timeline {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    height: 100%;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    margin-bottom: 60px;
    position: relative;
}

.timeline-content {
    padding: 0 40px;
}

.timeline-content.left {
    text-align: right;
}

.timeline-content.right {
    text-align: left;
}

.timeline-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 40px;
}

.timeline-year1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 40px;
    display: none;

}

.timeline-year.left {
    text-align: right;
}

.timeline-year.right {
    text-align: left;
}

.timeline-year1.right {
    text-align: left;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-dot:hover {
    transform: scale(1.3);
}

.timeline-dot.active {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

.timeline-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Subsidiaries */
.subsidiaries {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.subsidiaries-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    line-height: 1.4;
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.subsidiary-card {
    background-color: var(--bg-white);
}

.subsidiary-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.subsidiary-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.subsidiary-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subsidiary-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}


/* Responsive */
@media (max-width: 1024px) {

    .service-about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-about-right .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-about-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-about-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .split-left .service-about-image {
        margin-bottom: 0;
    }

    .subsidiary-image {
        height: 280px;
    }

    .history-wrapper {
        grid-template-columns: 220px 1fr;
        gap: 40px;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-item {
        grid-template-columns: 1fr auto 1fr;
        gap: 20px;
    }

    .timeline-content {
        padding: 0 20px;
    }

    .timeline-year {
        font-size: 20px;
        padding: 0 20px;
    }

    .timeline-year1 {
        font-size: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .timeline-year1.right {
        display: block;
    }

    .timeline-year.right {
        display: none;
    }

    /* 手机端二维码横向并排 */
    .qr-codes-container {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .qr-code-item img {
        width: 110px;
        height: 110px;
    }

    .phone-link {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
    }

    .nav-menu {
        height: 50vh;
        min-height: 300px;
    }

    .service-hero-content h1 {
        font-size: 36px;
    }

    .service-about-left h2 {
        font-size: 28px;
    }

    .service-about-right .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-about-bottom {
        grid-template-columns: 1fr;
    }

    .service-about-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .subsidiaries-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .subsidiaries-title {
        font-size: 24px;
    }

    .subsidiary-image {
        height: 250px;
    }

    .history-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-header {
        position: static;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-item {
        grid-template-columns: 1fr auto 1fr;
    }

    .timeline-content {
        padding: 0 15px;
    }

    .timeline-year {
        font-size: 18px;
        padding: 0 15px;
    }

    .timeline-year1 {
        font-size: 18px;
        padding: 0 15px;
    }
}

/* 页脚 */
.footer {
    background-image: url('https://www.conbyth.cn/images/footer-bg.webp');
    color: var(--text-dark);
    padding: 50px 0 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.conbyth.cn/images/world-map.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}

.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;

    margin-left: auto;
    margin-right: auto;
}

/* Logo Section */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    flex: 3.5;
}

.footer-section.nav-section {
    flex: 2;
}

.footer-section.products-section {
    flex: 2;
}

/* 合并后的 Quick Links + Products 区域 */
.footer-section.nav-products-section {
    flex: 4;
}

.nav-products-row {
    display: flex;
    gap: 30px;
}

.quick-links-col {
    flex: 2;
}

.products-col {
    flex: 2;
}

.footer-section.contact-section {
    flex: 2;
}

.footer-section.qrCODE-section {
    flex: 2.5;

}

.footer-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.company-intro {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.company-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Nav Section */
.footer-nav-columns {
    display: flex;
    gap: 20px;
}

.footer-section.nav-section h4,
.footer-section.products-section h4,
.footer-section.contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-nav-list,
.footer-products-list {
    list-style: none;
}

.footer-nav-list li,
.footer-products-list li {
    margin-bottom: 8px;
}

.footer-nav-list a,
.footer-products-list a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-list a:hover,
.footer-products-list a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section .contact-list {
    list-style: none;
    margin-bottom: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-list li i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list li span {
    flex: 1;
}

/* QR Codes Container */
.qr-codes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 8px;
}

.qr-code-item p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    text-decoration: none;
    background-color: transparent;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    border-top: 1px solid #cfd5dd;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);

    margin: 0 auto;
    padding: 0;
}

.footer-bottom-left {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
}

/* ==================== WhatsApp 悬浮按钮 ==================== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    top: 75%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(69, 192, 69);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px #3d97dc66;
    transition: all 0.3s ease;
    color: white;
    font-size: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgb(69, 192, 69);
}

.whatsapp-qr-popup {
    position: absolute;
    bottom: 80px;
    right: 20%;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-qr-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-qr-popup img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .whatsapp-qr-popup {
        bottom: 70px;
        padding: 12px;
    }

    .whatsapp-qr-popup img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 12px;
    }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .whatsapp-qr-popup {
        bottom: 65px;
        padding: 10px;
    }

    .whatsapp-qr-popup img {
        width: 130px;
        height: 130px;
    }
}

/* 移动端导航响应式 */
@media (max-width: 1024px) {
    #EnableDragAndZoom {
        text-align: center;
        width: 33%;
        padding: 10px 10px;
    }

    .about-content {
        grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
        gap: 36px;
    }

    .about-image-wrapper .service-about-image {
        margin-bottom: 0;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 12px 30px;
    }

    .nav-menu a {
        color: var(--text-dark);
        font-size: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .phone-link span {
        display: inline;
        font-size: 12px;
    }

    .links-section {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-wrapper {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .about-image-wrapper .service-about-image img {
        aspect-ratio: 3 / 4;
        height: auto;
        object-position: center center;
    }

    .about-content-wrapper {
        gap: 24px;
    }
}

/* ==================== Mega Menu ==================== */
.has-megamenu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    margin-top: 10px;
}

.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.level1-link {
    display: block;
    padding: 12px 24px;
    color: #333333 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.level1-link:hover {
    background: #e0e0e0;
    color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
    .mobile-nav-actions {
        display: flex;
    }

    .mega-menu {
        display: none;
    }
}

/* iPhone 15 适配 (430px) */
@media (max-width: 430px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        display: inline-block;
        font-size: 24px;
        font-weight: 600;
        color: #61435D;
    }

    .service-hero {
        height: 40vh;
        min-height: 280px;
    }

    .service-hero-content h1 {
        font-size: 36px;
    }

    .service-about {
        padding: 40px 0;
    }

    .about-main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .service-about-title {
        font-size: 24px;
    }

    .about-text-content p {
        font-size: 13px;
    }

    .about-stats-row {
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 30px;
    }

    .about-stats-row .stat-item {
        flex: 0 0 calc(50% - 10px);
        text-align: center;
    }

    .about-stats-row .stat-num {
        font-size: 32px;
    }

    .about-stats-row .stat-plus {
        font-size: 32px;
    }

    .about-stats-row .stat-label {
        font-size: 12px;
    }

    .development-history {
        padding: 40px 0;
    }

    .history-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .history-title h2 {
        font-size: 24px;
    }

    .history-title p {
        font-size: 12px;
        max-width: 100%;
    }

    .timeline {
        height: auto;
        overflow-y: visible;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 30px;
        padding-left: 40px;
    }

    .timeline-center {
        position: absolute;
        left: 20px;
        width: auto;
    }

    .timeline-year {
        font-size: 16px;
        padding: 0;
        text-align: left;
    }

    .timeline-year1 {
        font-size: 16px;
        padding: 0;
        text-align: center;
        display: none;
    }

    .timeline-year.left,
    .timeline-year.right {
        text-align: left;
    }

    .timeline-content {
        padding: 0;
        text-align: left;
    }

    .timeline-content.left,
    .timeline-content.right {
        text-align: left;
    }

    .timeline-content h4 {
        font-size: 13px;
    }

    .timeline-content p {
        font-size: 11px;
    }

    .subsidiaries {
        padding: 40px 0;
    }

    .subsidiaries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .subsidiary-image {
        height: 250px;
    }

    .subsidiary-card h4 {
        font-size: 13px;
    }

    .subsidiary-card p {
        font-size: 11px;
    }

    .footer {
        padding: 30px 0 10px;
    }

    .footer {
        padding: 30px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section,
    .footer-section.nav-products-section {
        flex: none;
    }

    .nav-products-row {
        gap: 20px;
    }

    .quick-links-col,
    .products-col {
        flex: 1;
        min-width: 0;
    }

    .quick-links-col h4,
    .products-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-logo img {
        height: 32px;
    }

    .company-intro {
        font-size: 12px;
    }

    .footer-nav-columns {
        gap: 30px;
    }

    .footer-section.nav-section h4,
    .footer-section.products-section h4,
    .footer-section.contact-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contact-list li {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 12px 0;
        font-size: 12px;
    }
}

/* Phase 5 final cascade: banner, counters and footer-tone CTA */
.service-about .about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: stretch;
    padding-top: 0;
    background: transparent;
    border: 0;
}

.service-about .about-stats-row .stat-item {
    padding: 26px 18px;
}

@media (max-width: 768px) {
    .service-hero { height: 300px; min-height: 300px; }
    .service-hero-content { padding: 0 22px; text-align: left; }
    .service-hero-content h1 { font-size: 46px; }
    .service-about .about-stats-row { grid-template-columns: repeat(2, 1fr); margin: 10px 20px 0; }
}

@media (max-width: 390px) {
    .service-about .about-stats-row { grid-template-columns: 1fr; }
}

/* Unified internal-page banner */
.service-hero {
    height: clamp(320px, 34vw, 460px);
    min-height: 320px;
    align-items: center;
    justify-content: center;
    background: #eef2f6;
    isolation: isolate;
}

.service-hero-bg { z-index: 0; }

.service-hero-bg img {
    opacity: 1;
    filter: none;
    object-position: center;
}

.service-hero-overlay {
    background: rgba(255, 255, 255, .2);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.service-hero-content h1 {
    max-width: none;
    margin: 0;
    color: #111;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .65);
}

@media (max-width: 768px) {
    .service-hero { height: 300px; min-height: 300px; }
    .service-hero-content { padding: 0 20px; text-align: center; }
    .service-hero-content h1 { font-size: 44px; }
    .service-hero-bg img { object-position: center; }
}

@media (max-width: 360px) {
    .service-hero { height: 280px; min-height: 280px; }
    .service-hero-content h1 { font-size: 36px; }
}
