﻿/* 公共样式（自 style.css 第 1–610 行抽离，原 style.css 未改动） */
/* ==========================================
   糖脂管家官网 - 全局样式
   ========================================== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ==========================================
   顶部导航
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.logo img {
    height: 54px;
    width: auto;
    object-fit: contain;
}

/* Logo 占位样式（无图片时显示） */
.logo-placeholder {
    display: none;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: #fff;
}

.logo-text strong {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-text em {
    font-size: 10px;
    font-style: normal;
    opacity: 0.75;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* 主导航 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 0 18px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    font-size: 15px;
    position: relative;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav li.active a,
.main-nav a:hover {
    color: #fff;
    font-weight: bold;
}

.main-nav li.active a::after,
.main-nav a:hover::after {
    width: 24px;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: space-around;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 顶栏响应式：全站共用（勿仅写在 index.css，否则子页无汉堡菜单与折叠导航） */
@media (max-width: 1200px) {
    .header-inner {
        padding: 0 24px;
    }

    .main-nav a {
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .site-header {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .logo img {
        height: 42px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
        font-size: 10px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text em {
        font-size: 9px;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #1e3a8a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.is-open {
        max-height: 600px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav a {
        height: 48px;
        line-height: 48px;
        padding: 0 24px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav a::after {
        display: none;
    }
}

/* ==========================================
   Hero / Banner
   ========================================== */
.hero {
    margin-top: 80px;
    height: 640px;
    position: relative;
    overflow: visible;
    background: #b3e0f2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(30, 58, 138, 0.15) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 40px 0;
    text-align: center;
    color: #0b3a6f;
}

.hero-title {
    font-size: 46px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
    line-height: 1.3;
}

.hero-title .gap {
    display: inline-block;
    width: 40px;
}

.hero-sub {
    margin-top: 18px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #1e3a8a;
    opacity: 0.8;
}

.hero-spacer {
    height: 120px;
}

@media (max-width: 992px) {
    .hero-spacer {
        height: 240px;
    }
}

/* 数据展示悬浮卡片 */
.stats-card {
    position: absolute;
    left: 50%;
    bottom: -70px;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.18);
    z-index: 3;
}

.stats-list {
    display: flex;
    align-items: stretch;
    padding: 36px 20px;
}

.stats-list li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.stats-list li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 72px;
    background: #e5e7eb;
}

.stats-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.stats-icon img {
    max-width: 100%;
    max-height: 100%;
}

.stats-label {
    font-size: 15px;
    color: #1e3a8a;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.stats-num {
    color: #1e3a8a;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    font-family: "DIN", "Helvetica Neue", Arial, sans-serif;
    white-space: nowrap;
}

.stats-num i {
    font-style: normal;
    font-size: 24px;
    font-weight: bold;
    margin-left: 2px;
}

/* ==========================================
   通用 Section 标题（小英文 + 大中文 + 下划线）
   ========================================== */
.section-head {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 50px;
}

.section-en {
    font-size: 16px;
    color: #9aa4b7;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.section-cn {
    font-size: 32px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 4px;
    display: inline-block;
    position: relative;
}

.section-line {
    display: block;
    width: 40px;
    height: 3px;
    background: #1e3a8a;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ==========================================
   品牌故事 Brand Story
   ========================================== */
.brand-story {
    position: relative;
    padding-bottom: 120px;
    background:
        url("https://bucket.tzgj333.cn/gwtp/img_bj.png") no-repeat center 40%;
    background-size: 90% auto;
}

.story-card {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);
}

.story-text {
    padding: 50px 50px 50px 60px;
}

.story-text h3 {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.story-text p {
    font-size: 13px;
    color: #5a6272;
    line-height: 2;
    text-align: justify;
    margin-bottom: 10px;
}

.story-img {
    position: relative;
    overflow: hidden;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ==========================================
   产品中心 Product Center
   ========================================== */
.product-center {
    background: #f5f7fa;
    padding-bottom: 80px;
}

.product-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.product-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.product-nav:hover {
    transform: scale(1.1);
}

.product-nav img {
    width: 100%;
    height: 100%;
    display: block;
}

.product-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.18);
}

.product-cover {
    position: relative;
    height: 220px;
    background-color: #1e3a8a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-cover-text {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    color: #fff;
    text-align: right;
    max-width: 55%;
}

.product-cover-text h4 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-cover-text p {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.6;
    letter-spacing: 1px;
}

.product-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: bold;
    margin-bottom: 14px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.product-tags span {
    font-size: 12px;
    color: #5a6272;
    background: #eef2f8;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 20px;
    flex: 1;
}

.product-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 10px 22px;
    background: #1e3a8a;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    transition: background 0.25s ease;
    letter-spacing: 1px;
}

.product-btn:hover {
    background: #2647a8;
}

.product-more {
    text-align: center;
    margin-top: 50px;
}

.btn-more {
    display: inline-block;
    padding: 14px 56px;
    background: #fff;
    color: #1e3a8a;
    font-size: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.12);
    letter-spacing: 2px;
    transition: all 0.25s ease;
}

.btn-more:hover {
    background: #1e3a8a;
    color: #fff;
}

/* ==========================================
   右侧悬浮工具栏（全站公共：二维码 / 公众号 / 联系我们 / 回顶）
   ========================================== */
.side-tools {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-qr {
    position: absolute;
    right: 82px;
    top: 0;
    width: 132px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-tools:hover .side-qr,
.side-tools:focus-within .side-qr {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.side-qr img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.side-qr p {
    font-size: 10px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.3;
    transform: scale(0.9);
    transform-origin: center;
}

.side-btns {
    background: #1e3a8a;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
}

.side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 4px;
    color: #fff;
    transition: background 0.25s ease;
    gap: 6px;
}

.side-btn + .side-btn {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.side-btn:hover {
    background: #2647a8;
}

.side-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.side-btn span {
    font-size: 12px;
    letter-spacing: 1px;
}

.side-top {
    background: #fff;
    border-radius: 6px;
    padding: 10px 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #1e3a8a;
    transition: background 0.25s ease;
}

.side-top:hover {
    background: #eef2f8;
}

.side-top img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.side-top span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ==========================================
   页脚 Footer（全站公共）
   ========================================== */
.site-footer {
    background: #101c44;
    color: #b4c0dd;
    font-size: 13px;
    padding: 50px 0 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    flex: 0 0 180px;
}

.footer-cols {
    flex: 1;
    min-width: 0;
}

.footer-qr {
    flex: 0 0 160px;
}

.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 110px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
}

.footer-brand p {
    font-size: 12px;
    color: #8a96b8;
    line-height: 1.8;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-cols {
    display: grid;
    grid-template-columns: max-content max-content max-content max-content 1fr;
    gap: 44px;
}

.footer-col h5 {
    font-size: 15px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 18px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li {
    font-size: 12px;
    color: #8a96b8;
    line-height: 1.7;
    white-space: nowrap;
}

.footer-col a {
    color: #8a96b8;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact {
    min-width: 0;
}

.footer-contact li {
    white-space: nowrap;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 130px;
    height: 130px;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    object-fit: contain;
}

.footer-qr p {
    margin-top: 12px;
    font-size: 13px;
    color: #c7d0ea;
    letter-spacing: 1px;
    line-height: 1.6;
}

.footer-qr p span {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    color: #8a96b8;
    letter-spacing: 0;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #6b7896;
}

/* ==========================================
   荣誉展示 Honors（首页 / 关于我们等共用）
   ========================================== */
.honors {
    background: #f5f7fa;
    padding-bottom: 56px;
}

.honor-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.honor-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e3a8a;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
    transition: transform 0.25s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.honor-nav:hover {
    transform: scale(1.06);
    background: #2647a8;
    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.45);
}

.honor-nav img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.honor-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 12px 0 24px;
}

.honor-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.honor-item {
    flex: 0 0 calc((100% - 100px) / 6); /* 一次显示 6 项（含 5 个间隔） */
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 12px;
    padding: 16px 12px 20px;
    box-shadow: 0 8px 28px rgba(30, 58, 138, 0.1);
}

.honor-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(30, 58, 138, 0.16);
}

.honor-img {
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid #e8ecf4;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 8px;
}

.honor-img::before {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9ab87;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    padding: 0 10px;
    z-index: 0;
}

.honor-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.honor-item h5 {
    font-size: 14px;
    color: #111827;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    line-height: 1.45;
}

.honor-item p {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

/* ==========================================
   发展历程 / 企业历史与荣誉 · 时间轴（首页 / 关于我们 / 企业文化共用）
   ========================================== */
.timeline-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    display: flex;
    align-items: stretch;
    gap: 30px;
    position: relative;
}

.timeline-label {
    flex-shrink: 0;
    width: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #1e3a8a;
    letter-spacing: 2px;
    line-height: 1.6;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline {
    flex: 1;
    position: relative;
    height: 300px;
}

/* 中心横线 */
.timeline-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #2563eb, #60a5fa 50%, #dbeafe);
    transform: translateY(-50%);
    z-index: 1;
}

/* 节点容器：圆点固定在中心线上，内容盒悬挂在上/下 */
.timeline-item {
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: 260px;
    margin-left: -130px;
    z-index: 2;
}

/* 圆点：中心对齐到线上 */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2563eb;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* 内容盒 */
.timeline-box {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: left;
    padding-left: 12px;
    box-sizing: border-box;
}

.timeline-item.is-up .timeline-box {
    bottom: 18px;
}

.timeline-item.is-down .timeline-box {
    top: 18px;
}

.timeline-year {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.timeline-content {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.8;
}

.timeline-content strong {
    color: #2563eb;
    font-weight: bold;
}

.timeline-box .timeline-content + .timeline-content {
    margin-top: 4px;
}

.timeline-content--compact {
    font-size: 11px;
    line-height: 1.55;
}

/* is-up 时：content 在上，year 在下（靠近线） */
.timeline-item.is-up .timeline-year {
    margin-top: 6px;
    margin-bottom: 0;
}

.timeline-item.is-up .timeline-content {
    margin-bottom: 0;
}

/* 企业历史与荣誉（浅底 + img_bjsc 背景 + 时间轴） */
.about-history {
    position: relative;
    overflow: hidden;
    background: #f4f7fb;
    padding-bottom: 80px;
}

.about-history .section-head {
    position: relative;
    z-index: 2;
}

.about-history-tagline {
    position: relative;
    z-index: 2;
    margin: -4px 0 8px;
    padding: 0 40px;
    text-align: center;
    font-size: 15px;
    color: #64748b;
    letter-spacing: 2px;
}

.about-history-bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            180deg,
            rgba(244, 247, 251, 0.9) 0%,
            rgba(244, 247, 251, 0.5) 42%,
            rgba(244, 247, 251, 0.92) 100%
        ),
        url("https://bucket.tzgj333.cn/gwtp/about/img_bjsc.png");
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

.about-timeline-wrap {
    position: relative;
    z-index: 2;
    padding: 20px 40px 40px;
}

.about-timeline-wrap .timeline {
    width: 100%;
    height: 360px;
}

.about-timeline-wrap .timeline-item.is-wide {
    width: 300px;
    margin-left: -150px;
}

@media (max-width: 992px) {
    .side-tools {
        display: none;
    }

    .timeline-wrap {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px 40px;
        gap: 16px;
    }

    .timeline-label {
        width: 100%;
        height: auto;
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: flex-start;
        font-size: 18px;
        letter-spacing: 4px;
        gap: 0;
        writing-mode: horizontal-tb;
        white-space: nowrap;
        padding-left: 4px;
    }

    /* 时间轴在小屏上改成垂直堆叠 */
    .timeline {
        width: 100%;
        height: auto;
        padding-left: 24px;
    }

    .timeline-bar {
        top: 0;
        bottom: 0;
        left: 6px;
        right: auto;
        height: auto;
        width: 2px;
        background: linear-gradient(to bottom, #2563eb, #60a5fa 50%, #dbeafe);
        transform: none;
    }

    .timeline-item,
    .timeline-item.is-up,
    .timeline-item.is-down {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-left: 0;
        width: 100%;
        padding: 10px 0 10px 20px;
    }

    .timeline-item + .timeline-item {
        margin-top: 4px;
    }

    .timeline-dot {
        top: 18px;
        left: -24px;
        transform: none;
    }

    .timeline-box,
    .timeline-item.is-up .timeline-box,
    .timeline-item.is-down .timeline-box {
        position: relative;
        top: auto;
        bottom: auto;
        padding-left: 0;
    }

    /* 小屏时无论 up/down 都按 "年份 -> 内容" 的顺序显示 */
    .timeline-item.is-up .timeline-box {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-history-tagline {
        padding: 0 20px;
        font-size: 14px;
    }

    .about-timeline-wrap {
        padding: 20px 16px 40px;
    }

    .about-timeline-wrap .timeline {
        height: 400px;
    }

    .about-timeline-wrap .timeline-item.is-wide {
        width: 260px;
        margin-left: -130px;
    }

    /* 荣誉展示 - 移动端 */
    .honors {
        padding-bottom: 50px;
    }

    .honor-wrap {
        padding: 0 16px;
        gap: 8px;
    }

    .honor-nav {
        width: 40px;
        height: 40px;
    }

    .honor-nav img {
        width: 15px;
        height: 15px;
    }

    .honor-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    /* 页脚 - 移动端 */
    .footer-inner {
        flex-direction: column;
        padding: 0 20px 30px;
        gap: 30px;
        text-align: center;
    }

    .footer-brand,
    .footer-cols,
    .footer-qr {
        flex: 0 0 auto;
        width: 100%;
    }

    .footer-cols {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        text-align: left;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col li {
        white-space: normal;
    }
}

@media (max-width: 1280px) {
    .side-qr {
        display: none;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    /* 窄桌面/平板下，加宽「发展历程」标签，避免与时间轴第一个节点重叠 */
    .timeline-label {
        width: 60px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .timeline-wrap {
        gap: 20px;
        padding: 40px 24px 60px;
    }

    .honor-item {
        flex: 0 0 calc((100% - 60px) / 4);
    }
}
