/* ============================================================
   关于我们 · 卡片化板块切换（参考光润通：顶部单面板 + 卡片导航）
   ============================================================ */

/* ---- 卡片导航 ---- */
.about-tabs {
    padding: 16px 0 88px;
    background: #f6f8fb;
}
.about-tabs-head {
    text-align: center;
    margin-bottom: 40px;
}
.about-tabs-head .section-tag {
    display: inline-block;
}
.about-tabs-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin: 14px 0 10px;
}
.about-tabs-desc {
    font-size: 15px;
    color: var(--text-secondary, #6b7280);
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.about-card.is-active {
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}
.about-card.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--ac, #C42D26);
}

/* 卡片封面：纯 CSS 科技感渐变 + 网格纹理 + 大图标 */
.about-card-cover {
    position: relative;
    height: 152px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #14264f;
    overflow: hidden;
}
/* 封面照片铺满 */
.about-card-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.about-card:hover .about-card-cover-img {
    transform: scale(1.06);
}
/* 品牌蓝渐变遮罩：统一为 logo 蓝调，保证图标/序号可读 */
.about-card-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(155deg, rgba(28, 52, 116, 0.66) 0%, rgba(14, 28, 64, 0.55) 45%, rgba(8, 16, 38, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}
.about-card-cover::after {
    content: "";
    position: absolute;
    left: -30px; bottom: -42px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 143, 214, 0.35), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.about-card-icon {
    position: relative;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
}
.about-card-icon svg { width: 26px; height: 26px; }
.about-card-num {
    position: relative;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 1px;
    z-index: 2;
}
.about-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.about-card-cat {
    font-size: 12px;
    color: var(--ac, #C42D26);
    font-weight: 600;
    letter-spacing: 1px;
}
.about-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
}
.about-card-text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    flex: 1;
}
.about-card-more {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ac, #C42D26);
}
.about-card.is-active .about-card-more,
.about-card:hover .about-card-more {
    text-decoration: underline;
}

/* ---- 内容面板：一次只显示一块 ---- */
.about-panels {
    background: #ffffff;
    padding: 0 0 24px;
}
.about-panel { display: none; animation: aboutPanelFade 0.45s ease; }
.about-panel.is-active { display: block; }
@keyframes aboutPanelFade {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 面板内 section 去掉自带外边距背景，由面板统一承载 */
.about-panel section.section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    margin: 0;
    padding-top: 72px;
    padding-bottom: 72px;
}
.about-panel section.section.section-light,
.about-panel section.section.section-culture {
    background: #fff;
}
/* 实景图条在概况面板内去顶圆角间隙 */
.about-panel section[style] { border-radius: 20px; overflow: hidden; }

/* ============================================================
   详情面板版式美化（不改动 CMS 渲染节点）
   ============================================================ */

/* ---- 02 愿景使命：左文右图，填满卡片 ---- */
.about-panel[data-panel="vision"] section.section { padding: 64px 0; }
.about-panel[data-panel="vision"] .vision-block {
    text-align: left;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.about-panel[data-panel="vision"] .vision-block-inner {
    align-items: flex-start;
    text-align: left;
    max-width: none;
}
.about-panel[data-panel="vision"] .vision-block-inner p {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.vision-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.20);
}
.vision-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vision-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(28, 52, 116, 0.22) 0%, rgba(8, 16, 38, 0.42) 100%);
}

/* ---- 01 公司概况：左文右图 + 三图带标题（简洁清爽版式） ---- */
.about-panel[data-panel="company"] section.section { padding: 72px 0; }
.company-intro {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 64px;
    align-items: start;
}
.company-intro-text .about-text p {
    font-size: 15.5px;
    line-height: 1.95;
    color: #4b5563;
    margin: 0 0 16px;
}
.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid #eef1f6;
}
.company-stat { text-align: left; }
.company-stat b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    color: #334F96;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.company-stat:nth-child(2) b,
.company-stat:nth-child(4) b { color: #C42D26; }
.company-stat b .u { font-size: 15px; font-weight: 700; margin-left: 1px; }
.company-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: #8a93a3;
}
.company-main-img {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
    background: #e9edf3;
}
/* 右图顶部与左侧正文第一行小字齐平（移动端重置为 0） */
.company-intro-visual { margin-top: 176px; }
.company-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ---- 转型历程时间线（对齐公司介绍 PPT） ---- */
.milestone-wrap {
    margin: 52px auto 0;
    max-width: none;
    padding: 32px 36px 36px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.milestone-head { margin-bottom: 30px; }
.milestone-head h3 {
    margin: 12px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}
.milestone-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.milestone-item { position: relative; padding-top: 26px; }
/* 贯穿横线 + 节点圆点 */
.milestone-line {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
}
.milestone-item:last-child .milestone-line { right: 50%; }
.milestone-dot {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary, #D13931);
    box-shadow: 0 0 0 4px rgba(209, 57, 49, 0.12);
}
.milestone-year {
    font-size: 26px;
    font-weight: 800;
    color: #334F96;
    letter-spacing: 0.5px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.milestone-year em {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 1px 6px;
}
.milestone-item.is-future .milestone-dot {
    background: #fff;
    border: 2px solid #D13931;
    box-shadow: none;
}
.milestone-text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* 底部三张实景图：等宽、浅边、居中标题 */
.company-intro + .about-scenes-wrap,
.milestone-wrap + .about-scenes-wrap {
    margin: 56px auto 0;
    max-width: none;
    padding: 0;
}
.about-scenes-grid { gap: 24px; }
.about-scene-card {
    margin: 0;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-scene-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.about-panel[data-panel="company"] .about-scene-img { height: 220px; }
.about-scene-cap {
    text-align: center;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

/* ---- 06 市场客户：去掉叠加的超大顶部留白 ---- */
.about-panel[data-panel="market"] section.section { padding-top: 72px !important; }
.about-panel[data-panel="market"] .market-section { padding-top: 0; }

/* ---- 07 核心优势：标题区与其他面板统一居中 ---- */
.about-panel[data-panel="advantage"] .section-head { text-align: center; }

/* ---- 响应式 ---- */
@media (max-width: 1100px) {
    .about-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .about-panel[data-panel="vision"] .vision-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .vision-visual { aspect-ratio: 16 / 10; }
    .company-intro { grid-template-columns: 1fr; gap: 36px; }
    .company-main-img { aspect-ratio: 16 / 10; }
    .company-intro-visual { margin-top: 0; }
    .milestone-track { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .milestone-item:last-child .milestone-line { right: 0; }
}
@media (max-width: 600px) {
    .about-cards-grid { grid-template-columns: 1fr; }
    .about-tabs { padding: 44px 0 4px; }
    .about-panel section.section { padding-top: 52px; padding-bottom: 52px; }
    .company-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .about-panel[data-panel="company"] .about-scene-img { height: 200px; }
}
