/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --accent: #ff9800;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --bg: #f5f5f5;
    --white: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

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

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

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    background: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========== 头部 ========== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: #f5f5f5;
    color: var(--text-light);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-info .info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
}

.header-info .info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.header-info .info-item a:hover {
    color: var(--primary);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-user .user-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.header-user .user-link:hover {
    color: var(--primary);
}

.header-user .divider {
    color: var(--border);
    margin: 0 5px;
}

.header-main {
    background: var(--white);
    border-bottom: 2px solid var(--primary);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 36px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-light);
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-item {
    padding: 8px 16px;
    color: var(--text);
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.1);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ========== 页面Banner ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
}

/* ========== 区块通用 ========== */
.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-light);
}

.section-more {
    float: right;
    color: var(--primary);
}

/* ========== Hero区域 ========== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.feature-icon {
    font-size: 20px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero-actions .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

/* ========== 轮播 ========== */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.banner-slide {
    display: none;
    position: relative;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-caption h2 {
    font-size: 28px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots span.active {
    background: var(--primary);
}

/* ========== 服务分类 ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.category-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-name {
    font-size: 16px;
    color: var(--text);
}

.category-arrow {
    margin-top: 10px;
    color: var(--primary);
}

/* ========== 服务卡片 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    border-radius: 4px;
}

.service-body {
    padding: 20px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.service-desc {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
    height: 40px;
    overflow: hidden;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-price strong {
    color: var(--primary);
    font-size: 20px;
}

.service-price del {
    color: var(--text-light);
    margin-right: 5px;
    font-size: 14px;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions .btn {
    flex: 1;
    padding: 8px;
    font-size: 13px;
}

/* ========== 优惠倒计时 ========== */
.promo-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5722 100%);
    border-radius: 12px;
    padding: 50px;
    color: var(--white);
    text-align: center;
}

.promo-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    min-width: 70px;
    text-align: center;
}

.countdown-item strong {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.countdown-item em {
    font-size: 12px;
    font-style: normal;
}

.countdown-sep {
    font-size: 28px;
    line-height: 50px;
}

/* ========== 文章列表 ========== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.article-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.article-cover {
    height: 180px;
    overflow: hidden;
}

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

.article-body {
    padding: 20px;
}

.article-body h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
    height: 22px;
    overflow: hidden;
}

.article-body p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.article-date {
    color: var(--text-light);
    font-size: 12px;
}

/* ========== 咨询入口 ========== */
.consult-banner {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
    border-radius: 12px;
    padding: 50px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.consult-left h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.consult-list {
    list-style: none;
    margin-top: 15px;
}

.consult-list li {
    margin: 8px 0;
    font-size: 16px;
}

/* ========== 资质展示 ========== */
.credential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
}

.credential-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ========== 页脚 ========== */
.site-footer {
    background: #333;
    color: #ccc;
    margin-top: 60px;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-main .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    margin: 8px 0;
    font-size: 13px;
}

.footer-col a {
    display: block;
    margin: 8px 0;
    color: #ccc;
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    background: #222;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ========== 浮动操作栏 ========== */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: none;
}

.fab:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.fab span {
    font-size: 20px;
}

.fab small {
    font-size: 10px;
}

/* ========== 模态框 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal.show {
    display: block;
}

.modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    max-width: 500px;
    margin: 60px auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

/* ========== 表单 ========== */
.form-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text);
}

.required {
    color: #f44336;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-tip {
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 10px;
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
}

.code-input {
    display: flex;
    gap: 10px;
}

.code-input input {
    flex: 1;
}

.code-input .btn {
    white-space: nowrap;
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-light);
    font-size: 13px;
}

.filter-item {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    transition: all 0.3s;
}

.filter-item:hover,
.filter-item.active {
    background: var(--primary);
    color: var(--white);
}

.filter-search {
    margin-left: auto;
}

.filter-search form {
    display: flex;
    gap: 10px;
}

.filter-search input {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 200px;
}

/* ========== 详情页 ========== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.detail-main {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.detail-gallery {
    height: 400px;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: 30px;
    border-bottom: 1px solid var(--border);
}

.info-top h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin: 20px 0;
}

.price-label {
    color: var(--text-light);
}

.price-value del {
    color: var(--text-light);
    margin-right: 10px;
}

.price-value strong {
    color: var(--primary);
    font-size: 32px;
}

.info-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.info-actions {
    display: flex;
    gap: 15px;
}

.detail-content {
    padding: 30px;
}

.content-block {
    margin-bottom: 25px;
}

.content-block h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
}

.sidebar-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.related-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.related-item:last-child {
    border-bottom: none;
}

.sticky {
    position: sticky;
    top: 100px;
}

/* ========== 会员卡片 ========== */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.member-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.member-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.member-card-premium {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border-color: var(--accent);
}

.member-header {
    text-align: center;
    margin-bottom: 20px;
}

.member-header h3 {
    font-size: 22px;
}

.member-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    border-radius: 4px;
}

.member-badge.premium {
    background: #e65100;
}

.member-price {
    text-align: center;
    margin-bottom: 25px;
}

.member-price strong {
    font-size: 36px;
    color: var(--primary);
}

.member-price span {
    color: var(--text-light);
}

.member-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.member-benefits li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.member-footer {
    display: flex;
    gap: 10px;
}

.member-footer .btn {
    flex: 1;
}

/* ========== 咨询卡片 ========== */
.consult-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.consult-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.consult-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.consult-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.consult-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.consult-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.consult-price {
    margin-bottom: 15px;
}

.consult-price strong {
    font-size: 32px;
    color: var(--primary);
}

.consult-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.consult-action {
    color: var(--primary);
    font-weight: bold;
}

/* ========== 用户中心 ========== */
.user-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.user-sidebar {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.user-profile .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 10px;
}

.user-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-nav-item {
    padding: 12px 15px;
    border-radius: 4px;
    color: var(--text);
    transition: all 0.3s;
}

.user-nav-item:hover,
.user-nav-item.active {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
}

.user-content {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    margin-top: 5px;
}

.info-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
}

.info-card h3 {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.info-row {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

/* ========== 数据表格 ========== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--bg);
    font-weight: 600;
}

.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-0 { background: #fff3e0; color: #e65100; }
.status-1 { background: #e3f2fd; color: #1565c0; }
.status-2 { background: #e8f5e9; color: #2e7d32; }
.status-3 { background: #ffebee; color: #c62828; }

.btn-link {
    color: var(--primary);
    margin-right: 10px;
}

.text-danger {
    color: #f44336;
}

/* ========== 分页 ========== */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .detail-layout,
    .user-layout {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .banner-slide img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }

    .header-info {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-info .info-item {
        font-size: 11px;
    }

    .header-main .container {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-sub {
        display: none;
    }

    .section {
        padding: 40px 0;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-features {
        gap: 20px;
    }

    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 24px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search {
        margin-left: 0;
    }

    .filter-search input {
        width: 100%;
    }

    .consult-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-main .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-actions {
        right: 10px;
        bottom: 80px;
    }

    .fab {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 20px;
    }

    .footer-main .container {
        grid-template-columns: 1fr;
    }

    .countdown-item {
        min-width: 55px;
        padding: 10px;
    }

    .countdown-item strong {
        font-size: 24px;
    }
}

/* ========== 法务页面样式 ========== */
.legal-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.legal-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

.legal-sidebar .sidebar-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.legal-sidebar h4 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary-dark);
}

.legal-sidebar .toc-list {
    list-style: none;
    padding: 0;
}

.legal-sidebar .toc-list li {
    margin-bottom: 8px;
}

.legal-sidebar .toc-list a {
    display: block;
    padding: 8px 12px;
    color: var(--text-light);
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.legal-sidebar .toc-list a:hover {
    background: #f0f9f0;
    color: var(--primary);
    padding-left: 16px;
}

.legal-sidebar .contact-card p {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.legal-sidebar .contact-item {
    font-weight: 500;
    color: var(--text);
}

.legal-main {
    flex: 1;
    min-width: 0;
}

.legal-header {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.legal-header h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.legal-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.legal-content {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
}

.legal-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.legal-content h4 {
    font-size: 15px;
    color: var(--text);
    margin: 20px 0 10px;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text);
    text-align: justify;
}

.legal-content ul {
    margin: 10px 0 15px 20px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.8;
}

.legal-content ul li strong {
    color: var(--primary-dark);
}

.legal-content .highlight {
    background: #fff8e1;
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    color: #f57c00;
}

.legal-content .process {
    background: #e8f5e9;
    border-left: 4px solid var(--primary);
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 4px;
    color: var(--primary-dark);
}

.legal-content .contact-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.legal-content .contact-box h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.legal-content .contact-box p {
    margin-bottom: 8px;
}

.legal-content .contact-box a {
    color: var(--primary);
    font-weight: 500;
}

.legal-content .response {
    color: var(--text-light);
    font-size: 13px;
    font-style: italic;
}

/* 资质公示页面样式 */
.legal-content .notice-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px 20px;
    margin: 15px 0 25px;
    border-radius: 4px;
    color: #1565c0;
}

.legal-content .cert-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.legal-content .cert-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.legal-content .cert-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.legal-content .cert-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legal-content .cert-info {
    flex: 1;
    min-width: 0;
}

.legal-content .cert-info h3 {
    margin-top: 0;
    border: none;
    padding: 0;
    color: var(--primary-dark);
}

.legal-content .cert-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.legal-content .cert-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.legal-content .cert-table td.label {
    width: 140px;
    background: #f5f5f5;
    color: var(--text-light);
    font-weight: 500;
}

.legal-content .cert-note {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.legal-content .cert-notice-box {
    background: #fff3e0;
    border-left: 4px solid var(--accent);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.legal-content .cert-notice-box h4 {
    color: #e65100;
    margin-bottom: 12px;
}

.legal-content .cert-notice-box ul {
    margin: 0;
}

/* 法务页面响应式 */
@media (max-width: 768px) {
    .legal-container {
        flex-direction: column;
    }

    .legal-sidebar {
        width: 100%;
        position: static;
    }

    .legal-content .cert-item {
        flex-direction: column;
    }

    .legal-content .cert-icon {
        margin-bottom: 15px;
    }

    .legal-content .cert-table {
        font-size: 13px;
    }

    .legal-content .cert-table td.label {
        width: 100px;
    }

    .legal-header,
    .legal-content {
        padding: 20px;
    }

    .legal-meta {
        flex-direction: column;
        gap: 5px;
    }
}
