/* ════════════════════════════════════
   品牌素材库（/brand/）
   复用 style.css 的 .page-hero / .section-label
   全站规范：0 圆角 / 图标无背景 / 卡片无上浮
   ════════════════════════════════════ */

.br-section {
    padding: 80px 0;
}

/* ─── ① 主品牌标识 ─── */
.br-logo-card {
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 28px;
    text-align: center;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.br-logo-card:hover {
    box-shadow: 0 12px 32px rgba(22, 93, 255, 0.08);
    border-color: #c8d8ff;
}

.br-logo-show {
    background: #f8fafc;
    border: 1px solid #eef1f6;
    padding: 40px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.br-logo-show img {
    max-width: 100%;
    max-height: 96px;
    height: auto;
    object-fit: contain;
}

.br-logo-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.br-logo-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 18px;
}

/* ─── ② 子品牌标识 ─── */
.br-sub-card {
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.br-sub-card:hover {
    box-shadow: 0 12px 32px rgba(22, 93, 255, 0.08);
    border-color: #c8d8ff;
}

.br-sub-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eef1f6;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-sub-logo img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.br-sub-card h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.br-sub-meta {
    font-size: 12px;
    color: #9ca3af;
    display: block;
    margin-bottom: 12px;
}

.br-sub-dl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #165DFF;
    text-decoration: none;
    padding: 6px 16px;
    background: rgba(22, 93, 255, 0.08);
    border: 1px solid rgba(22, 93, 255, 0.15);
    transition: background 0.2s, color 0.2s;
}

.br-sub-dl:hover {
    background: #165DFF;
    color: #fff;
}

/* ─── ③ 品牌色彩 ─── */
.br-color-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.br-color-main {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e8edf5;
    padding: 20px;
}

.br-color-swatch {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.br-color-info strong {
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}

.br-color-info span {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    display: block;
    margin-bottom: 6px;
}

.br-color-info p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

.br-color-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.br-color-item .br-color-swatch {
    width: 100%;
    height: 72px;
}

.br-color-item {
    border: 1px solid #e8edf5;
    overflow: hidden;
    text-align: center;
}

.br-color-label {
    padding: 12px 6px;
}

.br-color-label strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.br-color-label span {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    display: block;
    margin-bottom: 4px;
}

.br-color-label em {
    font-size: 11px;
    font-style: normal;
    color: #9ca3af;
}

.br-gradient-bar {
    margin-top: 16px;
    background: linear-gradient(120deg, #165DFF 0%, #8B5CF6 100%);
    padding: 16px 24px;
    text-align: center;
}

.br-gradient-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ─── ④ 品牌口号 ─── */
.br-slogan {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c3aad 0%, #165DFF 50%, #0E46D9 100%);
    position: relative;
    overflow: hidden;
}

.br-slogan-text {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #dbe7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.br-slogan-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── ⑤ 使用规范 ─── */
.br-rule-card {
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 26px;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.br-rule-card:hover {
    box-shadow: 0 12px 32px rgba(22, 93, 255, 0.08);
    border-color: #c8d8ff;
}

/* 图标使用全站统一样式：方形 flex 容器 + 大字号 + 无背景色块 */
.br-rule-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #165DFF;
    margin-bottom: 16px;
}

.br-rule-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.br-rule-card p {
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 0;
}

/* ─── ⑥ 品牌素材下载 ─── */
.br-download {
    padding: 80px 0;
    background: #fff;
}

.br-dl-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid #e8edf5;
    padding: 28px 32px;
    background: #f8fafc;
}

.br-dl-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

/* 图标无背景：仅保留图标本身 */
.br-dl-icon {
    font-size: 34px;
    color: #165DFF;
    line-height: 1;
    flex-shrink: 0;
}

.br-dl-banner h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.br-dl-banner p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

/* ─── 响应式（对齐全站 section 间隔） ─── */
@media (max-width: 992px) {
    .br-section {
        padding: 60px 0;
    }
    .br-color-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .br-slogan {
        padding: 60px 0;
    }
    .br-download {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .br-section {
        padding: 48px 0;
    }
    .br-color-row {
        grid-template-columns: 1fr;
    }
    .br-slogan {
        padding: 48px 0;
    }
    .br-slogan-text {
        font-size: 26px;
    }
    .br-download {
        padding: 48px 0;
    }
}

@media (max-width: 576px) {
    .br-color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .br-logo-show {
        padding: 24px 12px;
        min-height: 110px;
    }
    .br-dl-banner {
        justify-content: center;
        text-align: center;
    }
    .br-dl-left {
        flex-direction: column;
    }
}
