/* ===== 配色：深紫岩灰 + 青碧 + 暖橙点缀 ===== */
:root {
    --primary: #1e1b2e;
    --primary-mid: #2d2942;
    --primary-soft: #3d3858;
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --accent-warm: #f97316;
    --accent-bg: rgba(20, 184, 166, 0.1);
    --text: #1f2937;
    --text-muted: #6b7280;
    --light: #ffffff;
    --bg: #f4f3f7;
    --bg-alt: #eae8f0;
    --border: #d5d2de;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow: 0 2px 14px rgba(30, 27, 46, 0.07);
    --shadow-lg: 0 8px 28px rgba(30, 27, 46, 0.12);
    --header-h: 64px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== 顶部条 ===== */
.top-strip {
    background: var(--primary);
    padding: 8px 0;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.strip-badge {
    background: var(--accent);
    color: var(--light);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.strip-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

/* ===== 导航 ===== */
.site-header {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
    box-shadow: 0 1px 8px rgba(30, 27, 46, 0.05);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
    position: relative;
}

.brand {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    flex-shrink: 0;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--accent-dark);
    background: var(--accent-bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 主横幅 ===== */
.banner {
    position: relative;
    background: var(--primary);
    color: var(--light);
    padding: 40px 0 44px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.banner-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

.banner-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    border: 1px solid rgba(20, 184, 166, 0.4);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.banner-text h1 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.banner-lead {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 20px;
}

.banner-lead strong {
    color: var(--accent);
    font-weight: 600;
}

.banner-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.metric {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px 8px;
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 2px;
}

.metric span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

/* ===== 咨询卡片 ===== */
.consult-panel {
    min-width: 0;
    max-width: 300px;
    width: 100%;
    margin-left: auto;
}

.consult-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    border: 1px solid var(--border);
}

.consult-head {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.consult-head h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.consult-head p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.consult-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-warm);
    background: rgba(249, 115, 22, 0.08);
    padding: 8px 10px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: background 0.2s;
    word-break: break-all;
}

.consult-phone:hover {
    background: rgba(249, 115, 22, 0.14);
}

.consult-tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.tag-name {
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.tag-online {
    background: #dcfce7;
    color: #15803d;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.consult-card .wechat-id {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 10px;
    transition: color 0.2s;
    user-select: none;
}

.consult-card .wechat-id:hover {
    color: var(--accent-dark);
}

.wechat-id {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.wechat-id:hover {
    color: var(--accent-dark);
}

.copy-hint {
    font-size: 11px;
    color: var(--accent-dark);
    margin-left: 4px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consult-qr {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.consult-qr img {
    width: 96px;
    height: 96px;
    margin: 0 auto 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    object-fit: cover;
}

.consult-qr p {
    font-size: 12px;
    color: var(--text-muted);
}

.consult-card .btn-main {
    padding: 10px;
    font-size: 14px;
}

.btn-main {
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--light);
    text-align: center;
    padding: 13px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s, transform 0.2s;
    border: none;
}

.btn-main:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-light {
    background: var(--light);
    color: var(--accent-dark);
    border: 2px solid var(--accent);
    max-width: 240px;
}

.btn-light:hover {
    background: var(--accent-bg);
}

.btn-line {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
    transition: color 0.2s;
    margin-top: auto;
}

.btn-line:hover {
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

/* ===== 核心优势 ===== */
.pillars {
    padding: 48px 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.pillars-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-item {
    padding: 22px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.pillar-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.pillar-item h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
}

.pillar-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== 通用区块头 ===== */
.block-head {
    text-align: center;
    margin-bottom: 40px;
}

.block-head-light .block-title,
.block-head-light .block-desc {
    color: var(--light);
}

.block-title {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.block-desc {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== 业务领域 ===== */
.services-block {
    padding: 64px 0;
    background: var(--bg);
}

.service-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-featured {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 28px;
    align-items: center;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    color: var(--light);
    border: 1px solid transparent;
    box-shadow: var(--shadow-lg);
    min-width: 0;
}

.service-featured-main {
    min-width: 0;
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    background: var(--accent);
    color: var(--light);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-featured h3 {
    font-size: 22px;
    color: var(--light);
    margin-bottom: 12px;
}

.service-featured p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 16px;
}

.service-featured-list {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 20px 18px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.service-featured-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.service-featured-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--accent-warm);
    border-radius: 50%;
}

.btn-line-light {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, transform 0.2s;
    min-width: 0;
    height: 100%;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    flex: 1;
}

.service-card ul {
    margin-bottom: 14px;
}

.service-card li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 3px 0 3px 16px;
    position: relative;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== 案情解读 ===== */
.knowledge-block {
    padding: 64px 0;
    background: var(--light);
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    border-left: 4px solid var(--accent);
    min-width: 0;
}

.faq-item h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq-item strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== 办案流程 ===== */
.process-block {
    padding: 64px 0;
    background: var(--primary);
}

.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: rgba(20, 184, 166, 0.3);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-body {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 18px 20px;
    min-width: 0;
}

.timeline-body h3 {
    font-size: 17px;
    color: var(--light);
    margin-bottom: 8px;
}

.timeline-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

/* ===== 委托咨询 ===== */
.contact-block {
    padding: 64px 0;
    background: linear-gradient(160deg, var(--primary-mid) 0%, var(--primary) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-detail,
.contact-qr-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    min-width: 0;
}

.contact-detail h3,
.contact-qr-box h3 {
    font-size: 20px;
    color: var(--light);
    margin-bottom: 10px;
}

.contact-detail > p,
.contact-qr-box > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 16px;
}

.contact-detail strong {
    color: var(--accent);
}

.contact-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-warm);
    background: rgba(249, 115, 22, 0.12);
    padding: 14px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    word-break: break-all;
}

.wechat-id-lg {
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 18px !important;
}

.contact-qr-box {
    text-align: center;
}

.contact-qr-box img,
.qr-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
}

.qr-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== 悬浮按钮 ===== */
.float-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-warm);
    color: var(--light);
    padding: 14px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
    white-space: nowrap;
}

.float-btn:hover {
    transform: translateY(-2px);
}

.icon-phone {
    font-size: 18px;
    flex-shrink: 0;
}

/* ===== 广告区 ===== */
.ad-section {
    padding: 20px 0;
    overflow: hidden;
}

.ad-section img,
.ad-section iframe {
    max-width: 100%;
    height: auto;
}

/* ===== 列表页 / 内页 ===== */
.page-banner {
    background: var(--primary);
    padding: 36px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 26px;
    color: var(--light);
    font-weight: 700;
}

.page-main {
    padding: 32px 0 56px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 10px 14px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    line-height: 1.6;
    overflow: hidden;
    word-break: break-all;
}

.page-content-box {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    line-height: 1.8;
    overflow: hidden;
}

.page-content-box img {
    max-width: 100%;
    height: auto;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-item {
    display: flex;
    gap: 20px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.article-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.article-item-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.article-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.article-item-body h2 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.45;
}

.article-item-body h2 a {
    color: var(--primary);
    transition: color 0.2s;
}

.article-item-body h2 a:hover {
    color: var(--accent-dark);
}

.article-item-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.pagination {
    margin-top: 32px;
    text-align: center;
    overflow-x: auto;
    padding: 8px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text);
    background: var(--light);
    white-space: nowrap;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

/* ===== 文章内页 ===== */
.article-header {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-bottom: 24px;
}

.article-header h1 {
    font-size: 24px;
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 14px;
    word-break: break-word;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-body {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    line-height: 1.85;
    font-size: 15px;
    margin-bottom: 24px;
    overflow: hidden;
    word-break: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: var(--radius);
}

.article-body table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.article-nav-item {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
    min-width: 0;
    overflow: hidden;
    word-break: break-all;
}

.related-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
}

.related-list {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px 0;
}

.related-list li {
    border-bottom: 1px solid var(--border);
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-list a:hover {
    background: var(--accent-bg);
    color: var(--accent-dark);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .banner-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .consult-panel {
        max-width: 360px;
        margin: 0 auto;
    }

    .banner-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-featured {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 22px;
    }

    .service-featured-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 20px;
        padding: 16px;
    }

    .service-featured-list li {
        flex: 0 0 auto;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 56px;
    }

    .strip-text {
        font-size: 12px;
    }

    .brand {
        max-width: 160px;
        font-size: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--light);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        padding: 8px 0;
    }

    .nav-toggle-input:checked ~ .site-nav {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 12px;
    }

    .site-nav a {
        padding: 12px 14px;
        border-radius: 0;
        border-bottom: 1px solid var(--bg-alt);
    }

    .site-nav li:last-child a {
        border-bottom: none;
    }

    .banner {
        padding: 32px 0 36px;
    }

    .banner-text h1 {
        font-size: 24px;
    }

    .banner-lead {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .consult-card {
        padding: 16px 14px;
    }

    .consult-phone {
        font-size: 17px;
    }

    .pillars-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pillar-item {
        padding: 18px 16px;
    }

    .block-title {
        font-size: 24px;
    }

    .services-block,
    .knowledge-block,
    .process-block,
    .contact-block {
        padding: 48px 0;
    }

    .service-featured {
        padding: 22px 18px;
    }

    .service-featured h3 {
        font-size: 19px;
    }

    .service-featured-list {
        flex-direction: column;
        gap: 8px;
    }

    .service-card {
        padding: 20px 18px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 19px;
    }

    .timeline-item {
        gap: 16px;
    }

    .timeline-num {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-phone {
        font-size: 22px;
    }

    .float-contact {
        bottom: 16px;
        right: 16px;
    }

    .float-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .page-banner h1 {
        font-size: 22px;
    }

    .article-item {
        flex-direction: column;
        gap: 14px;
    }

    .article-item-thumb {
        width: 100%;
        height: 180px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 20px;
    }

    .article-body {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .top-strip-inner {
        flex-direction: column;
        gap: 6px;
    }

    .banner-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .metric {
        padding: 10px 8px;
    }

    .metric strong {
        font-size: 18px;
    }

    .consult-qr img {
        width: 88px;
        height: 88px;
    }

    .contact-qr-box img,
    .qr-img {
        width: 130px;
        height: 130px;
    }

    .float-btn span:last-child {
        display: none;
    }

    .float-btn {
        padding: 14px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
}
