.by-six-blocks {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}



.by-about-sections {
    padding: 40px 0;
}

/* 基础双列布局 */
.by-about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.block-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.block-title {
    font-size: 28px;
    font-weight: 700;
    color: #d70000;
    margin-bottom: 15px;
}

.block-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #444;
}

.block-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 布局方向控制 */
.layout-left-img .block-img {
    order: 1;
}
.layout-left-img .block-content {
    order: 2;
}

.layout-right-img .block-content {
    order: 1;
}
.layout-right-img .block-img {
    order: 2;
}

/* ------------- 移动端自适应 ------------- */
@media (max-width: 900px) {
    .by-about-block {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .block-title {
        font-size: 24px;
        text-align: center;
    }

    .block-subtitle {
        font-size: 18px;
        text-align: center;
    }

    .layout-right-img .block-content,
    .layout-right-img .block-img {
        order: unset; /* 移动端强制恢复为上下结构 */
    }
}

/* 初始状态（不可见 + 位移） */
.fade-left, .fade-right {
    opacity: 0;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* 左侧进入 */
.fade-left {
    transform: translateX(-60px);
}

/* 右侧进入 */
.fade-right {
    transform: translateX(60px);
}

/* 当元素出现在屏幕中时启动动画 */
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 让容器突破文章内容区域，左右贴满屏幕 */
.by-fullwidth-img {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}

.by-fullwidth-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 弹出动画 */
.by-fullwidth-img.pop-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.by-fullwidth-img.pop-in.visible {
    opacity: 1;
    transform: scale(1);
}

.by-six-blocks {
  padding: 50px 0;
}

.by-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 30px;
}

/* --- 单个卡片 --- */
.by-item {
  background: #fff;
  padding: 12px;
  text-align: left;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}

/* 进入动画 */
.fade-in-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 图片包装 */
.by-img-wrap {
  overflow: hidden;
  border-radius: 10px;
}

.by-img-wrap img {
  width: 100%;
  transition: transform 0.4s ease;
}

/* 图片悬停放大 */
.by-item:hover img {
  transform: scale(1.05);
}

/* 标题 */
.by-title {
  font-size: 20px;
  margin: 15px 0 10px;
  font-weight: 600;
}

/* 文本 */
.by-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* 按钮 */
.by-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #b22222;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

/* 按钮悬停动画 */
.by-btn:hover {
  background: #8b1c1c;
  transform: translateY(-3px);
}

/* 卡片悬停轻微抬升 */
.by-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

/* --- 移动端：2列布局 --- */
@media (max-width: 768px) {
  .by-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ========== 平板适配：iPad 等（768px ~ 1024px） ========== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 上面的双列介绍模块：平板改成一列（上下排），避免左右太挤 */
  .by-about-block {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .block-title,
  .block-subtitle {
    text-align: left; /* 如果想居中，可以改成 center */
  }

  /* 六个卡片模块：平板显示 2 列，更舒服 */
  .by-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ========== 小屏手机：宽度 < 600px ========== */
@media (max-width: 600px) {
  .by-container {
    grid-template-columns: 1fr;  /* 超小屏幕就一列排 */
    gap: 18px;
  }

  .by-six-blocks {
    padding: 30px 0;
  }
}


/* 时间线 */
.timeline-section {
    position: relative;
    width: 100%;
    padding: 150px 0 260px;
    overflow: visible;
    min-height: 500px;
    box-sizing: border-box;
}

.timeline-line {
    width: 100%;
    height: 360px;
    position: absolute;
    top: 90px;
    left: 0;
    pointer-events: none;
}

.timeline-line path {
    stroke: #cccccc;
    stroke-width: 3;
    fill: none;
}

.timeline-points {
    position: relative;
    width: 100%;
    height: 100%;
}

.timeline-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    text-align: center;
    z-index: 5;
}

.point-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color);
    box-shadow: 0 0 10px var(--color);
    animation: breathing 2s infinite ease-in-out;
}

@keyframes breathing {
    0% { transform: scale(1); box-shadow: 0 0 6px var(--color); }
    50% { transform: scale(1.35); box-shadow: 0 0 16px var(--color); }
    100% { transform: scale(1); box-shadow: 0 0 6px var(--color); }
}

.point-year {
    margin-top: 6px;
    font-size: 12px;
    color: #555;
    font-weight: 600;
    text-align: center;
}

.timeline-content {
    display: none;
    position: absolute;
    min-width: 240px;
    max-width: 280px;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    font-size: 13px;
    line-height: 1.7;
    text-align: justify;
    color: #333;
    z-index: 10;
}

.timeline-content.active {
    display: block;
}

.timeline-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

/* PC: alternate left/right around the curve */
.timeline-content.left {
    transform: translate(-110%, -40px);
}

.timeline-content.right {
    transform: translate(10%, -40px);
}

/* Mobile layout */
@media(max-width: 768px) {
    .timeline-section {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .timeline-line {
        display: none;
    }

    .timeline-section::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: #e5e5e5;
        z-index: 1;
    }

    .timeline-point {
        position: relative;
        left: 50% !important;
        top: auto !important;
        transform: translateX(-50%);
        margin: 40px 0;
        z-index: 2;
    }

    .point-dot {
        position: relative;
        left: 0;
        transform: translateX(0);
    }

    .point-year {
        margin-top: 6px;
    }

    .timeline-content {
        position: relative;
        max-width: calc(50% - 40px);
        margin-top: 10px;
        transform: none !important;
    }

    .timeline-content.left {
        margin-right: auto;
        text-align: left;
    }

    .timeline-content.right {
        margin-left: auto;
        text-align: left;
    }
}


/* =====================================
   六大业务模块 · 全新命名体系
   biz-six / biz-card
   ===================================== */

.biz-six {
    padding: 36px 0;
    background: #f6f7f9;
}

.biz-six__grid {
    max-width: 1386px;
    margin: 0 auto;
    padding: 0 16px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 卡片 */
.biz-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.biz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(0,0,0,0.16);
}

/* 图片 */
.biz-card__img {
    overflow: hidden;
}

.biz-card__img img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.biz-card:hover .biz-card__img img {
    transform: scale(1.08);
}

/* 文本 */
.biz-card__title {
    margin: 20px 22px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.biz-card__desc {
    margin: 0 22px 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    flex-grow: 1;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 按钮 */
.biz-card__btn {
    margin: 0 22px 22px;
    align-self: flex-start;

    padding: 10px 28px;
    border-radius: 22px;
    border: 1px solid #c80000;

    color: #c80000;
    text-decoration: none;
    font-size: 14px;

    transition: all 0.3s ease;
}

.biz-card__btn:hover {
    background: #c80000;
    color: #fff;
}

/* 进入动画 */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
    animation: bizFadeUp 0.8s ease forwards;
}

.anim-up:nth-child(1) { animation-delay: 0.1s; }
.anim-up:nth-child(2) { animation-delay: 0.2s; }
.anim-up:nth-child(3) { animation-delay: 0.3s; }
.anim-up:nth-child(4) { animation-delay: 0.4s; }
.anim-up:nth-child(5) { animation-delay: 0.5s; }
.anim-up:nth-child(6) { animation-delay: 0.6s; }

@keyframes bizFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 1024px) {
    .biz-six__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .biz-six {
        padding: 40px 0;
    }

    .biz-six__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .biz-card__title {
        font-size: 16px;
    }

    .biz-card__desc {
        font-size: 13px;
    }
}


