/* ============================================================
   粤妆评 · 化妆品/日化检测 三维度矩阵 专页样式
   主色：#06a17e（绿） 深蓝：#10324d  金：#f0a500
   ============================================================ */
/* 清除浏览器 UA 默认的 body 8px 外边距（否则 sticky 导航在页面顶部会露出 8px 间距，滚动后吸附 top:0 又消失） */
html,
body {
    margin: 0;
    padding: 0;
}

:root {
    --t-primary: #06a17e;
    --t-primary-dark: #058f70;
    --t-navy: #10324d;
    --t-gold: #f0a500;
    --t-text: #333;
    --t-muted: #666;
    --t-border: #e8e8e8;
    --t-bg: #f7f9fa;
    --t-radius: 12px;
    --t-shadow: 0 6px 24px rgba(16, 50, 77, 0.06);
}

.t-page { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--t-text); background: #fff; }
.t-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 20px 0; }

/* ---- 面包屑 ---- */
.t-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--t-muted); margin-bottom: 16px; }
.t-breadcrumb a { color: var(--t-muted); text-decoration: none; }
.t-breadcrumb a:hover { color: var(--t-primary); }
.t-breadcrumb span { color: var(--t-navy); font-weight: 600; }

/* ---- Hero ---- */
.t-hero { background: linear-gradient(135deg, var(--t-navy) 0%, #0f4c6e 100%); border-radius: 16px; padding: 40px 36px; color: #fff; margin-bottom: 28px; display: flex; align-items: center; gap: 36px; }
.t-hero-body { flex: 1; min-width: 0; }
.t-hero-deco { flex-shrink: 0; width: 150px; height: 150px; position: relative; display: flex; align-items: center; justify-content: center; }
.t-hero-deco::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.22); animation: t-spin 24s linear infinite; }
.t-hero-deco::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); }
.t-hero-deco i { position: relative; z-index: 1; font-size: 58px; color: #ffd98a; text-shadow: 0 4px 20px rgba(0,0,0,0.25); }
@keyframes t-spin { to { transform: rotate(360deg); } }
.t-hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px; color: #ffd98a; text-transform: uppercase; margin-bottom: 14px; }
.t-hero h1 { font-size: 32px; line-height: 1.25; margin: 0 0 14px; }
.t-hero h1 em { color: #ffd98a; font-style: normal; }
.t-hero-desc { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.85); max-width: 860px; margin: 0 0 18px; }
.t-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.t-hero-tags span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 99px; font-size: 13px; }

/* ---- 章节 ---- */
.t-section { padding: 22px 0; border-bottom: 1px solid var(--t-border); }
.t-section:last-child { border-bottom: none; }
.t-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.t-sec-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(6,161,126,0.1); color: var(--t-primary); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.t-sec-head h2 { font-size: 22px; margin: 0; color: var(--t-navy); }
.t-sec-tag { margin-left: auto; font-size: 12px; color: var(--t-primary); background: rgba(6,161,126,0.08); padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.t-sec-lead { font-size: 14px; color: var(--t-muted); line-height: 1.8; margin: 8px 0 0; }

/* ---- 网格与卡片 ---- */
.t-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t-card { background: #fff; border: 1px solid var(--t-border); border-radius: var(--t-radius); padding: 18px; text-decoration: none; color: var(--t-text); display: block; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.t-card:hover { box-shadow: var(--t-shadow); border-color: rgba(6,161,126,0.4); transform: translateY(-2px); }
.t-card-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(6,161,126,0.1); color: var(--t-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
.t-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--t-navy); }
.t-card p { font-size: 13px; color: var(--t-muted); line-height: 1.7; margin: 0; }
.t-card-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--t-primary); font-weight: 600; }

/* ---- 分类标签分组 ---- */
.t-group-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--t-navy); margin: 20px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--t-primary); }
.t-group-label i { color: var(--t-primary); }

/* ---- 问答块 ---- */
.t-qa { background: var(--t-bg); border-left: 4px solid var(--t-primary); border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; }
.t-qa h3 { font-size: 15px; margin: 0 0 8px; color: var(--t-navy); }
.t-qa h3 i { color: var(--t-primary); margin-right: 8px; }
.t-qa p { font-size: 14px; line-height: 1.8; color: var(--t-muted); margin: 0; }

/* ---- 特性 ---- */
.t-feature { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--t-border); border-radius: var(--t-radius); padding: 16px; }
.t-feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(240,165,0,0.12); color: var(--t-gold); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.t-feature h3 { font-size: 15px; margin: 0 0 6px; color: var(--t-navy); }
.t-feature p { font-size: 13px; line-height: 1.7; color: var(--t-muted); margin: 0; }

/* ---- 步骤 ---- */
.t-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
.t-step { background: #fff; border: 1px solid var(--t-border); border-radius: var(--t-radius); padding: 16px; position: relative; }
.t-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--t-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.t-step h3 { font-size: 14px; margin: 0 0 6px; color: var(--t-navy); }
.t-step p { font-size: 12.5px; line-height: 1.7; color: var(--t-muted); margin: 0; }

/* ---- 列表 chips ---- */
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chips a { text-decoration: none; }
.t-chips span { display: inline-block; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--t-border); font-size: 13px; color: var(--t-muted); background: #fff; transition: all 0.2s; }
.t-chips a:hover span { color: #fff; background: var(--t-primary); border-color: var(--t-primary); }

/* ---- 表格 ---- */
.t-table-wrap { overflow-x: auto; margin-top: 14px; }
.t-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t-table th { background: var(--t-navy); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
.t-table td { padding: 11px 14px; border-bottom: 1px solid var(--t-border); color: var(--t-muted); line-height: 1.6; }
.t-table tr:nth-child(even) td { background: #fafbfc; }
.t-table td:first-child { color: var(--t-navy); font-weight: 600; white-space: nowrap; }

/* ---- FAQ 手风琴 ---- */
.t-faq { margin-top: 8px; }
.t-faq-item { border: 1px solid var(--t-border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.t-faq-q { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; background: #fff; }
.t-faq-toggle { width: 22px; height: 22px; border-radius: 50%; background: rgba(6,161,126,0.1); color: var(--t-primary); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; transition: transform 0.25s; }
.t-faq-text { font-size: 14.5px; font-weight: 600; color: var(--t-navy); }
.t-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--t-bg); }
.t-faq-a p { padding: 14px 16px 16px 48px; font-size: 14px; line-height: 1.8; color: var(--t-muted); margin: 0; }
.t-faq-item.active .t-faq-toggle { transform: rotate(45deg); }
.t-faq-item.active .t-faq-a { max-height: 600px; }

/* ---- CTA ---- */
.t-cta { background: linear-gradient(135deg, var(--t-navy), #0f4c6e); border-radius: 16px; padding: 36px; color: #fff; text-align: center; margin-bottom: 24px; }
.t-cta h2 { font-size: 24px; margin: 10px 0 8px; }
.t-cta p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.8; max-width: 760px; margin: 16px auto 16px; }
.t-cta-badge { display: inline-block; font-size: 12px; letter-spacing: 1px; color: #ffd98a; background: rgba(255,255,255,0.1); padding: 4px 14px; border-radius: 99px; }
.t-cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 18px; }
.t-cta-trust span { font-size: 13px; color: rgba(255,255,255,0.9); }
.t-cta-trust i { color: #ffd98a; margin-right: 5px; }
.t-cta-contact { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.7); }
.t-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 99px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: all 0.25s; }
.t-btn-primary { background: var(--t-primary); color: #fff; }
.t-btn-primary:hover { background: var(--t-primary-dark); }
.t-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.t-btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---- 徽章 ---- */
.t-badge-ok { display: inline-block; padding: 3px 10px; border-radius: 99px; background: rgba(6,161,126,0.12); color: var(--t-primary); font-size: 12px; font-weight: 600; }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
    .t-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .t-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .t-steps { grid-template-columns: repeat(2, 1fr); }
    .t-hero h1 { font-size: 26px; }
    .t-hero-deco { display: none; }
}
@media (max-width: 600px) {
    .t-grid-2, .t-grid-3, .t-grid-4 { grid-template-columns: 1fr; }
    .t-steps { grid-template-columns: 1fr; }
    .t-hero { padding: 28px 20px; }
    .t-hero h1 { font-size: 22px; }
    .t-wrap { padding: 14px 14px 0; }
    .t-cta { padding: 26px 18px; }
}

/* ============================================================
   详情页左右分栏：左侧内容区 + 右侧相关链接/分类侧边栏
   ============================================================ */
.t-layout { display: flex; gap: 28px; align-items: flex-start; }
.t-main { flex: 1; min-width: 0; }
.t-side { width: 280px; flex-shrink: 0; position: sticky; top: 20px; }

.t-side-block { background: #fff; border: 1px solid var(--t-border); border-radius: var(--t-radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--t-shadow); }
.t-side-title { font-size: 15px; font-weight: 700; color: var(--t-navy); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.t-side-title i { color: var(--t-primary); }
.t-side-sub { font-size: 12px; color: var(--t-muted); margin: 12px 0 6px; font-weight: 700; }
.t-side-list { list-style: none; margin: 0; padding: 0; }
.t-side-list li { margin-bottom: 2px; }
.t-side-list a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--t-muted); text-decoration: none; padding: 7px 10px; border-radius: 8px; transition: all .2s; }
.t-side-list a:hover { background: rgba(6,161,126,.08); color: var(--t-primary); }
.t-side-list i { color: var(--t-primary); font-size: 13px; width: 16px; text-align: center; flex-shrink: 0; }
.t-side-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-side-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--t-muted); background: var(--t-bg); border: 1px solid var(--t-border); padding: 5px 10px; border-radius: 99px; text-decoration: none; transition: all .2s; }
.t-side-chip:hover { color: #fff; background: var(--t-primary); border-color: var(--t-primary); }
.t-side-chip i { font-size: 12px; }

@media (max-width: 900px) {
    .t-layout { flex-direction: column; }
    .t-side { width: 100%; position: static; }
}
