/* ================================
   河南金昇农业科技 - 网站样式
   ================================ */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a7a3c;
    --primary-dark: #0d5226;
    --primary-light: #2ea553;
    --accent-color: #f0a500;
    --accent-dark: #d68f00;
    --text-dark: #222;
    --text-gray: #666;
    --text-light: #999;
    --bg-white: #fff;
    --bg-light: #f5f7f5;
    --bg-gray: #eee;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   顶部工具栏
   ================================ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info a {
    color: inherit;
    text-decoration: none;
}

.top-bar .contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .social-links a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 15px;
    font-size: 14px;
}

.top-bar .social-links a:hover {
    color: var(--accent-color);
}

/* ================================
   导航头部
   ================================ */
.header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    display: block;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 12px;
    white-space: nowrap;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 12px;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 4px;
    position: relative;
    white-space: nowrap;
}

/* 荣誉页分页跳转锚点：预留吸顶导航栏高度，跳转后落在列表上部 */
#honors {
    scroll-margin-top: 96px;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary-color);
    background: rgba(26, 122, 60, 0.06);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.active > a::after {
    width: 60%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   轮播图 Banner
   ================================ */
.banner {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.banner-slide .slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}

.banner-slide .slide-content p {
    font-size: 18px;
    margin-bottom: 28px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1.2s ease;
}

.banner-slide .slide-content .btn {
    animation: fadeInUp 1.4s ease;
}

/* 轮播图背景 */
.slide-bg-1 {
    background: linear-gradient(135deg, #0d5226 0%, #1a7a3c 50%, #2ea553 100%);
}

.slide-bg-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 480'%3E%3Cpath d='M0,350 Q300,250 600,320 T1200,280 L1200,480 L0,480 Z' fill='rgba(255,255,255,0.06)'/%3E%3Cpath d='M0,380 Q200,320 500,360 T1200,330 L1200,480 L0,480 Z' fill='rgba(255,255,255,0.04)'/%3E%3Ccircle cx='900' cy='120' r='80' fill='rgba(240,165,0,0.15)'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.slide-bg-2 {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 50%, #4ba0d9 100%);
}

.slide-bg-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 480'%3E%3Cpath d='M0,300 Q400,200 800,280 T1200,250 L1200,480 L0,480 Z' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='200' cy='100' r='60' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='1000' cy='150' r='90' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.slide-bg-3 {
    background: linear-gradient(135deg, #5c3a1a 0%, #9f6f2d 50%, #d4a04b 100%);
}

.slide-bg-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 480'%3E%3Cpath d='M0,320 Q300,220 600,300 T1200,270 L1200,480 L0,480 Z' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='800' cy='100' r='70' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* 轮播图导航 */
.banner-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.banner-dot.active {
    background: #fff;
    border-color: var(--primary-color);
    width: 36px;
    border-radius: 6px;
}

/* 轮播图箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.banner-arrow.prev {
    left: 30px;
}

.banner-arrow.next {
    right: 30px;
}

/* ================================
   通用按钮
   ================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 122, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ================================
   通用区块标题
   ================================ */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ================================
   公司简介区块
   ================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-preview .about-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-preview .about-img .tower-illustration {
    width: 100%;
    height: 100%;
}

.about-preview .about-text h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-preview .about-text p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 15px;
    text-align: justify;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* ================================
   产品展示
   ================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 产品中心页：3 列大图（首页/详情页仍为 4 列） */
.products-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* 产品中心分页控件 */
.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.product-pagination .page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dce5dc;
    background: #fff;
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.product-pagination .page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.product-pagination .page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.product-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.product-pagination .page-info {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 6px;
}
@media (max-width: 1024px) {
    .products-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid.grid-3 { grid-template-columns: 1fr; }
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-card .product-img {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f7f0, #e0eee0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .product-img .product-real-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-real-img {
    transform: scale(1.05);
}

.product-card .product-img .product-bag {
    width: 70%;
    height: 85%;
    border-radius: 8px 8px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.product-card:hover .product-bag {
    transform: scale(1.05);
}

.product-card .product-img .product-bag .bag-brand {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-card .product-img .product-bag .bag-type {
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.product-card .product-img .product-bag .bag-npk {
    font-size: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
}

.product-card .product-info {
    padding: 18px;
}

.product-card .product-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-card .product-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.product-card .product-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-top: 8px;
}

/* 产品袋颜色 */
.bag-green { background: linear-gradient(160deg, #0d5226, #1a7a3c); }
.bag-blue { background: linear-gradient(160deg, #1a3a5c, #2d6a9f); }
.bag-gold { background: linear-gradient(160deg, #8b6914, #d4a04b); }
.bag-red { background: linear-gradient(160deg, #8b1a1a, #c0392b); }
.bag-teal { background: linear-gradient(160deg, #0d4a4a, #1a8a8a); }
.bag-purple { background: linear-gradient(160deg, #4a1a5c, #7b2d9f); }
.bag-brown { background: linear-gradient(160deg, #5c3a1a, #9f6f2d); }
.bag-darkgreen { background: linear-gradient(160deg, #0a3d1a, #1a6a2c); }

/* ================================
   新闻咨询
   ================================ */
.news-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-featured {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: var(--shadow-hover);
}

.news-featured .news-banner {
    width: 100%;
    height: 220px;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-featured .news-banner .news-banner-text {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.news-featured .news-banner .news-banner-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-featured .news-banner .news-banner-text p {
    font-size: 13px;
    opacity: 0.9;
}

.news-featured .news-body {
    padding: 24px;
}

.news-featured .news-body .news-date {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.news-featured .news-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-featured .news-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-item:hover h4 {
    color: var(--primary-color);
}

.news-item .news-date-box {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    background: var(--bg-light);
    border-radius: 6px;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
}

.news-item .news-date-box .day {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.news-item .news-date-box .month {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 4px;
}

.news-item .news-content h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: var(--transition);
}

.news-item .news-content p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   荣誉资质
   ================================ */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.honor-item {
    position: relative;
    text-align: center;
    padding: 30px 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.honor-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.honor-item .honor-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.honor-item .honor-name {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* ================================
   社会责任
   ================================ */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.social-reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-card {
    text-align: left;
    padding: 30px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.social-card .social-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.social-card .social-name {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 12px;
}

.social-card .social-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: left;
    padding: 0 6px;
}

/* 报告下载卡（居中版） */
.social-card.social-report {
    text-align: center;
    padding: 28px 22px;
}

.social-card.social-report .social-name {
    font-size: 16px;
    margin-bottom: 6px;
}

.social-card .social-year {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.social-card .btn {
    margin-top: 16px;
    font-size: 13px;
    padding: 8px 20px;
}

/* 图标 / 封面配置了图片时隐藏 emoji（有图优先显示图片） */
.social-card .social-icon.cfg-has-bg span,
.social-card .report-cover.cfg-has-bg span {
    display: none;
}

/* 报告封面图（配置图片后铺满，未配置显示渐变+emoji） */
.social-card .report-cover {
    width: 100%;
    height: 130px;
    margin: 0 auto 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ================================
   品牌展示
   ================================ */
.brands-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-card {
    width: 200px;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.brand-card .brand-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.brand-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ================================
   联系我们底部
   ================================ */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.contact-info-item {
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 8px;
    padding: 16px;
}

.contact-info-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-info-item .contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(4px);
}

.contact-info-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-info-item p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
}

/* ================================
   页脚
   ================================ */
.footer {
    background: #0a2e15;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 4.2fr 0.8fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-brand .footer-contact {
    font-size: 13px;
}

.footer-brand .footer-contact span {
    display: block;
    margin-bottom: 6px;
}

.footer-brand .footer-contact a:hover {
    color: var(--accent-color);
}

/* 页脚横向一级菜单区：全部条目单行横向排列不换行 */
.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px 24px;
    padding-top: 2px;
}

.footer-nav-item h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-nav-item h4 a {
    color: #fff;
    transition: var(--transition);
}

.footer-nav-item h4 a:hover {
    color: var(--accent-color);
}

.footer-nav-item ul li {
    margin-bottom: 10px;
}

.footer-nav-item ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-nav-item ul li a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 4px;
}

.footer-bottom p {
    margin: 4px 0;
}

.footer-bottom img {
    display: inline-block;
    vertical-align: middle;
    height: 14px;
    margin-right: 4px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* ================================
   动画
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   内页通用样式
   ================================ */
.page-banner {
    height: 260px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cpath d='M0,180 Q300,120 600,160 T1200,140 L1200,260 L0,260 Z' fill='rgba(255,255,255,0.05)'/%3E%3Cpath d='M0,210 Q200,160 500,190 T1200,170 L1200,260 L0,260 Z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.page-banner .page-banner-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.page-banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-banner p {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.breadcrumb ul li a:hover {
    color: var(--primary-color);
}

.breadcrumb ul li.separator {
    color: var(--text-light);
}

/* ================================
   关于我们页
   ================================ */
.about-page {
    padding: 60px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-intro .about-visual {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.about-intro .about-content h2 {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-intro .about-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
    text-align: justify;
    font-size: 15px;
}

.about-culture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.culture-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.culture-card:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.culture-card .culture-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.culture-card h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.culture-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 企业文化卡片 · 可选插图（后台上传时显示，替代 emoji 图标） */
.culture-card .culture-photo {
    display: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #e0e8e0;
}
.culture-card.has-photo .culture-photo { display: block; }
.culture-card.has-photo .culture-icon { display: none; }

/* 发展历程时间轴 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item .timeline-content {
    width: 45%;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.timeline-item .timeline-content .year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-item .timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-item .timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
}

.timeline-item .timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ================================
   产品页
   ================================ */
.products-page {
    padding: 60px 0;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    scroll-margin-top: 90px; /* ?cat= 直达板块滚动时避开吸顶导航 */
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    background: #fff;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.product-detail-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.product-detail-card .product-detail-header {
    background: var(--bg-light);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-card .product-detail-header h3 {
    font-size: 18px;
    color: var(--primary-dark);
}

.product-detail-card .product-detail-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 24px;
}

.product-detail-card .product-detail-img {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 13px;
}

.spec-item .spec-label {
    color: var(--text-gray);
}

.spec-item .spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* ================================
   新闻页
   ================================ */
.news-page {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-grid .news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-grid .news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-grid .news-card .news-card-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.news-grid .news-card .news-card-img .news-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.news-grid .news-card .news-card-body {
    padding: 20px;
}

.news-grid .news-card .news-card-body .news-card-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-grid .news-card .news-card-body h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: var(--transition);
}

.news-grid .news-card:hover .news-card-body h4 {
    color: var(--primary-color);
}

.news-grid .news-card .news-card-body p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination a.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination .pg-ellipsis {
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.pagination .pg-info {
    margin-left: 10px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 40px;
    white-space: nowrap;
}

/* 动态渲染的新闻卡片进入动画 */
.news-grid .news-card.dynamic-card {
    opacity: 0;
    transform: translateY(24px);
}

.news-grid .news-card.dynamic-card.card-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ================================
   联系我们页
   ================================ */
.contact-page {
    padding: 60px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.contact-card .contact-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.contact-card .contact-card-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-card .contact-card-info p {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-card .contact-card-info p.secondary {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: normal;
}

.contact-card .contact-card-info p a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ================================
   QR码区
   ================================ */
.qr-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
}

.qr-item {
    text-align: center;
}

.qr-item .qr-code {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.qr-item .qr-code svg {
    width: 120px;
    height: 120px;
}

.qr-item p {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.qr-item span {
    font-size: 12px;
    color: var(--text-gray);
}

/* ================================
   返回顶部
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ================================
   浮动客服
   ================================ */
.float-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.float-contact .float-item {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.float-contact .float-item:first-child {
    border-radius: 8px 0 0 0;
}

.float-contact .float-item:last-child {
    border-radius: 0 0 0 8px;
}

.float-contact .float-item:hover {
    background: var(--primary-dark);
    width: 64px;
}

.float-contact .float-item .float-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.float-contact .float-item .float-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-right: 8px;
}

.float-contact .float-item:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 关注我们 - 微信图标 + 向左滑出二维码面板 */
.float-contact .float-wechat-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 2px;
}

.float-contact .float-panel {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(16px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
    padding: 16px;
    margin-right: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    white-space: normal;
    z-index: 10;
}

/* 桥接按钮与面板之间的空隙，防止鼠标移过时面板收起 */
.float-contact .float-panel::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 14px;
    height: 100%;
}

.float-contact .float-item:hover .float-panel,
.float-contact .float-item:focus-within .float-panel,
.float-contact .float-item.open .float-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.float-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 12px;
}

.float-qr-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.float-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.float-qr-item .qr-code {
    width: 112px;
    height: 112px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-qr-item .qr-code svg,
.float-qr-item .qr-code img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.float-qr-item > span {
    font-size: 12px;
    color: var(--text-dark);
}

/* ================================
   响应式
   ================================ */
@media (max-width: 1024px) {
    .nav-menu > li > a {
        font-size: 15px;
        padding: 10px 8px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .social-reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-nav {
        flex-wrap: wrap;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 手机端导航栏不吸顶：随页面滚动，避免遮挡浏览内容 */
    .header {
        position: relative;
    }
    .logo-text h1 {
        font-size: 19px;
        letter-spacing: 6px;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
    }
    .top-bar .social-links a {
        margin-left: 8px;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 0 20px;           /* 收起时无垂直 padding，避免占位白杠 */
        box-shadow: none;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        border: none;
        transition: max-height 0.3s ease, padding 0.3s ease;
        z-index: 999;
    }
    .nav-menu.open {
        max-height: 800px;
        overflow-y: auto;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .nav-menu > li > a {
        width: 100%;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
    }
    .banner {
        height: 320px;
    }
    .banner-slide .slide-content h2 {
        font-size: 26px;
    }
    .banner-slide .slide-content p {
        font-size: 14px;
    }
    .section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .about-preview,
    .news-section,
    .about-intro,
    .about-culture,
    .contact-info-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-nav {
        /* 手机端页脚导航：两行网格排布（7 项 = 第一行 4 个 + 第二行 3 个），与电脑端单行不同 */
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 22px 10px;
    }
    .footer-nav-item h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .footer-nav-item ul li {
        margin-bottom: 6px;
    }
    .footer-nav-item ul li a {
        font-size: 12px;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: row;
        padding-left: 40px;
    }
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    .timeline-item .timeline-content {
        width: 100%;
    }
    .timeline-item .timeline-dot {
        left: 20px;
    }
    .product-detail-card .product-detail-body {
        grid-template-columns: 1fr;
    }
    .float-contact {
        display: flex;
    }
    .float-contact .float-item {
        width: 44px;
        height: 44px;
        font-size: 10px;
    }
    .float-contact .float-icon {
        font-size: 17px;
        margin-bottom: 2px;
    }
    .float-qr-item .qr-code {
        width: 88px;
        height: 88px;
    }
    .brands-row {
        gap: 16px;
    }
    .brand-card {
        width: 160px;
        padding: 20px 12px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .honors-grid {
        grid-template-columns: 1fr;
    }
    .social-grid {
        grid-template-columns: 1fr;
    }
    .social-reports-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   产品详情页
   ================================ */
.detail-page {
    padding: 60px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.product-detail-left {
    position: sticky;
    top: 110px;
}

.product-detail-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: block;
}

.product-bag-large {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.product-bag-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px 12px 0 0;
}

.product-bag-large .bag-brand-large {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.product-bag-large .bag-type-large {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.product-bag-large .bag-npk-large {
    font-size: 28px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.product-detail-contact {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-detail-right {
    min-width: 0;
}

.product-detail-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.product-detail-header .product-detail-brand {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-detail-header h1 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.product-detail-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

.product-detail-desc {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.product-detail-desc p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.product-detail-section {
    margin-bottom: 30px;
}

.product-detail-section h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.product-features li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-applicable {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    padding: 16px;
    background: #f0f7f0;
    border-radius: 8px;
}

.detail-usage {
    margin-top: 30px;
    padding: 24px;
    background: #fff8e1;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.detail-usage h4 {
    color: var(--accent-dark);
    margin-bottom: 12px;
    font-size: 16px;
}

.detail-usage p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* ================================
   新闻详情页
   ================================ */
.news-article {
    max-width: 900px;
    margin: 0 auto;
}

.news-article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.news-article-tag {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.news-article-header h1 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
}

.news-article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.news-article-summary {
    background: var(--bg-light);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.news-article-summary p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.news-article-body p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 20px;
    text-indent: 2em;
}

.news-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.news-article-share {
    font-size: 14px;
    color: var(--text-gray);
}

.news-article-share strong {
    color: var(--primary-color);
    font-size: 18px;
}

/* 详情页响应式 */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .product-detail-left {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }
    .product-detail-header h1 {
        font-size: 22px;
    }
    .news-article-header h1 {
        font-size: 20px;
    }
    .news-article-body p {
        font-size: 15px;
    }
    .news-article-meta {
        gap: 12px;
    }
}

/* 新闻图片样式 */
.news-grid .news-card .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-featured .news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-item .news-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
    margin-right: 16px;
}

.news-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-article-cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-article-cover img {
    width: 100%;
    display: block;
}

.news-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

/* ================================
   微信公众号文章排版(新闻详情)
   ================================ */
.wx-article {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 32px 40px 40px;
}

/* 顶部公众号信息条 */
.wx-account-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eef0f2;
}

.wx-account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
    display: block;
}

.wx-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wx-account-info {
    flex: 1;
    min-width: 0;
}

.wx-account-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.wx-account-desc {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wx-follow-btn {
    flex-shrink: 0;
    background: #07c160;
    color: #fff;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    transition: all .2s;
}

.wx-follow-btn:hover {
    background: #06ad56;
}

.wx-follow-btn.followed {
    background: #eee;
    color: #666;
}

/* 标题区 */
.wx-article-header {
    margin-bottom: 24px;
}

.wx-article-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin-bottom: 14px;
}

.wx-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.wx-author {
    color: #576b95;
}

.wx-meta-dot {
    color: #d0d0d0;
}

/* 封面图 */
.wx-article-cover {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.wx-article-cover img {
    width: 100%;
    display: block;
}

/* 正文 */
.wx-article-body {
    font-size: 16px;
    color: #3f3f3f;
    line-height: 1.85;
}

.wx-paragraph {
    margin-bottom: 22px;
}

.wx-paragraph p {
    font-size: 16px;
    color: #3f3f3f;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
    word-break: break-all;
}

.wx-summary {
    background: #f7f8fa;
    border-left: 3px solid #1a7a3c;
    padding: 14px 16px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 24px;
}

.wx-summary p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}

.wx-image {
    margin: 26px 0;
    text-align: center;
}

.wx-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* 底部互动区 */
.wx-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 8px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e5e5e5;
}

.wx-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #576b95;
    background: #f2f6ff;
    border: 1px solid #e3e9ff;
    border-radius: 20px;
    padding: 7px 20px;
    cursor: pointer;
    user-select: none;
    transition: all .2s;
}

.wx-action svg {
    color: #7d90a9;
}

.wx-action:hover {
    background: #e7eeff;
}

.wx-action.active {
    background: #1a7a3c;
    border-color: #1a7a3c;
    color: #fff;
}

.wx-action.active svg {
    color: #fff;
}

/* 阅读原文 */
.wx-read-more {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #576b95;
    margin: 14px 0 24px;
    cursor: pointer;
    text-decoration: none;
}

.wx-read-more:hover {
    text-decoration: underline;
}

/* 附件下载区（报告类文章） */
.wx-attachments {
    background: #f7f8fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 4px 0 24px;
}
.wx-att-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.wx-att-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}
.wx-att-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.wx-att-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #eef4ff;
    color: #0d5226;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wx-att-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.wx-att-name {
    font-size: 13px;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-att-size {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.wx-att-btn {
    flex-shrink: 0;
    font-size: 12px;
    color: #0d5226;
    border: 1px solid #0d5226;
    border-radius: 4px;
    padding: 4px 12px;
}
.wx-att-item:hover .wx-att-btn {
    background: #0d5226;
    color: #fff;
}

/* 底部公众号名片 */
.wx-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.wx-profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.wx-profile-info {
    flex: 1;
    min-width: 0;
}

.wx-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.wx-profile-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 轻提示 */
.wx-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
}

.wx-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 公众号排版响应式 */
@media (max-width: 768px) {
    .wx-article {
        padding: 20px 18px 28px;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }
    .wx-article-header h1 {
        font-size: 20px;
    }
    .wx-article-body,
    .wx-paragraph p {
        font-size: 15px;
    }
    .wx-actions {
        gap: 8px;
    }
    .wx-action {
        padding: 6px 14px;
        font-size: 12px;
    }
    .news-article-footer {
        justify-content: center;
    }
}

/* ================================
   新闻咨询 · 四板块切换
   ================================ */
.news-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}
.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border: 1px solid #d5e8da;
    border-radius: 30px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
}
.cat-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 122, 60, 0.12);
}
.cat-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 122, 60, 0.25);
}
.cat-count {
    font-size: 12px;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    border-radius: 12px;
    padding: 2px 8px;
}
.cat-btn.active .cat-count {
    background: rgba(255, 255, 255, 0.22);
}
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 0;
    font-size: 15px;
    color: var(--text-light);
}
.cat-mini {
    display: inline-block;
    font-size: 11px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 1px 6px;
    margin-right: 6px;
    vertical-align: 2px;
    line-height: 1.5;
    font-weight: normal;
}
@media (max-width: 768px) {
    .cat-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* ==================== 节气/节日横幅 ==================== */
.festival-bar {
    background: linear-gradient(90deg, #e8f5ec 0%, #d4eddb 50%, #e8f5ec 100%);
    border-bottom: 1px solid #bfe3c9;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.festival-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.festival-bar .festival-icon {
    font-size: 20px;
}

.festival-bar .festival-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 16px;
}

.festival-bar .festival-greet {
    color: #3a7a4d;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .festival-bar .container {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    .festival-bar .festival-title { font-size: 15px; }
    .festival-bar .festival-greet { font-size: 12px; }
}

/* ==================== 快捷服务入口 ==================== */
.quick-service-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 860px;
    margin: 0 auto;
}

.quick-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(13, 82, 38, 0.08);
    border: 1px solid #e3efe7;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.quick-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(13, 82, 38, 0.15);
    border-color: var(--primary-color, #0d5226);
}

.quick-service-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d5226, #1a7a3c);
    color: #fff;
    font-size: 32px;
}

.quick-service-card h4 {
    color: var(--primary-dark, #0d5226);
    font-size: 20px;
    margin-bottom: 10px;
}

.quick-service-card p {
    color: #667;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.quick-service-btn {
    display: inline-block;
    color: #1a7a3c;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #1a7a3c;
    border-radius: 20px;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

.quick-service-card:hover .quick-service-btn {
    background: #1a7a3c;
    color: #fff;
}

/* 导航外链小标识 */
.nav-menu .nav-external {
    position: relative;
}

/* ==================== 人力资源悬浮下拉菜单 ==================== */
.nav-dropdown {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.nav-dropdown > .nav-drop-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 10px 32px rgba(13, 82, 38, 0.16);
    border: 1px solid #e3efe7;
    border-radius: 10px;
    padding: 8px;
    list-style: none;
    white-space: nowrap;
    z-index: 1000;
    flex-direction: row;
    gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}

.hr-sub-item,
.contact-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.hr-sub-item:hover,
.contact-sub-item:hover {
    background: #eef7f1;
    color: var(--primary-color, #0d5226);
}

.hr-sub-item.active,
.contact-sub-item.active {
    background: var(--primary-color, #1a7a3c);
    color: #fff;
}

.hr-sub-item.active:hover,
.contact-sub-item.active:hover {
    background: var(--primary-dark, #0d5226);
    color: #fff;
}

/* 小三角指示 */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #e3efe7;
    border-top: 1px solid #e3efe7;
    border-radius: 2px 0 0 0;
}

/* 移动端：下拉子项随菜单平铺竖排 */
@media (max-width: 768px) {
    .nav-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        display: none;
        flex-direction: column;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: #f7faf8;
        white-space: normal;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown-menu:hover,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: flex;
    }
    /* 汉堡菜单展开时子菜单直接平铺显示（触屏无 hover，点击一级会直接跳转） */
    .nav-menu.open .nav-dropdown-menu {
        display: flex;
    }
    .nav-dropdown-menu::before {
        display: none;
    }
    .hr-sub-item,
    .contact-sub-item {
        padding: 10px 16px 10px 32px;
        border-bottom: 1px solid var(--border-color, #eee);
        border-radius: 0;
        width: 100%;
    }
    .hr-sub-item.active,
    .contact-sub-item.active {
        background: transparent;
        color: var(--primary-color);
    }
    .nav-dropdown > .nav-drop-toggle {
        width: 100%;
    }
}

/* ==================== 人力资源页 ==================== */
.hr-page { padding: 60px 0; background: var(--bg-light); }
.hr-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid #e8ece8;
}
.hr-tab {
    padding: 14px 36px;
    font-size: 16px;
    color: #555;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: .3s;
    text-decoration: none;
}
.hr-tab:hover { color: var(--primary-color); }
.hr-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}
.hr-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}
.hr-intro h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.hr-intro p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}
.hr-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.hr-card {
    display: block;
    background: #fff;
    border: 1px solid #e8ece8;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    text-decoration: none;
    transition: .3s;
}
.hr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--primary-color);
}
.hr-card.active {
    border-color: var(--primary-color);
    background: #f6fbf7;
}
.hr-card-icon { font-size: 42px; margin-bottom: 16px; }
.hr-card h4 { font-size: 20px; color: #333; margin-bottom: 12px; }
.hr-card p { color: #666; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.hr-card-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    transition: .3s;
}
.hr-card:hover .hr-card-btn,
.hr-card.active .hr-card-btn {
    background: var(--primary-color);
    color: #fff;
}
@media (max-width: 600px) {
    .hr-tab { padding: 12px 20px; font-size: 14px; }
    .hr-cards { grid-template-columns: 1fr; }
}

/* ===== 后台可配置内容（site-config.js V2 渲染） ===== */

/* 页面首图（page-banner 配置了背景图时：铺满 + 深色遮罩保证文字清晰） */
.page-banner.cfg-has-bg {
    background-size: cover;
    background-position: center;
}
.page-banner.cfg-has-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(13,82,38,.35), rgba(10,60,30,.55));
    z-index: 1;
}

/* 轮播图背景（配置了图片时铺满） */
.slide-bg.cfg-has-bg {
    background-size: cover;
    background-position: center;
}

/* 企业简介页轮播（新增区块，比首页矮） */
.banner.sub-banner { height: 420px; }
.sub-banner .slide-content h2 { font-size: 34px; }
.sub-banner .slide-content p { font-size: 16px; }
@media (max-width: 600px) {
    .banner.sub-banner { height: 300px; }
    .sub-banner .slide-content h2 { font-size: 24px; }
}

/* 产品页 · 各板块注意事项 */
.product-notes { max-width: 1400px; margin: 0 auto; }
.product-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 18px 0;
    font-size: 14px;
    color: #78350f;
    line-height: 1.9;
}
.product-note .note-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #92400e;
}

/* 荣誉页 · 图片卡片（后台上传证书图片时使用） */
.honor-photo-wrap {
    position: relative;
    display: none;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8ece8;
    margin-bottom: 12px;
    background: #fff;
    cursor: zoom-in;
}
.honor-item .honor-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
    transition: transform 0.3s ease;
}
.honor-item.has-photo .honor-photo-wrap { display: block; }
.honor-item.has-photo:hover .honor-photo { transform: scale(1.04); }
.honor-item.has-photo .honor-icon { display: none; }

/* 悬停放大镜标识（仅上传图片后出现） */
.honor-photo-wrap::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 2;
}
.honor-item.has-photo:hover .honor-photo-wrap::after { opacity: 1; }

/* 荣誉证书全屏放大层 */
.honor-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
}
.honor-lightbox.open { display: flex; }
.honor-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}
.honor-lightbox .lb-close {
    position: absolute;
    top: 16px;
    right: 22px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
    user-select: none;
}
.honor-lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.18); }
.honor-lightbox .lb-caption {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    padding: 0 20px;
}

/* 首页"关于金昇"图片轮播（替代原SVG插图） */
.mini-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #f0f7f0, #e0eee0);
}
.mini-carousel .mini-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
.mini-carousel .mini-slide.active { opacity: 1; }
.mini-carousel .mini-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    color: #0d5226;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}
.mini-carousel:hover .mini-arrow { opacity: 1; }
.mini-carousel .mini-arrow:hover { background: var(--primary-color); color: #fff; }
.mini-carousel .mini-arrow.prev { left: 10px; }
.mini-carousel .mini-arrow.next { right: 10px; }
.mini-carousel .mini-nav {
    position: absolute;
    bottom: 12px; left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.mini-carousel .mini-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    cursor: pointer;
    transition: var(--transition);
}
.mini-carousel .mini-dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
}
@media (max-width: 768px) {
    .mini-carousel .mini-arrow { display: none; }
}

/* 嵌套在 about-visual 容器内时去重复的圆角/阴影（外层已有） */
.about-visual .mini-carousel {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

/* ===================== 在线留言（message.html 独立页） ===================== */
.message-intro {
    text-align: center;
    color: var(--text-gray);
    font-size: 15px;
    margin: -10px 0 28px;
}
.message-form-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px 44px;
}
.message-form .message-form-row {
    margin-bottom: 22px;
}
.message-form .message-form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.message-form .required {
    color: #e53935;
    margin-right: 2px;
}
.message-form .message-form-field input,
.message-form .message-form-field select,
.message-form .message-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 6px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.message-form .message-form-field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a7a3c' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.message-form .message-form-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}
.message-form .message-form-field input:focus,
.message-form .message-form-field select:focus,
.message-form .message-form-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 122, 60, .12);
}
.message-form .message-form-field input::placeholder,
.message-form .message-form-field textarea::placeholder {
    color: #aaa;
}
/* 姓名/电话双列 */
.message-form .message-form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.message-form .message-form-actions {
    text-align: center;
    margin-top: 30px;
}
.message-form .message-submit {
    display: inline-block;
    min-width: 220px;
    padding: 13px 40px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 4px;
    color: #fff;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.message-form .message-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 82, 38, .28);
}
.message-form .message-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.message-result {
    text-align: center;
    font-size: 15px;
    margin-top: 16px;
    min-height: 20px;
}
.message-result.success {
    color: var(--primary-color);
}
.message-result.error {
    color: #e53935;
}
@media (max-width: 768px) {
    .message-form-card {
        padding: 26px 20px;
    }
    .message-form .message-form-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .message-form .message-submit {
        width: 100%;
        min-width: 0;
        letter-spacing: 2px;
    }
}

/* ===================== 留言附件上传 ===================== */
.msg-attach-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.msg-attach-btn {
    display: inline-block;
    padding: 9px 22px;
    font-size: 14px;
    font-family: inherit;
    color: var(--primary-color);
    background: #fff;
    border: 1px dashed var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.msg-attach-btn:hover {
    background: rgba(26, 122, 60, .06);
}
.msg-attach-hint {
    font-size: 13px;
    color: #999;
}
.msg-attach-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.msg-attach-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f7f9f7;
    border: 1px solid #e4eae5;
    border-radius: 6px;
    font-size: 14px;
}
.msg-attach-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-dark);
}
.msg-attach-size {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}
.msg-attach-del {
    flex: none;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    font-size: 15px;
    color: #999;
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.msg-attach-del:hover {
    color: #e53935;
    border-color: #e53935;
}
