/* 通用设置 */
body {
    background-color: #fff;
    font-family: "Alibaba PuHuiTi 3.0", "PingFang SC", sans-serif;
    color: #333;
}

.container-custom {
    width: 100%;
    max-width: 1400px;
    /* 加宽容器适配设计图 */
    margin: 0 auto;
    padding: 0 20px;
}




/* ================= 1. 关于翰霖 ================= */
.section-about {
    padding: 80px 0;
    background: #fff;
}

.about-desc p {
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    line-height: 2;
    color: #666;
    font-size: 16px;
    text-indent: 2em;
}

.about-data-row {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.data-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.data-text h3 {
    font-size: 32px;
    font-weight: bold;
    color: #01409F;
    margin: 0;
    line-height: 1;
}

.data-text h3 small {
    font-size: 16px;
}

.data-text p {
    margin: 5px 0 0 0;
    color: #333;
    font-size: 14px;
}

/* ================= 2. 发展历程 (时间轴) ================= */
.section-history .swiper-container {
    height: 40vh;
}

.section-history {
    padding: 80px 0;
    background: url('../images/banner/develop.png') no-repeat center bottom;
    background-size: cover;
    background-color: #F5F7FA;
    position: relative;
}

.history-timeline-container {
    position: relative;
}

/* 时间轴横线 */
.timeline-line {
    position: absolute;
    bottom: 60px;
    /* 根据圆点位置调整 */
    left: 0;
    width: 100%;
    height: 2px;
    background: #ccc;
    z-index: 0;
    display: none;
    /* 暂时隐藏，用swiper自带的或者背景图 */
}

.history-swiper {
    padding-bottom: 60px;
    padding: 0 50px;
    /* 给左右箭头留位置 */
}

.history-card {
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    /* 模拟连接线 */
}

/* 虚线竖线 */
.history-card::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: 20px;
    width: 1px;
    border-left: 1px dashed #999;
    z-index: 0;
}

.history-card::after {
    content: '';
    position: absolute;
    left: 27px;
    bottom: 15px;
    height: 10px;
    border-bottom: 1px dashed #999;
    z-index: 0;
    width: 100%;
}

.h-year {
    font-size: 24px;
    font-weight: bold;
    color: #01409F;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

/* 年份前面的小三角/箭头 */
.h-year::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #01409F;
}

.h-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-left: 20px;
}

.h-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

/* --- 修复发展历程接口内容的样式 --- */
.h-desc p {
    margin: 0 0 5px 0;
    /* 减小段落间距 */
    padding: 0;
    line-height: 1.5;
}

/* 强制覆盖接口返回的内联样式，保持设计的一致性 */
.h-desc span {
    font-family: "Alibaba PuHuiTi 3.0", sans-serif !important;
    font-size: 14px !important;
    color: #666 !important;
    background-color: transparent !important;
}

/* 底部圆点 */
.h-dot {
    width: 12px;
    height: 12px;
    background: #01409F;
    border-radius: 50%;
    position: absolute;
    bottom: 15px;
    left: 15px;
    transform: translateY(50%);
    box-shadow: 0 0 0 4px rgba(1, 64, 159, 0.2);
}

/* 左右箭头 */
.history-swiper .swiper-button-next,
.history-swiper .swiper-button-prev {
    color: #01409F;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-swiper .swiper-button-next:after,
.history-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* ================= 3. 文化理念 (三卡片) ================= */
.section-culture {
    padding: 80px 0;
    background: url('../images/banner/snow.png') no-repeat center center;
    background-size: cover;
}

.culture-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    flex: 1;
    min-height: 400px;
    text-align: center;
    padding: 50px 20px;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.culture-card:hover {
    transform: translateY(-10px);
}

.blue-card {
    background: #0F3A7A;
    /* 深蓝 */
    color: #fff;
}

.white-card {
    background: rgba(255, 255, 255, 0.9);
    color: #0F3A7A;
}

.c-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.c-line {
    width: 40px;
    height: 3px;
    background: #fff;
    margin: 20px auto;

}

.white-card .c-line {
    background: #0F3A7A;
}

.culture-card p {
    line-height: 2;
    font-size: 16px;
}

.culture-text {
    width: 100%;
    text-align: center;
}

/* 强制重置 API 返回的 p 和 span 标签样式 */
.culture-text p,
.culture-text span {
    font-family: "Alibaba PuHuiTi 3.0", sans-serif !important;
    font-size: 16px !important;
    line-height: 2 !important;
    background-color: transparent !important;
    margin: 0 !important;
    /* 去除段落间距，使其紧凑 */
    text-align: center !important;
    /* 强制居中 */
}

/* 蓝色卡片 (Blue Card) - 文字强制变白 */
.blue-card .culture-text,
.blue-card .culture-text p,
.blue-card .culture-text span {
    color: #ffffff !important;
}

/* 白色卡片 (White Card) - 文字强制变深蓝 */
.white-card .culture-text,
.white-card .culture-text p,
.white-card .culture-text span {
    color: #0F3A7A !important;
}

/* ================= 4. 公司荣誉 ================= */
.section-honors {
    padding: 80px 0;
    background: #fff;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.honor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.h-img-box {
    width: 55%;
    height: 60%;
    object-fit: contain;
    padding: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.h-img-box img {
    width: 100%;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.honor-item h4 {
    font-size: 16px;
    color: #01409F;
    font-weight: bold;
    margin-bottom: 5px;
    min-height: 44px;
    /* 保证两行对齐 */
}

.stars {
    flex: 1;
    width: 70%;
    margin-bottom: 36px;
}

.patents-pile {
    text-align: center;
    margin-top: 40px;
}

.patents-pile img {
    max-width: 100%;
    width: 1000px;
}

/* ================= 5. 合作伙伴 ================= */
.section-partners {
    padding: 80px 0 0 0;
    background: url('../images/banner/parter.png') no-repeat center top;
    background-size: cover;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-intro {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 中间圆形 */
.partner-center-circle {
    width: 400px;
    height: 400px;
    background: url('../images/home/yuandian.png') no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 10px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.circle-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-nums {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.c-item {
    text-align: center;
}

.c-n {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.c-t {
    font-size: 12px;
    opacity: 0.8;
}

.c-line-v {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 20px;
}

.c-desc {
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.c-thanks {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

@media screen and (max-width: 1200px) {
    .partner-center-circle {
        width: 300px;
        height: 300px;
    }
}

/* 响应式适配 */
@media screen and (max-width: 1000px) {
    .about-data-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .culture-grid {
        flex-direction: column;
    }

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

    .partner-center-circle {
        width: 300px;
        height: 300px;
    }

    .logo-row:nth-child(even) {
        padding-left: 0;
    }

    .partner-logo-container {
        margin-top: 20px;
        padding-top: 0;
    }

    .section-about,
    .section-history,
    .section-culture,
    .section-honors,
    .section-partners {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .about-desc p {
        margin: 0 auto 30px auto;
    }

    .section-history .swiper-container {
        height: 40vh !important;
    }

    .data-text h3 {
        font-size: 20px;
    }
}