/* ============================================================
   澄见美妆：全局 CSS 变量体系（8px 基准间距 + 品牌色 + 圆角 + 阴影）
   ============================================================ */
:root {
    /* ── 间距体系（8px 基准） ── */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
    /* ── 品牌色 ── */
    --brand-primary: #e1251b;
    --brand-dark: #be185d;
    --brand-light: #fde4e4;
    --brand-gradient: linear-gradient(135deg, #e1251b, #be185d);
    /* ── 圆角 ── */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    /* ── 柔和阴影（美妆品牌调性） ── */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 20px rgba(225,37,27,0.06), 0 2px 6px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 32px rgba(225,37,27,0.10), 0 4px 12px rgba(0,0,0,0.05);
    /* ── 行高 ── */
    --line-height-body: 1.7;
    --line-height-heading: 1.3;
}

/* ============================================================
   澄见美妆：基础全局样式（重置 + 导航 + 容器 + 按钮 + 表单 + 页脚）
   ============================================================ */

/* ========== 1. 基础重置 ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
html, body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: var(--line-height-body); /* 统一行高 1.7 */
    color: #374151;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: var(--line-height-heading); color: #1f2937; }
hr { border: none; border-top: 1px solid #e5e7eb; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; }

/* ========== 2. 容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md); /* 统一使用间距变量 */
    width: 100%;
}
main {
    flex: 1 0 auto;
    width: 100%;
}
/* section 区块间距：桌面端 56px，确保模块间充足留白 */
.section { padding: 56px 0; }
.section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.section-header h2 { font-size: 28px; color: #1f2937; margin-bottom: var(--spacing-sm); }
.section-header p { color: #6b7280; font-size: 15px; line-height: var(--line-height-body); }

/* ========== 3. 顶部导航栏 ========== */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    flex-wrap: nowrap;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #e1251b;
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { color: #be185d; }
.logo img { max-height: 44px; width: auto; object-fit: contain; }
.logo-name { white-space: nowrap; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #374151;
    padding: 4px 8px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { list-style: none; flex-shrink: 0; }
.nav-list a {
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
    position: relative;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.nav-list a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: #e1251b;
    transform: scaleX(0);
    transition: transform 0.25s;
}
.nav-list a:hover { color: #e1251b; }
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: #e1251b; }
.nav-user-item { list-style: none; }
.nav-user-menu { position: relative; }
.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f9fafb;
    transition: all 0.2s;
}
.nav-user-btn:hover { background: #fff5f5; color: #e1251b; }
.nav-user-avatar-img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.nav-user-avatar-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #e1251b, #be185d);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
}
.nav-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 160px;
    display: none;
    z-index: 200;
}
.nav-user-menu:hover .nav-user-dropdown,
.nav-user-menu:focus-within .nav-user-dropdown { display: block; }
.nav-user-drop-name {
    padding: 8px 16px;
    font-size: 13px;
    color: #9ca3af;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 4px;
}
.nav-user-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.nav-user-dropdown a:hover { background: #fff5f5; color: #e1251b; }
.nav-login-btn {
    display: inline-block;
    padding: 7px 22px;
    background: linear-gradient(135deg, #e1251b, #be185d);
    color: #fff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.nav-login-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(225,37,27,0.3); color: #fff; }

/* ========== 4. 搜索框 ========== */
.search-wrapper {
    padding: 10px 0 14px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}
.search-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.search-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 10px 48px 10px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #374151;
    transition: all 0.2s;
}
.search-input:focus {
    border-color: #e1251b;
    box-shadow: 0 0 0 4px rgba(225,37,27,0.08);
}
.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    background: linear-gradient(135deg, #e1251b, #be185d);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s;
}
.search-btn:hover { transform: scale(1.05); }

/* ========== 5. 按钮 ========== */
.btn {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}
.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(225,37,27,0.2);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(225,37,27,0.3);
    color: #fff;
}
.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.btn-secondary:hover { background: #e5e7eb; color: #1f2937; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: var(--radius-sm); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ========== 6. 表单元素 ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #374151;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
    border-color: #e1251b;
    box-shadow: 0 0 0 4px rgba(225,37,27,0.08);
}
textarea { resize: vertical; min-height: 100px; line-height: var(--line-height-body); }
label { display: block; font-size: 14px; color: #374151; margin-bottom: 6px; font-weight: 500; }
.required { color: #ef4444; margin-left: 2px; }
.form-hint { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.error { color: #ef4444; font-size: 13px; margin-top: 4px; }

/* ========== 7. 页脚 ========== */
.footer {
    background: #fff;
    border-top: 1px solid #f3f4f6;
    padding: 40px 0 20px;
    margin-top: 60px;
    color: #6b7280;
    font-size: 14px;
    flex-shrink: 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h4 {
    color: #e1251b;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}
.footer-section p,
.footer-section li {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.7;
}
.footer-section a { color: #6b7280; }
.footer-section a:hover { color: #e1251b; }
.footer-legal {
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}
.footer-legal a { color: #9ca3af; margin: 0 6px; }
.footer-legal a:hover { color: #e1251b; }
.footer-bottom {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}
.fb-item { margin: 0 12px; display: inline-block; }
.fb-item a { color: #9ca3af; }
.fb-item a:hover { color: #e1251b; }

/* ========== 8. 通用工具类 ========== */
.text-center { text-align: center; }
.text-muted { color: #9ca3af; }
.text-primary { color: #e1251b; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.p-2 { padding: 16px; } .p-3 { padding: 24px; }
.card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
}

/* ========== 9. 移动端适配（断点 1024px：11 项菜单项需要 ~1050px 水平空间） ========== */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }
    .nav { padding: 12px 0; flex-wrap: wrap; }
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 12px;
        border-top: 1px solid #f3f4f6;
        padding-top: 8px;
        overflow-x: visible;
    }
    .nav-list.active { display: flex; }
    .nav-list li { width: 100%; flex-shrink: 1; }
    .nav-list a { display: block; padding: 12px 0; white-space: normal; }
    .search-input { padding: 8px 44px 8px 14px; font-size: 13px; }
    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .section { padding: 36px 0; } /* 移动端 section 间距缩减为桌面端 ~65% */
    .section-header h2 { font-size: 22px; }
}

/* ============================================================
   化妆品品牌：CSS 设计系统扩展 - 统一
   page-header / section-header / dealers / search / shop
   product / custom / announcement / services
   装饰元素 / 按钮 / 阴影 / 玫瑰红主题色
   主题色：主 #e1251b、深 #be185d、浅 #fde4e4
   ============================================================ */

/* ========== 1. 统一 page-header（玫瑰红渐变 + 光影装饰） ========== */
.c-page-header {
    position: relative;
    background: linear-gradient(135deg, #e1251b 0%, #c2185b 50%, #be185d 100%);
    color: #fff;
    padding: 60px 20px 100px; /* Hero区与下方内容过渡空间 100px */
    text-align: center;
    overflow: hidden;
    z-index: 0;
}
.c-page-header::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: cFloatOrb 14s ease-in-out infinite alternate;
    z-index: 0;
}
.c-page-header::after {
    content: '';
    position: absolute;
    bottom: -140px; left: -140px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(253,228,228,0.18) 0%, rgba(253,228,228,0) 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: cFloatOrb 18s ease-in-out infinite alternate-reverse;
    z-index: 0;
}
.c-page-header h1,
.c-page-header h2 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 32px;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.c-page-header p {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    margin: 0;
}
.c-page-header .c-page-breadcrumb {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-top: 14px;
}
.c-page-header .c-page-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.c-page-header .c-page-breadcrumb a:hover { color: #fff; }
@keyframes cFloatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ========== 2. 通用 section-header ========== */
.c-section-header {
    text-align: center;
    margin: 24px 0 36px;
}
.c-section-header h2 {
    font-size: 26px;
    color: #1f2937;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
}
.c-section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #e1251b, #be185d);
    border-radius: 2px;
}
.c-section-header p {
    color: #6b7280;
    font-size: 15px;
    margin: 6px 0 0;
}

/* ========== 3. 通用装饰胶囊按钮 ========== */
.c-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fde4e4, #fce7f3);
    color: #e1251b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.c-pill.c-pill-solid {
    background: linear-gradient(135deg, #e1251b, #be185d);
    color: #fff;
}

/* ========== 4. 通用卡片 ========== */
.c-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md); /* 卡片内边距 24px */
    box-shadow: var(--shadow-md);
    border: 1px solid #f3f4f6;
    transition: transform 0.25s, box-shadow 0.25s;
}
.c-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ========== 5. 经销商 dealers 模块 ========== */
.c-dealers-hero {
    position: relative;
    background: linear-gradient(135deg, #e1251b 0%, #c2185b 50%, #be185d 100%);
    color: #fff;
    padding: 64px 20px 100px; /* Hero底部留足过渡空间 */
    text-align: center;
    overflow: hidden;
}
.c-dealers-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 200px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
.c-dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md); /* 卡片间距 24px */
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.c-dealer-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md); /* 卡片内边距 24px */
    text-align: center;
    box-shadow: 0 10px 30px rgba(225,37,27,0.10);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #fff5f5;
}
.c-dealer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(225,37,27,0.18);
}
.c-dealer-card .c-dealer-avatar {
    width: 80px; height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde4e4, #fce7f3);
    color: #e1251b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}
.c-dealer-card .c-dealer-name { font-size: 18px; font-weight: 700; color: #1f2937; margin: 8px 0 4px; }
.c-dealer-card .c-dealer-region { color: #6b7280; font-size: 13px; }
.c-dealer-card .c-dealer-tags { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.c-dealer-card .c-dealer-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #fff5f5;
    color: #e1251b;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #fde4e4;
}

/* ========== 6. 搜索结果 search-results ========== */
.c-search-results {
    max-width: 760px;
    margin: 24px auto;
}
.c-search-result-item {
    background: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f3f4f6;
    transition: all 0.2s;
}
.c-search-result-item:hover {
    box-shadow: 0 8px 24px rgba(225,37,27,0.10);
    border-color: #fde4e4;
    transform: translateX(2px);
}
.c-search-result-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #1f2937;
}
.c-search-result-item h3 a { color: #1f2937; text-decoration: none; }
.c-search-result-item h3 a:hover { color: #e1251b; }
.c-search-result-item p { color: #6b7280; font-size: 14px; margin: 0; line-height: 1.6; }

/* ========== 7. 商品 shop / product 模块 ========== */
.c-shop-hero {
    position: relative;
    background: linear-gradient(135deg, #fde4e4 0%, #fce7f3 100%);
    padding: 64px 20px 88px; /* Hero区底部留足过渡空间 */
    text-align: center;
    overflow: hidden;
}
.c-shop-hero h1 {
    font-size: 32px;
    color: #1f2937;
    margin: 0 0 12px;
    position: relative;
    z-index: 2;
}
.c-shop-hero p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 2;
}
.c-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md); /* 商品卡片间距 24px */
    margin-top: var(--spacing-md);
}
.c-product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid #f3f4f6;
    transition: all 0.25s;
}
.c-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(225,37,27,0.12);
}
.c-product-card .c-product-cover {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
}
.c-product-card .c-product-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.c-product-card:hover .c-product-cover img { transform: scale(1.05); }
.c-product-card .c-product-body { padding: var(--spacing-sm) var(--spacing-md); /* 商品卡片内容区 padding 16px 24px */ }
.c-product-card .c-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px;
}
.c-product-card .c-product-price { color: var(--brand-primary); font-weight: 700; font-size: 18px; }
.c-product-card .c-product-meta { color: #9ca3af; font-size: 12px; margin-top: 4px; }

/* ========== 8. 定制 custom 模块 ========== */
.c-custom-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    margin-bottom: var(--spacing-md);
    transition: all 0.25s;
}
.c-custom-card:hover {
    border-color: #fde4e4;
    box-shadow: 0 12px 32px rgba(225,37,27,0.10);
}
.c-custom-card h3 { font-size: 18px; color: #1f2937; margin: 0 0 8px; }
.c-custom-card p { color: #6b7280; font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.c-custom-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.c-custom-card ul li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: #374151;
    font-size: 14px;
}
.c-custom-card ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #e1251b;
}

/* ========== 9. 公告 / 新闻 announcement 模块 ========== */
.c-announcement-card,
.c-news-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--spacing-md); /* 卡片内边距 24px */
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    transition: all 0.2s;
}
.c-announcement-card:hover,
.c-news-card:hover {
    border-color: #fde4e4;
    box-shadow: 0 10px 28px rgba(225,37,27,0.10);
    transform: translateX(2px);
}
.c-announcement-card h3,
.c-news-card h3 { font-size: 16px; color: #1f2937; margin: 0 0 6px; }
.c-announcement-card h3 a,
.c-news-card h3 a { color: inherit; text-decoration: none; }
.c-announcement-card h3 a:hover,
.c-news-card h3 a:hover { color: #e1251b; }
.c-announcement-card .c-meta,
.c-news-card .c-meta { color: #9ca3af; font-size: 12px; margin-bottom: 6px; }
.c-announcement-card p,
.c-news-card p { color: #6b7280; font-size: 14px; line-height: var(--line-height-body); margin: 6px 0 0; }

/* ========== 10. 服务 / 服务质量 services 模块 ========== */
.c-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md); /* 服务卡片间距 24px */
    margin-top: var(--spacing-md);
}
.c-service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    transition: all 0.25s;
}
.c-service-card:hover {
    transform: translateY(-4px);
    border-color: #fde4e4;
    box-shadow: 0 12px 32px rgba(225,37,27,0.10);
}
.c-service-card .c-service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fde4e4, #fce7f3);
    color: #e1251b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
}
.c-service-card h3 { font-size: 16px; color: #1f2937; margin: 6px 0; }
.c-service-card p { color: #6b7280; font-size: 14px; line-height: var(--line-height-body); margin: 0; }

/* ========== 11. 通用 hero 渐变带 ========== */
.c-hero {
    position: relative;
    padding: 64px 20px 88px; /* Hero区底部留足过渡空间 */
    text-align: center;
    color: #fff;
    background: var(--brand-gradient);
    overflow: hidden;
}
.c-hero h1 { color: #fff; font-size: 32px; margin: 0 0 10px; }
.c-hero p { color: rgba(255,255,255,0.92); font-size: 15px; margin: 0; }
.c-hero .c-hero-breadcrumb {
    margin-top: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
.c-hero .c-hero-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.c-hero .c-hero-breadcrumb a:hover { color: #fff; }

/* ========== 12. 通用卡片网格 ========== */
.c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md); /* 通用网格间距 24px */
}

/* ========== 13. 通用按钮变体 ========== */
.btn-c-primary {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    background: var(--brand-gradient);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(225,37,27,0.2);
}
.btn-c-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(225,37,27,0.3);
    color: #fff !important;
}
.btn-c-outline {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-c-outline:hover { background: #fff5f5; color: var(--brand-dark); }

/* ========== 14. 通用 文字辅助类 ========== */
.c-text-muted { color: #9ca3af; }
.c-text-primary { color: #e1251b; }
.c-text-center { text-align: center; }
.c-mt-1 { margin-top: 8px; } .c-mt-2 { margin-top: 16px; } .c-mt-3 { margin-top: 24px; } .c-mt-4 { margin-top: 32px; }
.c-mb-1 { margin-bottom: 8px; } .c-mb-2 { margin-bottom: 16px; } .c-mb-3 { margin-bottom: 24px; } .c-mb-4 { margin-bottom: 32px; }

/* ========== 15. 空状态 ========== */
.c-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}
.c-empty .c-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}
.c-empty p { font-size: 14px; margin: 0; }

/* ============================================================
   首页内容块样式（hp-hero / hp-video / hp-poster / hp-cta）
   媒体资源尺寸规范：
     - Hero 图片：PC端 1920×700，移动端 750×360（<picture> 加载）
     - 视频：统一 16:9，PC端 600px 高度，移动端自适应
   ============================================================ */

/* ========== Hero 轮播大图 ========== */
.hp-hero {
    position: relative;
    width: 100%;
    height: 700px; /* PC端固定高度 700px */
    overflow: hidden;
}
.hp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}
.hp-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
/* <picture> 元素铺满容器 */
.hp-hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 铺满容器，裁剪多余部分 */
    display: block;
}
/* Hero 渐变叠加层（提升文字可读性） */
.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.05) 40%,
        rgba(0,0,0,0.35) 100%
    );
    z-index: 1;
}
/* Hero 内容区 */
.hp-hero-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    color: #fff;
}
.hp-hero-subtitle {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    color: #fff;
}
.hp-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: 4px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.3);
}
.hp-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    margin: 0 auto 24px;
    max-width: 600px;
    line-height: 1.7;
}
/* Hero 按钮 */
.hp-btn {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}
.hp-btn-light {
    background: #fff;
    color: #e1251b;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hp-btn-light:hover {
    background: #fde4e4;
    color: #be185d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
/* 轮播箭头与指示点 */
.hp-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.hp-slider-arrow:hover {
    background: rgba(255,255,255,0.35);
}
.hp-prev { left: 20px; }
.hp-next { right: 20px; }
.hp-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.hp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    padding: 0;
}
.hp-dot.is-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* ========== 视频区 ========== */
.hp-video-section {
    padding: 56px 0; /* section 间距 56px */
    background: #fff;
}
.hp-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* 视频播放器容器：PC端固定 600px，移动端按 16:9 自适应 */
.hp-video-player {
    width: 100%;
    height: 600px; /* PC端固定高度 */
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.hp-video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 视频自适应容器尺寸 */
    display: block;
}
.hp-video-info {
    text-align: center;
    margin-top: var(--spacing-md);
}
.hp-video-title {
    font-size: 24px;
    color: #1f2937;
    margin: 0 0 8px;
}
.hp-video-desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: var(--line-height-body);
}

/* ========== 海报/产品大图宣传 ========== */
.hp-poster-section {
    padding: 56px 0;
    background: #fafafa;
}
.hp-poster-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md); /* 海报卡片间距 24px */
}
.hp-poster-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 4 / 5; /* 竖版海报 4:5 */
    transition: transform 0.3s, box-shadow 0.3s;
}
.hp-poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(225,37,27,0.15);
}
.hp-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.hp-poster-card:hover .hp-poster-img { transform: scale(1.05); }
.hp-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    transition: background 0.3s;
}
.hp-poster-card:hover .hp-poster-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.hp-poster-inner { color: #fff; }
.hp-poster-subtitle {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(225,37,27,0.8);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.hp-poster-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hp-poster-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 8px;
    line-height: 1.6;
}
.hp-poster-link {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/* ========== CTA 号召区 ========== */
.hp-cta-section {
    position: relative;
    padding: 80px 24px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hp-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(225,37,27,0.75) 0%, rgba(190,24,93,0.8) 100%);
}
.hp-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.hp-cta-subtitle {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hp-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: 2px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.2);
}
.hp-cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 28px;
    line-height: var(--line-height-body);
}

/* ========== 首页内容块 - 移动端响应式 ========== */
@media (max-width: 1024px) {
    .hp-hero { height: 500px; } /* 平板端 Hero 高度缩减 */
    .hp-hero-title { font-size: 32px; letter-spacing: 2px; }
    .hp-hero-subtitle { font-size: 12px; }
    .hp-video-player { height: 450px; } /* 平板端视频高度缩减 */
    .hp-poster-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 768px) {
    /* Hero 移动端：高度按图片比例自适应，不使用固定高度 */
    .hp-hero {
        height: auto;
        min-height: 280px;
        aspect-ratio: 750 / 360; /* 2.08:1 与移动端缩略图比例一致 */
    }
    .hp-hero-title { font-size: 24px; letter-spacing: 1px; }
    .hp-hero-subtitle { font-size: 11px; letter-spacing: 2px; padding: 5px 14px; }
    .hp-hero-desc { font-size: 14px; }
    .hp-hero-content { bottom: 10%; padding: 0 16px; }
    .hp-btn { padding: 10px 24px; font-size: 13px; }
    .hp-slider-arrow { width: 36px; height: 36px; font-size: 22px; }
    .hp-prev { left: 10px; }
    .hp-next { right: 10px; }
    /* 视频移动端：按 16:9 自适应 */
    .hp-video-section { padding: 36px 0; }
    .hp-video-player {
        height: auto;
        aspect-ratio: 16 / 9; /* 移动端视频按 16:9 自适应 */
        border-radius: var(--radius-sm);
    }
    .hp-video-title { font-size: 20px; }
    .hp-video-desc { font-size: 14px; }
    /* 海报移动端 */
    .hp-poster-section { padding: 36px 0; }
    .hp-poster-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-sm);
    }
    .hp-poster-title { font-size: 16px; }
    /* CTA 移动端 */
    .hp-cta-section { padding: 56px 16px; }
    .hp-cta-title { font-size: 24px; }
    .hp-cta-desc { font-size: 14px; }
}

