/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 按钮样式 */
.btn-more {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, #5a1a2a 0%, #1a1a1a 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more:hover {
    background: linear-gradient(135deg, #7a2a3a 0%, #2a2a2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 26, 42, 0.3);
}

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title.left {
    text-align: left;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #5a1a2a 0%, #1a1a1a 100%);
}

.section-title.left h2::after {
    left: 0;
    transform: none;
}

.section-title p {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    letter-spacing: 3px;
}

/* 顶部信息栏 */
.top-bar {
    background: #fff;
    color: #333;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    margin-right: 25px;
}

.top-bar i {
    margin-right: 5px;
    color: #5a1a2a;
}

/* 语言切换 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 3px 5px;
    border: 1px solid #e0e0e0;
}

.lang-switch a {
    display: inline-block;
    width: 28px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.lang-switch a:hover {
    color: #5a1a2a;
}

.lang-switch a.active {
    background: #5a1a2a;
    color: #fff;
}

.lang-divider {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

/* 头部导航 */
.header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: hidden;
    transition: padding 0.3s ease;
}

.header-compact {
    padding: 8px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LOGO 区域 */
.logo {
    position: relative;
    padding: 15px 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    position: relative;
    z-index: 1;
}

/* 导航区域 - 深色渐变 + 斜角 */
.main-nav {
    padding: 15px 15px 15px 80px;
    position: relative;
    z-index: 1;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: -9999px;
    bottom: 0;
    background: linear-gradient(to right, #5a1a2a 0%, #3d1220 40%, #1a1a1a 100%);
    transform: skewX(14deg);
    transform-origin: top left;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
    position: relative;
}

.main-nav a:hover,
.main-nav li.active a {
    background: rgba(255,255,255,0.15);
}

.main-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background: #d4a5a5;
}

.mobile-menu-btn {
    display: none;
    color: #5a1a2a;
    font-size: 24px;
    cursor: pointer;
}

/* Banner轮播 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    text-align: left;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.banner-content .btn-more {
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.banner-arrows span {
    width: 50px;
    height: 50px;
    background: rgba(90, 26, 42, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 20px;
}

.banner-arrows span:hover {
    background: rgba(90, 26, 42, 0.9);
}

/* 产品分类 - 手风琴效果 */
.product-cats {
    padding: 80px 0;
    background: #fff;
}

.cats-accordion {
    display: flex;
    flex-wrap: nowrap;
    height: 420px;
    gap: 6px;
    overflow: hidden;
}

.cat-panel {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: flex-grow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-panel:hover {
    flex-grow: 3.5;
}

.cat-panel img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-panel:hover img {
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    color: #fff;
    transition: all 0.4s ease;
}

.cat-panel:hover .cat-overlay {
    background: linear-gradient(to top, rgba(90,26,42,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding-bottom: 40px;
}

.cat-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.cat-overlay p {
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.cat-overlay .cat-arrow {
    display: inline-block;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease 0.2s;
}

.cat-panel:hover .cat-overlay .cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: #f5f5f5;
    overflow: hidden;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 文字区域 LOGO 水印 */
.about-text {
    position: relative;
}

.about-text::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -20px;
    right: -20px;
    bottom: -40px;
    background: url('../images/dbj.png') no-repeat center center;
    background-size: 95% auto;
    filter: grayscale(100%);
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.about-text > * {
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.about-text .btn-more {
    margin-top: 20px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 产品展示 */
.products-section {
    padding: 80px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 26, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a1a2a;
    font-size: 18px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.product-item:hover .view-btn {
    transform: scale(1);
}

.view-btn:hover {
    background: #5a1a2a;
    color: #fff;
}

.product-item h3 {
    padding: 15px;
    text-align: center;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.product-item h3 a {
    color: inherit;
    transition: color 0.3s ease;
}

.product-item h3 a:hover {
    color: #5a1a2a;
}

/* 新闻资讯 */
.news-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* 左侧焦点图轮播 */
.news-focus {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.focus-slider {
    position: relative;
    height: 100%;
}

.focus-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.focus-slide.active {
    opacity: 1;
}

.focus-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 焦点图指示点 */
.focus-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.focus-dots .fdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.focus-dots .fdot.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

/* 右侧新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    flex: 1;
}

.news-item:hover,
.news-item.active {
    background: linear-gradient(135deg, rgba(90,26,42,0.05) 0%, rgba(26,26,26,0.02) 100%);
    border-left-color: #5a1a2a;
}

.news-date {
    text-align: center;
    min-width: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 26px;
    font-weight: bold;
    color: #5a1a2a;
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    color: #999;
}

.news-info {
    flex: 1;
    overflow: hidden;
}

.news-info h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item.active .news-info h4 {
    color: #5a1a2a;
}

.news-info p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.news-info a {
    font-size: 13px;
    color: #5a1a2a;
    font-weight: 500;
}

.news-info a:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: linear-gradient(to right, #5a1a2a 0%, #3d1220 40%, #1a1a1a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/dbj.png') no-repeat center left 3%;
    background-size: 45% auto;
    filter: invert(1);
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}

.footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer-item h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4a5a5;
}

.footer-item p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-item ul li {
    margin-bottom: 12px;
}

.footer-item ul li a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-item ul li a:hover {
    color: #d4a5a5;
    padding-left: 5px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.qrcode-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.qrcode-item {
    flex: 1 1 calc(25% - 10px);
    min-width: 60px;
    text-align: center;
}

.qrcode-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    background: #fff;
    padding: 3px;
    box-sizing: border-box;
}

.qrcode-item span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.2;
}

.contact-info ul li {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info ul li i {
    color: #d4a5a5;
    margin-top: 3px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ========== 内页通用样式 ========== */

/* 内页Banner */
.page-banner {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner .banner-title {
    color: #fff;
    z-index: 1;
}

.page-banner .banner-title h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.page-banner .banner-title p {
    font-size: 16px;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.8);
}

/* 内页面包屑 */
.breadcrumb {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 13px;
    color: #999;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #5a1a2a;
}

.breadcrumb span {
    margin: 0 8px;
}

/* 内页主体 */
.page-main {
    padding: 60px 0;
    background: #fff;
}

/* 关于我们内页 */
.about-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.about-detail .about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-detail .about-img img {
    width: 100%;
    display: block;
}

.about-detail .about-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #5a1a2a;
    display: inline-block;
}

.about-detail .about-text p {
    color: #666;
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}

/* 公司优势 */
.advantages {
    padding: 60px 0;
    background: #f5f5f5;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.adv-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.adv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90,26,42,0.15);
}

.adv-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #5a1a2a, #1a1a1a);
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
}

.adv-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* 产品中心内页 */
.product-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.product-filter .filter-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-filter .filter-btn:hover,
.product-filter .filter-btn.active {
    background: #5a1a2a;
    color: #fff;
    border-color: #5a1a2a;
}

/* 新闻中心内页 */
.news-page-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-page-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-page-item:hover {
    background: #fafafa;
}

.news-page-item .news-thumb {
    width: 220px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-page-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-page-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-page-item .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-page-item .news-content h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-page-item:hover .news-content h4 {
    color: #5a1a2a;
}

.news-page-item .news-content p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page-item .news-meta {
    font-size: 13px;
    color: #bbb;
    margin-top: 10px;
}

/* 联系我们内页 */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, #5a1a2a, #1a1a1a);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    height: fit-content;
    position: relative;
    overflow: hidden;
}

/* 纽带装饰 */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -45px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}
.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

/* 纽带图形 */
.ribbon-wrap {
    position: absolute;
    top: 0;
    left: 30px;
    z-index: 1;
}
.ribbon-main {
    position: relative;
    width: 50px;
    height: 80px;
    background: rgba(255,255,255,0.12);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}
.ribbon-left,
.ribbon-right {
    position: absolute;
    bottom: 0;
    width: 25px;
    height: 35px;
    background: rgba(255,255,255,0.08);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}
.ribbon-left {
    left: -16px;
    transform: rotate(15deg);
}
.ribbon-right {
    right: -16px;
    transform: rotate(-15deg);
}
.ribbon-line {
    position: absolute;
    top: 10px;
    left: -5px;
    right: -5px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    transform: rotate(-2deg);
}
.ribbon-line:nth-child(2) {
    top: 25px;
    transform: rotate(1deg);
}
.ribbon-line:nth-child(3) {
    top: 40px;
    transform: rotate(-1deg);
}

/* 第二个纽带 */
.ribbon-wrap2 {
    position: absolute;
    bottom: 0;
    right: 30px;
    z-index: 1;
    transform: scaleX(-1);
}
.ribbon-wrap2 .ribbon-main {
    height: 60px;
    background: rgba(255,255,255,0.08);
}
.ribbon-wrap2 .ribbon-left,
.ribbon-wrap2 .ribbon-right {
    height: 28px;
    background: rgba(255,255,255,0.05);
}
.ribbon-wrap2 .ribbon-line {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 640px) {
    .ribbon-wrap {
        left: 15px;
    }
    .ribbon-wrap .ribbon-main {
        width: 35px;
        height: 60px;
    }
    .ribbon-wrap .ribbon-left,
    .ribbon-wrap .ribbon-right {
        width: 18px;
        height: 25px;
    }
    .ribbon-wrap .ribbon-left {
        left: -11px;
    }
    .ribbon-wrap .ribbon-right {
        right: -11px;
    }
    .ribbon-wrap2 {
        right: 15px;
    }
    .ribbon-wrap2 .ribbon-main {
        width: 35px;
        height: 45px;
    }
    .ribbon-wrap2 .ribbon-left,
    .ribbon-wrap2 .ribbon-right {
        width: 18px;
        height: 20px;
    }
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-info-card .sub {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-info-card .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-card .info-item i {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-info-card .info-item .info-text {
    font-size: 14px;
    line-height: 1.8;
}

.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #5a1a2a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5a1a2a;
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.form-submit {
    padding: 12px 40px;
    background: linear-gradient(135deg, #5a1a2a, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90,26,42,0.3);
}

/* ========== 联系我们 - 全宽联系人卡片 ========== */
.contact-full-card {
    max-width: 100%;
    margin-bottom: 40px;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 腾讯地图 ========== */
.map-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.map-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #5a1a2a;
    display: inline-block;
}
.map-section .sub {
    font-size: 13px;
    color: #bbb;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.map-placeholder {
    width: 100%;
    height: 450px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
#tencent-map {
    width: 100%;
    height: 100%;
}

/* ========== 在线留言独立页面 ========== */
.message-page-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.message-intro {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.message-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .message-form-card {
        padding: 25px;
    }
}

/* ========== 资料下载列表 ========== */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.download-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}
.download-item:hover {
    background: #fafafa;
}
.download-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #5a1a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}
.download-content {
    flex: 1;
}
.download-content h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.download-item:hover .download-content h4 {
    color: #5a1a2a;
}
.download-content p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.download-meta {
    margin-top: 10px;
    font-size: 13px;
    color: #bbb;
}
.download-meta span {
    margin-right: 20px;
}
.download-meta i {
    margin-right: 5px;
}
.download-action {
    flex-shrink: 0;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #5a1a2a, #1a1a1a);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.download-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90,26,42,0.3);
}
.download-empty {
    text-align: center;
    padding: 80px 20px;
    color: #ccc;
}
.download-empty i {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}
.download-empty p {
    font-size: 16px;
}
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .download-action {
        align-self: flex-end;
    }
}
@media (max-width: 480px) {
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* 响应式补充 */
@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }
    .page-banner .banner-title h2 {
        font-size: 26px;
    }
    .about-detail {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .news-page-item {
        flex-direction: column;
    }
    .news-page-item .news-thumb {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-banner {
        height: 180px;
    }
    .page-banner .banner-title h2 {
        font-size: 22px;
    }
}

/* 滚动出现动画 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cats-accordion {
        height: 340px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .header {
        overflow: visible;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 10;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #5a1a2a 0%, #1a1a1a 100%);
        display: none;
        padding: 20px;
        margin-left: 0;
        z-index: 1001;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    
    .main-nav::before {
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 5px 0;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .cats-accordion {
        height: 280px;
    }
    
    .cat-overlay {
        padding: 40px 15px 15px;
    }
    
    .cat-overlay h3 {
        font-size: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-item {
        padding: 12px 10px;
        gap: 10px;
    }

    .news-date {
        min-width: 45px;
        flex-shrink: 0;
    }

    .news-info {
        min-width: 0;
        overflow: hidden;
    }

    .news-info h4 {
        white-space: normal;
        overflow: visible;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .cats-accordion {
        flex-direction: column;
        height: auto;
        gap: 4px;
    }
    
    .cat-panel {
        flex: none;
        height: 180px;
    }
    
    .cat-panel:hover {
        flex: none;
        height: 240px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-item h3 {
        font-size: 13px;
        padding: 10px 6px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 22px;
    }
}

/* ========== 企业荣誉 ========== */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.honor-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.honor-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f8f8f8;
}

.honor-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.honor-item:hover .honor-img img {
    transform: scale(1.03);
}

.honor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 26, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.honor-item:hover .honor-overlay {
    opacity: 1;
}

.honor-overlay a {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a1a2a;
    font-size: 18px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.honor-item:hover .honor-overlay a {
    transform: scale(1);
}

.honor-overlay a:hover {
    background: #5a1a2a;
    color: #fff;
}

.honor-item h3 {
    padding: 18px 15px;
    text-align: center;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .honor-grid {
        gap: 20px;
    }
    
    .honor-item h3 {
        font-size: 14px;
        padding: 14px 10px;
    }
}

@media (max-width: 480px) {
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .honor-item h3 {
        font-size: 12px;
        padding: 10px 6px;
    }
}

/* ========== 产品详情页 ========== */
/* 产品名称 */
.detail-title {
    font-size: 26px;
    color: #333;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.4;
}

.detail-subtitle {
    font-size: 15px;
    color: #999;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* 产品图片 */
.detail-image {
    text-align: center;
    margin-bottom: 50px;
}

.detail-image img {
    max-width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 上下篇导航 */
.detail-pagination {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 60px;
}

.detail-pagination a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 10px 0;
    text-decoration: none;
    transition: color 0.3s;
    color: #555;
}

.detail-pagination a:hover {
    color: #5a1a2a;
}

.detail-pagination .pagination-label {
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.detail-pagination .pagination-title {
    color: #333;
}

.detail-pagination a:hover .pagination-title {
    color: #5a1a2a;
}

.detail-pagination a.disabled {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

.detail-pagination a.disabled .pagination-title {
    color: #ccc;
}

/* ===== 通用分页样式 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    background: #fff;
    transition: all 0.2s;
    text-decoration: none;
}
.pagination a:hover {
    background: #5a1a2a;
    color: #fff;
    border-color: #5a1a2a;
}
.pagination .current {
    background: #5a1a2a;
    color: #fff;
    border-color: #5a1a2a;
    font-weight: 600;
}
.pagination .prev-next {
    font-size: 13px;
    padding: 0 14px;
}

/* 详情区域通用 */
.detail-section {
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #5a1a2a;
}

.section-header h3 {
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

.section-header p {
    font-size: 12px;
    color: #bbb;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* 参数表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 14px 20px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.spec-table td:nth-child(odd) {
    background: #fafafa;
    color: #666;
    width: 15%;
    font-weight: 500;
    white-space: nowrap;
}

.spec-table td:nth-child(even) {
    width: 35%;
}

/* 详情内容 */
.detail-content {
    font-size: 15px;
    color: #555;
    line-height: 2;
}

.detail-content img {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-content p {
    margin-bottom: 18px;
    text-align: justify;
}

/* ========== 新闻详情页 ========== */
/* 文章主体 */
.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 28px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: #5a1a2a;
}

/* 文章特色图 */
.article-featured-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-featured-image img {
    width: 100%;
    display: block;
}

/* 文章正文 */
.article-body {
    font-size: 15px;
    color: #444;
    line-height: 2;
    margin-bottom: 40px;
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-body h3 {
    font-size: 20px;
    color: #333;
    margin: 35px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #5a1a2a;
    font-weight: 600;
}

.article-body strong {
    color: #333;
}

.article-body img {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


/* 上下篇导航 */
.article-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.nav-prev,
.nav-next {
    flex: 1;
    min-width: 0;
}

.nav-prev a,
.nav-next a {
    display: block;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.nav-prev a:hover,
.nav-next a:hover {
    background: #fff;
    border-color: #5a1a2a;
    box-shadow: 0 4px 15px rgba(90,26,42,0.08);
}

.nav-label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.nav-label i {
    font-size: 12px;
}

.nav-title {
    display: block;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-next {
    text-align: right;
}

/* 相关新闻 */
.related-news {
    background: #fafafa;
    border-radius: 8px;
    padding: 30px;
}

.related-news h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #5a1a2a;
    display: inline-block;
}

.related-news ul {
    list-style: none;
}

.related-news ul li {
    margin-bottom: 12px;
}

.related-news ul li:last-child {
    margin-bottom: 0;
}

.related-news ul li a {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-news ul li a:hover {
    border-color: #5a1a2a;
    transform: translateX(5px);
}

.rnews-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.rnews-title {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-news ul li a:hover .rnews-title {
    color: #5a1a2a;
}

/* ========== 响应式 - 详情页 ========== */
@media (max-width: 768px) {
    .detail-title {
        font-size: 22px;
    }

    .detail-image img {
        max-height: 350px;
    }

    .spec-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .spec-table td:nth-child(odd) {
        width: 25%;
    }

    .detail-pagination a {
        font-size: 13px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-nav {
        flex-direction: column;
        gap: 12px;
    }

    .nav-next {
        text-align: left;
    }

    .related-news {
        padding: 20px;
    }

    .related-news ul li a {
        flex-direction: column;
        gap: 5px;
    }

    .pagination a, .pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 20px;
    }

    .detail-subtitle {
        font-size: 13px;
    }

    .detail-image img {
        max-height: 280px;
    }

    .detail-pagination a {
        font-size: 13px;
    }

    .article-title {
        font-size: 19px;
    }

    .article-body {
        font-size: 14px;
    }

    .article-body h3 {
        font-size: 17px;
    }

    .pagination a, .pagination span {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
        padding: 0 8px;
    }

}
