/* ===== 幻灯片（纯图片全屏，无多余样式） ===== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 920px;
    overflow: hidden;
}
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slider-slide.active {
    opacity: 1;
}
/* 幻灯片与内容区域的区分——底部阴影 */
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.10), transparent);
    z-index: 5;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(0,0,0,0.3);
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.slider-dot.active {
    background: #fff;
    border-color: rgba(0,0,0,0.5);
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
    font-size: 40px;
    font-weight: 100;
    user-select: none;
    line-height: 1;
    padding: 0 0 4px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.slider-arrow:hover { background: rgba(0,0,0,0.4); border-color: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.4); }
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* ===== 品牌介绍 — 按原型：左文字 + 右侧年份徽章 ===== */
.brand-section { padding: 50px 0; background: #fff; }

.brand-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.brand-text {
    flex: 1;
    margin-top: 5px;
}

.brand-slogan {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.brand-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
}

.brand-text p {
    font-size: 0.8333vw;
    color: rgb(51, 51, 51);
    line-height: 32px;
    text-align: justify;
    margin-top: 40px;
    margin-bottom: 0;
}

.brand-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.833vw;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-top: 80px;
    cursor: pointer;
    transition: all 0.3s;
}
.brand-more:hover {
    color: #2e7d32;
}
.brand-more::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #333;
    transition: all 0.3s;
}
.brand-more:hover::after {
    width: 36px;
    background: #2e7d32;
}

.brand-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 500px;
    max-width: 500px;
    flex-shrink: 0;
    padding-top: 0px;
}

.brand-badge-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 品牌介绍右侧多图轮播 —— 完全仿首页Banner幻灯片（active切换+圆点） ===== */
.brand-slider {
    position: relative;
    width: 100%;
    min-width: 500px;
    max-width: 500px;
    overflow: hidden;
    /* 容器固定为列表图(1183x887)的宽高比，所有轮播图等比填充不变形 */
    aspect-ratio: 1183 / 887;
}
.brand-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.brand-slider-slide.active {
    opacity: 1;
}
.brand-slider-slide .brand-badge-img {
    display: block;
    width: 100%;
    height: 100%;
    /* 以列表图宽高比为准：超出部分等比居中裁剪，整图等比填充，不变形 */
    object-fit: cover;
    object-position: center;
}
.brand-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 4px 10px;
    //background: rgba(0,0,0,0.25);
    border-radius: 12px;
}
.brand-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(0,0,0,0.3);
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.brand-slider-dot.active {
    background: #fff;
    border-color: rgba(0,0,0,0.5);
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.brand-desc-small {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-top: 5px;
    text-align: center;
}

/* ===== 数据统计 — 交错卡片式按原型 ===== */
.stats-section {
    padding: 40px 0 80px;
    background: #fff;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.stat-card {
    background: #f5f5f5;
    padding: 40px 30px;
    text-align: center;
    min-width: 145px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 交错参差高度 */
.stat-card:nth-child(6n+1) { height: 180px; }
.stat-card:nth-child(6n+2) { height: 220px; background: #fafafa; }
.stat-card:nth-child(6n+3) { height: 160px; }
.stat-card:nth-child(6n+4) { height: 200px; background: #fafafa; }
.stat-card:nth-child(6n+5) { height: 180px; }
.stat-card:nth-child(6n+6) { height: 210px; background: #fafafa; }

.stat-card-active {
    transform: translateY(-50px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    background: #f0f0f0;
}

.stat-card-number {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card-unit {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.stat-card-label {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.stat-card-sub {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

/* ===== 宣传片视频 ===== */
.video-section { position: relative; height: 400px; background: linear-gradient(135deg, #2c3e50 0%, #4a6741 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-content { position: absolute; z-index: 2; text-align: center; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; top: 0; left: 0; right: 0; bottom: 0; }
.play-btn { width: 80px; height: 80px; background: rgba(255,255,255,0.2); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; cursor: pointer; transition: all 0.3s; }
.play-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.play-btn::after { content: ''; width: 0; height: 0; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.video-title { font-family: 'Noto Sans SC', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: 4px; }
.video-subtitle { font-family: 'Noto Sans SC', sans-serif; font-size: 16px; color: rgba(255,255,255,0.85); margin-top: 10px; letter-spacing: 2px; }
/* ===== 主打产品横幅（全宽图片，可点击）===== */
.product-banner-section { padding: 24px 0 0; background: #fff; position: relative; }
/* 横幅从下方滑入动画（区域进入视口即触发，每次进入都播放） */
.product-banner-section {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-banner-section.pb-in {
    opacity: 1;
    transform: translateY(0);
}
.product-banner-link { display: block; position: relative; text-decoration: none; width: 100%; }
.product-banner-full-img { width: 100%; display: block; }
.product-banner-more-wrap { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.product-banner-more-btn { display: inline-block; padding: 12px 40px; background: #c41e3a; color: #fff; font-size: 16px; font-weight: 500; border-radius: 30px; cursor: pointer; transition: background 0.3s; }
.product-banner-more-btn:hover { background: #a0182f; }

/* ===== 产品展示（两列两行，图片+底部标题/了解更多）===== */
.products-section { padding: 80px 0 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title-main { font-family: 'Noto Sans SC', sans-serif; font-size: 32px; font-weight: 700; color: #333; }
.section-title-main span { color: #5a9a3a; }
/* 产品展示标题图片（静态资源，改图=覆盖同名文件）：5024×864。产品展示=标准尺寸552px(1200×46%)，四个标题图统一此固定宽度保持一致 */
.section-title-img {
    display: block;
    width: 404px;          /* 产品展示标准：1200容器×46% */
    max-width: 100%;       /* 防窄容器溢出 */
    height: auto;           /* 等比，不拉伸 */
    margin: 0 auto;
}
.products-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; padding: 0; }
.product-card-4 { display: block; text-decoration: none; color: #333; text-align: center; position: relative; overflow: hidden; background: #fff; border: 1px solid #e8e8e8; transition: all 0.3s; }
.product-card-4:hover { background: #e0e0e0; }
.product-card-4:hover .product-card-4-img img { filter: brightness(0.7); }
.product-card-4:hover .product-card-4-more { color: #fff; }
.product-card-4-img { width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.product-card-4-img img { width: 100%; height: auto; display: block; }
.product-card-4-placeholder { width: 100%; padding: 80px 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #999; background: #eee; }
.product-card-4-body { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; padding: 0; }
.product-card-4-more { display: inline-block; color: #c41e3a; font-size: 20px; cursor: pointer; pointer-events: auto; }
.product-card-4:hover .product-card-4-more { color: #fff; }

/* ===== 首页主推产品（矩形卡片，独立于产品中心）===== */
.index-products {
    padding: 20px 0;
    background: #fff;
}
.index-products .section-title {
    text-align: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.index-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
/* 产品卡滚动入场动画（参照参考站 slideInUp：上滑+淡入） */
@media (min-width: 768px) {
    .index-product-card.pr-ready {
        opacity: 0;
        transform: translateY(40px);
    }
}
.index-product-card.pr-in {
    opacity: 1;
    transform: translateY(0);
}
.index-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #f1f1f1;
    border: 1px solid #e6e6e4;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.8s ease;
    position: relative;
}
.index-product-card:hover {
    transform: none;
    box-shadow: none;
}
/* 遮罩层图片（后台 images 字段动态上传，hover 时作为卡片背景显示，内容浮于其上） */
.index-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 8px;
}
.index-product-card:hover .index-product-overlay {
    opacity: 1;
}
.index-product-img {
    width: 100%;
    height: 432px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s;
    position: relative;
    z-index: 2;
}
.index-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.index-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
}
.index-product-info {
    padding: 24px 20px 22px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.index-product-name {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}
.index-product-line {
    width: 30px;
    height: 2px;
    background: #ddd;
    margin: 0 auto 10px;
}
.index-product-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 0;
}
/* 说明文本内嵌富文本<p>时消除其默认margin，避免干扰按钮间距 */
.index-product-desc p {
    margin: 0;
}
.index-product-more {
    display: inline-block;
    padding: 0 8px;
    color: #5a9a3a;
    font-size: 15px;
    transition: color 0.3s;
    margin-top: 12px;
    cursor: pointer;
}
.index-product-card:hover .index-product-more {
    color: #fff;
}
/* 鼠标移上卡片：标题文字也变白（同按钮） */
.index-product-card:hover .index-product-name {
    color: #fff;
}
/* 鼠标移上卡片：描述介绍文字也变白 */
.index-product-card:hover .index-product-desc,
.index-product-card:hover .index-product-desc p,
.index-product-card:hover .index-product-desc strong,
.index-product-card:hover .index-product-desc span,
.index-product-card:hover .index-product-desc * {
    color: #fff !important;
}
.doctors-section { padding: 5px 0 30px; background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%); }
.doctors-wrapper { display: flex; align-items: center; justify-content: center; max-width: 1500px; margin: 0 auto; position: relative; gap: 60px; }
.doctors-container { display: flex; justify-content: center; align-items: center; gap: 130px; flex: 1; padding: 40px 0; }
.doctor-card-new { width: 350px; text-align: center; transition: all 0.4s ease; cursor: pointer; line-height: 0; display: inline-block; flex-shrink: 0; }
.doctor-card-new:hover { transform: scale(1.15); z-index: 10; position: relative; }
.doctor-card-new.active { transform: scale(1.1); }
.doctor-card-new-img { width: 100%; overflow: hidden; }
.doctor-card-new-img img { width: 100%; height: auto; display: block; }
.doctor-card-overlay2 {
    padding: 8px 0 0;
    text-align: center;
}
.doctor-card-overlay2-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 3px;
}
.doctor-card-overlay2-title {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}
.doctor-card-new-name { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.doctor-card-new-title { font-size: 13px; color: #90caf9; }
.doctors-arrow { width: 58px; height: 58px; background: #fff; border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 30px; color: #666; transition: all 0.3s; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.doctors-arrow:hover { background: #5a9a3a; color: #fff; border-color: #5a9a3a; }

/* ===== 深耕苗药传承（按原型最新）===== */

/* 上方文字说明区 */
.herbs-text-area {
    text-align: center;
    padding: 20px 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.herbs-title { font-family: 'Noto Sans SC', sans-serif; font-size: 36px; font-weight: 700; color: #333; margin-bottom: 25px; letter-spacing: 3px; }
.herbs-desc { font-size: 17px; color: #666; line-height: 2.2; margin-bottom: 10px; }
.herbs-desc-small { font-size: 15px; color: #888; line-height: 2.2; }

/* 下方深色背景 + 5列卡片 + 左右箭头 */
.herbs-visual-area { position: relative; width: 100%; padding: 0; background: transparent; }
.herbs-grid { display: flex; width: 100%; margin: 0 auto; gap: 2px; position: relative; z-index: 2; }
.herb-item { flex: 1; text-align: center; padding: 120px 10px; position: relative; cursor: pointer; transition: all 0.3s; min-height: 750px; display: flex; flex-direction: column; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.herb-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); transition: background 0.3s; z-index: 0; }
.herb-item:hover::before { background: rgba(0,0,0,0.2); }
.herb-item > * { position: relative; z-index: 1; }
.herb-item::after { display: none; }
.herb-item:last-child::after { display: none; }

.herb-role { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; color: rgba(255,255,255,0.95); margin-bottom: 20px; letter-spacing: 6px; }
.herb-name { font-family: 'Noto Sans SC', sans-serif; font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 16px; line-height: 1.8; }
.herb-effect { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.herb-item:last-child .herb-role { font-size: 22px; }
.herbs-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: #fff; transition: all 0.3s; z-index: 5; }
.herbs-arrow:hover { background: rgba(255,255,255,0.4); }
.herbs-arrow-left { left: 15px; }
.herbs-arrow-right { right: 15px; }

/* ===== 深耕苗药传承 section ===== */
.herbs-section { padding: 20px 0; }
/* ===== 新闻中心（按原型最新）===== */
.news-section { padding: 20px 0 60px; background: #fff; }
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 20px;
}
.news-title-group { display: flex; align-items: center; gap: 12px; }
.news-title-text { font-family: 'Noto Sans SC', sans-serif; font-size: 28px; font-weight: 700; color: #333; }
.news-title-dot { width: 8px; height: 8px; background: #c41e3a; border-radius: 50%; }
.news-title-sub { font-family: 'Noto Sans SC', sans-serif; font-size: 28px; font-weight: 700; color: #333; }
/* 新闻中心标题图片（静态资源，改图=覆盖同名文件）：宽度 395px */
.news-title-img {
    display: block;
    width: 308px;
    max-width: 100%;
    height: auto;           /* 等比 */
}
.news-tabs { display: flex; gap: 35px; }
.news-tab { font-size: 14px; color: #666; cursor: pointer; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: all 0.3s; text-decoration: none; }
.news-tab:hover { color: #c41e3a; }
.news-tab.active { color: #c41e3a; border-bottom-color: #c41e3a; }
.news-divider { width: 100%; height: 1px; background: #e0e0e0; margin-bottom: 40px; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}
.news-section > .section-inner {
    max-width: 1468px;   /* 扩容新闻区容器，使新闻卡片宽度能到 ~484px(×1.25) */
    margin: 0 auto;
    padding: 0;
}

/* 首页新闻三列卡片（上图下文，与公司新闻页一致） */
.news-grid .rs-home-grid-item {
    border-radius: 8px; overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
    display: flex; flex-direction: column;
    height: 698px;   /* 582 再增加 1/5 = 698 */
    padding-bottom: 0;
}
.news-grid .rs-home-grid-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }
.news-grid .rs-home-grid-item a { text-decoration: none; color: #333; display: flex; flex-direction: column; height: 100%; }
.news-grid .rs-home-grid-pic {
    width: 100%; flex: 0 0 50%;   /* 图片与文本评分高度，各占卡片一半 */
    overflow: hidden; background: #f5f5f5;
    display: flex; align-items: center; justify-content: center;
    min-height: 0;
}
.news-grid .rs-home-grid-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-grid .rs-grid-noimg { color: #ccc; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.news-grid .rs-home-grid-item:hover .rs-home-grid-title { color: #1e6db5; }
/* 首页新闻卡文本区容器：占卡片 45%，整体字号放大，两端留白；浅灰背景 */
.news-grid .rs-home-grid-text {
    flex: 1;
    background: #f2f4f7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* 首页新闻卡标题 */
.news-grid .rs-home-grid-title {
    font-size: 23px; font-weight: 600; color: #222;
    padding: 20px 23px 10px; margin: 0;
    line-height: 1.5; text-align: center;
    margin-top: 40px;   /* 标题(含文本区)向下让位，离图片间距加大 */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 首页新闻卡摘要：字号较大；行数省略由 JS 按字数截断(约到第3行10字处加省略号) */
.news-grid .rs-home-grid-summary {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    padding: 8px 23px 24px;
    word-break: break-word;
    text-align: left;
}
/* 首页新闻卡标题与摘要之间的分隔：三个透明小圆点 + 间距调大一倍 */
.news-grid .rs-home-grid-sep {
    display: flex;
    justify-content: center;
    height: 9px;
    margin: 14px 0 8px;   /* 标题→摘要间距调大一倍 */
}
.news-grid .rs-home-grid-sep::before {
    content: "";
    width: 9px; height: 9px;
    background: rgba(0,0,0,0.25);   /* 透明(浅灰半透明)小圆点 */
    border-radius: 50%;
    box-shadow: 14px 0 0 rgba(0,0,0,0.25), -14px 0 0 rgba(0,0,0,0.25);
}

.news-card { flex: 1; background: #fff; border-radius: 0; overflow: hidden; cursor: pointer; transition: transform 0.3s; }
.news-card:hover { transform: translateY(-4px); }
.news-card:first-child .news-card-img { height: 320px; }
.news-card:first-child .news-card-body { padding: 24px 0; }
.news-card:not(:first-child) .news-card-img { height: 200px; }
.news-card:not(:first-child) .news-card-body { padding: 16px 0; }

.news-card-img { width: 100%; background: linear-gradient(135deg, #b8d4e8 0%, #a0c4d8 50%, #8bb8d0 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img-text { font-family: 'Noto Serif SC', serif; font-size: 80px; font-weight: 900; color: rgba(255,255,255,0.95); text-shadow: 0 2px 20px rgba(0,0,0,0.15); position: relative; z-index: 1; letter-spacing: 8px; }

.news-card-body { background: #fff; }
.news-card-date { font-size: 13px; color: #c41e3a; margin-bottom: 12px; font-weight: 500; }
.news-card-title { font-size: 16px; font-weight: 700; color: #333; line-height: 1.6; margin-bottom: 12px; }
.news-card-summary { font-size: 13px; color: #888; line-height: 1.8; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-arrow { width: 28px; height: 28px; border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px; transition: all 0.3s; }
.news-card:hover .news-card-arrow { border-color: #c41e3a; color: #c41e3a; transform: translateX(4px); }

/* ===== 数据统计飞入动画 ===== */
.stats-container {
    perspective: 1000px;
}
.stat-card {
    opacity: 0;
    transform: translateY(80px) scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.stat-card.stats-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.stat-card:hover {
    transform: translateY(-50px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    background: #f0f0f0;
    z-index: 10;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    transition-delay: 0s;   /* hover 上浮立即响应，不受 nth-child 飞入 delay 影响，所有卡片一致 */
}
/* 每个卡片依次延迟 */
.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }
.stat-card:nth-child(5) { transition-delay: 0.4s; }
.stat-card:nth-child(6) { transition-delay: 0.5s; }
.stat-card:nth-child(7) { transition-delay: 0.6s; }
.stat-card:nth-child(8) { transition-delay: 0.7s; }

/* 数字飞入动画 */
.stat-card-number {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(100px) scale(0.3);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat-card.stats-visible .stat-card-number {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.stat-card:nth-child(1) .stat-card-number { transition-delay: 0.6s; }
.stat-card:nth-child(2) .stat-card-number { transition-delay: 0.7s; }
.stat-card:nth-child(3) .stat-card-number { transition-delay: 0.8s; }
.stat-card:nth-child(4) .stat-card-number { transition-delay: 0.9s; }
.stat-card:nth-child(5) .stat-card-number { transition-delay: 1.0s; }
.stat-card:nth-child(6) .stat-card-number { transition-delay: 1.1s; }
.stat-card:nth-child(7) .stat-card-number { transition-delay: 1.2s; }
.stat-card:nth-child(8) .stat-card-number { transition-delay: 1.3s; }

/* 标签和子标签也跟随数字 */
.stat-card-label, .stat-card-sub {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.stat-card.stats-visible .stat-card-label,
.stat-card.stats-visible .stat-card-sub {
    opacity: 1;
    transform: translateY(0);
}
.stat-card:nth-child(1) .stat-card-label { transition-delay: 0.6s; }
.stat-card:nth-child(2) .stat-card-label { transition-delay: 0.7s; }
.stat-card:nth-child(3) .stat-card-label { transition-delay: 0.8s; }
.stat-card:nth-child(4) .stat-card-label { transition-delay: 0.9s; }
.stat-card:nth-child(5) .stat-card-label { transition-delay: 1.0s; }
.stat-card:nth-child(6) .stat-card-label { transition-delay: 1.1s; }
.stat-card:nth-child(7) .stat-card-label { transition-delay: 1.2s; }
.stat-card:nth-child(8) .stat-card-label { transition-delay: 1.3s; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .hero-banner { height: 400px; }
    .video-section { height: 400px; }
    .brand-content { gap: 30px; }
}
@media (max-width: 1024px) {
    .hero-banner { height: 350px; }
    .video-section { height: 350px; }
    .product-banner-section img { height: auto; }
    .index-products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .doctors-container { gap: 15px; }
    .herbs-grid { gap: 15px; }
    .herb-item { width: 160px; height: 240px; }
}
@media (max-width: 768px) {
    .hero-banner { height: 250px; }
    .brand-content { flex-direction: column; text-align: center; }
    .brand-text { padding-right: 0; }
    .stats-container { flex-wrap: wrap; justify-content: center; }
    .stat-card { min-width: 120px; margin-bottom: 10px !important; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card-item { flex-direction: column; }
    .index-products-grid { grid-template-columns: 1fr; }
    .doctors-carousel { flex-direction: column; align-items: center; }
    .doctors-container { flex-direction: column; align-items: center; }
    .herbs-grid { flex-wrap: wrap; justify-content: center; }
    .herb-item { width: 140px; height: 200px; }
    .herbs-title { font-size: 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-tabs { flex-wrap: wrap; justify-content: center; }
    .video-section { height: 300px; }
    .video-title { font-size: 20px; }
    .section-inner { padding: 0 12px; }
}
