﻿/******************************************************************************
 *  pages.css - 全站页面级样式（除 common.css 基础框架外）
 *  合并自：index.css / about.css / product.css / service.css
 ******************************************************************************/


/* ============================================================================
   第一部分：首页专属样式 (原 index.css)
   作用页面：index.html
   ============================================================================ */

/* ----- 轮播图 ----- */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #1d76d0;
}
.slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity .8s;
    display: flex;
    align-items: center;
    background-size: cover;
   background-repeat: repeat-x;
	background-position: center center;
}
.slider .slide.active { opacity: 1; z-index: 1; }
.slider .slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    width: 100%;
}
.slider .slide-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}
.slider .slide-content h1 span {
    display: block;
    font-size: 26px;
    margin-top: 8px;
}
.slider .slide-content .lead {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: .9;
    word-break: keep-all;
    overflow-wrap: normal;
}
.slider .slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.3);
    z-index: 1;
}
.slider .slide-img {
    position: absolute;
    right: 10%;
    bottom: 0;
    z-index: 2;
    max-height: 85%;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: .3s;
}
.slider-dots span.active { background: #fff; }

/* Banner 文字移入动画 */
.slider .slide .slide-content h1,
.slider .slide .slide-content .lead,
.slider .slide .slide-content .btn {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .6s ease, transform .6s ease;
}
.slider .slide .slide-content .lead {
    transform: translateY(20px);
    transition-delay: .15s;
}
.slider .slide .slide-content .btn {
    transform: translateY(20px);
    transition-delay: .3s;
}
.slider .slide.active .slide-content h1,
.slider .slide.active .slide-content .lead,
.slider .slide.active .slide-content .btn {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Banner 背景图 zoom 动画 */
.slider .slide {
    background-size: auto 100% ;
}
.slider .slide.active {
    animation: bgZoom 6s ease forwards;
}
@keyframes bgZoom {
    from { background-size: auto 100% ; }
    to { background-size: auto 100% ; }
}

/* Banner 容器加宽 */
.slider-container {
    max-width: 1400px;
    width: 100%;
}

/* ----- 行动号召区 ----- */
.box-action {
    background: #1d76d0;
    padding: 30px 0;
    color: #fff;
}
.box-action .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box-action .title p { font-size: 24px; font-weight: bold; letter-spacing: 1px; }
.box-action .button a {
    display: inline-block;
    padding: 10px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 30px;
    font-size: 15px;
    transition: .3s;
}
.box-action .button a:hover { background: #fff; color: #1d76d0; border-color: #fff; }
.box-action .button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.box-action .button::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}

/* ----- 热门产品 ----- */
.section-gray { background: #f8f8f8; }
.paddings { padding: 60px 0; }
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: normal;
    color: #333;
    margin-bottom: 40px;
}
.works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.item-work {
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: box-shadow .3s;
}
.item-work:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.item-work .hover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-work .hover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s;
}
.item-work:hover .hover img { transform: scale(1.02); }
.item-work .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(29,118,208,.15);
    opacity: 0;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-work:hover .overlay { opacity: 1; }
.plus-icon {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(.5);
    transition: .3s;
}
.item-work:hover .plus-icon {
    opacity: 1;
    transform: scale(1);
}
.item-work .info-work { padding: 15px; text-align: center; }
.item-work .info-work h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 4px;
    font-weight: normal;
}
.item-work .info-work p {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.item-work .icons-work { color: #1d76d0; }

/* ----- 服务介绍区（滑动切换） ----- */
.services-section { padding: 60px 0; background: #fff; overflow: hidden; }
.services-tabs { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.services-tabs li {
    padding: 8px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #666;
    transition: .3s;
}
.services-tabs li.active {
    color: #1d76d0;
    border-bottom-color: #1d76d0;
}
.services-slider { overflow: hidden; }
.services-track {
    display: flex;
    width: 200%;
    transition: transform .6s ease;
}
.services-panel {
    flex: 0 0 50%;
    width: 50%;
    padding: 0 15px;
}

/* 椅子飞入动画 */
.chair-img {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity .8s ease, transform .8s ease;
}
.chair-img.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* 椅子漂浮图标 */
.chair-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.float-badge {
    position: absolute;
    opacity: 0;
    transform: scale(0) rotate(-15deg);
    transition: all .6s cubic-bezier(.175, .885, .32, 1.275);
}
.badge-sgs {
    top: 5%;
    left: 5%;
    width: 58px; height: 58px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(230,126,34,.35);
}
.badge-sgs i { font-size: 20px; margin-bottom: 1px; }
.badge-recycle {
    top: 38%;
    left: 32%;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(39,174,96,.35);
}
.badge-award {
    top: 10%;
    right: 8%;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(52,152,219,.35);
}
.connect-arrow {
    position: absolute;
    right: -5%;
    width: 30px;
    height: 2px;
    background: #e74c3c;
    opacity: 0;
    transform: translateX(-15px);
    transition: all .4s ease;
}
.connect-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0; height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #e74c3c;
}

.chair-wrapper.animate-in .float-badge {
    opacity: 1;
    transform: scale(1) rotate(0);
}
.chair-wrapper.animate-in .badge-sgs { transition-delay: .4s; }
.chair-wrapper.animate-in .badge-recycle { transition-delay: .6s; }
.chair-wrapper.animate-in .badge-award { transition-delay: .8s; }
.chair-wrapper.animate-in .connect-arrow {
    opacity: 1;
    transform: translateX(0);
}
.chair-wrapper.animate-in .a1 { transition-delay: .5s; }
.chair-wrapper.animate-in .a2 { transition-delay: .7s; }
.chair-wrapper.animate-in .a3 { transition-delay: .9s; }

/* 特色列表 */
.feature-list { display: flex; flex-direction: column; gap: 25px; }
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.feature-icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: #1d76d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(29,118,208,.25);
}
.feature-text h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 6px;
    font-weight: normal;
}
.feature-text p { font-size: 15px; color: #666; line-height: 1.8; }

/* 关于我们面板 */
.about-panel .row { align-items: center; }
.about-panel h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
    font-weight: normal;
}
.about-panel h2 span {
    display: block;
    font-size: 16px;
    color: #888;
    margin-top: 4px;
}
.about-panel p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
}
.about-panel img { border-radius: 4px; }

/* 居中轮播文字 */
.slider .slide-center .slider-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 32px;
    padding-right: 32px;
}
.slider .slide-center .slide-content {
    text-align: center;
    margin: 0 auto;
    max-width: min(1000px, 92vw);
}
.slider .slide-center .slide-content h1 {
    display: inline-block;
    max-width: 100%;
}
.slider .slide-center .slide-content .lead {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.slider .slide-center .slide-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
}

/* ----- 赞助商/客户轮播 ----- */
.sponsors {
    background: #1d76d0;
    color: #fff;
    padding: 50px 0;
}
.sponsors h2 {
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
}
.sponsors h2 span { font-size: 28px; font-weight: bold; }

.sponsor-carousel {
    position: relative;
    padding: 0 40px;
}
.sponsor-viewport {
    overflow: hidden;
}
.sponsor-track {
    display: flex;
    transition: transform .5s ease;
}
.sponsor-track li {
    flex: 0 0 auto;
    padding: 0 15px;
    text-align: center;
}
.sponsor-track img {
    width: 100%;
    height: 50px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 4px;
    opacity: .9;
    transition: .3s;
    display: block;
    object-fit: contain;
}
.sponsor-track img:hover { opacity: 1; }

.sponsor-prev, .sponsor-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,.2);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
    font-size: 18px;
    z-index: 2;
}
.sponsor-prev:hover, .sponsor-next:hover { background: rgba(255,255,255,.4); }
.sponsor-prev { left: 0; }
.sponsor-next { right: 0; }


/* ============================================================================
   第二部分：关于我们页面样式 (原 about.css)
   作用页面：about.html / service.html（复用部分通用类）
   ============================================================================ */

/* ----- 页面标题区 ----- */
.about-section {
    padding: 60px 0;
}
.about-section .row {
    align-items: center;
}
.section-heading {
    font-size: 28px;
    color: #333;
    font-weight: normal;
    margin-bottom: 8px;
}
.sub-heading {
    font-size: 16px;
    color: #1d76d0;
    margin-bottom: 20px;
}
.sub-heading .highlight {
    color: #e74c3c;
    font-weight: bold;
}
.about-text p {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}
.about-img {
    border-radius: 4px;
    overflow: hidden;
}
.about-img img {
    width: 100%;
    border-radius: 4px;
}

/* 创想未来 */
.section-future { background: #fff; }

/* 设计至上 */
.section-design { background: #f8f8f8; }
.design-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.design-img {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.design-img img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
    transition: transform .4s;
}
.design-img:hover img { transform: scale(1.06); }
.design-img .img-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(29,118,208,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.design-img:hover .img-overlay { opacity: 1; }
.design-img .plus-icon {
    display: block;
    width: 46px; height: 46px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    background: #1d76d0;
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transform: scale(.5);
    transition: .3s;
}
.design-img:hover .plus-icon {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox 弹出层 */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* 品质如一 */
.section-quality { background: #fff; }
.quality-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.quality-img img {
    max-width: 100%;
    border-radius: 4px;
}

/* 价值观卡片 */
.values-section {
    background: #4a4a4a;
    padding: 50px 0;
}
.values-row { align-items: stretch; }
.value-card {
    background: #fff;
    padding: 25px;
    height: 100%;
    border-radius: 4px;
    transition: transform .35s ease, box-shadow .35s ease;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.value-header h4 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}
.value-star {
    color: #1d76d0;
    font-size: 20px;
}
.value-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}


/* ============================================================================
   第三部分：产品中心 / 产品详情 / 联系 / 资讯 共用样式 (原 product.css)
   作用页面：product.html / product-detail.html / contact.html / news.html / news-detail.html
   ============================================================================ */

/* ----- 页面标题区（含面包屑） ----- */
.page-header {
    background: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0 10px;
}
.page-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}
.page-title h1 {
    font-size: 28px;
    color: #333;
    font-weight: normal;
}
.page-tag {
    display: inline-block;
    padding: 4px 16px;
    background: #1d76d0;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #1d76d0; }
.breadcrumb span { margin: 0 6px; }

/* ----- 分类导航 ----- */
.category-nav {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    margin-bottom: 20px;
}
.category-nav ul {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    list-style: none;
}
.category-nav li a {
    font-size: 14px;
    color: #666;
    padding-bottom: 5px;
    display: block;
    border-bottom: 2px solid transparent;
    transition: .2s;
}
.category-nav li a:hover,
.category-nav li.active a {
    color: #1d76d0;
    border-bottom-color: #1d76d0;
}

/* ----- 产品列表 ----- */
.product-section {
    padding: 0 0 50px;
}
.product-count {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
    padding: 0;
    transition: .3s;
}
.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-color: #ddd;
}
.product-card .product-img {
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s;
}
.product-card:hover .product-img img { transform: scale(1.02); }
.product-card .product-img .p-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.product-card:hover .product-img .p-overlay { opacity: 1; }
.product-card .product-img .p-overlay .plus {
    display: block;
    width: 50px; height: 50px;
    line-height: 46px;
    text-align: center;
    border-radius: 50%;
    background: #1d76d0;
    color: #fff;
    font-size: 26px;
    opacity: 0;
    transform: scale(.5);
    transition: .3s;
}
.product-card:hover .product-img .p-overlay .plus {
    opacity: 1;
    transform: scale(1);
}
.product-card a { text-decoration: none; display: block; }
.product-card h4 {
    font-size: 15px;
    color: #333;
    font-weight: normal;
    margin: 0;
    padding: 18px 12px 6px;
}
.product-card .model {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    padding: 0 12px;
}
.product-card .line {
    width: 40px;
    height: 2px;
    background: #1d76d0;
    margin: 0 auto 22px;
}

/* ----- 分页 ----- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #666;
    border: 1px solid #ddd;
    transition: .2s;
}
.pagination a:hover {
    background: #1d76d0;
    color: #fff;
    border-color: #1d76d0;
}
.pagination .current {
    background: #1d76d0;
    color: #fff;
    border-color: #1d76d0;
}

/* ----- 产品详情 ----- */
.product-detail-section {
    padding: 30px 0 60px;
}
.product-detail-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.product-info {
    flex: 1;
}
.product-info h2 {
    font-size: 22px;
    color: #333;
    font-weight: normal;
    margin-bottom: 12px;
}
.product-info .meta {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}
.product-info .meta span {
    display: block;
    margin-bottom: 6px;
}
.product-info .desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 15px 0;
}
.product-info .back-link {
    font-size: 14px;
    color: #1d76d0;
}
.product-info .back-link:hover { text-decoration: underline; }

.product-gallery {
    width: 45%;
    position: relative;
}
.gallery-main {
    border: 1px solid #eee;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
}
.gallery-track {
    display: flex;
    height: 100%;
    transition: transform .5s ease;
}
.gallery-track img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    transition: .2s;
}
.gallery-arrow:hover { color: #1d76d0; }
.gallery-arrow.prev { left: 5px; }
.gallery-arrow.next { right: 5px; }
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.gallery-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}
.gallery-dots span.active { background: #1d76d0; }
.next-product {
    text-align: right;
    margin-top: 15px;
}
.next-product a {
    font-size: 13px;
    color: #1d76d0;
}

/* ----- 联系页面 ----- */
.contact-section {
    padding: 40px 0 60px;
}
.contact-layout {
    display: flex;
    gap: 40px;
}
.contact-left {
    width: 35%;
}
.contact-right {
    flex: 1;
}
.contact-left h4,
.contact-right h4 {
    font-size: 16px;
    color: #333;
    font-weight: normal;
    margin-bottom: 15px;
}
.contact-left .info-item {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.contact-left .info-item i {
    color: #1d76d0;
    font-size: 14px;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}
.contact-left .company-name {
    font-size: 16px;
    color: #333;
    margin: 12px 0;
    font-weight: bold;
}
.contact-left .qr-code {
    width: 140px;
    margin-top: 15px;
}
.contact-left .qr-code img {
    width: 100%;
}
.contact-right > p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-form .form-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.contact-form .form-title i { color: #1d76d0; }
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group {
    flex: 1;
}
.form-group.full { width: 100%; }
.form-group label {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}
.form-group label .required { color: #e74c3c; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    color: #333;
    transition: .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #1d76d0;
    outline: none;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.btn-submit {
    display: inline-block;
    padding: 8px 24px;
    background: #1d76d0;
    color: #fff;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: .2s;
}
.btn-submit:hover { background: #1660aa; }

.contact-feedback-open {
    overflow: hidden;
}

.contact-feedback-dialog {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-feedback-dialog.active {
    display: flex;
}

.contact-feedback-mask {
    position: absolute;
    inset: 0;
    background: rgba(18, 28, 45, .48);
}

.contact-feedback-panel {
    position: relative;
    width: min(360px, 100%);
    background: #fff;
    border-radius: 8px;
    padding: 34px 26px 26px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .2);
    transform: translateY(8px);
    animation: contactFeedbackIn .22s ease forwards;
}

.contact-feedback-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #9aa4b2;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
}

.contact-feedback-close:hover {
    color: #475569;
}

.contact-feedback-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.contact-feedback-dialog.is-success .contact-feedback-icon {
    background: #eaf7ef;
    color: #22a35a;
}

.contact-feedback-dialog.is-error .contact-feedback-icon {
    background: #fff1f0;
    color: #d93025;
}

.contact-feedback-message {
    min-height: 52px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.65;
}

.contact-feedback-ok {
    min-width: 116px;
    height: 38px;
    margin-top: 18px;
    border: 0;
    border-radius: 4px;
    background: #1d76d0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.contact-feedback-ok:hover {
    background: #1660aa;
}

@keyframes contactFeedbackIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----- 资讯页面侧边栏 ----- */
.news-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0 60px;
}
.news-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.sidebar-block {
    margin-bottom: 25px;
}
.sidebar-block h4 {
    font-size: 15px;
    color: #333;
    font-weight: normal;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.sidebar-menu {
    list-style: none;
}
.sidebar-menu li {
    margin-bottom: 8px;
}
.sidebar-menu li a {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-menu li a i {
    color: #1d76d0;
    font-size: 11px;
}
.sidebar-menu li a:hover { color: #1d76d0; }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #666;
    transition: .2s;
}
.tag-cloud a i { color: #1d76d0; font-size: 10px; }
.tag-cloud a:hover {
    border-color: #1d76d0;
    color: #1d76d0;
}

.focus-box h5 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}
.focus-box p {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

/* ----- 资讯列表 ----- */
.news-main { flex: 1; }
.news-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}
.news-item:first-child { padding-top: 0; }
.news-thumb {
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #eee;
}
.news-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .4s;
}
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-content { flex: 1; }
.news-content h3 {
    font-size: 16px;
    color: #1d76d0;
    font-weight: normal;
    margin-bottom: 10px;
}
.news-content h3 a:hover { text-decoration: underline; }
.news-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.news-meta i { margin-right: 3px; }
.news-meta .tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    font-size: 11px;
    color: #666;
}
.news-content .summary {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}
.btn-more {
    display: inline-block;
    padding: 4px 14px;
    background: #1d76d0;
    color: #fff;
    font-size: 12px;
    transition: .2s;
}
.btn-more:hover { background: #1660aa; }

/* ----- 资讯详情 ----- */
.news-detail .news-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    margin-bottom: 15px;
}
.news-detail .news-meta-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.news-detail .news-meta-bar i { margin-right: 3px; }
.news-detail .news-meta-bar .tag {
    padding: 2px 8px;
    background: #f0f0f0;
    font-size: 11px;
    color: #666;
}
.news-detail h2 {
    font-size: 20px;
    color: #1d76d0;
    font-weight: normal;
    margin-bottom: 20px;
}
.news-detail .news-body {
    font-size: 14px;
    color: #666;
    line-height: 2;
    text-align: justify;
}
.news-detail .news-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    font-size: 13px;
    color: #1d76d0;
}
.back-btn:hover { text-decoration: underline; }


/* ============================================================================
   第四部分：服务页面专属样式 (原 service.css)
   作用页面：service.html
   ============================================================================ */

/* 服务图片 */
.service-img {
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.service-img img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

/* OEM/ODM 服务 - 白底 */
.section-service { background: #fff; }

/* 设计研发服务 - 灰底 */
.section-design-service { background: #f8f8f8; }
.section-design-service .row { flex-direction: row-reverse; }

/* 品质管控服务 - 白底 */
.section-quality-service { background: #fff; }


/* ============================================================================
   第五部分：响应式适配（覆盖所有页面）
   ============================================================================ */

@media (max-width: 768px) {
    /* 首页 */
    .slider { height: 320px; }
    .slider .slide-center .slider-container { padding-left: 20px; padding-right: 20px; }
    .slider .slide-content h1 { font-size: 28px; white-space: normal; word-break: normal; overflow-wrap: break-word; }
    .slider .slide-content h1 span { font-size: 18px; }
    .slider .slide-content .lead { font-size: 15px; word-break: normal; overflow-wrap: break-word; }
    .slider .slide-img { display: none; }
    .box-action .container { flex-direction: column; gap: 15px; text-align: center; }
    .works { grid-template-columns: repeat(2, 1fr); }
    .services-track { width: 200%; }
    .services-panel { flex: 0 0 50%; width: 50%; padding: 0; }
    .about-panel .row { flex-direction: column-reverse; }
    .about-panel .col-md-6 + .col-md-6 { margin-bottom: 20px; }
    .feature-item { gap: 12px; }
    .services-tabs { gap: 10px; }
    .services-tabs li { padding: 6px 12px; font-size: 13px; }
    .sponsor-carousel { padding: 0 30px; }
    .sponsor-prev, .sponsor-next { width: 28px; height: 28px; line-height: 28px; font-size: 14px; }
    .sponsor-track img { height: 40px; }

    /* 关于我们 */
    .about-section { padding: 40px 0; }
    .about-section .row { flex-direction: column; }
    .about-section .col-md-6 + .col-md-6 { margin-top: 30px; }
    .design-gallery { grid-template-columns: 1fr 1fr; }
    .values-section .col-md-3 { margin-bottom: 15px; }
    .page-title h1 { font-size: 22px; }

    /* 产品/联系/资讯 */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-card h4 { font-size: 15px; padding: 14px 8px 5px; }
    .product-card .model { padding: 0 8px; }
    .product-card .line { margin-bottom: 18px; }
    .product-detail-layout { flex-direction: column; }
    .product-gallery { width: 100%; }
    .contact-layout { flex-direction: column; }
    .contact-left { width: 100%; }
    .news-layout { flex-direction: column; }
    .news-sidebar { width: 100%; }
    .news-item { flex-direction: column; }
    .news-thumb { width: 100%; }
    .category-nav ul { flex-wrap: wrap; gap: 15px; justify-content: flex-start; }
    .form-row { flex-direction: column; gap: 10px; }

    /* 服务页 */
    .section-design-service .row { flex-direction: column; }
    .service-img { min-height: 200px; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .works { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .section-title { font-size: 26px; margin-bottom: 28px; }
}
