
/* =========================================================
   1. 容器与基础排版
   ========================================================= */
.warranty-page {
    box-sizing: border-box;
    max-width: 1920px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    color: #2d3748;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

.warranty-page *,
.warranty-page *::before,
.warranty-page *::after {
    box-sizing: border-box;
}

.warranty-page h1,
.warranty-page h2,
.warranty-page h3,
.warranty-page h4,
.warranty-page p,
.warranty-page li,
.warranty-page figcaption,
.warranty-page a,
.warranty-page th,
.warranty-page td {
    font-family: Arial, Helvetica, sans-serif;
}

.warranty-page h1 {
    margin: 0 0 18px;
    color: #12314f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.warranty-page h2 {
    margin: 46px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    color: #12314f;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.warranty-page h3 {
    margin: 28px 0 10px;
    color: #1a365d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.warranty-page p {
    margin: 0 0 16px;
    font-size: 16px;
}

.warranty-page a {
    color: #2b6cb0;
    text-decoration: underline;
}

.warranty-page a:hover {
    color: #1a4f88;
}

/* =========================================================
   2. 首屏
   ========================================================= */
.page-intro {
    padding: 26px 26px 10px;
    border-left: 5px solid #2b6cb0;
    border-radius: 8px;
    background: #f5f8fc;
}

.page-intro h1 {
    margin-bottom: 14px;
}

/* =========================================================
   3. 清单样式
   ========================================================= */
.content-section {
    margin-bottom: 12px;
}

/* 勾选清单 */
.check-list {
    margin: 16px 0 24px;
    padding-left: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2b6cb0;
    box-shadow: inset 0 0 0 4px #ffffff;
}

/* 提问式清单 */
.question-list {
    margin: 16px 0 24px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    list-style: none;
}

.question-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.6;
}

.question-list li:last-child {
    margin-bottom: 0;
}

.question-list li::before {
    content: "?";
    position: absolute;
    top: 0;
    left: 0;
    color: #2b6cb0;
    font-weight: 700;
}

/* 部件 / 要点清单 */
.part-list {
    margin: 16px 0 24px;
    padding-left: 0;
    list-style: none;
}

.part-list li {
    margin-bottom: 10px;
    padding: 13px 16px;
    border-left: 4px solid #cbd5e0;
    border-radius: 0 6px 6px 0;
    background: #f8fafc;
    font-size: 16px;
    line-height: 1.6;
}

.part-list li:hover {
    border-left-color: #2b6cb0;
}

/* 排除项清单（警示色） */
.exclusion-list {
    margin: 16px 0 24px;
    padding-left: 0;
    list-style: none;
}

.exclusion-list li {
    position: relative;
    margin-bottom: 10px;
    padding: 12px 16px 12px 38px;
    border-left: 4px solid #e0a3a3;
    border-radius: 0 6px 6px 0;
    background: #fdf6f6;
    font-size: 16px;
    line-height: 1.6;
}

.exclusion-list li::before {
    content: "\00d7";
    position: absolute;
    top: 10px;
    left: 15px;
    color: #c53030;
    font-size: 18px;
    font-weight: 700;
}

/* 有序流程清单 */
.process-list {
    margin: 16px 0 24px;
    padding-left: 0;
    list-style: none;
    counter-reset: process;
}

.process-list li {
    position: relative;
    margin-bottom: 14px;
    padding: 14px 18px 14px 54px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    counter-increment: process;
}

.process-list li::before {
    content: counter(process);
    position: absolute;
    top: 14px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2b6cb0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

/* 提示框 */
.note-box {
    margin: 20px 0 28px;
    padding: 18px 20px;
    border: 1px solid #f0d8a8;
    border-left: 5px solid #d69e2e;
    border-radius: 6px;
    background: #fffaf0;
}

.note-box p {
    margin: 0;
    font-size: 15px;
}

/* 内链推荐块 */
.related-links {
    margin: 18px 0 28px;
    padding: 16px 20px;
    border: 1px dashed #bcd0e5;
    border-radius: 6px;
    background: #f5f8fc;
}

.related-links p {
    margin: 0 0 8px;
    color: #1a365d;
    font-size: 15px;
    font-weight: 700;
}

.related-links ul {
    margin: 0;
    padding-left: 20px;
}

.related-links li {
    margin-bottom: 6px;
    font-size: 15px;
}

.related-links li:last-child {
    margin-bottom: 0;
}

/* =========================================================
   4. 图片
   ========================================================= */
.media-figure {
    margin: 24px 0 30px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.media-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.media-figure figcaption {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   5. 卡片网格
   ========================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 22px 0 30px;
}

.card-item {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #2b6cb0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.card-item h3 {
    margin-top: 0;
}

.card-item p:last-child,
.card-item ul:last-child {
    margin-bottom: 0;
}

/* 支持类型卡片编号标签 */
.support-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: 20px;
    background: #2b6cb0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* 维护周期两栏 */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0 28px;
}

.maintenance-block {
    padding: 20px;
    border-radius: 8px;
    background: #f5f8fc;
}

.maintenance-block h3 {
    margin-top: 0;
}

.maintenance-block ul {
    margin: 0;
    padding-left: 20px;
}

.maintenance-block li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.maintenance-block li:last-child {
    margin-bottom: 0;
}

/* =========================================================
   6. FAQ
   ========================================================= */
.faq-section {
    margin-top: 20px;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.faq-section h2 {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
}

.faq-item p {
    margin-bottom: 0;
}

/* =========================================================
   7. CTA
   ========================================================= */
.cta-section {
    margin: 40px 0 10px;
    padding: 30px 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #12314f 0%, #2d3748 100%);
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 12px;
    padding: 0;
    border: none;
    color: #ffffff;
    font-size: 22px;
}

.cta-section p {
    max-width: 780px;
    margin: 0 auto 22px;
    color: #e2e8f0;
    font-size: 16px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 38px;
    border-radius: 6px;
    background: #e53e3e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: #c53030;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================================================
   8. 响应式
   ========================================================= */
@media (max-width: 768px) {
    .warranty-page {
        padding: 16px 15px 30px;
    }

    .warranty-page h1 {
        font-size: 24px;
    }

    .warranty-page h2 {
        margin-top: 36px;
        font-size: 20px;
    }

    .warranty-page h3 {
        font-size: 17px;
    }

    .warranty-page p,
    .check-list li,
    .question-list li,
    .part-list li,
    .exclusion-list li,
    .process-list li {
        font-size: 15px;
    }

    .page-intro,
    .faq-section {
        padding: 18px;
    }

    .card-grid,
    .maintenance-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 24px 18px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media print {
    .cta-section {
        display: none;
    }
}
