/* ===== 全局容器 ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ===== FAQ 展开状态 ===== */
.faq-item.open .faq-a {
    max-height: 800px !important;
    padding: 0 24px 18px !important;
}
.faq-item.open .faq-q span {
    transform: rotate(45deg);
}
.faq-item.open .faq-q .faq-arrow {
    transform: rotate(45deg);
}

/* ===== FAQ分类标签 ===== */
.faq-tabs {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.faq-tabs-inner {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.faq-tab {
    padding: 16px 24px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    border-bottom: 3px solid transparent;
}
.faq-tab:hover { color: #1a56db; }
.faq-tab.active {
    color: #1a56db;
    border-bottom-color: #1a56db;
}

/* ===== FAQ分类区块 ===== */
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-category { margin-bottom: 40px; }
.faq-category-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
    border: 1px solid #bfdbfe;
}
.faq-category-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.faq-category-header h2 {
    font-size: 20px;
    color: #1a56db;
    font-weight: 800;
    margin-bottom: 4px;
}
.faq-category-header p {
    font-size: 13px;
    color: #64748b;
}

/* ===== FAQ列表 ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 2px 12px rgba(26,86,219,.08); }
.faq-q {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #1a1a2e;
}
.faq-arrow {
    font-size: 20px;
    color: #1a56db;
    transition: transform .3s;
    flex-shrink: 0;
    font-weight: 300;
}
.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all .4s ease;
}
.faq-a-content {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}
.faq-a-content p { margin-bottom: 10px; }
.faq-a-content ul, .faq-a-content ol {
    margin: 8px 0 12px 20px;
    padding: 0;
}
.faq-a-content li { margin-bottom: 6px; }

/* FAQ价格表 */
.faq-price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}
.faq-price-table th {
    background: #eff6ff;
    color: #1a56db;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #bfdbfe;
}
.faq-price-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}
.faq-price-table tr:hover td { background: #f7f8fa; }

@media (max-width: 768px) {
    .faq-tabs-inner { justify-content: flex-start; }
    .faq-tab { padding: 12px 16px; font-size: 14px; }
    .faq-q { padding: 14px 16px; font-size: 15px; }
    .faq-a-content { font-size: 13px; }
    .faq-price-table { font-size: 12px; }
    .faq-price-table th, .faq-price-table td { padding: 8px 10px; }
}

/* ===== 优势网格 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.feature-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: box-shadow .2s;
    background: #fff;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(26,86,219,.12); }
.feature-icon { font-size: 36px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: #718096; }

/* ===== 服务项目卡片 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #1a56db;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a56db;
}
.service-card p { font-size: 14px; color: #718096; margin-bottom: 10px; }
.price-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1a56db;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1a3f8f;
    --primary-light: #eff6ff;
    --accent: #e53e3e;
    --accent-hover: #c53030;
    --green: #16a34a;
    --bg: #f7f8fa;
    --white: #ffffff;
    --text: #1a1a2e;
    --text-light: #4a5568;
    --text-muted: #718096;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 14px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* 全局禁止横向溢出 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* 全局禁止横向溢出 */
    max-width: 100vw; /* 不允许超出视口宽度 */
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul, ol {
    list-style: none;
}

/* ===== 红色顶栏（参考竞品样式） ===== */
.top-bar-red {
    background: #e74c3c;
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
    text-align: center;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===== 顶部认证标签栏（旧版，保留兼容） ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.top-bar span {
    display: inline-block;
    margin: 0 10px;
    color: #a5f3c0;
}

/* ===== 新版主头部区域（参考竞品样式） ===== */
.header-main {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
    overflow: hidden; /* 防止子元素溢出 */
}

.header-main-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 16px;
    flex-wrap: nowrap;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

.logo-main {
    display: flex !important;
    align-items: center;
    gap: 14px;
    flex: 0 1 auto;
    min-width: 0;
}

.logo-icon-box {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1a56db, #2563eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(26, 86, 219, 0.2);
}

.logo-text-main h1 {
    font-size: 20px;
    color: #1a56db;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.logo-text-main span {
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 0.8px;
    display: block;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
}

.header-phone-main {
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-phone-main .phone-big {
    font-size: 24px; /* 缩小默认字号，手机端更友好 */
    font-weight: 900;
    color: #e53e3e;
    letter-spacing: 1px;
    display: block;
    line-height: 1.2;
    text-decoration: none;
}

.header-phone-main p {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

/* ===== 头部区域（旧版，保留兼容） ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text h1 {
    font-size: 20px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone-wrap {
    text-align: right;
}

.header-phone-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.header-phone-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
    line-height: 1.2;
}

.header-phone-tip {
    font-size: 11px;
    color: var(--text-muted);
}

.header-phone-tip strong {
    color: var(--green);
}

.header-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(229,62,62,0.3);
}

.header-call-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ===== 导航栏 ===== */
.nav {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.35);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 8px;
    gap: 0;
    flex-wrap: nowrap;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav a {
    display: block;
    color: rgba(255,255,255,0.82);
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s ease;
    border-radius: 6px;
    position: relative;
    letter-spacing: 0.3px;
    flex-shrink: 0; /* 防止导航文字被压缩 */
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4ade80;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav a:hover::after {
    width: 60%;
}

.nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

.nav a.active::after {
    width: 60%;
}

.nav a.nav-phone {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: var(--white);
    font-weight: 700;
    padding: 10px 22px;
    margin-left: auto;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.35);
    letter-spacing: 0.5px;
}

.nav a.nav-phone:hover {
    background: linear-gradient(135deg, #c53030, #9b2c2c);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.45);
}

.nav a.nav-phone::after {
    display: none;
}

/* ===== 导航下拉菜单 ===== */
.dropdown {
    position: relative;
}
.dropdown > a::after {
    content: ' ▼';
    font-size: 10px;
    opacity: 0.7;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e3a8a;
    min-width: 180px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 99999;
    overflow: hidden;
    padding: 4px 0;
    pointer-events: none;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dropdown-menu a {
    display: block !important;
    padding: 10px 20px !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 13px !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    text-align: center;
    position: relative;
}
.dropdown-menu a:last-child {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
}
.dropdown-menu a::after {
    display: none !important;
}

/* ===== 英雄横幅区 ===== */
.hero {
    background: linear-gradient(135deg, #1a3f8f 0%, #1a56db 50%, #2563eb 100%);
    background-color: #1a3f8f;
    color: var(--white);
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 360px;
    height: 360px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #a5f3c0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    opacity: 0.92;
    margin-bottom: 28px;
}

.hero .highlight {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 2px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 17px;
    margin: 0 2px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(229,62,62,0.45);
}

.hero-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(229,62,62,0.55);
}

.hero-secondary {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: color 0.2s;
}

.hero-secondary:hover {
    color: white;
}

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

.hero-trust span {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    padding: 5px 14px;
    border-radius: 50px;
}

/* ===== 数据亮点区 ===== */
.stats-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.stat-num span {
    font-size: 16px;
    font-weight: 600;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ===== 区块通用样式 ===== */
.section {
    padding: 64px 24px;
}

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

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 44px;
}

/* ===== 四大核心服务卡片 ===== */
.core-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.core-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.core-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.core-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.core-card .icon {
    font-size: 36px;
}

.core-card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 700;
}

.core-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.core-price {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

.core-price strong {
    color: var(--accent);
    font-size: 15px;
}

.core-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 22px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.core-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== 服务流程 ===== */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}

.process-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    border: 1px solid var(--border);
    position: relative;
}

.process-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.process-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.process-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.process-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    padding: 0 4px;
}

/* ===== 12项服务网格 ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-item {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px 14px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: var(--white);
}

.service-item .icon {
    font-size: 30px;
    margin-bottom: 8px;
    display: block;
}

.service-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.service-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== 智能锁产品展示 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: block;
}

.product-info {
    padding: 16px 20px;
}

.product-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.product-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.product-tag {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid #fde68a;
}

/* ===== 覆盖区域 ===== */
.area-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.area-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.area-card.area-main {
    border-color: var(--primary);
    border-width: 2px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.area-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.area-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.area-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.area-tip {
    display: inline-block;
    margin-top: 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* ===== SEO文字块 ===== */
.seo-block {
    max-width: var(--max-width);
    margin: 0 auto;
}

.seo-block .seo-text {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
    border: 1px solid var(--border);
}

.seo-block .seo-text strong {
    color: var(--primary);
}

/* ===== 联系 + 新闻区域 ===== */
.contact-news {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* 联系卡片 */
.contact-card {
    background: linear-gradient(160deg, #1a3f8f 0%, #1a56db 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
}

.contact-card-top {
    font-size: 40px;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.9;
}

.contact-card .phone-big {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
    color: #93c5fd;
}

.contact-sub {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.contact-card .call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(229,62,62,0.4);
}

.contact-card .call-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
}

.contact-card .tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.contact-card .tags span {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
}

/* 新闻卡片 */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.news-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    color: var(--text);
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    color: var(--text);
    font-size: 14px;
    flex: 1;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list a:hover {
    color: var(--primary);
}

.news-list .date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 12px;
    white-space: nowrap;
}

/* 标签卡片 */
.tags-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.tags-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    color: var(--text);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s;
    border: 1px solid #dbeafe;
}

.tag-cloud a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== 页脚 ===== */
.footer {
    background: #111827;
    color: rgba(255,255,255,0.75);
    padding: 40px 24px 20px;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.footer p {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.8;
    text-align: center;
}

.footer .footer-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
    flex-wrap: wrap;
}

.footer .footer-tags span {
    font-size: 12px;
    background: rgba(255,255,255,0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.footer .copyright {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===== 页脚多列布局 ===== */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: left;
    max-width: var(--max-width);
    margin: 0 auto 32px;
    padding: 0 24px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a56db;
    display: inline-block;
}

.footer-col p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: left;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-col a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 16px;
    }
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .footer-col p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .footer-col p {
        text-align: center;
    }
}

/* ===== 悬浮拨号按钮（手机端） ===== */
.float-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(229,62,62,0.5);
    z-index: 99;
    white-space: nowrap;
}

/* ===== 返回顶部按钮 ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    text-decoration: none;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== 新闻详情页 ===== */
.news-detail {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-detail article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.news-detail h1 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-detail .meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.news-detail .content {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
}

.news-detail .content h2 {
    font-size: 18px;
    color: var(--text);
    margin: 24px 0 12px;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
}

.news-detail .content p {
    margin-bottom: 14px;
}

.news-detail .tips {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 24px;
}

.news-detail .tips strong {
    color: var(--accent);
}

.news-detail .back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-size: 14px;
}

.news-detail .back-link:hover {
    text-decoration: underline;
}

/* 新闻列表页 */
.news-list-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-list-page h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text);
}

.news-list-page .news-items .news-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.news-list-page .news-items .news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--primary);
}

.news-list-page .news-items a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.news-list-page .news-items a:hover {
    color: var(--primary);
}

.news-list-page .news-items .date {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 16px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .core-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-news {
        grid-template-columns: 1fr;
    }
    .area-grid {
        grid-template-columns: 1fr;
    }
    .area-card.area-main {
        grid-row: auto;
    }
    .stats-inner {
        flex-wrap: wrap;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        flex: 0 0 calc(33.3% - 16px);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .logo-area {
        justify-content: center;
    }
    .header-phone-wrap {
        text-align: center;
    }
    /* 手机端 header 适配 */
    .header-main-inner {
        padding: 10px 12px;
        gap: 8px;
    }
    .logo-text-main h1 {
        font-size: 16px !important;
    }
    .logo-text-main span {
        font-size: 9px !important;
    }
    .header-phone-main .phone-big {
        font-size: 18px !important;
        letter-spacing: 0.5px;
    }
    .header-phone-main p {
        font-size: 10px !important;
    }
    .logo-icon-box {
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
    }
    /* 导航字号缩小 */
    .nav a {
        padding: 10px 7px;
        font-size: 12px;
    }
    .nav a.nav-phone {
        padding: 8px 14px;
        font-size: 12px;
    }
    .nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero h2 {
        font-size: 28px;
    }
    .hero p {
        font-size: 15px;
    }
    .core-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #1a3f8f;
        width: 100%;
        padding: 0;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown > a::after {
        content: ' ▼';
    }
    .section {
        padding: 44px 16px;
    }
    .section-title {
        font-size: 22px;
    }
    .contact-news {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        align-items: stretch;
    }
    .process-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    .float-call-btn {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
    #back-to-top {
        bottom: 80px;
    }
    /* 防止各种表格/网格溢出 */
    .area-grid {
        grid-template-columns: 1fr !important;
    }
    .contact-news {
        grid-template-columns: 1fr !important;
    }
    table {
        width: 100% !important;
        overflow-x: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .core-services {
        grid-template-columns: 1fr;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .service-item {
        padding: 14px 10px;
    }
    .top-bar span {
        margin: 0 5px;
        font-size: 11px;
    }
    .hero h2 {
        font-size: 24px;
    }
    .hero-cta {
        font-size: 16px;
        padding: 14px 28px;
    }
    .stats-inner {
        padding: 0 8px;
    }
    .stat-item {
        flex: 0 0 50%;
        padding: 12px 8px;
    }
    .stat-num {
        font-size: 26px;
    }
    .logo-text h1 {
        font-size: 18px;
    }
    /* 手机端极小屏header进一步压缩 */
    .header-main-inner {
        padding: 8px 10px;
        gap: 6px;
    }
    .header-phone-main .phone-big {
        font-size: 16px !important;
        letter-spacing: 0;
    }
    .logo-icon-box {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    /* 导航在极小屏也能显示 */
    .nav a {
        padding: 9px 6px;
        font-size: 11px;
    }
    /* 英雄区trust标签自动换行 */
    .hero-trust {
        gap: 8px;
    }
    .hero-trust span {
        font-size: 11px;
        padding: 4px 10px;
    }
    /* 防止各种内联grid溢出 */
    [style*="grid-template-columns"] {
        /* 不能批量覆盖，单独处理各页面 */
    }
}

/* ===== 分区快捷导航 hover 效果 ===== */
.area-quick-nav a:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateY(-2px);
}

/* ===== 首页新闻动态卡片（跟旧网站一致） ===== */
.news-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    padding: 20px;
    text-align: center;
    transition: box-shadow .2s;
}
.news-item:hover {
    box-shadow: 0 4px 20px rgba(26,86,219,.12);
}
.news-item-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 14px;
    max-height: 160px;
}
.news-desc {
    font-size: 15px;
    color: #64748b;
    margin: 10px 0;
    line-height: 1.6;
}
.news-link {
    display: inline-block;
    color: #1a56db;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px dashed #1a56db;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s;
}
.news-link:hover { color: #1749b8; }

/* ===== 营业执照展示 ===== */
.store-license {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin-top: 24px;
}
.store-license-header {
    background: linear-gradient(135deg, #1e3a8a, #1a56db);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}
.store-license-body {
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}
.store-license-img {
    width: 320px;
    max-width: 100%;
    flex-shrink: 0;
    position: relative;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.license-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    position: relative;
    z-index: 1;
}
.store-license-info {
    flex: 1;
    min-width: 240px;
}
.store-license-info table {
    width: 100%;
    border-collapse: collapse;
}
.store-license-info table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #4a5568;
    vertical-align: top;
}
.store-license-info table td:first-child {
    color: #1a202c;
    font-weight: 600;
    white-space: nowrap;
    width: 100px;
}
.store-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* ===== 门店服务人员展示 ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 20px;
    margin-top: 24px;
    justify-content: center;
}
.staff-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.25s;
}
.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #a5b4fc;
}
.staff-card-top {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 20px 16px;
    text-align: center;
    position: relative;
}
.staff-avatar {
    width: 110px;
    height: 140px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 8px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.4);
    overflow: hidden;
    position: relative;
}
.staff-avatar::after {
    content: "照片";
    position: absolute;
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 0;
}
.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 6px;
    display: block;
    position: relative;
    z-index: 1;
}
.staff-card-top h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 2px;
}
.staff-card-top .staff-id {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}
.staff-card-body {
    padding: 16px 20px;
}
.staff-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}
.staff-meta .staff-icon {
    font-size: 15px;
}
.staff-specialty {
    background: #eff6ff;
    color: #1a56db;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin: 4px 4px 4px 0;
}
.staff-cert {
    font-size: 12px;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

/* 响应式：门店资质和人员 */
@media (max-width: 768px) {
    .store-license-body {
        flex-direction: column;
        padding: 16px;
    }
    .store-license-img {
        width: 100%;
    }
    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
        justify-content: center;
    }
}

/* ===== 底部CTA区域居中 ===== */
.cta-section {
    text-align: center;
}
.cta-section h2 {
    text-align: center;
}
.cta-section p {
    text-align: center;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
