/* ============================================================
   城市分站CMS系统 - 前台样式表（1:1 复刻目标网站设计风格）
   ------------------------------------------------------------
   文件说明：
     这个文件控制前台所有页面的外观（颜色、布局、字体、动画等）。
     采用 CSS 变量（自定义属性）统一管理颜色和尺寸，方便维护。

   设计风格（严格复刻目标站）：
     - 主色调：深海蓝 (#0d2b4a → #1a4a72 → #2a6a9a) 渐变体系
     - 强调色：琥珀色 (#e8a838)，用于高亮和按钮
     - 导航栏：深蓝半透明 + 毛玻璃模糊效果
     - 卡片化设计：12px 圆角 + 柔和阴影
     - 微交互：hover 上浮、图片放大、琥珀色下划线展开
     - 滚动渐显：section 滚动到视口时淡入上移
     - 移动优先响应式：768px 断点适配手机端

   文件结构：
     第一部分  ：设计系统（CSS 变量）
     第二部分  ：全局重置 & 基础
     第三部分  ：导航栏（目标核心 .navbar + CMS .site-header）
     第四部分  ：Banner 横幅（目标核心）
     第五部分  ：公司介绍（目标核心）
     第六部分  ：产品中心（目标核心）
     第七部分  ：底部（目标核心 .footer + CMS .site-footer）
     第八部分  ：区段标题（目标核心）
     第九部分  ：动画关键帧
     第十部分  ：移动端拨号按钮
     第十一部分：内页通用（page-banner、breadcrumb）
     第十二部分：列表页
     第十三部分：详情页
     第十四部分：关于我们页
     第十五部分：联系我们页
     第十六部分：城市列表页
     第十七部分：城市切换弹窗
     第十八部分：底部联系方式模块 + 城市分站列表
     第十九部分：404 错误页
     第二十部分：优势板块（首页）
     第二十一部分：新闻列表
     第二十二部分：富文本容器
     第二十三部分：通用工具类
     第二十四部分：响应式设计
   ============================================================ */


/* ============================================================
   第一部分：设计系统（CSS 变量定义）
   ------------------------------------------------------------
   把所有颜色、阴影、圆角等设计要素统一放在 :root 里，
   后面所有样式都引用这些变量，修改主题只需改这里即可。
   这是目标网站的核心配色，必须严格保持一致。
   ============================================================ */
:root {
    /* —— 主色调（深海蓝渐变体系，从深到浅）—— */
    --primary-dark: #0d2b4a;       /* 最深蓝，用于导航栏和底部背景 */
    --primary-mid: #1a4a72;       /* 中深蓝，用于渐变中间色 */
    --primary-blue: #2a6a9a;      /* 主蓝色，用于按钮、链接、标题强调 */
    --primary-light: #4a8fc2;    /* 浅蓝色，用于次要高亮 */
    --primary-lighter: #8bbce0;  /* 极浅蓝，用于浅底背景和提示文字 */

    /* —— 强调色（琥珀色）—— */
    --accent: #e8a838;            /* 琥珀色，用于高亮徽章、下划线、重要按钮 */

    /* —— 背景色 —— */
    --bg-light: #f0f5fb;          /* 浅蓝灰背景，用于交替板块 */
    --white: #ffffff;             /* 纯白卡片背景 */

    /* —— 文字颜色 —— */
    --text-dark: #1a2a3a;         /* 深色标题文字 */
    --text-gray: #5a7a8a;         /* 灰色正文/描述文字 */

    /* —— 阴影（从小到大，带主色调蓝色调）—— */
    --shadow: 0 8px 30px rgba(13, 43, 74, 0.12);       /* 卡片默认阴影 */
    --shadow-hover: 0 16px 48px rgba(13, 43, 74, 0.20);/* 卡片 hover 加深阴影 */

    /* —— 圆角 —— */
    --radius: 12px;              /* 统一卡片圆角 */

    /* —— 过渡动画（cubic-bezier 缓动函数，让动画更顺滑）—— */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   第二部分：全局重置 & 基础
   ------------------------------------------------------------
   清除浏览器默认样式，统一所有元素的盒模型和间距。
   ============================================================ */

/* 所有元素清除默认内外边距，使用 border-box 盒模型（宽高包含 padding 和 border）*/
* { margin: 0; padding: 0; box-sizing: border-box; }

/* body 设置全局字体、颜色、背景、行高 */
body {
    font-family: 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', Arial, sans-serif;
    color: #2c3e50;
    background: #f5f8fc;
    line-height: 1.6;
    overflow-x: hidden;            /* 防止横向滚动条 */
}

/* 链接默认：无下划线，继承颜色 */
a { text-decoration: none; color: inherit; }

/* 图片自适应，块级显示防止下方出现间隙 */
img { max-width: 100%; height: auto; display: block; }

/* 内容容器：最大宽度 1200px，居中，两侧留白 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* —— section 滚动渐显动画（核心特性，必须保留）—— */
/* 所有 section 默认透明且下移 40px，滚动到视口时 JS 添加 .visible 触发淡入 */
section { padding: 80px 0; opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
section.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   第三部分：导航栏
   ------------------------------------------------------------
   目标核心 .navbar 样式（1:1 复刻）：
     - 固定吸顶（fixed），深蓝半透明 + 毛玻璃模糊
     - 左 LOGO、中导航链接、右电话按钮
   同时为 CMS 的 .site-header 提供相同样式（因为模板用 .site-header 类名）。
   ============================================================ */

/* —— 目标核心：.navbar（1:1 复刻）—— */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13, 43, 74, 0.95);          /* 深蓝半透明 */
    backdrop-filter: blur(12px);                  /* 毛玻璃模糊效果 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar .logo { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 1px; display: flex; align-items: center; }
.navbar .logo .logo-tag { font-size: 14px; font-weight: 400; color: var(--primary-lighter); margin-left: 4px; }
.navbar .nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.navbar .nav-links li a { color: rgba(255, 255, 255, 0.80); font-size: 16px; font-weight: 500; transition: color 0.3s ease; position: relative; padding: 4px 0; }
.navbar .nav-links li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.35s ease; }
.navbar .nav-links li a:hover { color: #fff; }
.navbar .nav-links li a:hover::after { width: 100%; }
.navbar .nav-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 18px; font-weight: 600; background: rgba(255, 255, 255, 0.10); padding: 8px 20px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.3s ease; white-space: nowrap; }
.navbar .nav-phone:hover { background: rgba(255, 255, 255, 0.18); }
.navbar .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.navbar .hamburger span { display: block; width: 28px; height: 3px; background: #fff; border-radius: 4px; transition: 0.3s ease; }
.navbar .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.navbar .hamburger.active span:nth-child(2) { opacity: 0; }
.navbar .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* —— CMS 实际使用的头部：.site-header（复刻 .navbar 的深蓝玻璃风格）—— */
/* 模板里 header 用的是 .site-header 类名，所以这里单独写一份相同样式 */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13, 43, 74, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);          /* Safari 兼容 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease;
}

/* 头部内部布局：弹性盒子，左右两端对齐，高度 72px */
.site-header .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 20px;
}

/* —— LOGO 区域 —— */
.site-header .logo a { display: flex; align-items: center; gap: 8px; }

/* LOGO 文字：白色大号粗体（因为头部是深蓝底） */
.site-header .logo-text { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; }

/* LOGO 图片：限制最大高度，保持比例 */
.logo-img { max-height: 40px; width: auto; }

/* 城市分站标签：琥珀色小胶囊，显示"XX分站" */
.site-header .city-badge {
    background: rgba(232, 168, 56, 0.18);
    color: var(--accent);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 40px;
    border: 1px solid rgba(232, 168, 56, 0.30);
    white-space: nowrap;
}

/* —— 主导航（复刻 .nav-links 风格）—— */
.site-header .main-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; }

/* 导航链接：半透明白字，底部琥珀色下划线 hover 展开 */
.site-header .main-nav a {
    color: rgba(255, 255, 255, 0.80);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}
.site-header .main-nav a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.35s ease;
}
.site-header .main-nav a:hover { color: #fff; }
.site-header .main-nav a:hover::after { width: 100%; }

/* —— 右侧操作区 —— */
.site-header .top-actions { display: flex; align-items: center; gap: 16px; }

/* 城市切换按钮：半透明白底玻璃胶囊（复刻 .nav-phone 风格） */
.site-header .city-switch-btn {
    display: flex; align-items: center; gap: 4px;
    color: #fff; font-size: 14px; font-weight: 500;
    background: rgba(255, 255, 255, 0.10);
    padding: 7px 14px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.site-header .city-switch-btn:hover { background: rgba(255, 255, 255, 0.18); }
.site-header .city-switch-icon { font-size: 14px; }
.site-header .city-switch-arrow { font-size: 11px; margin-left: 2px; }

/* 客服热线文字：半透明白字 */
.site-header .top-contact { font-size: 14px; color: rgba(255, 255, 255, 0.70); white-space: nowrap; }
/* 客服热线中的电话号码：琥珀色加粗（突出显示） */
.site-header .top-contact b { color: var(--accent); font-weight: 700; font-size: 15px; }

/* —— 移动端汉堡按钮（默认隐藏，768px 以下显示）—— */
.site-header .mobile-menu-btn {
    display: none;
    background: none; border: none;
    font-size: 24px; color: #fff;
    cursor: pointer; padding: 4px 8px;
}


/* ============================================================
   第四部分：Banner 横幅（首页 Hero 区，目标核心 1:1 复刻）
   ------------------------------------------------------------
   全屏高度，深蓝多段渐变背景 + 径向光晕装饰。
   白色居中文字，琥珀色徽章，电话按钮。
   ============================================================ */
.banner {
    height: 60vh; min-height: 420px; max-height: 560px;       /* 高度从100vh缩小到60vh，避免首屏过长 */
    background: linear-gradient(145deg, #0a1f35 0%, #132f4a 40%, #1a4a72 70%, #0d2b4a 100%);
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative; overflow: hidden; padding-top: 72px;   /* 顶部留出导航栏高度 */
}
/* 径向光晕装饰（多层径向渐变营造光感） */
.banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 143, 194, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(232, 168, 56, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(74, 143, 194, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* banner 内容区：相对定位在光晕之上 */
.banner-content { position: relative; z-index: 2; max-width: 960px; padding: 0 24px; }

/* 顶部小徽章：琥珀色半透明胶囊 */
.banner-badge {
    display: inline-block;
    background: rgba(232, 168, 56, 0.18);
    color: var(--accent);
    font-size: 14px; font-weight: 500;
    padding: 6px 24px; border-radius: 40px;
    letter-spacing: 2px;
    border: 1px solid rgba(232, 168, 56, 0.25);
    margin-bottom: 28px;
}

/* 主标题：白色大号特粗，高亮部分用琥珀色（banner高度缩小后字体同步缩小） */
.banner-title { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: 3px; margin-bottom: 16px; }
.banner-title .highlight { color: var(--accent); }

/* 副标题描述：半透明白字（字号同步缩小） */
.banner-desc { font-size: 18px; color: rgba(255, 255, 255, 0.80); font-weight: 300; letter-spacing: 2px; margin-bottom: 24px; }

/* 电话/咨询按钮：半透明白底玻璃胶囊，hover 上浮（字号同步缩小） */
.banner-phone {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 700; color: #fff;
    background: rgba(255, 255, 255, 0.10);
    padding: 12px 30px; border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.20);
}
.banner-phone:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* 底部"向下探索"提示 */
.banner-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.50); font-size: 13px; letter-spacing: 3px;
    z-index: 2; animation: pulseDown 2s ease-in-out infinite;
}


/* ============================================================
   第五部分：公司介绍（目标核心 1:1 复刻）
   ------------------------------------------------------------
   左文右图两栏布局，白色背景。
   ============================================================ */
.about { background: var(--white); }

/* 左右两栏 Flex 布局，中间间距 60px */
.about .about-wrap { display: flex; align-items: center; gap: 60px; }
.about .about-text { flex: 1; }

/* 介绍段落：灰色文字，两端对齐 */
.about .about-text p { font-size: 16px; color: var(--text-gray); line-height: 1.9; margin-bottom: 20px; text-align: justify; }

/* 关于我们里的内联电话 */
.about .about-text .about-phone-inline { color: var(--primary-blue); font-weight: 600; }

/* 右侧图片：圆角，溢出隐藏，柔和阴影 */
.about .about-image { flex: 0 0 600px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about .about-image img { width: 100%; aspect-ratio: 600 / 400; object-fit: cover; }


/* ============================================================
   第六部分：产品中心（目标核心 1:1 复刻）
   ------------------------------------------------------------
   浅蓝背景，4 列卡片网格，hover 上浮 + 图片放大。
   ============================================================ */
.products { background: var(--bg-light); }

/* 产品网格：4 列等宽，间距 24px */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 产品系列区块外层 */
.product-series { margin-bottom: 0; }

/* 单个产品卡片：白色，圆角，hover 上浮 + 加深阴影 */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: block;
    color: inherit;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* 产品图片：1:1 正方形，溢出隐藏 */
.product-card .product-img { aspect-ratio: 1 / 1; overflow: hidden; background: #eef2f7; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }

/* 产品名称：居中，底部带浅色分隔 */
.product-card .product-name {
    padding: 16px 14px 18px;
    font-size: 16px; font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    background: #fafcff;
    border-top: 1px solid rgba(13, 43, 74, 0.04);
}


/* ============================================================
   第七部分：底部（目标核心 .footer 1:1 复刻 + CMS .site-footer）
   ------------------------------------------------------------
   深蓝背景，半透明白色文字，包含联系方式、城市分站、友链、版权。
   ============================================================ */

/* —— 目标核心：.footer（1:1 复刻）—— */
.footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.70); padding: 48px 0 32px; }
.footer .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 36px; }
.footer .footer-brand { flex: 0 0 560px; max-width: 560px; }    /* 左侧品牌区加宽，从320px增加到560px */
.footer .footer-brand h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer .footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.55); }
.footer .footer-contact { flex: 1; min-width: 280px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }  /* 联系我们和电话同一行，内容靠右排列（container有padding不会贴边） */
.footer .footer-contact h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 0; white-space: nowrap; }
.footer .footer-contact .contact-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.65); margin-bottom: 0; }
.footer .footer-contact .ci-phone { font-size: 20px; font-weight: 700; color: #fff; }
.footer .friend-links { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.footer .friend-links a { font-size: 13px; color: rgba(255, 255, 255, 0.45); padding: 2px 6px; border-radius: 4px; }
.footer .friend-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.footer .footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; color: rgba(255, 255, 255, 0.40); }

/* —— CMS 实际使用的底部：.site-footer（复刻 .footer 的深蓝风格）—— */
.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.70); padding: 48px 0 32px; }

/* 底部所有 h3 标题：白色，底部细线分隔 */
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 600; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }


/* ============================================================
   第八部分：区段标题（目标核心 1:1 复刻）
   ------------------------------------------------------------
   首页各板块的居中大标题，部分文字用主蓝色强调。
   ============================================================ */
.section-title { text-align: center; font-size: 36px; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: 2px; }
.section-subtitle { text-align: center; font-size: 18px; color: #5a7a9a; margin-bottom: 50px; letter-spacing: 1px; }
/* 标题里的强调字：主蓝色 */
.section-title span { color: var(--primary-blue); }

/* 系列标题（产品/新闻小标题）：左侧琥珀色竖线 */
.series-title {
    font-size: 28px; font-weight: 700; color: var(--primary-dark);
    margin-bottom: 32px;
    display: flex; align-items: center; gap: 14px;
    padding-left: 12px; border-left: 4px solid var(--accent);
}
.series-title span { color: var(--primary-light); font-weight: 400; font-size: 16px; }


/* ============================================================
   第九部分：动画关键帧（目标核心 1:1 复刻）
   ------------------------------------------------------------
   定义各种动画效果，供元素引用。
   ============================================================ */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes pulseDown { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.40; } 50% { transform: translateX(-50%) translateY(8px); opacity: 0.80; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 弹窗淡入动画 */
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(-10px); } to { opacity: 1; transform: scale(1) translateY(0); } }


/* ============================================================
   第十部分：移动端拨号按钮（目标核心 1:1 复刻）
   ------------------------------------------------------------
   手机端右下角悬浮拨号按钮，默认隐藏，768px 以下显示。
   ============================================================ */
.mobile-phone-btn {
    display: none;
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 60px; height: 60px;
    background: var(--primary-blue); color: #fff;
    border-radius: 50%;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 28px rgba(42, 106, 154, 0.45);
    font-size: 28px; border: none; cursor: pointer;
    animation: float 3s ease-in-out infinite;
}


/* ============================================================
   第十一部分：内页通用样式
   ------------------------------------------------------------
   内页顶部横幅（page-banner）+ 面包屑导航（breadcrumb）。
   page-banner 复用首页 banner 的深蓝渐变，但高度较小。
   ============================================================ */

/* 内页横幅：深蓝渐变，白字居中，顶部留出固定导航栏高度 */
.page-banner {
    background: linear-gradient(145deg, #0a1f35 0%, #132f4a 40%, #1a4a72 70%, #0d2b4a 100%);
    padding: 120px 0 60px;             /* 顶部 120px 清除固定导航栏 */
    text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
/* 横幅光晕装饰 */
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 143, 194, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(232, 168, 56, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2; }

/* 内页横幅主标题：36px 白字 */
.page-banner h1 { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: 2px; margin-bottom: 12px; }
/* 内页横幅副标题：半透明白字 */
.page-banner p { font-size: 16px; color: rgba(255, 255, 255, 0.80); }

/* —— 面包屑导航 —— */
.breadcrumb { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary-blue); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--primary-mid); }
.breadcrumb .sep { margin: 0 8px; color: #b0c4d4; }
.breadcrumb .current { color: var(--text-gray); }


/* ============================================================
   第十二部分：列表页
   ------------------------------------------------------------
   白色卡片背景的文章列表，左图右文横向布局。
   ============================================================ */
.list-page { padding: 60px 0; }

/* 文章列表容器：白色卡片，圆角，阴影 */
.article-list {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* 单条文章：横向 Flex 布局，左图右文 */
.article-item-h {
    display: flex; gap: 24px;
    padding: 24px;
    border-bottom: 1px solid rgba(13, 43, 74, 0.06);
    transition: background 0.3s ease;
}
.article-item-h:last-child { border-bottom: none; }
.article-item-h:hover { background: #fafcff; }

/* 文章缩略图：200x150，圆角，溢出隐藏 */
.article-thumb {
    width: 200px; height: 150px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-thumb:hover img { transform: scale(1.08); }

/* 文章主体：占满剩余空间，纵向排列 */
.article-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* 文章标题：18px 深色，hover 变蓝 */
.article-body .article-title {
    font-size: 18px; font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.article-body .article-title:hover { color: var(--primary-blue); }

/* 文章描述：14px 灰色，最多 2 行（超出显示省略号） */
.article-desc {
    font-size: 14px; color: var(--text-gray); line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;            /* 最多显示 2 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "查看详情"小链接：蓝色 */
.article-more { color: var(--primary-blue); font-size: 14px; margin-top: auto; align-self: flex-start; transition: color 0.3s ease; }
.article-more:hover { color: var(--primary-mid); }

/* 无封面时：隐藏缩略图占位 */
.article-item-h.no-cover .article-thumb { display: none; }
.article-item-h.no-cover .article-body { padding: 4px 0; }

/* —— 分页导航 —— */
.pagination { text-align: center; padding: 30px 0; }
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(13, 43, 74, 0.12);
    border-radius: 6px;
    margin: 3px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}
/* 当前页码：蓝色实底白字 */
.pagination .current { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }
/* hover：蓝色实底白字 */
.pagination a:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }


/* ============================================================
   第十三部分：详情页
   ------------------------------------------------------------
   面包屑 + 居中标题 + 元信息 + 正文 + 相关推荐。
   ============================================================ */
.detail-page { padding: 60px 0; }

/* 详情页文章标题：28px 居中 */
.detail-page .article-title {
    font-size: 28px; font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px; line-height: 1.4;
}

/* 文章元信息（发布时间、来源、浏览量）：居中灰色，底部边框 */
.article-meta {
    text-align: center; font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(13, 43, 74, 0.08);
}
.article-meta span { margin: 0 12px; }

/* 正文内容：白色卡片，大间距 */
.article-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    line-height: 1.9;
    font-size: 16px;
    color: #2c3e50;
}
.article-content p { margin-bottom: 16px; }

/* 正文标题：主蓝色 */
.article-content h2, .article-content h3 {
    color: var(--primary-blue);
    margin: 24px 0 12px;
    font-weight: 600;
}
.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 18px; }

/* 正文图片：自适应，居中，圆角 */
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px auto; display: block; }

/* 正文列表 */
.article-content ul, .article-content ol { margin: 10px 0 16px 25px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }

/* 正文链接：蓝色 */
.article-content a { color: var(--primary-blue); }
.article-content a:hover { text-decoration: underline; }

/* 相关推荐：白色卡片 */
.related {
    margin-top: 35px;
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.related h3 { font-size: 18px; font-weight: 600; color: var(--text-dark); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(13, 43, 74, 0.08); }
.related ul li { padding: 8px 0; }
.related ul li::before { content: "» "; color: var(--primary-blue); font-weight: 700; }
.related ul li a { color: var(--text-gray); transition: color 0.3s ease; }
.related ul li a:hover { color: var(--primary-blue); }


/* ============================================================
   第十四部分：关于我们页
   ============================================================ */
.about-page { padding: 60px 0; }

/* 关于我们标题：主蓝色，20px */
.about-page h2 { color: var(--primary-blue); font-size: 20px; font-weight: 600; margin: 25px 0 12px; }
.about-page p { margin-bottom: 12px; line-height: 1.8; font-size: 15px; color: #2c3e50; }
.about-page ul { padding-left: 20px; margin-bottom: 15px; list-style: none; }
.about-page li { margin-bottom: 8px; line-height: 1.8; color: #2c3e50; }
.about-page li::before { content: "✓ "; color: var(--primary-blue); font-weight: 700; }


/* ============================================================
   第十五部分：联系我们页
   ------------------------------------------------------------
   单栏布局：后台录入的联系方式内容 + 留言表单 + 联系方式卡片。
   ============================================================ */
.contact-page { padding: 60px 0; }

/* 联系页顶部标题区（深蓝渐变，比 page-banner 更高一点） */
.contact-page-header {
    background: linear-gradient(145deg, #0a1f35 0%, #132f4a 40%, #1a4a72 70%, #0d2b4a 100%);
    padding: 130px 0 50px;
    text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.contact-page-header .breadcrumb { color: rgba(255, 255, 255, 0.80); text-align: center; margin-bottom: 10px; }
.contact-page-header .breadcrumb a { color: rgba(255, 255, 255, 0.80); }
.contact-page-header .breadcrumb a:hover { color: #fff; }
.contact-page-header .breadcrumb .sep { color: rgba(255, 255, 255, 0.50); }
.contact-page-header .breadcrumb .current { color: #fff; }
.page-subtitle { color: rgba(255, 255, 255, 0.80); }

/* 联系页区段标题 */
.contact-section-title {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 12px;
    margin: 35px 0 20px;
    border-bottom: 2px solid rgba(13, 43, 74, 0.08);
}
.contact-section-title .section-icon { font-size: 22px; }
.contact-section-title h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); }

/* 后台录入的联系方式内容：白色卡片，左侧蓝色边框 */
.contact-custom {
    background: var(--white);
    padding: 35px;
    border-left: 4px solid var(--primary-blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    line-height: 1.8; font-size: 15px; color: #2c3e50;
}
.contact-custom h2, .contact-custom h3 { color: var(--primary-blue); margin: 20px 0 10px; }
.contact-custom ul, .contact-custom ol { padding-left: 20px; margin: 10px 0; }
.contact-custom ul { list-style: disc; }
.contact-custom ol { list-style: decimal; }
.contact-custom p { margin-bottom: 12px; }

/* 空提示：后台未设置联系方式时显示 */
.contact-empty-hint, .contact-info-empty { text-align: center; padding: 40px 20px; color: var(--text-gray); }
.contact-empty-hint .empty-icon, .contact-info-empty .empty-icon { font-size: 48px; margin-bottom: 12px; }
.contact-empty-hint p, .contact-info-empty p { margin-bottom: 6px; }
.empty-sub { font-size: 13px; color: #9ab0c0; }

/* —— 留言表单容器：白色卡片 —— */
.contact-form-single {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form-hint { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }

/* 留言成功/失败提示框 */
.contact-msg { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.contact-msg-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.contact-msg-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* 表单布局：纵向排列 */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

/* 表单行：下边距 18px */
.contact-form .form-row { margin-bottom: 18px; }

/* 两列表单行：Flex 左右排列 */
.form-row-2 { display: flex; gap: 20px; }
.form-row-2 .form-col { flex: 1; }

/* 表单标签：14px，500 粗细，灰色 */
.contact-form label { display: block; font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }

/* 必填星号：红色 */
.required { color: #e74c3c; }

/* 输入框和文本域：100% 宽，圆角 6px，focus 蓝色边框 */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(13, 43, 74, 0.15);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #2c3e50;
    background: var(--white);
    transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(42, 106, 154, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* 提交按钮：蓝色实底，白字，圆角 6px，hover 深蓝 */
.contact-form .btn-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--primary-blue);
    color: #fff; border: none;
    padding: 13px 36px;
    border-radius: 6px;
    font-size: 16px; font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(42, 106, 154, 0.30);
    align-self: flex-start;
}
.contact-form .btn-submit:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(42, 106, 154, 0.40); }
.contact-form .btn-submit .btn-icon { font-size: 18px; }

/* —— 联系方式卡片网格 —— */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* 单个联系方式卡片：白色，居中，圆角 */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* 图标圆形包裹：蓝色渐变底 */
.info-icon-wrap {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(42, 106, 154, 0.30);
}
.info-icon { font-size: 26px; line-height: 1; }
.info-label { font-size: 13px; color: var(--text-gray); margin-bottom: 6px; }
.info-value { font-size: 16px; font-weight: 600; color: var(--text-dark); word-break: break-all; }

/* 宽卡片（公司地址）：占两列，左对齐 */
.contact-info-card-wide { grid-column: span 2; display: flex; align-items: center; gap: 20px; text-align: left; }
.contact-info-card-wide .info-icon-wrap { margin: 0; flex-shrink: 0; }


/* ============================================================
   第十六部分：城市列表页（/cities.html）
   ------------------------------------------------------------
   A-Z 字母索引 + 按拼音分组 + 按省份分组。
   ============================================================ */
.cities-page { padding: 60px 0; }

.cities-section-title { font-size: 20px; font-weight: 600; color: var(--text-dark); padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid rgba(13, 43, 74, 0.08); }

/* 字母索引卡片 */
.letter-index { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }

/* 字母导航：Flex 排列，间距 6px */
.letter-nav { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }

/* 每个字母：36x36 方块，浅灰底蓝字，hover 蓝底白字 */
.letter-nav li a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 700; font-size: 14px;
    border-radius: 6px;
    transition: var(--transition);
}
.letter-nav li a:hover { background: var(--primary-blue); color: #fff; }

/* 字母分组卡片 */
.letter-groups { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }
.letter-group { padding: 12px 0; border-bottom: 1px dashed rgba(13, 43, 74, 0.08); }
.letter-group:last-child { border-bottom: none; }
.letter-title { font-size: 18px; font-weight: 700; color: var(--primary-blue); margin-bottom: 10px; }
.letter-count { font-size: 13px; color: #9ab0c0; font-weight: 400; }

/* 省份分组卡片 */
.province-groups { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* 省份快速导航 */
.province-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: var(--bg-light); border-radius: 6px; margin-bottom: 20px; }
.province-nav a { background: var(--white); border: 1px solid rgba(13, 43, 74, 0.10); padding: 5px 12px; border-radius: 6px; font-size: 13px; color: var(--text-dark); transition: var(--transition); }
.province-nav a:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }

.province-group { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed rgba(13, 43, 74, 0.08); }
.province-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.province-title { font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.province-count { font-size: 13px; color: #9ab0c0; font-weight: 400; }

/* 城市网格：小方块排列 */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; list-style: none; }

/* 每个城市链接：浅灰底，边框，圆角，hover 蓝底白字 */
.city-grid li a {
    display: block; text-align: center;
    padding: 8px 6px;
    background: var(--bg-light);
    border: 1px solid rgba(13, 43, 74, 0.08);
    border-radius: 6px;
    font-size: 14px; color: var(--text-dark);
    transition: var(--transition);
}
.city-grid li a:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); transform: translateY(-2px); box-shadow: var(--shadow); }

/* 返回按钮容器 */
.cities-back { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }


/* ============================================================
   第十七部分：城市切换弹窗（.city-modal）
   ------------------------------------------------------------
   全屏遮罩 + 居中弹窗，支持搜索和按省份折叠选择。
   配色采用导航栏的深蓝 + 琥珀色系。
   ============================================================ */

/* 弹窗容器：fixed 全屏覆盖 */
.city-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }

/* 半透明黑色遮罩 + 背景模糊 */
.city-modal-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.50); backdrop-filter: blur(2px); }

/* 弹窗主体：白色，圆角 12px，Flex 纵向 */
.city-modal-box {
    position: relative;
    width: 90%; max-width: 720px; max-height: 85vh;
    background: var(--white);
    border-radius: var(--radius);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    animation: modalIn 0.3s ease;       /* 弹出淡入动画 */
}

/* 弹窗头部：标题 + 关闭按钮 */
.city-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px;
    background: var(--primary-dark);     /* 深蓝头部，呼应导航栏 */
    color: #fff;
    flex-shrink: 0;
}
.city-modal-header h3 { font-size: 18px; font-weight: 600; color: #fff; }

/* 关闭按钮 */
.city-modal-close {
    width: 28px; height: 28px; border: none; background: none;
    font-size: 24px; color: rgba(255, 255, 255, 0.80);
    cursor: pointer; line-height: 1;
    transition: var(--transition); border-radius: 6px;
}
.city-modal-close:hover { color: var(--accent); background: rgba(255, 255, 255, 0.10); }

/* 弹窗内容区：可滚动 */
.city-modal-body { flex: 1; overflow-y: auto; padding: 20px; }

/* 搜索框容器 */
.city-search-wrap { margin-bottom: 20px; }

/* 搜索输入框：圆角 6px，focus 蓝色边框 */
.city-search-input {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid rgba(13, 43, 74, 0.15);
    border-radius: 6px;
    font-size: 14px; font-family: inherit;
    color: #2c3e50;
    transition: var(--transition);
}
.city-search-input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(42, 106, 154, 0.15); }

/* 搜索结果区 */
.city-search-result { margin-bottom: 20px; }
.city-search-result .city-modal-cities { display: flex; flex-wrap: wrap; gap: 8px; }

/* 弹窗每个区段 */
.city-modal-section { margin-bottom: 20px; }

/* 区段小标题：灰色，底部虚线 */
.city-modal-subtitle { font-size: 14px; color: var(--text-gray); font-weight: 500; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(13, 43, 74, 0.10); }
.city-modal-hint { font-size: 12px; color: #9ab0c0; font-weight: 400; }

/* 城市标签列表：Flex 换行 */
.city-modal-cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

/* 每个城市标签：浅灰底，hover 蓝底白字 */
.city-modal-cities a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
}
.city-modal-cities a:hover { background: var(--primary-blue); color: #fff; }

/* 当前城市：浅蓝底蓝字 */
.city-current a { background: rgba(42, 106, 154, 0.12); color: var(--primary-blue); font-weight: 500; }
.city-current-tag { margin-right: 2px; }

/* —— 按省份折叠列表 —— */
.city-province-list { border: 1px solid rgba(13, 43, 74, 0.10); border-radius: 6px; overflow: hidden; }

/* 省份行（可点击展开） */
.city-province-head {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 15px;
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(13, 43, 74, 0.08);
}
.city-province-head:hover { background: rgba(42, 106, 154, 0.12); }
.city-province-head:last-child { border-bottom: none; }
.city-province-arrow { font-size: 10px; color: var(--text-gray); transition: var(--transition); }
.city-province-name { font-weight: 500; color: var(--text-dark); font-size: 14px; }
.city-province-count { font-size: 12px; color: #9ab0c0; margin-left: auto; }

/* 省份下的城市列表 */
.city-province-cities { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 15px; border-bottom: 1px solid rgba(13, 43, 74, 0.08); list-style: none; }
.city-province-cities a { font-size: 13px; color: var(--text-dark); padding: 4px 10px; background: var(--bg-light); border-radius: 6px; transition: var(--transition); }
.city-province-cities a:hover { background: var(--primary-blue); color: #fff; }

/* 弹窗底部链接：居中，顶部边框 */
.city-modal-footer-link { text-align: center; padding-top: 16px; border-top: 1px solid rgba(13, 43, 74, 0.08); margin-top: 10px; }
.city-modal-footer-link a {
    display: inline-block;
    background: var(--accent);        /* 琥珀色按钮 */
    color: #fff;
    padding: 8px 25px;
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
}
.city-modal-footer-link a:hover { background: #d4972c; transform: translateY(-2px); }


/* ============================================================
   第十八部分：底部联系方式模块 + 城市分站列表（CMS .site-footer 内）
   ------------------------------------------------------------
   深蓝背景上的半透明白色卡片样式。
   ============================================================ */

/* 联系方式模块（在城市分站列表上方） */
.footer-contact-bar { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

/* 联系方式 Flex 排列 */
.footer-contact-items { display: flex; flex-wrap: wrap; gap: 16px; }

/* 单个联系方式：半透明白底，弹性宽度 */
.footer-contact-item {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 220px; flex: 1;
    transition: var(--transition);
}
.footer-contact-item:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.12); }
.footer-contact-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.footer-contact-text { min-width: 0; }
.footer-contact-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-bottom: 2px; }
.footer-contact-value { font-size: 15px; color: #fff; font-weight: 500; word-break: break-all; }

/* —— 城市分站列表（按省份分组）—— */
.city-list { margin-bottom: 25px; }

/* 城市列表头部：标题 + 查看全部按钮 */
.city-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.city-list-header h3 { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }

/* "查看全部城市"琥珀色按钮 */
.btn-all-cities {
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    transition: var(--transition);
}
.btn-all-cities:hover { background: #d4972c; color: #fff; transform: translateY(-2px); }

/* 每个省份行：Flex 布局 */
.province-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); align-items: flex-start; }

/* 当前省份：蓝色半透明背景高亮 */
.province-row.province-current { background: rgba(42, 106, 154, 0.15); border-radius: 8px; padding: 8px 12px; }

/* 省份名：琥珀色，固定宽度 */
.province-name { width: 60px; flex-shrink: 0; color: var(--accent); font-size: 14px; font-weight: 500; padding-top: 2px; transition: color 0.3s ease; }
.province-name:hover { color: #f5c068; }

/* 省份下的城市列表 */
.province-cities { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; list-style: none; }

/* 每个城市链接：半透明白底 */
.province-cities a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 3px 8px;
    border-radius: 4px;
    transition: var(--transition);
}
.province-cities a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* "更多"城市链接：浅蓝色 */
.province-cities .more-cities { color: var(--primary-lighter); border-color: rgba(139, 188, 224, 0.30); }
.province-cities .more-cities:hover { background: rgba(139, 188, 224, 0.15); color: var(--primary-lighter); }

/* —— 友情链接 —— */
.friend-links { margin-bottom: 20px; }
.friend-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.friend-links a { font-size: 13px; color: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.10); padding: 4px 10px; border-radius: 4px; transition: var(--transition); }
.friend-links a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.20); background: rgba(255, 255, 255, 0.06); }

/* —— 版权信息 —— */
.copyright { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.40); }
.copyright p { margin-bottom: 4px; }
.copyright a { color: rgba(255, 255, 255, 0.40); }
.copyright a:hover { color: rgba(255, 255, 255, 0.70); }


/* ============================================================
   第十九部分：404 错误页
   ============================================================ */
.error-page { padding: 100px 0; text-align: center; min-height: 400px; }

/* 大号 404 数字：蓝色 */
.error-page h1 { font-size: 100px; font-weight: 800; color: var(--primary-blue); margin-bottom: 20px; line-height: 1; }
.error-page p { color: var(--text-gray); font-size: 16px; margin-bottom: 10px; }
.error-page p:last-child { margin-top: 20px; }

/* 404 建议列表 */
.error-suggestions { margin-top: 30px; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
.error-suggestions h3 { font-size: 16px; color: var(--text-dark); margin-bottom: 12px; }
.error-suggestions ul { list-style: none; padding: 0; }
.error-suggestions li { padding: 8px 0; color: var(--text-gray); font-size: 14px; }
.error-suggestions li::before { content: "→ "; color: var(--primary-blue); }
.error-actions { margin-top: 25px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }


/* ============================================================
   第二十部分：优势板块（首页）
   ------------------------------------------------------------
   4 个优势卡片横向排列，浅蓝底，hover 上浮。
   ============================================================ */
.section-advantages { padding: 80px 0; background: var(--white); }

/* 优势网格：4 列 */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 单个优势卡片：浅蓝底，圆角，居中，hover 上浮 */
.advantage-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }

/* 图标圆形容器：64px，蓝色渐变底 */
.advantage-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; line-height: 1;
    box-shadow: 0 4px 14px rgba(42, 106, 154, 0.30);
}
.advantage-card h3 { font-size: 17px; color: var(--text-dark); margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-gray); line-height: 1.7; }


/* ============================================================
   第二十一部分：新闻列表（首页）
   ------------------------------------------------------------
   无序列表，每行一条新闻，左标题右日期。
   ============================================================ */
.news-list { background: var(--white); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow); }
.news-list ul { list-style: none; }

/* 每条新闻：Flex 左右分布，底部边框分隔 */
.news-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(13, 43, 74, 0.06);
    transition: background 0.3s ease;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { background: var(--bg-light); border-radius: 8px; padding-left: 8px; padding-right: 8px; }

/* 新闻标题：灰色，hover 蓝色 */
.news-list li a, .news-list .article-title { color: var(--text-dark); flex: 1; font-size: 15px; transition: color 0.3s ease; }
.news-list li a:hover, .news-list .article-title:hover { color: var(--primary-blue); }

/* 新闻日期：灰色小字 */
.news-list .date { color: #9ab0c0; font-size: 13px; margin-left: 16px; white-space: nowrap; }


/* ============================================================
   第二十二部分：富文本容器（.rich-content）
   ------------------------------------------------------------
   后台编辑器录入的内容（关于我们、联系我们等）统一样式。
   ============================================================ */
.rich-content { line-height: 1.8; font-size: 15px; color: #2c3e50; }
.rich-content p { margin-bottom: 12px; }
.rich-content h2, .rich-content h3 { color: var(--primary-blue); margin: 20px 0 10px; font-weight: 600; }
.rich-content h2 { font-size: 22px; }
.rich-content h3 { font-size: 18px; }
.rich-content ul, .rich-content ol { margin: 10px 0 12px 25px; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: 6px; }
.rich-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.rich-content a { color: var(--primary-blue); }
.rich-content a:hover { text-decoration: underline; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.rich-content table td, .rich-content table th { border: 1px solid rgba(13, 43, 74, 0.12); padding: 8px 12px; }


/* ============================================================
   第二十三部分：通用工具类
   ============================================================ */

/* 空数据提示：居中灰色 */
.empty { text-align: center; padding: 40px 0; color: var(--text-gray); font-size: 15px; }

/* 返回按钮：蓝色实底 */
.btn-back {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.btn-back:hover { background: var(--primary-mid); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }


/* ============================================================
   第二十四部分：响应式设计（768px 断点）
   ------------------------------------------------------------
   768px 以下为移动端，调整布局为单列，缩小字号和间距。
   ============================================================ */
@media (max-width: 768px) {

    /* —— 导航：变汉堡菜单，隐藏横向导航 —— */
    .navbar .nav-links, .navbar .nav-phone { display: none; }
    .navbar .hamburger { display: flex; }
    .navbar .container { height: 64px; }
    .navbar .logo { font-size: 20px; }

    /* CMS 头部：隐藏横向导航和客服热线 */
    .site-header .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
    .site-header .logo { flex: 1; }
    .site-header .top-contact { display: none; }
    .site-header .city-switch-btn { padding: 5px 10px; font-size: 13px; }
    .site-header .mobile-menu-btn { display: block; order: 3; }
    .site-header .main-nav { display: none; width: 100%; order: 4; }
    .site-header .main-nav.open { display: block; }
    .site-header .main-nav ul { flex-direction: column; gap: 0; }
    .site-header .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .site-header .main-nav a { display: block; padding: 12px 0; font-size: 15px; }
    .site-header .main-nav a::after { display: none; }

    /* —— Banner：高度减小，标题缩小 —— */
    .banner { height: auto; min-height: 520px; max-height: none; padding: 100px 0 60px; }
    .banner-title { font-size: 32px; letter-spacing: 2px; }
    .banner-desc { font-size: 16px; letter-spacing: 1px; margin-bottom: 24px; }
    .banner-phone { font-size: 22px; padding: 12px 28px; }
    .banner-badge { font-size: 12px; padding: 5px 18px; letter-spacing: 1px; }

    /* —— 关于我们：变纵向 —— */
    .about .about-wrap { flex-direction: column-reverse; gap: 30px; }
    .about .about-image { flex: none; width: 100%; }
    .about .about-text p { font-size: 15px; }

    /* —— 产品网格：变 2 列 —— */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-card .product-name { font-size: 14px; padding: 12px 10px 14px; }

    /* —— section 标题缩小 —— */
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 15px; margin-bottom: 30px; }
    .series-title { font-size: 22px; }

    /* —— section 间距缩小 —— */
    section { padding: 50px 0; }
    .section-advantages { padding: 50px 0; }

    /* —— 内页横幅：缩小 —— */
    .page-banner { padding: 100px 0 40px; }
    .page-banner h1 { font-size: 26px; }
    .page-banner p { font-size: 14px; }
    .contact-page-header { padding: 110px 0 40px; }

    /* —— 列表页：文章项缩略图缩小，纵向布局 —— */
    .article-item-h { flex-direction: column; gap: 14px; padding: 18px; }
    .article-thumb { width: 100%; height: 180px; }
    .article-item-h.no-cover .article-thumb { display: none; }
    .article-body .article-title { font-size: 16px; }

    /* —— 详情页：缩小 —— */
    .detail-page .article-title { font-size: 22px; }
    .article-content { padding: 24px; font-size: 15px; }
    .related { padding: 20px; }

    /* —— 分页：缩小 —— */
    .pagination a, .pagination span { padding: 6px 10px; font-size: 13px; }

    /* —— 联系页表单：两列变一列 —— */
    .form-row-2 { flex-direction: column; gap: 18px; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .contact-info-card-wide { grid-column: span 1; }
    .contact-form-single, .contact-custom { padding: 22px; }

    /* —— 城市列表页 —— */
    .city-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
    .letter-nav li a { width: 30px; height: 30px; font-size: 12px; }

    /* —— 城市弹窗：95% 宽 —— */
    .city-modal-box { width: 95%; max-height: 90vh; }

    /* —— 404 页面：缩小 —— */
    .error-page h1 { font-size: 70px; }

    /* —— 优势网格：2 列 —— */
    .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .advantage-card { padding: 25px 15px; }
    .advantage-icon { width: 52px; height: 52px; font-size: 24px; }

    /* —— 底部联系方式：纵向排列 —— */
    .footer-contact-items { flex-direction: column; }
    .footer-contact-item { min-width: auto; }

    /* 底部省份行：纵向排列 */
    .province-row { flex-direction: column; gap: 8px; }
    .province-name { width: auto; }

    /* —— 显示移动端拨号按钮 —— */
    .mobile-phone-btn { display: flex; }
}

/* —— 超小屏幕适配（480px 以下，针对小屏手机）—— */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    /* 产品网格：2 列 */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* 城市网格：3 列 */
    .city-grid { grid-template-columns: repeat(3, 1fr); }

    /* 文章缩略图更小 */
    .article-thumb { height: 140px; }

    /* Banner 标题进一步缩小 */
    .banner-title { font-size: 26px; }
    .banner-desc { font-size: 14px; }

    /* 优势网格：1 列 */
    .advantage-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   文件结束
   ============================================================ */
