/* --- 基础重置 --- */
:root {
    --brand-blue: #0AA6FF;
    --border-blue: #009AFF;
    --brand-dark: #0B1D3F;
    --text-main: #333333;
    --text-secondary: #666666;
    --border-color: #E5E7EB;
    --bg-gray: #F7F8FA;
    --t-sf-color: #687680;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: white;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 62px;
    transition: all 0.3s ease;
}

.mb60 { margin-bottom: 60px !important; }
.mb50 { margin-bottom: 50px !important; }

/* --- 企业介绍布局优化 (确保图文高度对齐) --- */
.about-flex {
    display: flex;
    gap: 56px;
    align-items: stretch; /* 关键：使左右子容器高度一致 */
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex; /* 使图片容器内部也具备 flex 特性 */
}

.about-image img {
    width: 100%;
    height: 100% !important; /* 强制填充容器高度 */
    object-fit: cover;      /* 确保图片缩放时不变形 */
    border-radius: 16px;
    box-shadow: 4px 4px 15px 0px rgba(0, 0, 0, 0.19);
}

/* ============================================================
   自适应媒体查询 (Breakpoints)
   ============================================================ */
@media (max-width: 1800px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }

    .hero {
        height: 880px !important;
    }

    .hero h2 {
        font-size: 76px !important;
    }

    .intro-dashed-box p {
        font-size: 23px !important;
        line-height: 46px !important;
    }
    .map-wrp .img-item {
        bottom: auto!important;
    }
    .fixed-action-btn {
        width: 90px !important;
        height: 90px !important;
    }
}
/* --- 1、1440px 屏幕自适应 --- */
@media (max-width: 1500px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }

    .hero {
        height: 760px !important; /* 降低 Banner 高度 */
    }

    .hero h2 {
        font-size: 64px !important;
        margin-bottom: 40px !important;
    }

    .title-group h2 {
        font-size: 48px !important;
    }

    .intro-dashed-box p {
        font-size: 20px !important;
        line-height: 40px !important;
    }

    .values-grid {
        gap: 40px 30px !important;
    }

    .value-card p {
        width: auto !important;
        font-size: 18px !important;
    }

    .map-wrp .img-item {
        bottom: auto!important;
    }
    .fixed-action-btn {
        width: 70px !important;
        height: 70px !important;
    }
}

/* --- 2、1280px 屏幕自适应 --- */
@media (max-width: 1280px) {
    .container {
        max-width: 1200px;
    }

    .hero {
        height: 640px !important;
    }

    .hero h2 {
        font-size: 56px !important;
    }

    .btn-login {
        width: 240px !important;
        height: 64px !important;
        line-height: 64px !important;
        font-size: 32px !important;
    }

    .empower-desc {
        font-size: 26px !important;
        line-height: 48px !important;
    }

    /* --- 联系我们 1280px 优化 --- */
    .contact-item {
        padding: 40px !important;
    }

    .contact-item .f2 {
        font-size: 30px !important;
    }
    .map-wrp .img-item {
        bottom: 142px!important;
    }
    .map-wrp .location .p1{
        font-size: 28px!important;
        margin-bottom: 1px!important;
    }
    .map-wrp .location .p2{
        font-size: 20px!important;
        line-height: 30px!important;
    }
    .fixed-action-btn {
        width: 70px !important;
        height: 70px !important;
    }
}

/* --- 3、1024px 屏幕自适应 --- */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    /* 布局调整：侧边栏变垂直排列 */
    .about-flex, 
    .honors-flex, 
    .contact-flex {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
    }

    .about-image img {
        width: 100% !important;
        max-width: 600px;
        height: auto !important; /* 垂直排列时恢复自动高度 */
        margin: 0 auto;
    }

    .section-honors {
        height: auto !important;
        padding-bottom: 60px !important;
    }

    /* 隐藏复杂的斜切背景，改用单色背景保证可读性 */
    .bg-right {
        display: none !important;
    }
    
    .section-honors {
        background-color: var(--border-blue) !important;
    }

    /* .honors-left, .honors-right {
        width: 100% !important;
        text-align: center !important;
    }

    .honors-right h3::after, 
    .honors-right h3::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .honors-right li {
        text-align: center !important;
    } */

    .map-wrp {
        width: 100% !important;
        height: 400px !important;
    }
}

/* --- 4、960px 屏幕自适应 --- */
@media (max-width: 960px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 3列变2列 */
        gap: 30px !important;
    }

    .hero h2 {
        font-size: 44px !important;
    }

    .title-group h2 {
        font-size: 36px !important;
        line-height: 44px !important;
    }

    .empower-desc {
        font-size: 22px !important;
        line-height: 40px !important;
    }

    .footer {
        font-size: 18px !important;
        line-height: 80px !important;
    }

    .fixed-action-btn {
        width: 90px !important;
        height: 90px !important;
    }
}

/* --- 额外补充：针对更小屏幕(如手机端)的优化 --- */
@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr !important; /* 变单列 */
    }

    .hero {
        height: 400px !important;
    }

    .top-nav, .nav-content {
        height: 80px !important;
    }

    .logo-icon img {
        width: 120px !important;
        height: auto !important;
    }
}