/* ============================================
   官网主题 · 深海青绿配色（与旧版红黑风格区分）
   ============================================ */
:root {
    --primary: #16324f;
    --primary-dark: #0f2236;
    --accent: #1f9e8f;
    --accent-hover: #168a7d;
    --accent-soft: rgba(31, 158, 143, 0.12);
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #2a3548;
    --muted: #64748b;
    --border: #dce4ef;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 4px 24px rgba(22, 50, 79, 0.06);
    --shadow-sm: 0 2px 8px rgba(22, 50, 79, 0.05);
    --wrap: 1140px;
    --nav-h: 64px;
    --strip-h: 36px;
    --header-total: calc(var(--strip-h) + var(--nav-h));
    --ease: 0.22s ease;
    --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--ease);
}

a:hover {
    color: var(--accent-hover);
}

ul, ol {
    list-style: none;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 顶栏 + 导航 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-strip {
    height: var(--strip-h);
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
}

.top-strip .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.top-strip-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
}

.top-strip-links {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.top-strip-links a {
    color: rgba(255, 255, 255, 0.9);
}

.top-strip-links a:hover {
    color: #fff;
}

.site-nav {
    height: var(--nav-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--ease);
}

.site-nav.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
    min-width: 0;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #3cb8a7);
    flex-shrink: 0;
}

.brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle i {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--ease);
}

.nav-toggle.is-open i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open i:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 2px;
}

.nav-list a {
    display: block;
    padding: 8px 11px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list li.is-active a,
.nav-list li.zb6679this a {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-cta {
    flex-shrink: 0;
    padding: 9px 18px;
    background: var(--accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-hover);
    color: #fff !important;
}

body.nav-open {
    overflow: hidden;
}

/* ---------- 通用组件 ---------- */
.card-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--surface);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 420px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

.section-foot {
    text-align: center;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-block {
    width: 100%;
}

/* ---------- 首页 Hero ---------- */
.page-home {
    padding-top: var(--header-total);
}

.hero {
    padding: 56px 0 64px;
    background: linear-gradient(160deg, #e8f4f2 0%, var(--bg) 45%, #eef2f8 100%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero-heading {
    font-size: clamp(26px, 4vw, 38px);
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-lead {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-lead strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-metrics strong {
    display: block;
    font-size: 26px;
    color: var(--accent);
    line-height: 1.2;
}

.hero-metrics span {
    font-size: 12px;
    color: var(--muted);
}

.hero-note {
    font-size: 13px;
    color: var(--muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ---------- 服务卡片 ---------- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.svc-card {
    padding: 26px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--ease), box-shadow var(--ease);
}

.svc-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.svc-icon {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.svc-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.svc-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.svc-card p strong {
    color: var(--text);
    font-weight: 600;
}

/* ---------- 流程 ---------- */
.process-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 48px;
    align-items: start;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--border);
    margin-left: 18px;
}

.flow-steps li {
    position: relative;
    padding: 0 0 28px 32px;
}

.flow-steps li:last-child {
    padding-bottom: 0;
}

.flow-num {
    position: absolute;
    left: -19px;
    top: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    border: 3px solid var(--surface);
}

.flow-steps h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
}

.flow-steps p {
    font-size: 14px;
    color: var(--muted);
}

/* ---------- 百科 ---------- */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.know-card {
    padding: 22px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.know-card h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.know-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

/* ---------- 信任条 ---------- */
.trust-band {
    padding: 56px 0;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.92);
}

.trust-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.trust-text h2 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #fff;
}

.trust-text p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.75;
}

.trust-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
}

.trust-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.trust-stat {
    text-align: center;
    padding: 20px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.trust-stat b {
    display: block;
    font-size: 28px;
    color: #7ee8d8;
    margin-bottom: 6px;
}

.trust-stat span {
    font-size: 12px;
    opacity: 0.85;
}

/* ---------- 首页文章 ---------- */
.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.home-article-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow var(--ease);
}

.home-article-card:hover {
    box-shadow: var(--shadow-sm);
}

.home-article-thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8edf3;
}

.home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-article-info {
    padding: 12px 14px;
}

.home-article-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

.home-article-title a {
    color: var(--text);
}

.home-article-title a:hover {
    color: var(--accent);
}

.home-article-date {
    font-size: 12px;
    color: var(--muted);
}

.home-articles .home-article-desc,
.home-articles .home-article-intro,
.home-articles .home-article-body {
    display: none !important;
}

/* ---------- 联系 ---------- */
.contact-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-intro h2 {
    font-size: 28px;
    color: var(--primary);
    margin: 8px 0 14px;
}

.contact-intro p {
    color: var(--muted);
    margin-bottom: 20px;
}

.contact-points li {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
}

.contact-form {
    padding: 28px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--ease);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

/* ---------- 内页 ---------- */
.page-list,
.page-article {
    padding-top: var(--header-total);
}

.page-hero {
    padding: 32px 0 28px;
    background: var(--primary);
    color: #fff;
    border-bottom: 3px solid var(--accent);
}

.page-hero-title {
    font-size: clamp(22px, 3.5vw, 30px);
    margin-bottom: 10px;
    line-height: 1.35;
    word-break: break-word;
}

.breadcrumb {
    font-size: 13px;
    opacity: 0.88;
}

.breadcrumb a {
    color: #b8e8df;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 6px;
    opacity: 0.6;
}

.page-body {
    padding: 32px 0 56px;
}

.page-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.main-col {
    padding: 28px;
    min-width: 0;
}

/* ---------- 列表 ---------- */
.article-list-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.article-list-item:first-child {
    padding-top: 0;
}

.article-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-list-thumb {
    flex: 0 0 200px;
    max-width: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}

.article-list-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-list-body {
    flex: 1;
    min-width: 0;
}

.article-list-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-list-title a {
    color: var(--primary);
}

.article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
}

.article-list-intro {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 分页 ---------- */
.pagebar {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.pagelist li {
    list-style: none;
}

.pagelist a,
.pagelist span {
    display: inline-block;
    padding: 7px 13px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: var(--surface);
}

.pagelist a:hover,
.pagelist .thisclass a {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}

.pagelist .pageinfo {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    border: none;
    background: none;
    padding: 0 0 8px;
}

.pagelist .end {
    display: inline-block !important;
}

/* ---------- 内容页 ---------- */
.article-title {
    font-size: clamp(22px, 3vw, 28px);
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.article-meta a {
    color: var(--accent);
}

.article-litpic {
    margin-bottom: 22px;
    text-align: center;
}

.article-litpic img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.article-litpic:empty,
.article-litpic img[src=""],
.article-litpic img:not([src]) {
    display: none;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-body img {
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto;
    border-radius: var(--radius-sm);
}

.article-body table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.zb6679meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.zb6679tagitem a {
    padding: 5px 12px;
    font-size: 12px;
    background: var(--accent-soft);
    color: var(--primary);
    border-radius: 20px;
}

.article-prenext {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.prenext-prev,
.prenext-next {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.prenext-next {
    text-align: right;
}

.related-block {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.related-heading {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 18px;
}

.related-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex: 0 0 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.related-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.related-body h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.related-body h4 a {
    color: var(--primary);
}

.related-body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.article-gallery-item {
    margin: 16px 0;
}

.article-gallery-item figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

/* ---------- 侧栏 ---------- */
.side-col {
    padding: 20px;
    position: sticky;
    top: calc(var(--header-total) + 16px);
    max-height: calc(100vh - var(--header-total) - 32px);
    overflow-y: auto;
}

.side-title {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.side-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
}

.side-item:last-child {
    border-bottom: none;
}

.side-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-item-title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-item:hover .side-item-title {
    color: var(--accent);
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand strong {
    display: block;
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-col h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.footer-col a:hover {
    color: #7ee8d8;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-copy {
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    opacity: 0.65;
}

.friend-links {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.friend-links .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 20px;
}

.friend-links-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    flex: 1;
    min-width: 0;
}

.friend-links-list li a {
    font-size: 13px;
    color: var(--muted);
}

.clear {
    clear: both;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .home-articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .page-columns {
        grid-template-columns: 1fr;
    }

    .side-col {
        position: static;
        max-height: none;
    }

    .process-layout {
        grid-template-columns: 1fr;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
        --strip-h: 32px;
    }

    .top-strip-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-panel {
        position: fixed;
        top: var(--header-total);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 20px 24px;
        background: var(--surface);
        border-top: 1px solid var(--border);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--ease);
        z-index: 999;
    }

    .nav-panel.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-list a {
        padding: 12px 14px;
        white-space: normal;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        width: 100%;
    }

    .section {
        padding: 48px 0;
    }

    .hero {
        padding: 36px 0 44px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .home-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .article-list-item {
        flex-direction: column;
    }

    .article-list-thumb {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .main-col {
        padding: 20px 16px;
    }

    .side-col {
        padding: 16px;
    }

    .article-prenext {
        flex-direction: column;
        gap: 12px;
    }

    .prenext-next {
        text-align: left;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        flex: none;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pagelist a,
    .pagelist span {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 14px;
    }

    .home-articles-grid {
        grid-template-columns: 1fr;
    }

    .home-article-title {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero {
        padding: 24px 0 20px;
    }

    .contact-form {
        padding: 20px 16px;
    }
}

@media print {
    .site-header,
    .nav-cta,
    .contact-form,
    .side-col {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }
}
