/* ============ 全局重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.hl { color: #fec502; }

/* ============ 顶部导航 ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area .logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 60px; height: 44px; object-fit: contain; }
.logo-text strong { display: block; font-size: 17px; color: #222; line-height: 1.3; }
.logo-text span { display: block; font-size: 11px; color: #888; }
.main-nav .nav-cn,
.main-nav .nav-en {
    display: flex;
    gap: 22px;
}
.main-nav .nav-cn li a { font-size: 16px; color: #222; padding: 6px 2px; position: relative; }
.main-nav .nav-cn li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fec502;
    transition: width .3s;
}
.main-nav .nav-cn li a:hover::after { width: 100%; }
.main-nav .nav-en li a { font-size: 12px; color: #aaa; letter-spacing: 1px; }
.main-nav .nav-en li a:hover { color: #fec502; }

/* ============ 轮播 Banner ============ */
.hero-slider {
    position: relative;
    height: 640px;
    margin-top: 64px;
    overflow: hidden;
}
.slide-track { position: relative; height: 100%; }
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; }
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.slide-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.slide-sub { font-size: 22px; color: #5bb7e0; font-style: italic; font-weight: bold; letter-spacing: 4px; }
.slide-content h1 {
    font-size: 40px;
    font-family: "KaiTi", "STKaiti", serif;
    margin: 18px 0 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slide-en { font-size: 26px; color: #ff6b6b; font-style: italic; font-weight: bold; }
.slide-tag { font-size: 22px; color: #ffaa33; font-weight: bold; margin-top: 14px; }
.slide-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.slide-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background .3s;
}
.slide-dots span.active { background: #fec502; }
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    transition: background .3s;
}
.slide-arrow:hover { background: rgba(0,0,0,0.6); }
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }

/* ============ 通用区块 ============ */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    font-size: 28px;
    color: #434a54;
    margin-bottom: 44px;
    font-weight: 700;
}
.section-title em { font-style: normal; color: #999; }

/* ============ 关于我们 ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.about-text p { font-size: 15px; color: #555; margin-bottom: 14px; text-align: justify; }
.about-slider { position: relative; height: 340px; overflow: hidden; border-radius: 8px; }
.about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s;
}
.about-img.active { opacity: 1; }
.about-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.about-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}
.about-dots span.active { background: #fec502; }

/* ============ 特色卡片 ============ */
.features-section { padding: 10px 0 70px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 30px 24px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.feature-icon { width: 62px; height: 54px; margin: 0 auto 16px; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: #333; }
.feature-card p { font-size: 13px; color: #888; }

/* ============ 服务范围 ============ */
.service-section { background: #f7f8fa; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: transform .3s;
}
.service-item:hover { transform: translateY(-4px); }
.service-item img { width: 54px; height: 50px; margin: 0 auto 14px; object-fit: contain; }
.service-item h3 { font-size: 18px; color: #333; }

/* ============ 客户案例 ============ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.case-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    background: #fff;
    transition: transform .3s;
}
.case-item:hover { transform: translateY(-4px); }
.case-thumb { height: 200px; background-size: cover; background-position: center; }
.case-info { padding: 18px; }
.case-info h3 { font-size: 16px; margin-bottom: 8px; color: #333; }
.case-info p { font-size: 13px; color: #888; }

/* ============ 新闻中心 ============ */
.news-section { background: #f7f8fa; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.news-item { padding: 16px 0; border-bottom: 1px dashed #ddd; }
.news-item h3 { font-size: 16px; margin-bottom: 6px; }
.news-item h3 a:hover { color: #fec502; }
.news-date { font-size: 12px; color: #999; margin-bottom: 6px; }
.news-item p:last-child { font-size: 13px; color: #777; }

/* ============ 联系我们 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info p { font-size: 15px; color: #555; margin-bottom: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .3s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #fec502; }
.contact-form button {
    padding: 13px;
    background: #fec502;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background .3s;
}
.contact-form button:hover { background: #e6b300; }

/* ============ 页脚 ============ */
.site-footer {
    background: #222;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
}
.site-footer p { margin-bottom: 6px; }
.site-footer a { color: #fec502; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .features-grid, .service-grid, .case-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 480px; }
    .slide-content h1 { font-size: 30px; }
    .main-nav .nav-en { display: none; }
    .header-inner { flex-direction: column; gap: 8px; }
    .main-nav .nav-cn { gap: 14px; flex-wrap: wrap; justify-content: center; }
    .main-nav .nav-cn li a { font-size: 14px; }
}
@media (max-width: 640px) {
    .features-grid, .service-grid, .case-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 360px; margin-top: 108px; }
    .slide-content h1 { font-size: 22px; }
    .slide-sub { font-size: 16px; }
    .slide-en { font-size: 18px; }
}
