/* ============================================================
   佳软官网 — 现代风格皮肤（v3）
   在原站 1:1 静态镜像内容之上叠加的现代视觉层。
   所有类名统一 m- 前缀，避免与原站 pintuer/style.css 冲突；
   全局覆盖使用 body.m-body 提升优先级。
   品牌主色 #EE7700，深色 #16243D。
   ============================================================ */
:root {
  --m-brand: #ee7700;
  --m-brand-dark: #d96b00;
  --m-brand-soft: #fff3e6;
  --m-ink: #1f2733;
  --m-muted: #5b6470;
  --m-line: #e8ebf0;
  --m-bg: #ffffff;
  --m-bg-alt: #f7f8fa;
  --m-navy: #16243d;
  --m-navy-2: #1d3054;
  --m-radius: 14px;
  --m-shadow: 0 10px 30px rgba(22, 36, 61, .08);
  --m-shadow-hover: 0 18px 44px rgba(22, 36, 61, .15);
  --m-container: 1200px;
}

/* ---------- 全局覆盖（优先级高于原站 body / a / img） ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body.m-body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--m-ink); background: var(--m-bg);
  line-height: 1.75; font-size: 16px; overflow-x: clip;
}
body.m-body img { max-width: 100%; height: auto; }
/* 原站 pintuer.css 未给 inline svg 尺寸，默认 300x150 会挤压 flex 按钮 */
body.m-body svg { flex: none; }
.m-btn svg, .m-cta-top svg, .m-foot-contact svg {
  width: 16px !important; height: 16px !important; flex: none !important; display: block;
}
body.m-body a { transition: color .2s, background .2s, transform .2s, box-shadow .2s; }
.m-container { max-width: var(--m-container); margin: 0 auto; padding: 0 24px; }
.m-body .m-clear { clear: both; }

/* ---------- 顶部导航 ---------- */
.m-header {
  position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--m-line); transition: box-shadow .25s;
}
.m-header.scrolled { box-shadow: 0 6px 24px rgba(22, 36, 61, .09); }
.m-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.m-brand { display: inline-flex; align-items: center; flex: none; }
.m-brand img { height: 42px; width: auto; display: block; }
.m-navwrap { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.m-nav { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.m-nav > li { position: relative; }
.m-nav > li > a {
  display: block; padding: 10px 12px; font-size: 14.5px; font-weight: 600;
  color: var(--m-ink); border-radius: 8px; white-space: nowrap; line-height: 1.5;
}
.m-nav > li > a:hover, .m-nav > li.active > a, .m-nav > li.current > a { color: var(--m-brand); background: var(--m-brand-soft); }
.m-nav > li.has-sub > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55;
}
.m-drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  min-width: 210px; background: #fff; border: 1px solid var(--m-line);
  border-radius: var(--m-radius); box-shadow: var(--m-shadow-hover);
  padding: 8px; opacity: 0; visibility: hidden; list-style: none; margin: 0; z-index: 30;
  transition: all .22s ease;
}
.m-nav > li:hover .m-drop, .m-nav > li:focus-within .m-drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.m-drop a { display: block; padding: 9px 14px; font-size: 14px; color: var(--m-muted); border-radius: 8px; white-space: nowrap; }
.m-drop a:hover { background: var(--m-brand-soft); color: var(--m-brand); }
.m-drop .m-drop-title {
  padding: 6px 14px 8px; font-size: 12px; letter-spacing: 1px; color: #a6adb8;
  border-bottom: 1px solid var(--m-line); margin-bottom: 6px; font-weight: 600;
}
.m-cta-top {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 16px;
  padding: 10px 22px; background: var(--m-brand); color: #fff !important;
  border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap !important;
  width: auto !important; max-width: none !important;
  box-shadow: 0 6px 16px rgba(238, 119, 0, .32);
}
.m-cta-top:hover { background: var(--m-brand-dark); transform: translateY(-1px); }
.m-cta-top svg { width: 15px; height: 15px; }
.m-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex: none; }
.m-burger span { display: block; width: 24px; height: 2px; background: var(--m-ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.m-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m-burger.open span:nth-child(2) { opacity: 0; }
.m-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 内页 Hero ---------- */
.m-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(118deg, var(--m-navy) 0%, var(--m-navy-2) 100%);
  padding: 74px 0 68px;
}
.m-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 360px at 84% 18%, rgba(238, 119, 0, .30), transparent 62%),
    radial-gradient(620px 340px at 8% 92%, rgba(37, 99, 235, .22), transparent 60%);
}
.m-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .16; filter: saturate(.7);
}
.m-hero-grid {
  position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 56px 56px;
}
.m-hero .m-container { position: relative; z-index: 2; }
.m-kicker {
  display: inline-flex; align-items: center; gap: 9px; color: #ffb066;
  font-size: 13px; letter-spacing: 2.4px; margin-bottom: 16px; font-weight: 700; text-transform: uppercase;
}
.m-kicker::before { content: ""; width: 28px; height: 2px; background: var(--m-brand); }
.m-hero h1 { color: #fff; font-size: 40px; line-height: 1.3; font-weight: 800; margin: 0 0 14px; letter-spacing: .5px; }
.m-hero p.m-lead { color: rgba(255, 255, 255, .80); font-size: 16px; max-width: 720px; margin: 0 0 24px; }
.m-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.m-crumb a { color: rgba(255, 255, 255, .78); }
.m-crumb a:hover { color: #ffb066; }
.m-crumb .m-sep { opacity: .45; }
.m-crumb .m-cur { color: #fff; }

/* ---------- 首页轮播 Hero ---------- */
.m-hero-home { position: relative; overflow: hidden; background: var(--m-navy); }
.m-slides { position: relative; height: 580px; }
.m-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .85s ease;
  display: flex; align-items: center;
}
.m-slide.active { opacity: 1; z-index: 1; }
.m-slide-pic { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.m-slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 440px at 86% 22%, rgba(238, 119, 0, .26), transparent 62%),
    linear-gradient(100deg, rgba(22, 36, 61, .97) 0%, rgba(29, 48, 84, .86) 52%, rgba(22, 36, 61, .45) 100%);
}
.m-slide .m-container { position: relative; z-index: 2; }
.m-slide-inner { max-width: 720px; }
.m-slide h2 { color: #fff; font-size: 46px; line-height: 1.24; font-weight: 800; margin: 0 0 12px; }
.m-slide h3 { color: #ffb066; font-size: 25px; font-weight: 600; margin: 0 0 16px; }
.m-slide-line { width: 56px; height: 3px; background: var(--m-brand); border-radius: 3px; margin: 0 0 20px; }
.m-slide p { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.9; margin: 0 0 30px; }
.m-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.m-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px;
  border-radius: 999px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer;
  white-space: nowrap !important; flex: none !important;
  width: auto !important; max-width: none !important; line-height: 1.5;
}
.m-btn-primary { background: var(--m-brand); color: #fff !important; box-shadow: 0 8px 22px rgba(238, 119, 0, .4); }
.m-btn-primary:hover { background: var(--m-brand-dark); transform: translateY(-2px); }
.m-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .48); color: #fff !important; }
.m-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .09); }
.m-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.m-dots button { width: 26px; height: 4px; border: 0; border-radius: 4px; cursor: pointer; background: rgba(255, 255, 255, .32); transition: .25s; padding: 0; }
.m-dots button.on { background: var(--m-brand); width: 42px; }

/* ---------- 首页现代板块（数据来自原站首页，仅重排呈现） ---------- */
.m-sec { padding: 72px 0; }
.m-sec-alt { background: var(--m-bg-alt); }
.m-sec-head { text-align: center; margin-bottom: 42px; }
.m-sec-head .m-en { display: block; color: var(--m-brand); font-size: 12px; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.m-sec-head h2 { font-size: 30px; font-weight: 800; color: var(--m-ink); margin: 0 0 10px; }
.m-sec-head h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--m-brand); border-radius: 3px; margin: 14px auto 0; }
.m-sec-head p { color: var(--m-muted); font-size: 15px; margin: 0; }
.m-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.m-card {
  background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius);
  padding: 30px 26px; box-shadow: var(--m-shadow); transition: all .25s;
}
.m-card:hover { transform: translateY(-6px); box-shadow: var(--m-shadow-hover); border-color: #ffd9b0; }
.m-card .m-num {
  width: 46px; height: 46px; border-radius: 12px; background: var(--m-brand-soft);
  color: var(--m-brand); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.m-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.m-card h3 a { color: var(--m-ink); }
.m-card h3 a:hover { color: var(--m-brand); }
.m-card p { color: var(--m-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.m-stat { text-align: center; padding: 18px 10px; }
.m-stat b { display: block; font-size: 38px; font-weight: 800; color: #fff; line-height: 1.2; }
.m-stat span { color: rgba(255, 255, 255, .72); font-size: 14px; }
.m-stat + .m-stat { border-left: 1px solid rgba(255, 255, 255, .16); }

.m-hero h1.long { font-size: 28px; line-height: 1.5; }
.m-crumb .m-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }

/* ---------- 内容区：原站 HTML 原样保留，仅做现代视觉调和 ---------- */
.m-content { display: block; background: var(--m-bg); }
/* 隐藏原站重复外壳（DOM 内保留，内容不丢） */
.m-content .mtop,
.m-content .ny_slide,
.m-content .slide,
.m-content .swiper-pagination,
.m-content .footer,
.m-content .bottom,
.m-content .msgbox,
.m-content #formbox { display: none !important; }
.m-content > .clearfix { display: none; }
/* 原站 .wow 依赖 WOW.js 初始化，强制可见避免内容空白 */
.m-content .wow { visibility: visible !important; opacity: 1 !important; animation: none !important; -webkit-animation: none !important; }

/* 原站主内容块统一留白与白底 */
.m-content .main { padding: 56px 0 68px; }
.m-content .main.bgf7,
.m-content .main.bg { background: var(--m-bg-alt); }
.m-content .container { max-width: var(--m-container); margin: 0 auto; }
.m-content img { border-radius: 8px; }
.m-content .jr_desc,
.m-content .psa_type,
.m-content .subcat1,
.m-content .zxpt1,
.m-content .section_zn1,
.m-content .section_zn2,
.m-content .section_zn3,
.m-content .section_zn4 { font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif; }

/* 栏目标题现代化 */
.m-content .psa_type { text-align: center; margin-bottom: 38px; }
.m-content .psa_type .type_en {
  font-size: 13px !important; letter-spacing: 3px; color: var(--m-brand) !important;
  font-weight: 700; text-transform: uppercase; opacity: 1; margin-bottom: 8px;
}
.m-content .psa_type .type_cn { font-size: 27px; font-weight: 800; color: var(--m-ink); display: flex; align-items: center; justify-content: center; gap: 14px; }
.m-content .psa_type .type_cn img { width: 22px; opacity: .5; border-radius: 0; }
.m-content .psa_type .type_cn::after { content: ""; display: none; }

/* 正文描述 */
.m-content .jr_desc { font-size: 16px; line-height: 2.1; color: var(--m-muted); }

/* 新闻/案例列表卡片化 */
.m-content .list_news,
.m-content .list_join { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
.m-content .list_news li,
.m-content .list_join li {
  border-radius: var(--m-radius); border: 1px solid var(--m-line);
  background: #fff; box-shadow: var(--m-shadow); transition: all .25s;
  margin-bottom: 16px; padding: 20px 24px !important;
}
.m-content .list_news li:hover,
.m-content .list_join li:hover { transform: translateY(-3px); box-shadow: var(--m-shadow-hover); border-color: #ffd9b0; }
.m-content .list_news li a:hover,
.m-content .list_join li a:hover { color: var(--m-brand); }
.m-content .pages { margin-top: 26px; }
.m-content .pages a,
.m-content .pages span {
  display: inline-block; padding: 7px 14px; margin: 0 3px; border-radius: 8px;
  border: 1px solid var(--m-line); color: var(--m-muted);
}
.m-content .pages a:hover { background: var(--m-brand); color: #fff; border-color: var(--m-brand); }
.m-content .pages .current,
.m-content .pages .on { background: var(--m-brand); color: #fff; border-color: var(--m-brand); }

/* 子栏目筛选 */
.m-content .subcat a,
.m-content .subcat1 a { border-radius: 999px; transition: all .2s; }
.m-content .subcat a:hover,
.m-content .subcat1 a:hover { color: var(--m-brand); }

/* 详情页正文卡片 */
.m-content .newsbox {
  background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius);
  box-shadow: var(--m-shadow); padding: 40px 46px;
}
.m-content .newsbox .title { font-size: 28px; line-height: 1.5; font-weight: 800; color: var(--m-ink); margin-bottom: 10px; }
.m-content .newsbox .time { color: #98a1ae; font-size: 14px; border-bottom: 1px solid var(--m-line); padding-bottom: 18px; margin-bottom: 28px; }
.m-content .newsbox .content { font-size: 16px; line-height: 2; color: #374151; word-break: break-word; }
.m-content .newsbox .content img { border-radius: 10px; margin: 12px 0; }
.m-content .newsbox .sxp { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--m-line); font-size: 14px; }
.m-content .newsbox .sxp a:hover { color: var(--m-brand); }

/* 表格（职位列表） */
.m-content table { border-collapse: collapse; width: 100%; }
.m-content table th { background: var(--m-bg-alt); color: var(--m-ink); font-weight: 700; }
.m-content table th, .m-content table td { border-color: var(--m-line); }

/* 表单 */
.m-content input[type=text],
.m-content input[type=tel],
.m-content textarea { border-radius: 8px; border: 1px solid var(--m-line); }
.m-content input[type=text]:focus,
.m-content input[type=tel]:focus,
.m-content textarea:focus { outline: none; border-color: var(--m-brand); }

/* ---------- CTA ---------- */
.m-cta-sec {
  background: linear-gradient(110deg, var(--m-navy) 0%, var(--m-navy-2) 100%);
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.m-cta-sec::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 88% 30%, rgba(238, 119, 0, .28), transparent 62%);
}
.m-cta-sec .m-container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.m-cta-sec h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.m-cta-sec p { color: rgba(255, 255, 255, .76); margin: 0; font-size: 15px; }

/* ---------- 页脚 ---------- */
.m-footer { background: #101c31; color: rgba(255, 255, 255, .72); padding: 62px 0 0; font-size: 14px; }
.m-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 38px; padding-bottom: 44px; }
.m-foot-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.m-foot-brand p { line-height: 1.9; margin: 0; color: rgba(255, 255, 255, .6); }
.m-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 20px; }
.m-footer h4::after { content: ""; display: block; width: 26px; height: 2px; background: var(--m-brand); margin-top: 10px; }
.m-foot-links { list-style: none; margin: 0; padding: 0; }
.m-foot-links li { margin-bottom: 10px; }
.m-foot-links a { color: rgba(255, 255, 255, .66); }
.m-foot-links a:hover { color: var(--m-brand); }
.m-foot-contact p { margin: 0 0 12px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.m-foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--m-brand); }
.m-foot-contact a { color: rgba(255, 255, 255, .78); }
.m-foot-contact a:hover { color: var(--m-brand); }
.m-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10); padding: 20px 0 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: rgba(255, 255, 255, .48); font-size: 13px;
}
.m-foot-bottom a:hover { color: var(--m-brand); }

/* ---------- 回到顶部 / 动效 ---------- */
.m-top {
  position: fixed; right: 24px; bottom: 26px; z-index: 800; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--m-brand); color: #fff; cursor: pointer;
  box-shadow: 0 8px 22px rgba(238, 119, 0, .38); font-size: 20px; line-height: 44px;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.m-top.show { opacity: 1; visibility: visible; }
.m-top:hover { background: var(--m-brand-dark); transform: translateY(-3px); }
.m-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.m-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .m-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .m-nav > li > a { padding: 10px 8px; font-size: 13.5px; }
  .m-cta-top { margin-left: 8px; padding: 9px 16px; }
  .m-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
  .m-foot-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .m-burger { display: block; }
  .m-navwrap {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--m-line); box-shadow: var(--m-shadow-hover);
    display: none; flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .m-navwrap.open { display: flex; }
  .m-nav { display: block; width: 100%; }
  .m-nav > li { border-bottom: 1px solid var(--m-line); }
  .m-nav > li > a { padding: 12px 8px; font-size: 15px; border-radius: 0; }
  .m-nav > li.has-sub > a::after { float: right; margin-top: 9px; }
  .m-drop {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 10px 16px; min-width: 0; display: none;
  }
  .m-nav > li.open .m-drop { display: block; }
  .m-nav > li:hover .m-drop { transform: none; }
  .m-cta-top { margin: 14px 0 0; justify-content: center; }
  .m-slides { height: 500px; }
  .m-slide h2 { font-size: 36px; }
  .m-slide h3 { font-size: 21px; }
  .m-cards, .m-stats { grid-template-columns: repeat(2, 1fr); }
  .m-stat:nth-child(3) { border-left: 0; }
  .m-hero { padding: 56px 0 52px; }
  .m-hero h1 { font-size: 32px; }
  .m-content .newsbox { padding: 28px 24px; }
  .m-content .newsbox .title { font-size: 23px; }
  .m-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .m-container { padding: 0 18px; }
  .m-bar { height: 64px; }
  .m-brand img { height: 36px; }
  .m-navwrap { top: 64px; max-height: calc(100vh - 64px); }
  .m-slides { height: 460px; }
  .m-slide h2 { font-size: 29px; }
  .m-slide h3 { font-size: 18px; }
  .m-slide p { font-size: 14px; }
  .m-sec { padding: 52px 0; }
  .m-sec-head h2 { font-size: 24px; }
  .m-cards, .m-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .m-card { padding: 20px 16px; }
  .m-stat b { font-size: 27px; }
  .m-hero h1 { font-size: 26px; }
  .m-hero p.m-lead { font-size: 14px; }
  .m-cta-sec .m-container { flex-direction: column; align-items: flex-start; }
  .m-cta-sec h2 { font-size: 22px; }
  .m-foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .m-foot-bottom { flex-direction: column; }
  .m-content .main { padding: 36px 0 44px; }
  .m-content .newsbox { padding: 22px 16px; }
  .m-content .newsbox .title { font-size: 20px; }
  .m-content .list_news li, .m-content .list_join li { padding: 16px !important; }
  .m-content .type_cn { font-size: 22px; }
  .m-top { right: 14px; bottom: 16px; width: 40px; height: 40px; line-height: 40px; }
}
