/* =========================
       全局初始化
    ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: SimSun, "宋体", "Songti SC", STSong, serif;
    background: #fff;
    color: #111;
    line-height: 1.8;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

.footer-img {
    max-width: 40%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    justify-content: center;
}

.container2 {
            max-width: 1500px;           /* 最大宽度限制，大屏时内容不超宽保持舒适阅读 */
            width: 100%;
            margin: 0 auto;              /* 经典水平居中: auto + 定宽/最大宽 */
            text-align: center;          /* 标题文字居中，LOGO网格整体也居中 (但网格内部用flex居中) */
        }


/* =========================
       顶部导航
    ========================== */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 50px;
}

/* .logo {
    color: #fff;
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 14px;
    letter-spacing: 6px;
    margin-top: 8px;
    font-weight: normal;
} */


.logo {
    color: #fff;
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
}

.logo span {
    display: block;
    margin-top: 8px;
}

/* 新增：图片样式 */
.logo span img {
    width: 200px;      /* 设置图片宽度，可调节 */
    height: auto;     /* 高度自动，保持比例 */
    display: block;   /* 去除图片下方空隙 */
}

nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav ul li a {
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a:hover {
    opacity: 0.7;
}

.lang {
    color: #fff;
    font-size: 14px;
    margin-left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.lang-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    opacity: 0.58;
    padding: 2px 0;
    transition: opacity 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
}

.lang-btn.active {
    font-weight: 700;
}

.lang-separator {
    opacity: 0.45;
}

/* =========================
   HERO
========================= */

.hero{
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 原图显示 */
.hero-bg{
    display:block;
    width:100%;
    height:auto;
}

/* 渐变遮罩 */
.hero-mask{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to right,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.45) 35%,
        rgba(0,0,0,.15) 70%,
        rgba(0,0,0,0) 100%
    );

    z-index:1;
}

/* 内容层 */
.hero-content{
    position:absolute;
    inset:0;

    z-index:2;

    display:flex;

    align-items:center;
}

/* 文字区域 */
.hero-text{

    color:#fff;

    position:absolute;

    left:60px;

    top:52%;

    transform:translateY(-50%);
}

/* 主标题 */
.hero-text h1{

    font-size:50px;

    font-weight:900;

    line-height:1.25;

    margin-bottom:28px;
    margin-top: 50px;
}

/* 描述文字 */
.hero-text p{

    font-size:20px;

    line-height:1.8;

    margin-bottom:10px;
}

/* 按钮 */
.hero-buttons{

    margin-top:45px;

    display:flex;

    gap:20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-white {
    background: #fff;
    color: #111;
}

.btn-border {
    border: 1px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
}

/* =========================
       标题区域
    ========================== */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 58px;
    color: #202744;
    font-weight: 900;
    line-height: 1.2;
}
.section-title h3 {
    font-size: 40px;
    color: #202744;
    font-weight: 900;
    line-height: 1.2;
}

.section-title p {
    color: #888;
    letter-spacing: 4px;
    margin-top: 10px;
}

/* =========================
       服务内容
    ========================== */
.services {
    padding: 120px 0;
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.service-card {
    padding: 10px 30px;
    border-right: 1px solid #ddd;
}

.service-card:last-child {
    border-right: none;
}

.service-icon {
    font-size: 64px;
    margin-bottom: 30px;
    color: #000000;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000000;
}

.service-card p {
    color: #000000;
    font-size: 16px;
}

/* =========================
       强项区域
    ========================== */
.strength {
    background: #1f2747;
    color: #fff;
    padding: 90px 0;
}

.strength .section-title h2 {
    color: #fff;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.strength-item {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 30px;
}

.strength-item:last-child {
    border-right: none;
}

.strength-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.strength-top .material-icons {
    width: 42px; 
    object-fit: contain;
}

/* .strength-number {
    font-size: 54px;
    font-weight: bold;
    line-height: 1;
} */
.strength-number {
    font-size: 30px;
    font-weight: normal;
    line-height: 1;
}

.strength-sub {
    font-size: 20px;
    opacity: 0.8;
}

/* =========================
       作品区域
    ========================== */
.works {
    padding: 120px 0;
    background: #fff;
}

.works-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.works-btn {
    border: 1px solid #202744;
    padding: 16px 36px;
    color: #202744;
    transition: 0.3s;
}

.works-btn:hover {
    background: #202744;
    color: #fff;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.work-item img {
    aspect-ratio: 16/10;
    object-fit: cover;
}

.work-item h4 {
    font-size: 16px;
    margin-top: 18px;
    color: #222;
    letter-spacing: 1px;
    font-weight: bold;
}

.work-item p {
    font-size: 16px;
    /* margin-top: 5px; */
    color: #6b6b6b;
    letter-spacing: 1px;
    font-weight: bold;
}



/* =========================
   Works标题区域
========================= */
.works-top1{
    position: relative;
    margin-bottom: 60px;
}

/* 标题绝对居中 */
.works-top1 .section-title{
    text-align: center;
    margin-bottom: 0;
}

/* 按钮固定右侧 */
.works-btn1{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    color: #202744;
    font-weight: 700;
    white-space: nowrap;
}
.works-btn1:hover {
    background: #202744;
    color: #fff;
}

.works-btn1 {
    border: 1px solid #202744;
    padding: 16px 36px;
    color: #202744;
    transition: 0.3s;
}


@media (max-width:768px){

    .works-top1{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .works-btn1{
        position: static;
        transform: none;
    }

}

/* =========================
       客户LOGO区域
    ========================== */
/* .clients {
    background: #f4f4f4;
    padding: 30px 0;
} */

.clients {
            width: 100%;
            padding: 4rem 1.5rem;       /* 上下留白，左右内边距保证小屏不贴边 */
            background: #ffffff;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.02), 0 8px 20px rgba(0,0,0,0.02);
        }

.client-logos {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 60px;
}


.client-logos1 {
            display: flex;
            flex-wrap: wrap;            /* 允许换行，适应各种宽度 */
            justify-content: center;    /* 主轴居中: 所有图片项整体居中，最后一行若不满也自动居中 */
            align-items: center;        /* 交叉轴居中，保证高度不一的图片垂直对齐和谐 */
            gap: 2rem 2.5rem;           /* 行间距2rem，列间距2.5rem，视觉舒适 */
            margin-top: 1rem;
            align-items: center; 
        }

/* .client-logos img {
    filter: grayscale(100%);
    opacity: 0.7;
    height: 60px;
    width: auto;
} */

/* 图片通用样式 - 确保响应式且不失真，同时保留原始比例，适应浏览器缩放 */
        .client-logos1 img {
            display: block;              /* 去除行内元素多余间隙 */
            max-width: 100px;           /* 最大宽度限制，宽屏不超尺寸, 大屏也很精致 */
            width: auto;                /* 宽度自动根据高度比例 */
            height: 70px;              /* 统一基准高度，使LOGO视觉一致，原来部分图片没有height，部分有style height:80px, 统一优雅 */
            object-fit: contain;        /* 保证图片完整显示不变形，内容填充留白透明 */
            transition: transform 0.2s ease, opacity 0.2s ease;
            filter: grayscale(0%) brightness(1);
            opacity: 0.85;
        }

/* =========================
       CTA区域
    ========================== */
.cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cta-box {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.cta-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 56, 0.65);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 70px;
}

.cta-content h3 {
    font-size: 44px;
    line-height: 1.4;
    margin-bottom: 25px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-btn {
    border: 1px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 64px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #fff;
    color: #111;
}

/* =========================
       页脚
    ========================== */
footer {
    background: #1f2747;
    color: #fff;
    padding-top: 90px;
}

.footer-grid{
    display:grid;
    grid-template-columns:
        1.2fr
        1.5fr
        1.3fr;

    gap:60px;

    align-items:flex-start;

    padding-bottom:70px;
}

.footer-logo {
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo span {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    letter-spacing: 4px;
    font-weight: normal;
}

/*  */

.copyright {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* =========================
   中间菜单区域
========================= */

.footer-nav{

    position:relative;

    display:flex;

    justify-content:center;

    gap:90px;

    padding:0 60px;
}

/* 左竖线 */

.footer-nav::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:1px;

    height:200px;

    background:rgba(255,255,255,.2);
}

/* 右竖线 */

.footer-nav::after{

    content:"";

    position:absolute;

    right:0;

    top:0;

    width:1px;

    height:200px;

    background:rgba(255,255,255,.2);
}

.footer-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-menu li{
    margin-bottom:18px;
}

.footer-menu a{
    color:#fff;
    text-decoration:none;
}

.footer-menu a:hover{
    opacity:.7;
}

/* =========================
       响应式
    ========================== */
@media(max-width: 1024px) {

    .service-grid,
    .strength-grid,
    .works-grid,
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid{

        grid-template-columns:
            1fr
            1fr;

        gap:50px;
    }

    .footer-company{

        grid-column:1 / -1;

        text-align:center;
    }

    .cta {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 48px;
    }
}

@media(max-width: 768px) {

    .header-inner {
        padding: 20px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 800px;
    }

    .hero-text {
        margin: 0 20px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .service-grid,
    .strength-grid,
    .works-grid,
    .client-logos{
        grid-template-columns: 1fr;
    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

        gap:40px;
    }

    .footer-nav{

    flex-direction:column;

    align-items:center;

    gap:30px;

    padding:0;
}

    .footer-nav::before,
    .footer-nav::after{
        display:none;
    }

    .footer-contact{
        text-align:center;
    }

    .service-card,
    .strength-item {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 30px;
    }

    .works-top {
        flex-direction: column;
        gap: 20px;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-content h3 {
        font-size: 34px;
    }
}



/* =========================
   顶部导航
========================== */

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* =========================
   汉堡菜单按钮
========================== */

.menu-toggle {
    width: 32px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

/* =========================
   汉堡动画
========================== */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* =========================
   移动端菜单
========================== */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1400;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #11182d;
    padding: 120px 40px 40px;
    transition: 0.4s ease;
    z-index: 1500;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-menu ul li a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.mobile-menu ul li a:hover {
    opacity: 0.7;
}

/* =========================
   移动端遮罩
========================== */

/* .mobile-menu::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.mobile-menu.active::before {
    opacity: 1;
    pointer-events: auto;
} */

/* =========================
   响应式
========================== */

@media(max-width: 900px) {

    /* PC菜单隐藏 */
    .pc-nav {
        display: none;
    }

    /* 显示汉堡按钮 */
    .menu-toggle {
        display: flex;
    }

    /* LOGO缩小 */
    .logo {
        font-size: 42px;
    }

    .logo span {
        font-size: 12px;
    }

    /* header间距 */
    .header-inner {
        padding: 20px;
    }
}

@media(max-width: 768px) {

    .lang {
        font-size: 12px;
    }

    .mobile-menu {
        width: 100%;
    }
}
