/* ============================================
   地区分布 & Hero 升级样式
   regions.css — 华品金属官网
   ============================================ */

/* ===== Hero 全屏大气升级 ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero .slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 渐变遮罩层（更深更有层次感） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 20, 40, 0.75) 0%,
        rgba(196, 18, 48, 0.20) 60%,
        rgba(10, 20, 40, 0.50) 100%
    );
}

/* Hero 内容区 */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 0;
}

/* 徽章标签 */
.hero-badge {
    display: inline-block;
    background: rgba(196, 18, 48, 0.85);
    color: #fff;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* 主标题更大 */
.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* 首屏数据条 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 20px 0 28px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    padding: 14px 22px;
    width: fit-content;
}

.hs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.hn {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hl {
    font-size: 12px;
    color: rgba(255,255,255,0.80);
    margin-top: 4px;
    white-space: nowrap;
}

.hs-div {
    color: rgba(255,255,255,0.30);
    font-size: 1.4rem;
    user-select: none;
}

/* 向下滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    z-index: 5;
    animation: bounceDown 2s infinite;
}

.scroll-arrow {
    font-size: 20px;
    margin-top: 4px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== 关于我们升级 ===== */
.about-tag {
    display: inline-block;
    background: #c41230;
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 2px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.brand-relation {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 14px 18px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #c41230;
}

.br-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.br-item.highlight {
    background: #c41230;
    color: #fff;
}

.br-item.highlight strong,
.br-item.highlight p {
    color: #fff;
}

.br-item strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.br-item p {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0;
}

.br-icon {
    font-size: 22px;
}

.br-arrow {
    font-size: 22px;
    color: #c41230;
    font-weight: bold;
}

/* 视频下方优势标签 */
.advantage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.adv-tag {
    background: #fff5f7;
    border: 1px solid #f0c0cc;
    color: #c41230;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== 地区分布 Section ===== */
.regions {
    background: #f4f6fa;
}

.section-desc {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-top: 6px;
}

/* 大区筛选标签 */
.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.rtab {
    padding: 8px 22px;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #555;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.rtab:hover {
    border-color: #c41230;
    color: #c41230;
}

.rtab.active {
    background: #c41230;
    border-color: #c41230;
    color: #fff;
    font-weight: 600;
}

/* 省份卡片网格 */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 48px;
}

.region-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .25s, box-shadow .25s;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 省份卡片头部（按大区着色） */
.rc-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc-header.north     { background: linear-gradient(90deg, #1a5fa8, #2d7ecf); }
.rc-header.east      { background: linear-gradient(90deg, #0e8a4a, #18b567); }
.rc-header.south     { background: linear-gradient(90deg, #c41230, #e84060); }
.rc-header.central   { background: linear-gradient(90deg, #8b3a00, #c45500); }
.rc-header.northeast { background: linear-gradient(90deg, #4a4a8a, #6464c8); }
.rc-header.northwest { background: linear-gradient(90deg, #7a5500, #c48a00); }
.rc-header.southwest { background: linear-gradient(90deg, #0e7a7a, #18b5b5); }

.rc-area {
    background: rgba(255,255,255,0.20);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

.rc-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.rc-header h4 a {
    color: #fff;
    text-decoration: none;
}

.rc-header h4 a:hover {
    text-decoration: underline;
}

/* 城市链接 */
.rc-cities {
    padding: 12px 14px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rc-cities a {
    font-size: 13px;
    color: #555;
    background: #f4f6fa;
    padding: 3px 10px;
    border-radius: 14px;
    text-decoration: none;
    transition: all .18s;
    border: 1px solid transparent;
}

.rc-cities a:hover {
    background: #fff0f3;
    color: #c41230;
    border-color: #f0c0cc;
}

.rc-cities a.more {
    color: #c41230;
    font-weight: 600;
    background: transparent;
    border: none;
    padding: 3px 6px;
}

.rc-cities a.more:hover {
    text-decoration: underline;
    background: transparent;
}

/* 底部统计 & CTA */
.region-cta {
    background: linear-gradient(135deg, #1a2240 0%, #c41230 100%);
    border-radius: 14px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.region-stat {
    text-align: center;
    color: #fff;
}

.rs-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.rs-label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
    display: block;
}

.region-contact {
    text-align: center;
    color: #fff;
}

.region-contact p {
    margin-bottom: 12px;
    font-size: 15px;
    opacity: 0.90;
}

.region-contact .btn-primary {
    background: #fff;
    color: #c41230;
    border-color: #fff;
    font-weight: 700;
}

.region-contact .btn-primary:hover {
    background: #f8e0e5;
}

/* fadeIn 动画（用于切换大区） */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero-stats {
        gap: 0;
        padding: 10px 12px;
    }
    .hs { padding: 0 12px; }
    .hn { font-size: 1.4rem; }
    .region-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        display: none; /* 手机上隐藏数据条，节省空间 */
    }
    .slide-content h1 {
        font-size: 1.7rem;
    }
    .region-grid {
        grid-template-columns: 1fr;
    }
    .brand-relation {
        flex-direction: column;
        align-items: flex-start;
    }
    .br-arrow {
        transform: rotate(90deg);
    }
}
