﻿/* 打印机系列专题页独立CSS - 深青绿色系 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: linear-gradient(135deg, #0f4c4c, #1a6b6b); color: #fff; padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo i { font-size: 28px; color: #4dd0c8; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: rgba(255,255,255,0.9); font-size: 15px; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: #4dd0c8; }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: bold; }
.header-phone i { color: #4dd0c8; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f4c4c 0%, #1a7a7a 50%, #0f4c4c 100%); color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(77,208,200,0.1) 0%, transparent 70%); }
.hero h1 { font-size: 36px; margin-bottom: 16px; position: relative; }
.hero p { font-size: 17px; opacity: 0.9; position: relative; }
.hero-tags { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }
.hero-tag { background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 20px; font-size: 14px; }

/* Breadcrumb */
.breadcrumb { background: #f5f7f7; padding: 12px 0; font-size: 14px; color: #666; }
.breadcrumb a { color: #0f4c4c; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #999; }

/* Section */
.content-section { padding: 50px 0; }
.content-section.bg-light { background: #f5f7f7; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { font-size: 28px; color: #0f4c4c; margin-bottom: 10px; }
.section-heading h2::after { content: ''; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, #0f4c4c, #4dd0c8); margin: 12px auto 0; border-radius: 2px; }
.section-heading p { color: #888; font-size: 15px; }

/* Intro */
.intro-text { max-width: none; margin: 0; background: #fff; padding: 28px 32px; border-radius: 12px; border-left: 4px solid #0f4c4c; box-shadow: 0 2px 12px rgba(0,0,0,0.06); line-height: 2; color: #555; font-size: 15px; }
.intro-text p { margin-bottom: 14px; }
.intro-text p:last-child { margin-bottom: 0; }

/* Fault cards */
.fault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fault-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.fault-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.fault-icon { width: 56px; height: 56px; margin: 0 auto 14px; background: linear-gradient(135deg, #0f4c4c, #1a7a7a); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; }
.fault-card h4 { font-size: 17px; color: #0f4c4c; margin-bottom: 8px; }
.fault-card p { font-size: 13px; color: #777; line-height: 1.7; }

/* Model cards */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.model-card h4 { font-size: 17px; color: #0f4c4c; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.model-card h4 i { color: #4dd0c8; }
.model-card .model-desc { font-size: 13px; color: #888; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed #e0e0e0; }
.model-row { font-size: 13px; color: #555; padding: 5px 0; padding-left: 16px; position: relative; }
.model-row::before { content: '>'; position: absolute; left: 0; color: #0f4c4c; font-weight: bold; }
.model-row .sep { color: #ccc; margin: 0 3px; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: #fff; border-radius: 12px; padding: 22px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-3px); }
.service-card i { font-size: 32px; color: #0f4c4c; margin-bottom: 12px; }
.service-card h4 { font-size: 16px; color: #333; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: #888; }

/* Price table */
.price-table-wrap { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead { background: linear-gradient(135deg, #0f4c4c, #1a7a7a); }
.price-table th { color: #fff; padding: 14px 12px; text-align: center; font-size: 15px; font-weight: bold; border: 1px solid rgba(255,255,255,0.2); }
.price-table td { padding: 12px; border: 1px solid #e5e7eb; font-size: 14px; color: #374151; text-align: center; vertical-align: middle; }
.price-table tbody tr:hover { background: #e8f5f3; }
.price-table .cat-row { background: #d4ebe8; font-weight: bold; color: #0f4c4c; font-size: 15px; }
.price-table .cat-row td { padding: 10px 16px; text-align: left; }
.price-table .price { color: #c0392b; font-weight: bold; white-space: nowrap; }
.price-note { margin-top: 20px; background: #fff; padding: 20px 24px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.price-note h3 { font-size: 18px; font-weight: bold; color: #0f4c4c; margin-bottom: 12px; }
.price-note ul { padding-left: 20px; color: #666; line-height: 2; font-size: 14px; list-style: disc; }

/* Warranty */
.warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.warranty-card { background: #fff; border-radius: 12px; padding: 28px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.warranty-card i { font-size: 36px; color: #0f4c4c; margin-bottom: 14px; }
.warranty-card h4 { font-size: 18px; color: #0f4c4c; margin-bottom: 10px; }
.warranty-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 18px 24px; font-size: 16px; font-weight: bold; color: #0f4c4c; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { transition: transform 0.3s; color: #4dd0c8; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; color: #666; font-size: 14px; line-height: 1.9; }
.faq-item.open .faq-answer { padding: 0 24px 18px; max-height: 500px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #0f4c4c, #4dd0c8); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 16px; }
.review-info h5 { font-size: 15px; color: #333; }
.review-stars { color: #f5a623; font-size: 13px; }
.review-text { font-size: 14px; color: #666; line-height: 1.8; }
.review-model { margin-top: 10px; font-size: 12px; color: #999; }

/* Brand links */
.brand-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-link { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px 18px; font-size: 14px; color: #555; transition: all 0.3s; }
.brand-link:hover { border-color: #0f4c4c; color: #0f4c4c; background: #f0faf8; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #0f4c4c, #1a7a7a); color: #fff; padding: 50px 0; text-align: center; }
.cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: bold; transition: transform 0.3s; }
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn.primary { background: #4dd0c8; color: #0f4c4c; }
.cta-btn.secondary { background: transparent; border: 2px solid #fff; color: #fff; }

/* Footer */
.site-footer { background: #0a3636; color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p, .footer-col li { font-size: 14px; line-height: 2; }
.footer-col a:hover { color: #4dd0c8; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }

/* Floating buttons */
.float-buttons { position: fixed; right: 20px; bottom: 80px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.3s; }
.float-btn:hover { transform: scale(1.1); }
.float-btn.phone { background: #e67e22; }
.float-btn.wechat { background: #07c160; }
.float-btn.top { background: #0f4c4c; }

/* Responsive */
@media (max-width: 992px) {
  .fault-grid, .model-grid, .warranty-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .section-heading h2 { font-size: 22px; }
  .model-grid, .warranty-grid { grid-template-columns: 1fr; }
  .fault-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { width: max-content; min-width: 100%; margin-right: 58px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone span { display: none; }
}

/* 新增: FAQ双列布局 */
.faq-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item-2col { background: #fff; border-radius: 10px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.faq-item-2col h4 { font-size: 15px; font-weight: bold; color: #0f4c4c; margin-bottom: 8px; }
.faq-item-2col p { font-size: 13px; color: #666; line-height: 1.8; }

/* 新增: 型号全宽显示 */
.model-full { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.model-full h4 { font-size: 18px; color: #0f4c4c; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.model-full .model-desc { font-size: 14px; color: #888; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed #e0e0e0; }
.model-full .model-row { font-size: 14px; color: #555; padding: 6px 0; padding-left: 18px; position: relative; line-height: 1.8; }
.model-full .model-row::before { content: '>'; position: absolute; left: 0; color: #0f4c4c; font-weight: bold; }

/* Footer 优化 */
.site-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
.site-footer .footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(77,208,200,0.3); }
.site-footer .footer-col li { padding: 3px 0; }
@media (max-width: 768px) {
  .faq-grid-2col { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 独特内容版块样式 */
.section-heading h2{font-size:26px;font-weight:700;color:#1a4a4a;margin-bottom:10px;position:relative;padding-bottom:12px;}
.section-heading h2::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:50px;height:3px;background:linear-gradient(90deg,#2d8a7a,#4ab8a8);border-radius:2px;}
.section-heading p{font-size:15px;color:#6c757d;margin:0;}
.about-intro{background:#fff;border-radius:12px;padding:30px 35px;box-shadow:0 2px 15px rgba(26,74,74,0.06);border-left:4px solid #2d8a7a;}
.about-intro p{font-size:15px;line-height:1.9;color:#3a4a4a;margin-bottom:16px;text-align:justify;}
.about-intro p:last-child{margin-bottom:0;}

/* 维修服务介绍图文绕排图片 */
.intro-img {
    float: left;
    width: 63%;
    max-width: 630px;
    margin-right: 24px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 2px solid #e0ecff;
    background: #fff;
    padding: 6px;
    display: block;
    object-fit: cover;
}

/* 清除浮动 */
.intro-text::after,
.about-intro::after {
    content: "";
    display: table;
    clear: both;
}

/* 移动端图片样式 */
@media (max-width: 768px) {
    .intro-img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
}
