/* ============================================================
   pages/aftersales.css —— 售后服务页（海外商务风）
   风格对齐 pages/contact.css：kicker hero、圆角卡片、#2f6feb 主蓝。
   ============================================================ */

.as-container { max-width: 1500px; margin: 0 auto; padding: 20px; }

/* ===== Hero ===== */
.as-hero {
    border-bottom: 1px solid #eef1f5;
    padding: 56px 0 50px;
    text-align: center;
}
.as-hero .as-kicker {
    display: inline-block; text-transform: uppercase; letter-spacing: 3px;
    font-size: 14px; font-weight: 600; color: #2f6feb; margin-bottom: 16px;
}
.as-hero h1 { font-size: 34px; font-weight: 800; color: #111a2e; margin: 0 0 14px; letter-spacing: -.5px; }
.as-hero .as-sub { color: #5a6474; font-size: 16px; line-height: 1.75; max-width: 660px; margin: 0 auto; }
.as-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.as-hero-badge {
    display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #33404f;
    background: #fff; border: 1px solid #eef1f5; border-radius: 999px; padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(17, 26, 46, .05);
}
.as-hero-badge i { color: #2f6feb; }

/* ===== 快速工具 ===== */
.as-tools { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; margin: -24px 0 8px; position: relative; z-index: 2; }
.as-tool-card {
    background: #fff; border: 1px solid #eef1f5; border-radius: 14px; padding: 26px;
    box-shadow: 0 6px 18px rgba(17, 26, 46, .05); display: flex; flex-direction: column;
}
.as-tool-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.as-tool-ic {
    width: 44px; height: 44px; border-radius: 11px; background: #eef4ff; color: #2f6feb;
    display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}
.as-tool-head h3 { font-size: 17px; font-weight: 700; color: #111a2e; margin: 0 0 4px; }
.as-tool-head p { font-size: 14px; color: #7b8494; line-height: 1.6; margin: 0; }

/* 状态查询 */
.as-track { display: flex; gap: 10px; }
.as-track input {
    flex: 1; min-width: 0; border: 1px solid #dfe5ee; border-radius: 9px; padding: 11px 13px;
    font-size: 14px; color: #111a2e; background: #fbfcfe; outline: none; transition: border .15s, box-shadow .15s;
}
.as-track input:focus { border-color: #2f6feb; box-shadow: 0 0 0 3px rgba(47, 111, 235, .12); background: #fff; }
.as-track input::placeholder { color: #a7b0be; }
.as-track-btn {
    border: 0; border-radius: 9px; background: #2f6feb; color: #fff; font-size: 14px; font-weight: 600;
    padding: 0 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: background .15s, opacity .15s; white-space: nowrap;
}
.as-track-btn:hover { background: #225bd6; }
.as-track-btn:disabled { opacity: .7; cursor: default; }
.as-track-btn .as-spinner {
    width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
    border-radius: 50%; display: none; animation: as-spin .7s linear infinite;
}
@keyframes as-spin { to { transform: rotate(360deg); } }

.as-track-result { margin-top: 16px; }
.as-msg {
    display: flex; align-items: center; gap: 8px; border-radius: 9px; padding: 11px 14px;
    font-size: 14px; line-height: 1.5;
}
.as-msg-warn { background: #fff7e6; border: 1px solid #ffecd0; color: #8a5a0a; }
.as-result {
    border: 1px solid #eef1f5; border-radius: 11px; background: #fbfcfe; padding: 16px 18px;
    animation: as-fade .22s ease;
}
@keyframes as-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.as-result-grid { display: flex; flex-wrap: wrap; gap: 18px 30px; }
.as-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: #8a94a6; }
.as-result-cell .as-lbl { margin-bottom: 3px; }
.as-result-cell .as-val { font-size: 14px; font-weight: 600; color: #111a2e; }
.as-badge { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 14px; font-weight: 600; }
.as-badge-pending{background:#fff4e0;color:#b0600a} .as-badge-approved{background:#e8f4ff;color:#1e55b8}
.as-badge-rejected{background:#fdecec;color:#c0392b} .as-badge-done{background:#e9f9f0;color:#0c8f5b}
.as-badge-closed{background:#eef1f6;color:#6b7688}
.as-result-meta { margin-top: 10px; font-size: 14px; color: #5a6474; line-height: 1.7; }

/* 普通按钮 */
.as-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px;
    padding: 12px 20px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s;
}
.as-btn-primary { background: #2f6feb; color: #fff; }
.as-btn-primary:hover { background: #225bd6; color: #fff; text-decoration: none; }
.as-btn-block { width: 100%; }
.as-card-cta { margin-top: auto; padding-top: 18px; }

/* ===== 分区标题 ===== */
.as-section { margin-top: 48px; }
.as-section-head { text-align: center; margin-bottom: 24px; }
.as-section-head h2 { font-size: 24px; font-weight: 700; color: #111a2e; margin: 0 0 8px; }
.as-section-head p { color: #7b8494; font-size: 14px; margin: 0; }

/* ===== 服务流程 ===== */
.as-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.as-step {
    background: #fff; border: 1px solid #eef1f5; border-radius: 13px; padding: 22px 18px; text-align: center;
    box-shadow: 0 4px 14px rgba(17, 26, 46, .04); transition: transform .18s, box-shadow .18s;
}
.as-step:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(17, 26, 46, .10); }
.as-step-num {
    width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: #eef4ff; color: #2f6feb;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.as-step p { font-size: 14px; color: #33404f; line-height: 1.6; margin: 0; }

/* ===== 三大服务卡片 ===== */
.as-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.as-card {
    background: #fff; border: 1px solid #eef1f5; border-radius: 14px; padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(17, 26, 46, .05); display: flex; flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}
.as-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17, 26, 46, .10); }
.as-card-ic {
    width: 52px; height: 52px; border-radius: 13px; background: #eef4ff; color: #2f6feb;
    display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 16px;
}
.as-card-ic.as-green { background:#e9f9f0; color:#0fae6f; }
.as-card-ic.as-amber { background:#fff4e0; color:#e8960c; }
.as-card h3 { font-size: 17px; font-weight: 700; color: #111a2e; margin: 0 0 8px; }
.as-card p { font-size: 14px; color: #5a6474; line-height: 1.7; margin: 0; }
.as-card .as-btn { margin-top: auto; padding-top: 18px; }

/* ===== 自助排障（选项卡）===== */
.as-trouble {
    background: #fff; border: 1px solid #eef1f5; border-radius: 14px; padding: 26px;
    box-shadow: 0 6px 18px rgba(17, 26, 46, .05);
}
.as-trouble-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.as-tab {
    border: 1px solid #e3e9f2; background: #fbfcfe; color: #4b5565; border-radius: 999px;
    padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex;
    align-items: center; gap: 7px; transition: all .15s;
}
.as-tab i { color: #8a94a6; }
.as-tab:hover { border-color: #c8d6ef; color: #1e55b8; }
.as-tab.active { background: #2f6feb; border-color: #2f6feb; color: #fff; }
.as-tab.active i { color: #fff; }
.as-panel { display: none; animation: as-fade .2s ease; }
.as-panel.active { display: block; }
.as-panel ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.as-panel li { font-size: 14px; color: #33404f; line-height: 1.7; }
.as-panel-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #7b8494; }
.as-panel-note i { color: #e8a020; }
.as-panel-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }

/* ===== 政策 ===== */
.as-policy { background: #fff; border: 1px solid #eef1f5; border-radius: 14px; padding: 26px 28px; box-shadow: 0 4px 14px rgba(17,26,46,.04); }
.as-policy h3 { font-size: 18px; font-weight: 700; color: #111a2e; margin: 0 0 10px; }
.as-policy p { font-size: 14px; color: #5a6474; line-height: 1.8; margin: 0; }

/* ===== 常见问题 ===== */
.as-faq { margin-top: 40px; }
.as-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.as-faq-item { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px 20px; transition: box-shadow .15s; }
.as-faq-item:hover { box-shadow: 0 6px 18px rgba(17,26,46,.06); }
.as-faq-item summary { font-size: 15px; font-weight: 600; color: #111a2e; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.as-faq-item summary::-webkit-details-marker { display: none; }
.as-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; color: #2f6feb; font-weight: 700; font-size: 17px; }
.as-faq-item[open] summary::after { content: '–'; }
.as-faq-item p { color: #5a6474; font-size: 14px; line-height: 1.75; margin: 12px 0 0; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .as-tools { grid-template-columns: 1fr; }
    .as-cards { grid-template-columns: 1fr; }
    .as-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .as-hero h1 { font-size: 25px; }
    .as-step p { font-size: 14px; }
    .as-tool-card, .as-trouble { padding: 20px; }
}