/* ============================================================
   中核集团官网 - 全局样式表
   设计规范：
   - 主色（深蓝）   : #0b2a6b / #123c8c（中核蓝，象征稳重、科技、核工业）
   - 辅助色（金黄） : #f5b800（点缀高亮，象征能源与辉煌）
   - 背景色         : #f4f6fb（浅灰蓝）
   - 正文色         : #333333
   ============================================================ */

/* ---------- 全局变量（CSS 自定义属性） ---------- */
:root {
    --sidebar-width: 260px;        /* 左侧固定导航栏宽度 */
    --primary-color: #0b2a6b;      /* 主色：中核深蓝 */
    --primary-light: #123c8c;      /* 主色浅一号 */
    --accent-color: #f5b800;       /* 强调色：金黄 */
    --accent-hover: #ffcf3d;       /* 强调色悬停 */
    --bg-light: #f4f6fb;           /* 浅灰蓝背景 */
    --text-main: #333333;          /* 主文字色 */
    --text-sub: #666666;           /* 次要文字色 */
    --border-color: #e5e9f2;       /* 边框色 */
    --radius: 10px;                /* 通用圆角 */
    --shadow: 0 6px 20px rgba(11, 42, 107, 0.08); /* 通用阴影 */
}

/* ---------- 基础重置 ---------- */
* {
    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: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ============================================================
   一、左侧固定导航栏（sidebar）
   position: fixed 固定定位，始终停留在视口左侧
============================================================ */
.sidebar {
    position: fixed;               /* 固定定位，不随页面滚动 */
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;                 /* 占满视口高度 */
    background: linear-gradient(160deg, #2b4bb8 0%, #3d5bbd 50%, #5f8df0 100%);  /* 蓝色渐变背景 */
    color: #ffffff;
    display: flex;
    flex-direction: column;        /* 纵向排列：logo -> 导航 -> 底部 */
    align-items: center;           /* 内容水平居中 */
    justify-content: center;       /* 内容整体垂直居中（logo 也随之上下居中） */
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

/* ---------- 侧边栏 Logo 区域 ---------- */
.sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 24px;
    border-bottom: none;
}

/* 用户上传的 logo 图片 */
.logo-img {
    width: 150px;                  /* 按截图 logo 约占侧边栏大半宽度 */
    height: auto;
    object-fit: contain;           /* 完整展示 logo，保持比例 */
    margin-bottom: 10px;
}

/* "欢迎您" 文字 */
.welcome-text {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 6px;
    margin-top: 4px;
}

/* ---------- 侧边栏导航菜单 ---------- */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;       /* 导航项垂直居中 */
    width: 100%;
    padding: 36px 0;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* 导航链接默认样式：居中、白色、无下划线 */
.nav-item a {
    display: inline-block;
    padding: 8px 4px;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent; /* 默认透明下划线占位 */
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

/* 导航悬停效果：微微透明 */
.nav-item a:hover {
    opacity: 0.85;
}

/* 当前激活（高亮）导航项：白色下划线（与截图一致） */
.nav-item.active a {
    border-bottom: 1px solid #ffffff;
}

/* ---------- 侧边栏底部区域 ---------- */
.sidebar-footer {
    padding: 20px 24px 45px;
    width: 100%;
    text-align: center;
}

/* 立即开户按钮：与截图一致的白色边框胶囊按钮 */
.btn-open-account {
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 180px;
    padding: 10px 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-open-account:hover {
    background: #ffffff;
    color: #3d5bbd;
}

/* 联系客服按钮：与立即开户之间留出明显间隔，半透明底与立即开户区分 */
.btn-open-account + .btn-open-account {
    margin-top: 22px;
}

.btn-service {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-service:hover {
    background: #ffffff;
    color: #3d5bbd;
}

/* ============================================================
   链接未配置/停用提示弹窗
============================================================ */
.hl-tip-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.hl-tip {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px 32px 20px;
    max-width: 320px;
    width: calc(100% - 48px);
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    animation: hl-tip-in 0.25s ease;
}

.hl-tip-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--accent-color, #f5b800);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 44px;
}

.hl-tip-msg {
    color: #333333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.hl-tip-ok {
    padding: 8px 30px;
    border: none;
    border-radius: 20px;
    background: var(--primary-color, #3d5bbd);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hl-tip-ok:hover {
    background: #2b4bb8;
}

@keyframes hl-tip-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   二、主内容区
   左侧 margin-left 为侧边栏让出空间
============================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* ---------- 通用区块样式 ---------- */
.section {
    padding: 70px 60px;
    background-color: var(--bg-light);
}

/* 区块标题统一头部 */
.section-head {
    text-align: center;
    margin-bottom: 45px;
}

/* 区块英文副标题 */
.section-sub {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* 区块中文主标题 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 16px;
}

/* 主标题下方装饰短横线 */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
}

/* 区块描述文字 */
.section-desc {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-sub);
}

/* 浅色标题变体（用于深色背景上） */
.section-head.light .section-title {
    color: #ffffff;
}

.section-head.light .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   三、首页横幅 Banner（轮播）
============================================================ */
.section-banner {
    position: relative;
    height: 560px;
    overflow: hidden;
}

.banner-slider {
    height: 100%;
}

/* 单张幻灯片 */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    visibility: hidden;
}

/* 当前展示的幻灯片 */
.slide.active {
    opacity: 1;
    visibility: visible;
}

/* 幻灯片背景大图 */
.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* 铺满且保持比例裁剪 */
}

/* 横幅上的深色遮罩，保证文字可读 */
.banner-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg, rgba(11, 42, 107, 0.85) 0%, rgba(18, 60, 140, 0.55) 55%, rgba(11, 42, 107, 0.2) 100%); */
}

/* 横幅文字内容 */
.banner-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #ffffff;
    max-width: 620px;
}

/* 横幅顶部小标签 */
.banner-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent-color);
    background: rgba(245, 184, 0, 0.1);
    margin-bottom: 18px;
}

/* 横幅大标题 */
.banner-content h2 {
    font-size: 44px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    /* color: #1a1a1f; */
}

/* 横幅描述文字 */
.banner-content p {
    font-size: 16px;
    /* color: #333333; */
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

/* 横幅按钮组 */
.banner-btns {
    display: flex;
    gap: 16px;
}

/* 通用主按钮（金黄实底） */
.btn-primary {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--accent-color), #ffd45e);
    color: #7a4d00;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 184, 0, 0.4);
}

/* 通用幽灵按钮（白色描边） */
.btn-ghost {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-ghost:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* 轮播指示圆点 */
.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* 当前圆点高亮 */
.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* 左右切换箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.banner-arrow:hover {
    background: rgba(245, 184, 0, 0.8);
    border-color: var(--accent-color);
}

.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

/* ============================================================
   四、轮播图下方三栏图文卡
   深色背景，左侧大图 + 右侧标题描述，垂直堆叠
============================================================ */
.section-features {
    background: #1a1a1f;          /* 与截图一致的近黑色背景 */
    color: #ffffff;
    padding: 60px;
}

/* 单栏图文行：图片在左，文字在右顶部对齐（不垂直居中） */
.feature-row {
    display: flex;
    align-items: flex-start;       /* 顶部对齐，文字不需要上下居中 */
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* 最后一行去掉底部外边距 */
.feature-row:last-child {
    margin-bottom: 0;
}

/* 左侧图片区：约占 55% */
.feature-img {
    flex: 0 0 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-img img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-row:hover .feature-img img {
    transform: scale(1.03);
}

/* 右侧文字区：顶部对齐，左对齐不居中 */
.feature-text {
    flex: 1;
    padding-top: 10px;
}

.feature-text h3 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: #ffffff;
    text-align: left;
}

.feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-align: left;
}

/* ============================================================
   五、公司发展历程
   深蓝底色 + 白色标题 + 白色空状态卡片
============================================================ */
.section-history {
    background: #666666;           /* 与合作伙伴板块一致的灰色背景 */
    color: #ffffff;
}

.section-history .section-title {
    color: #ffffff;
}

.section-history .section-title::after {
    background: #ffffff;
}

.section-history .section-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* 空状态提示卡片（白色底、灰色字） */
.history-empty {
    max-width: 300px;
    margin: 0 auto;
    background: #ffffff;
    color: #888888;
    font-size: 15px;
    text-align: center;
    padding: 22px 28px;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 时间轴容器：垂直中线在左侧 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 40px;
}

/* 时间轴中轴线 */
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-light));
}

/* 每个时间节点 */
.timeline-item {
    position: relative;
    margin-bottom: 28px;
}

/* 轴线上的圆点 */
.timeline-dot {
    position: absolute;
    left: -36px;
    top: 22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.2);
}

/* 时间卡片 */
.timeline-card {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 26px rgba(11, 42, 107, 0.14);
}

/* 年份大字 */
.timeline-year {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* 事件标题 */
.timeline-card h3 {
    font-size: 17px;
    color: var(--primary-color);
    margin: 4px 0 6px;
}

/* 事件描述 */
.timeline-card p {
    font-size: 13px;
    color: var(--text-sub);
}

/* ============================================================
   五、核工业介绍（产业板块卡片）
============================================================ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 单张产业卡片 */
.industry-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 42, 107, 0.16);
}

/* 卡片图片区域 */
.industry-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-img img {
    transform: scale(1.06);        /* 悬停图片轻微放大 */
}

/* 图片上的产业阶段标签（上中下游） */
.industry-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(245, 184, 0, 0.92);
    color: #7a4d00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 卡片文字内容 */
.industry-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    padding: 18px 20px 6px;
}

.industry-card p {
    font-size: 13px;
    color: var(--text-sub);
    padding: 0 20px 22px;
    line-height: 1.7;
}

/* ============================================================
   六、新能源业务
============================================================ */
.section-energy {
    background: linear-gradient(180deg, #ffffff, #f4f6fb);
}

/* 新能源网格：4 列 */
.energy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 单个新能源业务项 */
.energy-item {
    background: #ffffff;
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.energy-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

/* 业务图标（圆形金色底） */
.energy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 184, 0, 0.12);
    border: 1px solid rgba(245, 184, 0, 0.4);
    color: var(--accent-color);
    font-size: 26px;
    margin-bottom: 16px;
}

.energy-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.energy-item p {
    font-size: 13px;
    color: var(--text-sub);
}

/* ============================================================
   七、贵金属交易
============================================================ */
.metal-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* 交易步骤列表 */
.metal-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* 单个步骤 */
.step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(6px);
}

/* 步骤序号大数字 */
.step-num {
    font-size: 30px;
    font-weight: 700;
    color: rgba(245, 184, 0, 0.9);
    font-style: italic;
    line-height: 1;
}

.step h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.step p {
    font-size: 13px;
    color: var(--text-sub);
}

/* 开户提示卡片（右侧） */
.metal-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius);
    padding: 46px 40px;
    text-align: center;
    color: #ffffff;
}

.metal-cta h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.metal-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 28px;
}

.metal-cta p strong {
    color: var(--accent-color);
    font-size: 18px;
}

/* ============================================================
   八、董事会
   深色外底 + 浅灰内容区，三层人员排布
============================================================ */
.section-board {
    background: #1a1a1f;                /* 截图深色外背景 */
    color: #ffffff;
}

/* 标题区：白色文字 */
.section-board .section-title {
    color: #ffffff;
}

.section-board .section-title::after {
    background: #ffffff;
}

.section-board .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

/* 浅灰色内容容器 */
.board-wrap {
    background: #e8e8e8;                /* 截图中的浅灰背景 */
    border-radius: var(--radius);
    padding: 50px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 每一行横向居中排列 */
.board-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.board-row:last-child {
    margin-bottom: 0;
}

/* 成员卡片 */
.board-card {
    text-align: center;
    color: #333333;
}

/* 董事长卡片可略大 */
.board-lead .board-portrait {
    width: 130px;
    height: 165px;
}

/* 人像占位区（蓝色渐变证件照风格）
   后续可将 .board-portrait 替换为 <img> 标签并放入真实照片 */
.board-portrait {
    width: 110px;
    height: 140px;
    margin: 0 auto 14px;
    border-radius: 4px;
    background: linear-gradient(180deg, #5ba3e8, #3d7fc4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.board-portrait span {
    font-size: 44px;
    font-weight: 500;
    color: #ffffff;
}

.board-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 6px;
}

.board-card p {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

/* ============================================================
   九、组织架构
   三张白色卡片：上方图片、标题、描述
============================================================ */
.section-org {
    background: #1a1a1f;            /* 与截图一致的深色背景 */
    color: #ffffff;
}

/* 标题下方装饰线改为白色 */
.section-org .section-title::after {
    background: #ffffff;
}

.section-org .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 架构卡片：白底，上方图片 */
.org-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.org-card:hover {
    transform: translateY(-6px);
}

/* 卡片上方图片 */
.org-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.org-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 20px 20px 8px;
    text-align: center;
}

.org-card p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.7;
    padding: 0 20px 22px;
    text-align: center;
}

/* ============================================================
   十、企业文化
   深色背景，三行左图右文
============================================================ */
.section-culture {
    background: #1a1a1f;            /* 深色背景 */
    color: #ffffff;
}

/* 企业文化标题区：灰色底块 + 核心价值文字 */
.culture-head {
    text-align: center;
    margin-bottom: 45px;
}

.culture-head .section-title {
    display: inline-block;
    padding: 6px 24px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 14px;
}

.culture-head .section-title::after {
    display: none;                  /* 去掉装饰线 */
}

.culture-head p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* 文化三行 */
.culture-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 单行：左图右文 */
.culture-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* 左侧图片 */
.culture-img {
    flex: 0 0 260px;
    height: 170px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.culture-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧文字 */
.culture-info {
    flex: 1;
}

.culture-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.culture-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.culture-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* 企业精神内的多段小标题 */
.culture-spirit {
    margin-bottom: 14px;
}

.culture-spirit:last-child {
    margin-bottom: 0;
}

.culture-spirit p {
    margin-bottom: 4px;
}

.culture-spirit strong {
    color: #ffffff;
    font-weight: 700;
}

/* ============================================================
   十一、合作伙伴
============================================================ */


/* ============================================================
   十一、合作伙伴
   深灰背景 + 白色文字公司名称 + 白色胶囊按钮
============================================================ */
.section-partners {
    background: #666666;                /* 截图中的深灰色背景 */
    color: #ffffff;
}

.section-partners .section-title {
    color: #ffffff;
}

.section-partners .section-title::after {
    background: #ffffff;
}

.section-partners .section-desc {
    color: rgba(255, 255, 255, 0.9);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 合作伙伴卡片 */
.partner-card {
    display: block;
    text-align: center;
    padding: 18px 16px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
}

/* 公司名称 */
.partner-name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 了解更多按钮（白色胶囊） */
.partner-btn {
    display: inline-block;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-btn:hover {
    background: #f5b800;
    color: #ffffff;
}

/* ============================================================
   十四、联系我们
============================================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 左侧联系信息 */
.contact-info {
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); */
    border-radius: var(--radius);
    padding: 40px 36px;
    color: #ffffff;
}

/* 单条信息 */
.info-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item:last-child {
    border-bottom: none;
}

/* 信息标签 */
.info-label {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 15px;
}

/* 右侧表单 */
.contact-form {
    /* background: #ffffff; */
    border-radius: var(--radius);
    /* padding: 36px; */
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 表单输入框统一样式 */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* background: var(--bg-light); */
}

/* 聚焦高亮 */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(18, 60, 140, 0.12);
}

.contact-form textarea {
    resize: vertical;             /* 允许纵向拉伸 */
}

.contact-form .btn-primary {
    align-self: flex-start;
    letter-spacing: 6px;
}

/* ============================================================
   十五、页脚
============================================================ */
.footer {
    background: #071c47;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 36px 20px 30px;
}

/* 页脚导航链接 */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 18px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 页脚"手机版"切换链接：金色边框胶囊 */
.footer-switch {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 2px 16px;
    color: #ffffff !important;
}

.footer-switch:hover {
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
}

/* 版权文字 */
.footer-copy {
    font-size: 13px;
    line-height: 1.9;
}

/* ============================================================
   十六、响应式适配（小屏幕时侧边栏收起为顶部栏）
============================================================ */
@media (max-width: 1024px) {
    /* 中屏：内容内边距收窄 */
    .section {
        padding: 50px 30px;
    }

    .energy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 董事会：中屏缩小间距 */
    .board-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* 小屏：侧边栏改为顶部横向栏 */
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .sidebar-logo {
        border-bottom: none;
        padding: 0;
    }

    .sidebar-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 0 0;
    }

    .sidebar-nav ul {
        display: flex;
        gap: 4px;
    }

    .nav-item a {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .sidebar-footer {
        display: none;             /* 小屏隐藏底部区域 */
    }

    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }

    .section {
        padding: 40px 20px;
    }

    .industry-grid,
    .org-grid,
    .sustain-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .metal-wrap,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-content h2 {
        font-size: 30px;
    }

    .innovation-left {
        width: 100%;
        margin-bottom: 24px;
    }

    .innovation-right {
        width: 100%;
        padding-left: 0;
    }

    .culture-content {
        padding: 40px 20px;
    }

    /* 合作伙伴：小屏单列 */
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-name {
        font-size: 16px;
        margin-bottom: 14px;
    }

    /* 董事会：小屏每行换行 */
    .board-row {
        flex-wrap: wrap;
        gap: 28px 24px;
        margin-bottom: 28px;
    }

    .board-portrait,
    .board-lead .board-portrait {
        width: 90px;
        height: 115px;
    }

    .board-portrait span {
        font-size: 34px;
    }

    .board-wrap {
        padding: 30px 20px;
    }
}

/* ============================================================
   20. 滚动渐入动画（下滑时元素平滑浮现）
   - 元素进入视口后由透明+上移变为正常显示
   - reveal 类由 js/main.js 动态添加，避免无 JS 时内容不可见
============================================================ */
.reveal {
    opacity: 0;
}

.reveal.reveal-visible {
    animation: revealUp 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 用户系统开启"减弱动态效果"时禁用滚动动画 */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
    }

    .reveal.reveal-visible {
        animation: none;
    }
}

/* ============================================================
   21. 首页公告弹窗（仿新能源页轮播图样式：左文右图）
============================================================ */
.hp-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;                /* 高于链接提示弹窗(9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 20, 46, 0.62);
    backdrop-filter: blur(3px);
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hp-mask.hp-show {
    opacity: 1;
}

.hp-card {
    position: relative;
    width: min(880px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: scale(0.92) translateY(18px);
    transition: transform 0.35s ease;
}
.hp-mask.hp-show .hp-card {
    transform: scale(1) translateY(0);
}

/* 关闭按钮 */
.hp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(11, 42, 107, 0.08);
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.hp-close:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(90deg);
}

/* 轮播容器：slide 全部叠放，高度固定 */
.hp-slider {
    position: relative;
    min-height: 400px;
}

/* 每张 slide：仿 ne-hero-slide 左右两栏布局 */
.hp-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    padding: 46px 48px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.hp-slide.active {
    opacity: 1;
    visibility: visible;
}

/* 左：文字区 */
.hp-text .hp-tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 3px;
    color: #8a6a00;
    background: rgba(245, 184, 0, 0.12);
    margin-bottom: 16px;
}
.hp-text h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 12px;
}
.hp-text p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 26px;
}

/* 「了解更多」按钮：仿 ne-hero-btn 金色胶囊 */
.hp-btn {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--accent-color), #ffd45e);
    color: #7a4d00;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 184, 0, 0.35);
}

/* 右：图片区（仿 ne-hero-img 圆角 + 阴影） */
.hp-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(11, 42, 107, 0.15);
}

/* 左右切换箭头 */
.hp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(11, 42, 107, 0.18);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.hp-arrow:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}
.hp-prev {
    left: 14px;
}
.hp-next {
    right: 14px;
}

/* 轮播指示圆点 */
.hp-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    z-index: 8;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(11, 42, 107, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hp-dot.active,
.hp-dot:hover {
    background: var(--accent-color);
    transform: scale(1.25);
}

/* ============================================================
   22. 董事会板块折叠展开（默认折叠，点击标题展开）
============================================================ */
.board-accordion {
    max-width: 1100px;
    margin: 0 auto;
}

.board-accordion .board-summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.board-summary::-webkit-details-marker {
    display: none;
}

.board-toggle {
    position: relative;
    display: inline-block;
    margin-top: 18px;
    padding: 10px 42px 10px 26px;
    border: 1px solid #f5b800;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 184, 0, 0.22) 0%, rgba(255, 212, 94, 0.10) 100%);
    color: #ffd45e;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    box-shadow: 0 4px 18px rgba(245, 184, 0, 0.18);
    transition: all 0.35s ease;
}

/* 折叠状态：向下箭头 */
.board-toggle::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffd45e;
    border-bottom: 2px solid #ffd45e;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

/* 展开状态：箭头旋转朝上 */
.board-accordion[open] .board-toggle::after {
    transform: translateY(-35%) rotate(-135deg);
}

.board-summary:hover .board-toggle {
    background: linear-gradient(135deg, #f5b800 0%, #ffd45e 100%);
    border-color: #f5b800;
    color: #7a4d00;
    box-shadow: 0 8px 26px rgba(245, 184, 0, 0.45);
    transform: translateY(-2px);
}

.board-summary:hover .board-toggle::after {
    border-color: #7a4d00;
}

.board-body {
    background: #e8e8e8;
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 18px;
}

.board-body img {
    width: 100%;
    display: block;
    border-radius: 6px;
}
