/* ==========================================================================
   DH Theme — 设计系统（青绿 #0E7C7B × 活力橙 #F2762E）
   命名体系：block-* / unit-* / matrix-* / lattice / route / tutor-row /
            echo-wall / qa-fold / note-grid / call-band / band / frame
   ========================================================================== */

:root {
    --dh-primary: #0E7C7B;
    --dh-deep: #0A5F5E;
    --dh-accent: #F2762E;
    --dh-ink: #16302F;
    --dh-muted: #5B7271;
    --dh-paper: #F4F8F8;
    --dh-card: #FFFFFF;
    --dh-line: #DCE8E8;
    --dh-tint: #E6F2F1;
    --dh-orange-soft: #FDEBE0;
    --dh-radius: 18px;
    --dh-radius-s: 12px;
    --dh-shadow: 0 2px 10px rgba(14, 124, 123, .06), 0 12px 32px rgba(14, 124, 123, .08);
    --dh-shadow-hover: 0 6px 18px rgba(14, 124, 123, .12), 0 20px 48px rgba(14, 124, 123, .14);
    --dh-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 基础 ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--dh-font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--dh-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--dh-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--dh-deep); }

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; margin: 0 0 .6em; }

p { margin: 0 0 1em; }

.frame {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.frame--slim { max-width: 860px; }

.page-frame { padding-top: 36px; padding-bottom: 64px; }

/* ---------- 按钮 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--solid {
    background: var(--dh-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(14, 124, 123, .28);
}
.btn--solid:hover { background: var(--dh-deep); color: #fff; }

.btn--hot {
    background: var(--dh-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(242, 118, 46, .32);
}
.btn--hot:hover { background: #d8621d; color: #fff; box-shadow: 0 10px 24px rgba(242, 118, 46, .4); }

.btn--ghost {
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--ghost-light {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--line {
    border-color: var(--dh-primary);
    color: var(--dh-primary);
    background: #fff;
}
.btn--line:hover { background: var(--dh-tint); color: var(--dh-deep); }

.btn--xl { padding: 15px 36px; font-size: 17px; }

/* ---------- 顶栏 ---------- */

.top-strip {
    background: var(--dh-deep);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.top-in {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.hot-badge {
    display: inline-block;
    background: var(--dh-accent);
    color: #fff;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    letter-spacing: .02em;
}

.top-note { flex: 1; opacity: .8; }

.top-mail { color: #fff; font-weight: 500; }
.top-mail:hover { color: var(--dh-orange-soft); }

/* ---------- 头部 ---------- */

.mast {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.mast.is-stuck {
    border-bottom-color: var(--dh-line);
    box-shadow: 0 4px 20px rgba(14, 124, 123, .08);
}

.mast-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo-link { display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-size: 22px; font-weight: 800; color: var(--dh-primary); letter-spacing: .02em; }
.logo-en { font-size: 12px; font-weight: 600; color: var(--dh-accent); text-transform: uppercase; letter-spacing: .14em; }

.nav-lane { flex: 1; }

.nav-lane .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-lane .menu > li { position: relative; }

.nav-lane .menu a {
    display: block;
    padding: 8px 13px;
    color: var(--dh-ink);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
}

.nav-lane .menu a:hover { background: var(--dh-tint); color: var(--dh-primary); }

.nav-lane .menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-s);
    box-shadow: var(--dh-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.nav-lane .menu li:hover > .sub-menu,
.nav-lane .menu li.sub-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-lane .menu .sub-menu a { padding: 8px 12px; font-size: 14px; }

.mast-cta { flex-shrink: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle i {
    width: 22px;
    height: 2px;
    background: var(--dh-primary);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.is-active i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active i:nth-child(2) { opacity: 0; }
.nav-toggle.is-active i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.block-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(242, 118, 46, .35), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(18, 138, 136, .55), transparent 55%),
        linear-gradient(135deg, var(--dh-deep) 0%, var(--dh-primary) 60%, #128A88 100%);
}

.block-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 56px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 88px;
}

.hero-kicker {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #FFE3D0;
    background: rgba(242, 118, 46, .22);
    border: 1px solid rgba(242, 118, 46, .45);
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero-h {
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    letter-spacing: .01em;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(6, 60, 59, .35);
}

.hero-lead {
    font-size: 17px;
    color: rgba(255, 255, 255, .88);
    max-width: 34em;
    margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .85);
}

.hero-points li { position: relative; padding-left: 22px; }

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dh-accent);
    mask: none;
    clip-path: none;
}

.hero-points li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.hero-panel {
    background: rgba(255, 255, 255, .97);
    color: var(--dh-ink);
    border-radius: 22px;
    padding: 30px 28px;
    box-shadow: 0 24px 60px rgba(6, 60, 59, .35);
}

.rescue-chip {
    display: inline-block;
    background: var(--dh-orange-soft);
    color: var(--dh-accent);
    font-weight: 700;
    font-size: 13px;
    padding: 3px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.panel-h { font-size: 20px; margin-bottom: 18px; }

.panel-rows { list-style: none; margin: 0 0 16px; padding: 0; }

.panel-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px dashed var(--dh-line);
}

.panel-row strong {
    flex-shrink: 0;
    min-width: 72px;
    font-size: 19px;
    color: var(--dh-primary);
}

.panel-row span { color: var(--dh-muted); font-size: 14.5px; }

.panel-wx {
    margin: 0;
    padding: 12px 16px;
    background: var(--dh-tint);
    border-radius: var(--dh-radius-s);
    font-weight: 600;
    color: var(--dh-deep);
    text-align: center;
}

/* ---------- 通用区块 ---------- */

.band { padding: 72px 0; }

.band--tint { background: var(--dh-paper); }

.band--deep {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(242, 118, 46, .18), transparent 55%),
        linear-gradient(160deg, var(--dh-deep), var(--dh-primary));
    color: #fff;
}

.band-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.band-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dh-accent);
    margin-bottom: 8px;
}

.band-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }

.band-lead { color: var(--dh-muted); font-size: 16px; margin: 0; }

.band--deep .band-lead { color: rgba(255, 255, 255, .8); }

.band-more { text-align: center; margin-top: 36px; }

/* ---------- 服务关键词矩阵 ---------- */

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.unit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 28px 26px 24px;
    color: var(--dh-ink);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.unit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dh-primary), var(--dh-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.unit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dh-shadow-hover);
    border-color: transparent;
    color: var(--dh-ink);
}

.unit-card:hover::before { transform: scaleX(1); }

.unit-tag {
    align-self: flex-start;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dh-accent);
    background: var(--dh-orange-soft);
    padding: 2px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.unit-h { font-size: 20px; font-weight: 800; color: var(--dh-deep); }

.unit-p {
    flex: 1;
    font-size: 14.5px;
    color: var(--dh-muted);
    margin-bottom: 18px;
}

.unit-go {
    font-size: 14px;
    font-weight: 700;
    color: var(--dh-primary);
    transition: transform .25s ease;
}

.unit-card:hover .unit-go { color: var(--dh-accent); transform: translateX(4px); }

/* ---------- 学科矩阵 ---------- */

.lattice {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.lattice-cell {
    display: block;
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 24px 22px;
    color: var(--dh-ink);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.lattice-cell:hover {
    transform: translateY(-5px);
    box-shadow: var(--dh-shadow-hover);
    background: linear-gradient(180deg, #fff, var(--dh-tint));
    color: var(--dh-ink);
}

.cell-name {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: var(--dh-primary);
    margin-bottom: 2px;
}

.cell-en {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dh-accent);
    margin-bottom: 10px;
}

.cell-p { font-size: 13.5px; color: var(--dh-muted); margin: 0; }

/* ---------- 流程 ---------- */

.route {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: route;
}

.route-node {
    position: relative;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--dh-radius);
    padding: 26px 20px 22px;
    transition: background .3s ease, transform .3s ease;
}

.band--deep .route-node:hover { background: rgba(255, 255, 255, .18); transform: translateY(-4px); }

.route-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dh-accent);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(242, 118, 46, .4);
}

.route-node h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }

.route-node p { font-size: 13.5px; color: rgba(255, 255, 255, .78); margin: 0; }

/* 内嵌在浅色区块里的流程（服务页 / 流程页） */

.route--mini, .route--page { grid-template-columns: repeat(5, 1fr); }

.route--mini .route-node, .route--page .route-node {
    background: var(--dh-paper);
    border: 1px solid var(--dh-line);
}

.route--mini .route-node h3, .route--page .route-node h3 { color: var(--dh-deep); font-size: 16px; }

.route--mini .route-node p, .route--page .route-node p { color: var(--dh-muted); }

.route--page { grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 40px; }

.route--page .route-node h2 { font-size: 17px; color: var(--dh-deep); margin-bottom: 8px; }

/* ---------- 导师 ---------- */

.tutor-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tutor-cell {
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 26px 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tutor-cell:hover { transform: translateY(-5px); box-shadow: var(--dh-shadow-hover); }

.t-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.t-face {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.t-name { font-size: 17px; margin: 0; }

.t-deg { font-size: 13px; color: var(--dh-accent); font-weight: 600; margin: 0; }

.t-intro { font-size: 14px; color: var(--dh-muted); }

.t-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 评价 ---------- */

.echo-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.echo-card {
    margin: 0;
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 26px 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.echo-card:hover { transform: translateY(-5px); box-shadow: var(--dh-shadow-hover); }

.e-stars { color: var(--dh-accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }

.e-text { font-size: 14.5px; color: var(--dh-ink); }

.e-who {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--dh-line);
}

.e-face {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
}

.e-who strong { display: block; font-size: 14px; line-height: 1.3; }

.e-who small { display: block; font-size: 12.5px; color: var(--dh-muted); line-height: 1.3; }

.e-svc {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--dh-primary);
    background: var(--dh-tint);
    padding: 2px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- FAQ（details/summary） ---------- */

.qa-stack { display: grid; gap: 12px; }

.qa-fold {
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-s);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.qa-fold[open] { border-color: var(--dh-primary); box-shadow: var(--dh-shadow); }

.qa-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 15.5px;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
    user-select: none;
}

.qa-q::-webkit-details-marker { display: none; }

.qa-q:hover { color: var(--dh-primary); }

.qa-ico {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dh-tint);
    transition: background .25s ease, transform .3s ease;
}

.qa-ico::before, .qa-ico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--dh-primary);
    transition: background .25s ease;
}

.qa-ico::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.qa-ico::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }

.qa-fold[open] .qa-ico { background: var(--dh-accent); transform: rotate(135deg); }
.qa-fold[open] .qa-ico::before, .qa-fold[open] .qa-ico::after { background: #fff; }

.qa-a {
    padding: 0 22px;
    color: var(--dh-muted);
    font-size: 14.5px;
}

.qa-a p { padding-bottom: 18px; margin: 0; }

/* ---------- 最新文章 ---------- */

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.note-grid--compact { grid-template-columns: repeat(3, 1fr); }

.note-card {
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    overflow: hidden;
    padding: 0 0 20px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.note-card:hover { transform: translateY(-5px); box-shadow: var(--dh-shadow-hover); }

.note-thumb { display: block; aspect-ratio: 11 / 7; overflow: hidden; background: var(--dh-tint); }

.note-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.note-card:hover .note-thumb img { transform: scale(1.05); }

.note-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 44px;
    font-weight: 800;
    color: var(--dh-primary);
    background: linear-gradient(135deg, var(--dh-tint), var(--dh-orange-soft));
}

.note-info { padding: 18px 20px 0; }

.note-info time, .note-card > time {
    display: block;
    font-size: 12.5px;
    color: var(--dh-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.note-grid--compact .note-card { padding: 20px 20px; }

.note-grid--compact .note-card h3 { font-size: 16px; }

.note-info h3, .note-card h3 { font-size: 17px; line-height: 1.5; }

.note-info h3 a, .note-card h3 a { color: var(--dh-ink); }

.note-info h3 a:hover, .note-card h3 a:hover { color: var(--dh-primary); }

.note-info p, .note-card p { font-size: 13.5px; color: var(--dh-muted); margin: 0; }

/* ---------- CTA ---------- */

.call-band {
    background:
        radial-gradient(700px 300px at 15% 20%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(120deg, var(--dh-accent), #E05E15);
    color: #fff;
}

.call-in { text-align: center; padding-top: 64px; padding-bottom: 64px; }

.call-in h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }

.call-in p { color: rgba(255, 255, 255, .88); max-width: 34em; margin: 0 auto 26px; }

.call-in .btn--hot { background: #fff; color: var(--dh-accent); box-shadow: 0 10px 30px rgba(120, 50, 5, .3); }

.call-in .btn--hot:hover { background: var(--dh-deep); color: #fff; }

.call-panel {
    margin-top: 48px;
    text-align: center;
    background:
        radial-gradient(600px 240px at 90% 0%, rgba(242, 118, 46, .14), transparent 60%),
        var(--dh-tint);
    border: 1px solid var(--dh-line);
    border-radius: 22px;
    padding: 44px 32px;
}

.call-panel h2 { font-size: clamp(21px, 2.6vw, 28px); }

.call-panel p { color: var(--dh-muted); max-width: 36em; margin: 0 auto 24px; }

/* ---------- 面包屑 ---------- */

.path-line {
    font-size: 13.5px;
    color: var(--dh-muted);
    margin-bottom: 26px;
}

.path-line a { color: var(--dh-muted); }

.path-line a:hover { color: var(--dh-primary); }

.path-sep { margin: 0 8px; color: var(--dh-line); }

.path-now { color: var(--dh-ink); font-weight: 500; }

/* ---------- 文章 / 文档页 ---------- */

.entry {
    max-width: 860px;
    margin: 0 auto;
}

.svc-entry, .sub-entry { max-width: 960px; }

.entry-head { margin-bottom: 30px; }

.entry-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-accent);
    background: var(--dh-orange-soft);
    padding: 3px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.entry-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }

.entry-lead { font-size: 16.5px; color: var(--dh-muted); }

.entry-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.price-hint {
    font-size: 14px;
    font-weight: 700;
    color: var(--dh-accent);
    background: var(--dh-orange-soft);
    padding: 8px 18px;
    border-radius: 999px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13.5px;
    color: var(--dh-muted);
    margin-top: 14px;
}

.meta-cat {
    color: var(--dh-primary);
    font-weight: 600;
    background: var(--dh-tint);
    padding: 2px 12px;
    border-radius: 999px;
}

.entry-figure {
    margin: 0 0 30px;
    border-radius: var(--dh-radius);
    overflow: hidden;
}

.doc-body { font-size: 16px; }

.doc-body h2 { font-size: 24px; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--dh-accent); }

.doc-body h3 { font-size: 19px; margin-top: 1.4em; }

.doc-body a { text-decoration: underline; text-underline-offset: 3px; }

.doc-body ul, .doc-body ol { padding-left: 1.4em; }

.doc-body li { margin-bottom: .4em; }

.doc-body blockquote {
    margin: 1.4em 0;
    padding: 18px 24px;
    background: var(--dh-paper);
    border-left: 4px solid var(--dh-primary);
    border-radius: 0 var(--dh-radius-s) var(--dh-radius-s) 0;
    color: var(--dh-muted);
}

.doc-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 14.5px;
}

.doc-body th, .doc-body td { padding: 10px 14px; border: 1px solid var(--dh-line); text-align: left; }

.doc-body th { background: var(--dh-tint); }

.doc-body img { border-radius: var(--dh-radius-s); margin: 1em 0; }

.doc-body code {
    background: var(--dh-paper);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: .92em;
}

.block-sec { margin-top: 44px; }

.block-sec > h2 {
    font-size: 24px;
    padding-left: 14px;
    border-left: 4px solid var(--dh-primary);
    margin-bottom: 18px;
}

.sec-note { color: var(--dh-muted); margin-top: -8px; }

.sec-more { margin-top: 18px; }

.go-link { font-weight: 700; font-size: 14.5px; }

.go-link:hover { color: var(--dh-accent); }

/* 勾选列表 */

.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.list-check li {
    position: relative;
    padding: 12px 16px 12px 44px;
    background: var(--dh-paper);
    border-radius: var(--dh-radius-s);
    font-size: 14.5px;
}

.list-check li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 17px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--dh-primary);
    border-bottom: 2.5px solid var(--dh-primary);
    transform: rotate(-45deg);
}

.list-check--orange li::before { border-color: var(--dh-accent); }

.twin-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 12px;
}

.twin-cols .block-sec { margin-top: 24px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-deep);
    background: var(--dh-tint);
    padding: 4px 14px;
    border-radius: 999px;
}

.chip--link { transition: background .2s ease, color .2s ease; }

.chip--link:hover { background: var(--dh-primary); color: #fff; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* 作者盒 */

.byline-box {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    padding: 24px 26px;
    background: var(--dh-paper);
    border-radius: var(--dh-radius);
}

.byline-face {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.byline-name { font-weight: 700; font-size: 16px; }

.byline-role {
    margin-left: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dh-accent);
    background: var(--dh-orange-soft);
    padding: 2px 10px;
    border-radius: 999px;
}

.byline-info p { margin: 6px 0 0; font-size: 14px; color: var(--dh-muted); }

/* 上下篇 / 相关阅读 */

.flip-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 44px;
}

.flip-nav a {
    display: block;
    padding: 16px 20px;
    background: var(--dh-paper);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-s);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dh-ink);
    transition: border-color .2s ease, background .2s ease;
}

.flip-nav a:hover { border-color: var(--dh-primary); background: var(--dh-tint); color: var(--dh-primary); }

.flip-next { text-align: right; }

.related-block { margin-top: 48px; }

.related-title { font-size: 22px; padding-left: 14px; border-left: 4px solid var(--dh-primary); }

/* ---------- 归档 / 列表 ---------- */

.index-head { max-width: 720px; margin-bottom: 36px; }

.index-head h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }

.index-head p { color: var(--dh-muted); margin: 0; }

.lane {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
}

.index-list { display: grid; gap: 22px; }

.index-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 18px;
    transition: box-shadow .3s ease, transform .3s ease;
}

.index-row:hover { box-shadow: var(--dh-shadow-hover); transform: translateY(-3px); }

.index-row--flat { grid-template-columns: 1fr; }

.index-thumb { border-radius: var(--dh-radius-s); overflow: hidden; aspect-ratio: 11 / 7; }

.index-thumb img { width: 100%; height: 100%; object-fit: cover; }

.index-info time { font-size: 12.5px; color: var(--dh-accent); font-weight: 600; }

.index-info h2 { font-size: 19px; margin: 6px 0 8px; }

.index-info h2 a { color: var(--dh-ink); }

.index-info h2 a:hover { color: var(--dh-primary); }

.index-info p { font-size: 14px; color: var(--dh-muted); }

.index-empty {
    padding: 40px;
    text-align: center;
    background: var(--dh-paper);
    border-radius: var(--dh-radius);
    color: var(--dh-muted);
}

.pager { margin-top: 40px; }

.pager .nav-links { display: flex; justify-content: center; gap: 8px; }

.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--dh-line);
    border-radius: 10px;
    font-size: 14.5px;
    color: var(--dh-ink);
    transition: all .2s ease;
}

.pager .page-numbers.current {
    background: var(--dh-primary);
    border-color: var(--dh-primary);
    color: #fff;
}

.pager a.page-numbers:hover { border-color: var(--dh-primary); color: var(--dh-primary); }

/* ---------- 侧栏 ---------- */

.rail { display: grid; gap: 22px; align-content: start; }

.box {
    background: var(--dh-paper);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 22px;
}

.box-title {
    font-size: 16px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--dh-tint);
    position: relative;
}

.box-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 42px;
    height: 2px;
    background: var(--dh-accent);
}

.box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.box ul a { font-size: 14px; color: var(--dh-ink); }

.box ul a:hover { color: var(--dh-primary); }

.box--cta { background: linear-gradient(160deg, var(--dh-deep), var(--dh-primary)); color: #fff; border: 0; }

.box--cta .box-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .25); }

.box--cta p { font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---------- 评论 ---------- */

.talk { margin-top: 52px; }

.talk-title { font-size: 21px; padding-left: 14px; border-left: 4px solid var(--dh-primary); }

.talk-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }

.talk-list li .talk-body {
    background: var(--dh-paper);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-s);
    padding: 18px 22px;
}

.talk-list li.is-by-tutor > .talk-body { border-color: var(--dh-primary); background: var(--dh-tint); }

.talk-list .children { list-style: none; margin-top: 14px; padding-left: 30px; display: grid; gap: 14px; }

.talk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

.talk-name { font-weight: 700; font-size: 14.5px; }

.talk-badge {
    margin-left: 8px;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: var(--dh-primary);
    padding: 1px 9px;
    border-radius: 999px;
}

.talk-time { font-size: 12.5px; color: var(--dh-muted); }

.talk-text { font-size: 14.5px; }

.talk-text p:last-child { margin-bottom: 0; }

.talk-reply { margin-top: 10px; }

.talk-reply a { font-size: 13px; font-weight: 600; }

.talk-notes { font-size: 13px; color: var(--dh-muted); }

.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    max-width: 560px;
    padding: 10px 14px;
    border: 1px solid var(--dh-line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.comment-form textarea { max-width: 100%; }

.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--dh-primary);
    box-shadow: 0 0 0 3px rgba(14, 124, 123, .12);
}

.comment-form .submit {
    background: var(--dh-primary);
    color: #fff;
    border: 0;
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.comment-form .submit:hover { background: var(--dh-deep); transform: translateY(-2px); }

.hp-field { position: absolute; left: -9999px; top: -9999px; visibility: hidden; height: 0; overflow: hidden; }

.comment-form-cookies-consent label { display: inline; font-weight: 400; }

.talk-pager { display: flex; justify-content: space-between; margin: 20px 0; }

.talk-closed { color: var(--dh-muted); }

/* ---------- 价格页 ---------- */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.plan-card {
    position: relative;
    background: var(--dh-card);
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    padding: 30px 26px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.plan-card:hover { transform: translateY(-5px); box-shadow: var(--dh-shadow-hover); }

.plan-card--hot {
    border: 2px solid var(--dh-accent);
    box-shadow: 0 12px 36px rgba(242, 118, 46, .16);
}

.plan-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dh-accent);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 3px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name { font-size: 17px; color: var(--dh-muted); }

.plan-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--dh-primary);
    margin-bottom: 4px;
}

.plan-price small { font-size: 14px; font-weight: 600; color: var(--dh-muted); }

.plan-desc { font-size: 13.5px; color: var(--dh-muted); }

.plan-feats {
    list-style: none;
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-top: 1px dashed var(--dh-line);
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.plan-feats li { position: relative; padding-left: 22px; text-align: left; }

.plan-feats li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--dh-accent);
    border-bottom: 2px solid var(--dh-accent);
    transform: rotate(-45deg);
}

.fee-board { overflow-x: auto; border-radius: var(--dh-radius); border: 1px solid var(--dh-line); }

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    background: #fff;
}

.fee-table th {
    background: var(--dh-deep);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
}

.fee-table td { padding: 13px 18px; border-bottom: 1px solid var(--dh-line); }

.fee-table tr:nth-child(even) td { background: var(--dh-paper); }

.fee-table tr:hover td { background: var(--dh-tint); }

.rush-note {
    margin-top: 32px;
    padding: 18px 24px;
    background: var(--dh-orange-soft);
    border-left: 4px solid var(--dh-accent);
    border-radius: 0 var(--dh-radius-s) var(--dh-radius-s) 0;
    font-size: 14.5px;
}

/* ---------- 流程页承诺块 ---------- */

.pledge-box {
    margin-top: 44px;
    padding: 32px;
    background: linear-gradient(150deg, var(--dh-tint), #fff);
    border: 1px solid var(--dh-line);
    border-radius: 22px;
}

.pledge-box h2 {
    font-size: 22px;
    padding-left: 14px;
    border-left: 4px solid var(--dh-accent);
}

/* ---------- 404 ---------- */

.lost-page { text-align: center; padding: 60px 0 40px; }

.lost-code {
    font-size: clamp(80px, 14vw, 140px);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 10px;
    background: linear-gradient(120deg, var(--dh-primary), var(--dh-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lost-page h1 { font-size: 26px; }

.lost-page p { color: var(--dh-muted); }

.lost-actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }

/* ---------- 页脚 ---------- */

.base {
    background: #0C2423;
    color: rgba(255, 255, 255, .78);
    margin-top: 0;
}

.base-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 40px;
}

.base-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.base-brand p { font-size: 14px; }

.base-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }

.base-links a { color: rgba(255, 255, 255, .78); }

.base-links a:hover { color: var(--dh-accent); }

.base-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; font-size: 13.5px; }

.base-menu a { color: rgba(255, 255, 255, .6); }

.base-menu a:hover { color: #fff; }

.base-note {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0;
    font-size: 13px;
}

.base-compliance {
    color: rgba(255, 255, 255, .55);
    max-width: 72em;
    line-height: 1.8;
}

.base-copy { color: rgba(255, 255, 255, .4); margin: 0; }

/* ---------- 浮动微信按钮 ---------- */

.wx-float {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 64px;
    padding: 10px 0 8px;
    background: var(--dh-accent);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(242, 118, 46, .45);
    font-size: 11.5px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wx-float:hover {
    transform: translateY(-4px) scale(1.04);
    color: #fff;
    box-shadow: 0 16px 34px rgba(242, 118, 46, .55);
}

/* ---------- 滚动显现 ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .68, .32, 1);
}

.reveal.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
    .matrix-grid, .tutor-row, .echo-wall, .note-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .lattice { grid-template-columns: repeat(3, 1fr); }
    .route, .route--mini { grid-template-columns: repeat(3, 1fr); }
    .route--page { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
    .hero-panel { max-width: 480px; }
    .base-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
    .lane { grid-template-columns: 1fr; }
    .twin-cols { grid-template-columns: 1fr; }
    .index-row { grid-template-columns: 1fr; }
    .index-thumb { aspect-ratio: 16 / 8; }
}

@media (max-width: 720px) {
    .band { padding: 52px 0; }
    .matrix-grid, .tutor-row, .echo-wall, .note-grid, .plan-grid, .lattice { grid-template-columns: 1fr; }
    .route, .route--mini, .route--page { grid-template-columns: 1fr; }
    .note-grid--compact { grid-template-columns: 1fr; }
    .flip-nav { grid-template-columns: 1fr; }
    .flip-next { text-align: left; }
    .base-grid { grid-template-columns: 1fr; }

    .top-note { display: none; }

    .nav-toggle { display: flex; order: 3; }
    .mast-cta { display: none; }

    .mast-row { flex-wrap: wrap; gap: 12px; }

    .nav-lane {
        order: 4;
        flex-basis: 100%;
        display: none;
    }

    .nav-lane.is-open { display: block; }

    .nav-lane .menu { flex-direction: column; gap: 2px; padding-bottom: 10px; }

    .nav-lane .menu a { padding: 11px 14px; }

    .nav-lane .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--dh-line);
        border-radius: 0;
        margin-left: 18px;
        padding: 2px 0 2px 10px;
        display: none;
    }

    .nav-lane .menu li.sub-open > .sub-menu { display: block; }

    .hero-actions .btn { flex: 1; justify-content: center; }

    .fee-table, .fee-table thead, .fee-table tbody, .fee-table tr, .fee-table td { display: block; }

    .fee-table thead { display: none; }

    .fee-table tr { border-bottom: 2px solid var(--dh-line); padding: 8px 0; }

    .fee-table td { border: 0; padding: 6px 16px; }

    .fee-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: var(--dh-muted);
    }
}
