﻿/* =========================================================
   海旺达官网 - 公共样式（新版，按 documents 设计稿语义化重写）
   设计稿基准：1920px 画布，1300px 内容列
   主色：#1D2087 深蓝   正文：#121314   辅助灰：#666 / #9A98A2
   ========================================================= */

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
    color: #121314;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { border: 0; vertical-align: middle; max-width: 100%; }
ul, ol { list-style: none; }
.container { width: 1300px; max-width: calc(100% - 40px); margin: 0 auto; }

/* ---------- 头部 ---------- */
.site-header { position: relative; z-index: 30; background: #fff; }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 130px;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; width: 273px; height: 52px; }
.main-nav { display: flex; align-items: center; }
.main-nav a {
    display: block; padding: 6px 26px;
    font-size: 18px; color: #121314; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #1D2087; font-weight: bold; }
.nav-toggle { display: none; }

/* 首页：头部透明悬浮在横幅上，logo 为金色版，文字白色 */
.page-home .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.page-home .main-nav a { color: #fff; }
.page-home .main-nav a:hover, .page-home .main-nav a.active { color: #fff; opacity: .85; }

/* ---------- 横幅 ---------- */
.hero { position: relative; background-size: cover; background-position: center; }
.hero-lg { height: 628px; background-image: url("/images/site/chuanshangwu-827923.png"); }
/* 二级页横幅：每页独立背景图（由 ViewBag.Banner 注入），高 470，底部被二级导航条叠压 51px */
.hero-sm { height: 470px; background-position: center bottom; }
.hero-slogan {
    position: absolute; left: 0; right: 0; top: 42%;
    transform: translateY(-70%);
}
.page-home .hero-slogan { top: 279px; transform: none; }
.hero-slogan h1 { color: #fff; font-size: 42px; font-weight: bold; line-height: 1.4; }
.hero-slogan h1 .sub { display: block; font-size: 28px; font-weight: normal; }
/* 横幅标题对齐两种效果：默认左（banner 主体在右/居中）；
   banner 主体在左（社会责任/集团动态）时标题靠右，避免文字叠压画面主体 */
.hero-text-left .hero-slogan h1 { text-align: left; }
.hero-text-right .hero-slogan h1 { text-align: right; }

/* 首页横幅底部公告条：底边与横幅底边齐平，只上面两角圆、下面直角 */
.hero-notice {
    position: absolute; left: 0; right: 0; bottom: 0;
}
.hero-notice .notice-inner {
    height: 48px; border-radius: 12px 12px 0 0;
    background: rgba(255,255,255,.82);
    padding: 0 55px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-notice .notice-roll { flex: 1; height: 52px; overflow: hidden; }
.hero-notice .notice-list { margin: 0; padding: 0; list-style: none; }
.hero-notice .notice-list li { height: 52px; display: flex; align-items: center; min-width: 0; }
/* 设计稿：整条公告是一段 16px 黑字，「集团动态：标题……日期」连写 */
.hero-notice .notice-body { flex: 1; font-size: 16px; color: #121314; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-notice .notice-body:hover { color: #1D2087; }
.hero-notice .notice-date { flex-shrink: 0; padding-left: 18px; font-size: 16px; color: #121314; }

/* ---------- 二级导航条：半透明白条叠在横幅底部、底边与横幅底边齐平 ---------- */
/* 设计稿 1300×48，上面两角圆、下面直角；整条半透明透出横幅显灰；
   选中的 tab 是不透明白色直角矩形块（325×48，正好一个槽位宽） */
.subnav { position: relative; z-index: 6; margin-top: -48px; }
.subnav-inner {
    display: flex; height: 48px;
    background: rgba(255, 255, 255, .30); border-radius: 10px 10px 0 0;
}
.subnav a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    color: #121314; font-size: 16px; font-weight: 500;
}
.subnav a:hover { opacity: .7; }
/* 选中块：四角直角（设计稿实测无弧度）；
   贴白条最左/最右时随整体圆角裁一下，避免白色露角 */
.subnav a.active { background: #fff; }
.subnav a.active:first-child { border-top-left-radius: 10px; }
.subnav a.active:last-child { border-top-right-radius: 10px; }

/* ---------- 区块标题 ---------- */
.sec-title { margin: 60px 0 36px; text-align: left; }
.sec-title h2 { font-size: 24px; font-weight: normal; display: inline-block; }
/* 英文副标题：设计稿里与中文同为 24px、同一字体，仅颜色更浅；统一大写显示 */
.sec-title h2 .en {
    color: #6B6B6B; font-size: 24px; font-weight: inherit;
    margin-left: 10px; text-transform: uppercase;
}
.sec-title .bar { display: block; width: 34px; height: 4px; background: #1D2087; margin-top: 10px; }

/* ---------- 首页：了解我们 ---------- */
.about-cards { display: flex; gap: 30px; }
.about-card { flex: 1; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.about-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(29,32,135,.14); }
.about-card .pic { height: 145px; background-size: cover; background-position: center; transition: transform .3s ease; }
.about-card:hover .pic { opacity: .92; }
.about-card h3 { font-size: 16px; font-weight: bold; color: #121314; margin: 18px 0 12px;  }
.about-card p { font-size: 14px; color: #333; line-height: 24px; height: 96px; overflow: hidden; }
.about-card .more { display: inline-block; margin-top: 12px; font-size: 14px; color: #1D2087; }
.about-card .more:hover { text-decoration: underline; }

/* ---------- 首页：服务内容 ---------- */
.service-cards { display: flex; gap: 30px; }
.service-card {
    flex: 1; height: 508px; border-radius: 6px; position: relative;
    background-size: cover; background-position: center; overflow: hidden; color: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(18,19,20,.18); transition: background .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
/* hover：遮罩变主色蓝（#1D2087 = rgb 29,32,135） */
.service-card:hover::before { background: rgba(29, 32, 135, .55); }
.service-card > * { position: relative; z-index: 1; }
.service-card h3 { font-size: 22px; font-weight: normal; margin: 95px 0 8px 42px; }
.service-card h3 .en { display: block; font-size: 12px; opacity: .8; margin-top: 4px; }
.service-card .bar { display: block; width: 33px; height: 8px; background: rgba(255,255,255,.9); }
/* 介绍块贴底：bar 紧跟文字上一行（设计稿 bar top185 / 文字 top214，间距 21px） */
.service-card .intro { position: absolute; left: 42px; right: 42px; bottom: 70px; }
.service-card .intro .bar { margin-bottom: 21px; }
.service-card .intro p { font-size: 15px; line-height: 26px; }
/* 第一张卡（行业领域）内容多：设计稿从标题下固定位置开始，不贴底 */
.service-card:first-child .intro { bottom: auto; top: 185px; }
.service-card .more { position: absolute; right: 42px; bottom: 30px; font-size: 14px; color: #fff; }
.service-card .more:hover { text-decoration: underline; }

/* ---------- 二级页通用 ---------- */
.page-body { padding: 45px 0 70px; }

/* 集团简介 */
.intro-top { display: flex; gap: 50px; align-items: flex-start; }
.intro-top .txt { flex: 1; }
.intro-top .txt h3 { font-size: 16px; font-weight: bold; margin-bottom: 18px; }
.intro-top .txt p { font-size: 15px; color: #333; line-height: 30px; }
.intro-top .pic { flex-shrink: 0; width: 510px; }
.intro-top .pic img { width: 100%; border-radius: 4px; }
.intro-photos { display: flex; gap: 18px; margin-top: 40px; }
.intro-photos img { flex: 1; width: calc(25% - 14px); height: 247px; object-fit: cover; border-radius: 4px; }

/* 服务内容二级页：左文右图（效果图 290×295 圆角图） */
.svc-detail { display: flex; gap: 60px; align-items: flex-start; }
.svc-detail .txt { flex: 1; min-width: 0; }
.svc-detail .txt h3 {
    font-size: 20px; font-weight: 500; color: #121314;
    line-height: 48px; text-align: left;
    margin: 0; padding-left: 11px; position: relative;
}
/* ▍蓝条 4×20 随文字高度垂直居中（用伪元素，避免 border-left 被 48px 行高拉长） */
.svc-detail .txt h3::before {
    content: ""; position: absolute; left: 0; top: 14px;
    width: 4px; height: 20px; background: #1D2087;
}
/* <h3 class="nobar">：不带蓝条，其余一致（去伪元素 + 去缩进） */
.svc-detail .txt h3.nobar { padding-left: 0; }
.svc-detail .txt h3.nobar::before { content: none; }
.svc-detail .txt p { font-size: 14px; font-weight: 400; color: #666; line-height: 26px; text-align: left; margin: 0 0 14px; }
.svc-detail .txt img { max-width: 100%; height: auto; }
.svc-detail .txt ul, .svc-detail .txt ol { margin: 0 0 14px; padding-left: 24px; }
.svc-detail .txt li { font-size: 14px; font-weight: 400; color: #666; line-height: 26px; text-align: left; }
/* 正文条目小标题两种效果（后台富文本按需选用）：
   默认 <h4>：无蓝条，16px 加粗
   <h4 class="bar">：▍蓝条 + 加粗，其余（字号/颜色/行高/间距）完全一致 */
.svc-detail .txt h4 {
    font-size: 16px; font-weight: bold; color: #121314;
    margin: 26px 0 8px; line-height: 20px;
}
.svc-detail .txt h4.bar {
    padding-left: 11px; border-left: 6px solid #1D2087;
}
.svc-detail .txt h4:first-child { margin-top: 0; }
/* 正文里的图片：圆角 + 间距（服务案例的感谢信照片等多图场景） */
.svc-detail .txt img { border-radius: 8px; }
.svc-detail .txt p img { margin: 6px 18px 6px 0; vertical-align: top; }
.svc-detail .pic { flex-shrink: 0; width: 290px; }
.svc-detail .pic img { display: block; width: 290px; height: 295px; object-fit: cover; border-radius: 8px; }

/* 集团文化 */
.culture-top { display: flex; gap: 60px; align-items: center; }
.culture-values { flex: 1; }
.culture-values li {
    display: flex; align-items: center; margin-bottom: 34px;
}
.culture-values .bar { flex-shrink: 0; width: 6px; height: 20px; background: #1D2087; margin-right: 14px; }
.culture-values .k { font-size: 16px; font-weight: bold; margin-right: 18px;width:58px; }
.culture-values .v { font-size: 16px; color: #333; }
.culture-pic { flex-shrink: 0; width: 510px; }
.culture-pic img { width: 100%; border-radius: 4px; }

/* 社会责任 */
.social-head h3 { font-size: 16px; font-weight: bold; margin-bottom: 16px; }
.social-head p { font-size: 15px; color: #333; line-height: 30px; }
.social-stats { display: flex; align-items: baseline; gap: 130px; margin: 46px 0 10px; }
.social-stat .num { font-size: 58px; font-weight: 700; letter-spacing: -2px; }
.social-stat .unit { font-size: 14px; font-weight: 700; margin-left: 6px; }
.social-stat .desc { font-size: 14px; color: #666; margin-top: 8px; max-width: 420px; line-height: 24px; }
/* 社会责任照片墙：2 行各自独立分页轮播（每行左右箭头只切换本行）
   箭头无边框、仅图标；统一相框：白色衬底 + 浅灰细边 + 圆角轻投影 */
.social-carousel { margin-top: 46px; }
.social-rowblock { position: relative; padding: 0 40px; margin-bottom: 24px; }
.social-rowblock:last-child { margin-bottom: 0; }
/* 翻页箭头：CSS 描边 chevron，按设计稿等比大小（视觉高约 38px，3px 细线） */
.social-arrow {
    position: absolute; top: 50%;
    width: 27px; height: 27px;
    border-top: 3px solid #d5d8e0;
    border-right: 3px solid #d5d8e0;
    background: none; padding: 0;
    cursor: pointer; user-select: none;
    transition: border-color .2s ease;
}
.social-arrow:hover { border-color: #1D2087; }
.social-arrow.social-prev { left: 4px; transform: translateY(-50%) rotate(-135deg); }
.social-arrow.social-next { right: 4px; transform: translateY(-50%) rotate(45deg); }
.social-rowpage { display: none; }
.social-rowpage.current { display: block; }
.social-row { display: flex; gap: 24px; }
/* 社会责任照片：点击查看大图（链接包一层，无 JS 时也能直接打开原图） */
.social-row a.social-photo {
    display: block; flex: 0 0 calc(25% - 18px);
    padding: 7px; background: #fff;
    border: 1px solid #e3e4e8; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(20, 22, 60, .07);
    overflow: hidden; cursor: zoom-in;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.social-row a.social-photo img {
    display: block; width: 100%; height: 186px; object-fit: cover;
    border-radius: 4px;
}
.social-row a.social-photo:hover {
    transform: translateY(-2px);
    border-color: #c9cbd6;
    box-shadow: 0 8px 22px rgba(20, 22, 60, .13);
}

/* ---------- 社会责任分组：一行 4 格，每格默认显示一张，定时百叶窗切换组内图片 ---------- */
.social-groups { margin-top: 30px; }
.social-row4 { display: flex; gap: 26px; }
.social-slot { flex: 1; min-width: 0; }
.social-slot-title {
    font-size: 20px; font-weight: 500; color: #121314;
    line-height: 48px; margin: 0 0 4px; padding-left: 11px;
    border-left: 4px solid #1D2087;
}
/* 切换窗口：固定高度只露一张图，slide 叠放，active 的可见 */
.blind { position: relative; height: 240px; overflow: hidden; }
.blind-slide { position: absolute; left: 0; top: 0; width: 100%; height: 100%; visibility: hidden; }
.blind-slide.active { visibility: visible; }
/* 照片卡片：沿用原 social-photo 白衬底相框效果，撑满窗口 */
.blind .social-photo {
    display: block; width: 100%; height: 100%; box-sizing: border-box;
    padding: 7px; background: #fff;
    border: 1px solid #e3e4e8; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(20, 22, 60, .07);
    overflow: hidden; cursor: zoom-in;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.blind .social-photo img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    border-radius: 4px;
}
.blind .social-photo:hover {
    border-color: #c9cbd6;
    box-shadow: 0 8px 22px rgba(20, 22, 60, .13);
}
/* 百叶窗横条层：只覆盖照片图像区（相框 7px 内衬+1px 边框，图像区 224px 高、距顶 8px），
   8 条每条 28px；条内放整张图（object-fit 与正式显示一致），条高 0→28px 逐条展开 = 单程百叶窗 */
.blind-stripes { position: absolute; left: 8px; top: 8px; width: auto; right: 8px; height: 224px; z-index: 3; pointer-events: none; }
.blind-stripe {
    position: absolute; left: 0; width: 100%; height: 0; overflow: hidden;
    transition: height .3s ease;
}
.blind-stripe img {
    position: absolute; left: 0; top: 0;
    width: 100%; height: 224px; object-fit: cover;
}

/* 大图查看层（JS 挂到 body 上，不受 1920 等比缩放影响） */
.img-viewer {
    position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 9999;
    background: rgba(10, 11, 16, .88); display: none; align-items: center; justify-content: center;
}
.img-viewer.open { display: flex; }
.img-viewer img { max-width: 88vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.img-viewer .iv-btn {
    position: absolute; color: #fff; cursor: pointer; user-select: none;
    opacity: .75; font-size: 34px; line-height: 1;
}
.img-viewer .iv-btn:hover { opacity: 1; }
.img-viewer .iv-close { top: 22px; right: 34px; font-size: 42px; }
.img-viewer .iv-prev { left: 3%; top: 50%; margin-top: -20px; }
.img-viewer .iv-next { right: 3%; top: 50%; margin-top: -20px; }

/* ---------- 集团动态列表（左置顶大图卡 + 右列表：首条展开，按设计稿 1:1） ---------- */
.news-tabs { display: flex; gap: 8px; margin-bottom: 30px; }
.news-tabs a {
    padding: 9px 34px; font-size: 16px; color: #121314;
    border: 1px solid #e3e3e3; border-radius: 3px; background: #f7f7f7;
}
.news-tabs a.active { background: #1D2087; border-color: #1D2087; color: #fff; font-weight: bold; }
.news-empty { padding: 40px 0; color: #999; }

.news-layout { display: flex; gap: 85px; align-items: flex-start; }

/* 左侧：置顶大图卡 510×520，底部蓝色面板（设计稿 #0B409D，高 183） */
.news-feature { position: relative; display: block; flex-shrink: 0; width: 510px; height: 520px; overflow: hidden; }
.news-feature .nf-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-feature .nf-panel {
    position: absolute; left: 0; right: 0; bottom: 0; height: 183px;
    background: #0B409D; color: #fff;
    display: flex; align-items: center; gap: 26px; padding: 0 30px;
}
.news-feature .nf-date { flex-shrink: 0; text-align: center; }
.news-feature .nf-date b { display: block; font-size: 34px; font-weight: bold; line-height: 1.1; }
.news-feature .nf-date span { display: block; font-size: 15px; opacity: .85; margin-top: 4px; }
.news-feature .nf-info { flex: 1; min-width: 0; }
.news-feature .nf-title {
    font-size: 15px; line-height: 1.4; margin: 0;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.news-feature .nf-desc {
    font-size: 13px; line-height: 20px; margin: 10px 0 0; opacity: .92;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-feature .nf-more { display: block; text-align: right; font-size: 14px; color: #fff; margin-top: 8px; }
.news-feature:hover .nf-more { text-decoration: underline; }

/* 右侧列表：宽 705，首条展开 */
.news-main { flex: 1; min-width: 0; }
.news-item { display: block; }
.news-item .ni-title {
    display: block; flex: 1; min-width: 0; font-size: 16px; color: #121314;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.news-item:hover .ni-title { color: #1D2087; }

/* 首条展开态 */
.ni-open .ni-head { display: flex; align-items: flex-start; gap: 30px; }
.ni-open .ni-date { flex-shrink: 0; text-align: left; min-width: 74px; }
.ni-open .ni-date b { display: block; font-size: 34px; font-weight: bold; line-height: 1.1; color: #403F55; }
.ni-open .ni-date span { display: block; font-size: 15px; color: #9A98A2; margin-top: 2px; }
/* 标题下分隔线：灰线 + 蓝色高亮段（设计稿 319/705 ≈ 45%） */
.ni-line { position: relative; height: 2px; background: #DBDBDD; margin-top: 14px; }
.ni-line .ni-line-top { position: absolute; left: 0; top: 0; width: 45%; height: 2px;}
.ni-body { display: flex; align-items: flex-start; gap: 24px; margin-top: 18px; }
.ni-body p {
    flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 22px; color: #666;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ni-body .ni-arrow { flex-shrink: 0; font-size: 22px; color: #656565; line-height: 22px; }
.ni-body .ni-arrow:hover { color: #1D2087; }

/* 收起态：标题 + 完整日期，下分隔线 */
.ni-row {
    display: flex; align-items: center; gap: 30px;
    margin-top: 30px; padding-bottom: 24px; border-bottom: 2px solid #DBDBDD;
}
.ni-row:first-child { margin-top: 0; }
.ni-row .ni-date2 { flex-shrink: 0; font-size: 16px; color: #9A98A2; }

/* 分页：右下角双箭头（设计稿 25×25 图标：左灰禁用 / 右白底深色） */
.news-pager { display: flex; justify-content: flex-end; gap: 12px; margin-top: 54px; }
/* 25×25 方框 + chevron 箭头，纯 CSS 绘制：颜色随「能否翻页」变化 */
.news-pager a,
.news-pager > span {
    position: relative; display: block; box-sizing: border-box;
    width: 25px; height: 25px; border: 1px solid #121314;
    color: #121314; transition: border-color .2s ease, color .2s ease;
}
.news-pager a::before,
.news-pager > span::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 8px; height: 8px;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);   /* 上+右两条边转 45° = 右箭头 > */
}
.news-pager .prev::before { transform: translate(-50%, -50%) rotate(-135deg); }  /* = 左箭头 < */
/* 到头一页：整框连箭头变浅灰，不可点、不可 hover */
.news-pager > span.disable { border-color: #DBDBDD; color: #DBDBDD; cursor: default; }
/* 可翻页：黑色，hover 变主色 */
.news-pager a:hover { border-color: #1D2087; color: #1D2087; }
/* 仅屏幕阅读器可见的辅助文本 */
.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 分页 */
.pager { margin-top: 40px; text-align: center; font-size: 14px; }
.pager a, .pager span {
    display: inline-block; min-width: 36px; height: 36px; line-height: 34px;
    padding: 0 10px; margin: 0 4px; border: 1px solid #ddd; border-radius: 3px; color: #333;
}
.pager span.current { background: #1D2087; border-color: #1D2087; color: #fff; }
.pager a:hover { border-color: #1D2087; color: #1D2087; }
.pager span.disable { color: #bbb; border-color: #eee; cursor: default; }
.pager .pg-info {
    margin-left: 14px; border: 0; color: #999; padding: 0; min-width: 0;
}
/* 页码省略号：不占按钮宽度，紧贴两侧页码 */
.pager .pg-gap {
    border: 0; background: none; color: #999; min-width: 0;
    padding: 0 2px; margin: 0 2px; letter-spacing: 1px; cursor: default;
}

/* ---------- 联系我们 ---------- */
.contact-list { margin-top: 36px; }
.contact-card {
    background: #fff; border: 1px solid #ececf2; border-radius: 10px;
    padding: 26px 34px 30px; margin-bottom: 22px;
    box-shadow: 0 2px 12px rgba(29, 32, 135, .06);
}
.contact-card h4 {
    font-size: 19px; color: #1D2087; line-height: 1.35;
    padding-left: 12px; border-left: 4px solid #1D2087;
    margin-bottom: 20px;
}
.contact-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.contact-item {
    background: #f7f8fb; border-radius: 8px; padding: 14px 18px;
    font-size: 14px; color: #555; line-height: 2;
}
.contact-item .dept {
    font-size: 15px; font-weight: bold; color: #1D2087;
    line-height: 1.5; margin-bottom: 2px;
}
/* 集团总部：公用地址 / 总机 / 邮箱（页脚「联系地址」「联系电话」锚点定位到这里） */
.contact-hq { background: #f6f8ff; border-color: #dfe4f8; }
.hq-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.hq-item {
    background: #fff; border-radius: 8px; padding: 16px 20px;
    border: 1px solid #e8ebf7;
}
.hq-label {
    display: inline-block; font-size: 13px; color: #1D2087; font-weight: bold;
    letter-spacing: 1px; margin-bottom: 8px;
}
.hq-value { font-size: 15px; color: #333; line-height: 1.9; }
.hq-value a { color: #1D2087; }
.hq-value a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.err-page {
    text-align: center; padding: 50px 0 30px;
}
.err-page .err-code {
    font-size: 132px; line-height: 1; font-weight: bold;
    color: #E6E7F4; letter-spacing: 4px; font-family: Arial, sans-serif;
}
.err-page h2 { font-size: 24px; color: #121314; margin-top: 4px; }
.err-page .err-desc {
    font-size: 15px; color: #6B6B6B; line-height: 1.9; margin-top: 18px;
}
.err-page .err-actions { margin-top: 34px; }
.err-page .err-btn {
    display: inline-block; min-width: 132px; height: 42px; line-height: 40px;
    padding: 0 26px; margin: 0 8px; border: 1px solid #d8d8e4; border-radius: 4px;
    font-size: 15px; color: #121314; background: #fff;
    transition: all .2s ease;
}
.err-page .err-btn:hover { border-color: #1D2087; color: #1D2087; }
.err-page .err-btn-primary {
    background: #1D2087; border-color: #1D2087; color: #fff;
}
.err-page .err-btn-primary:hover { background: #171a70; border-color: #171a70; color: #fff; }
.err-page .err-tip { font-size: 13px; color: #9A98A2; margin-top: 40px; }

/* ---------- 文章页 ---------- */
.article h2 { font-size: 20px; font-weight: bold; line-height: 1.6; }
.article .date { font-size: 15px; color: #9A98A2; margin: 14px 0 30px; }
.article .content { font-size: 15px; color: #444; line-height: 32px; }
.article .content img { max-width: 100%; height: auto; }
.article .content p { margin-bottom: 16px; }

.footer-main {
    display: flex; align-items: center;
    border-top: 1px solid #e5e5e5;
    padding-top: 51px;
}
.footer-logo { flex-shrink: 0; width: 263px; height: 52px; }
.footer-cols { margin-left: 174px; display: flex; flex-direction: column; gap: 22px; }
.footer-row { display: flex; align-items: center; }
.footer-row .bar { flex-shrink: 0; width: 6px; height: 17px; background: #1D2087; }
/* 标题固定 5 字宽（80px）：各行字数不同（关于海旺达 / 服务内容 / 联系我们），
   靠固定宽度让右侧链接列起点统一对齐，而不是跟着标题文字宽度浮动 */
.footer-row h4 {
    flex: 0 0 84px; width: 84px;
    font-size: 16px; font-weight: bold; margin-left: 9px; line-height: 18px;
    white-space: nowrap;
}
/* 链接比左侧栏目标题（#121314）淡一档，形成「标题重、链接轻」的层次 */
.footer-row p { font-size: 14px; color: #555; margin-left: 24px; white-space: nowrap; }
.footer-row p a { margin-right: 26px; color: #555; font-weight: bold; }
.footer-row p a:last-child { margin-right: 0; }
.footer-row p a:hover { color: #1D2087; }
.footer-qr { margin-left: auto; text-align: center; }
.footer-qr img { width: 104px; height: 102px; display: block; margin: 0 auto; }
.footer-qr p { font-size: 14px; margin-top: 12px; }
.footer-divider { border-top: 1px solid #e5e5e5; margin-top: 46px; }
.copyright { text-align: center; font-size: 14px; color: #121314; padding: 17px 0 40px; }

/* =========================================================
   响应式（简单移动适配）
   ========================================================= */
/* 设计稿 1920 等比缩放容器：视口在 1361~1919 之间时由 JS 设置 zoom=视口宽/1920，
   页面始终呈现 1920×1080 的原始设计比例（小屏 ≤1360 走响应式布局，不缩放） */
#pageScale { width: auto; }
#pageScale.scaled { width: 1920px; }

@media screen and (max-width: 1360px) {
    .container { width: 100%; max-width: calc(100% - 60px); }
    .main-nav a { padding: 6px 14px; font-size: 16px; }
}
@media screen and (max-width: 1024px) {
    .header-inner { height: 84px; }
    .logo img { width: 200px; height: 38px; }
    .hero-lg { height: 480px; }
    .hero-sm { height: 300px; }
    .hero-slogan h1 { font-size: 34px; }
    .hero-slogan h1 .sub { font-size: 20px; }
    .page-home .hero-slogan { top: 200px; }
    .about-cards, .service-cards { flex-wrap: wrap; }
    .about-card, .service-card { flex: 0 0 calc(50% - 15px); }
    .service-card { height: 420px; margin-bottom: 0; }
    .intro-top, .culture-top { flex-direction: column; }
    .intro-top .pic, .culture-pic { width: 100%; }
    .svc-detail { flex-direction: column; gap: 30px; }
    .svc-detail .pic { width: 100%; }
    .svc-detail .pic img { width: 100%; height: auto; }
    .intro-photos { flex-wrap: wrap; }
    .intro-photos img { flex: 0 0 calc(50% - 10px); height: auto; }
    .social-rowblock { padding: 0 30px; }
    .social-arrow { width: 19px; height: 19px; border-top-width: 2px; border-right-width: 2px; }
    .social-row { flex-wrap: wrap; }
    .social-row a.social-photo { flex: 0 0 calc(50% - 12px); }
    .social-row a.social-photo img { height: auto; }
    .social-row4 { flex-wrap: wrap; }
    .social-slot { flex: 0 0 calc(50% - 13px); }
    .footer-main { flex-direction: column; align-items: flex-start; gap: 30px; padding-top: 30px; }
    .footer-cols { margin-left: 0; }
    .footer-qr { margin-left: 0; }
}
@media screen and (max-width: 768px) {
    /* 折叠导航 */
    .nav-toggle {
        display: block; background: none; border: 1px solid #ddd; border-radius: 4px;
        font-size: 20px; padding: 4px 12px; cursor: pointer; color: #121314;
    }
    .page-home .nav-toggle { color: #fff; border-color: rgba(255,255,255,.6); }
    .main-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #1D2087; flex-direction: column; z-index: 99;
    }
    .main-nav.open { display: flex; }
    .main-nav a { color: #fff !important; padding: 13px 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .site-header { position: relative !important; }
    .page-home .site-header { position: absolute !important; left: 0; right: 0; top: 0; }
    .header-inner { position: relative; height: 70px; }
    .logo img { width: 160px; height: 30px; }
    .hero-lg { height: 380px; }
    .hero-sm { height: 220px; }
    .hero-slogan h1 { font-size: 24px; }
    .hero-slogan h1 .sub { font-size: 15px; }
    .page-home .hero-slogan { top: 130px; }
    .subnav-inner { flex-wrap: wrap; }
    .subnav a { padding: 10px 20px; font-size: 14px; }
    .about-card, .service-card { flex: 0 0 100%; }
    .social-stats { flex-direction: column; gap: 24px; }
    .social-slot { flex: 0 0 100%; }
    .news-layout { flex-direction: column; gap: 40px; }
    .news-feature { width: 100%; height: 360px; }
    .ni-open .ni-date b { font-size: 26px; }
    .news-pager { margin-top: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .hq-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 20px 18px 24px; }
    .pager a, .pager span { min-width: 30px; height: 30px; line-height: 28px; font-size: 13px; }
    .pager .pg-info { display: none; }
}
