/* ============================================================
   上海瑞鼎 官网统一样式（深蓝工业风）
   所有栏目页面共用；修改此处即可全站生效
   ============================================================ */

:root {
  --navy: #0b3c5d;
  --navy-2: #12456b;
  --navy-3: #1b5a86;
  --navy-deep: #072a42;
  --orange: #e8730c;
  --orange-2: #ff8c2e;
  --text: #2c3e50;
  --muted: #6b7c8c;
  --line: #e3e8ee;
  --bg: #f5f7fa;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(11, 60, 93, 0.08);
  --shadow-hover: 0 8px 24px rgba(11, 60, 93, 0.16);
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部信息条 ---------------- */
.topstrip {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 34px;
}
.topstrip .wrap { display: flex; justify-content: space-between; gap: 16px; }
.topstrip a { color: rgba(255, 255, 255, 0.75); }
.topstrip a:hover { color: var(--orange-2); }
.topstrip .phone { color: var(--orange-2); font-weight: 500; letter-spacing: 0.3px; }

/* ---------------- 头部 + 导航 ---------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 12px; }

/* 头部双 LOGO（江苏瑞鼎 + 上海瑞鼎） */
.logo-imgs { gap: 10px; }
.logo-imgs img { display: block; }
.logo-imgs .lg-js { height: 44px; width: auto; }
.logo-imgs .lg-sep { width: 1px; height: 34px; background: var(--line); }
.logo-imgs .lg-sh { height: 36px; width: auto; }
.logo .mark {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.logo .mark svg { width: 26px; height: 26px; }
.logo .name { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: 2px; line-height: 1.2; }
.logo .slogan { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
  transition: color .2s;
}
.nav > a:hover { color: var(--navy-3); }
.nav > a.active { color: var(--navy); font-weight: 700; }
.nav > a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.nav > a.highlight { color: var(--orange); font-weight: 700; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------------- 首页大图区 ---------------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(7, 42, 66, 0.92) 0%, rgba(11, 60, 93, 0.85) 45%, rgba(27, 90, 134, 0.72) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 22px);
  color: #fff;
  padding: 88px 0 96px;
}
.hero .wrap { display: flex; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 560px; }
.hero .tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--orange-2);
  border: 1px solid rgba(232, 115, 12, 0.5);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--orange-2); }
.hero p { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,0.82); max-width: 560px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .item .num { font-size: 28px; font-weight: 700; color: var(--orange-2); line-height: 1.2; }
.hero-stats .item .lbl { font-size: 12px; color: rgba(255,255,255,0.7); }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy-3); color: var(--navy-3); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .en {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 8px;
}
.section-head h2 { font-size: 28px; color: var(--navy); font-weight: 700; letter-spacing: 1px; }
.section-head h2::after {
  content: ""; display: block; width: 44px; height: 3px;
  background: var(--orange); margin: 14px auto 0; border-radius: 2px;
}
.section-head p { margin-top: 14px; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .22s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(11, 60, 93, 0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13px; }
.card .more { display: inline-block; margin-top: 14px; color: var(--orange); font-size: 13px; }
.card .more:hover { text-decoration: underline; }

/* 图片占位块（无外链图片，避免服务器取不到图） */
.ph {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11,60,93,0.88), rgba(27,90,134,0.72)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 8px, transparent 8px 20px);
  color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 1px;
  min-height: 180px;
}

/* 关于我们（首页摘要） */
.about-flex { display: flex; gap: 48px; align-items: center; }
.about-flex .txt { flex: 1 1 520px; }
.about-flex .txt h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.about-flex .txt p { color: var(--muted); margin-bottom: 14px; }
.about-flex .pic { flex: 1 1 420px; }
.about-flex .pic img, .page-pic img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-list { margin: 18px 0 24px; }
.about-list li { padding-left: 22px; position: relative; color: var(--text); margin-bottom: 8px; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: var(--orange); border-radius: 2px;
}

/* 案例卡片 */
.case-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: all .22s; }
.case-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-item .body { padding: 18px 20px 22px; }
.case-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.case-item .meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.case-item p { font-size: 13px; color: var(--muted); }

/* 新闻列表 */
.news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: none; }
.news-date {
  flex: 0 0 78px; text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.news-date .d { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.news-date .m { font-size: 12px; color: var(--muted); }
.news-body h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.news-body h3:hover { color: var(--navy-3); }
.news-body p { font-size: 13px; color: var(--muted); }

/* ---------------- 内页 banner ---------------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-3) 100%);
  color: #fff;
  padding: 52px 0;
}
.page-banner h1 { font-size: 30px; letter-spacing: 2px; font-weight: 700; }
.page-banner .crumb { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.72); }
.page-banner .crumb a:hover { color: var(--orange-2); }

/* 富文本块 */
.prose { color: var(--text); }
.prose h2 { font-size: 22px; color: var(--navy); margin: 34px 0 14px; }
.prose h3 { font-size: 17px; color: var(--navy); margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; color: #46586a; }
.prose ul { margin: 0 0 16px 4px; }
.prose ul li { color: #46586a; padding-left: 20px; position: relative; margin-bottom: 8px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background: var(--navy-3); border-radius: 50%;
}

/* 联系信息 */
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px;
  background: rgba(11,60,93,0.07); display: flex; align-items: center; justify-content: center;
}
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item .t { font-size: 13px; color: var(--muted); }
.contact-item .v { font-size: 15px; color: var(--text); font-weight: 500; }

/* CTA 条 */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  padding: 40px 0;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 22px; font-weight: 700; }
.cta-band p { color: rgba(255,255,255,0.78); font-size: 13px; margin-top: 6px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 52px 0 0; font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 500; }
.site-footer .flogo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .flogo .flogo-img {
  height: 48px; width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  display: block;
}
.site-footer .flogo .mark {
  width: 36px; height: 36px; border-radius: 7px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
}
.site-footer .flogo .mark svg { width: 20px; height: 20px; }
/* 页脚：江苏瑞鼎分部信息 */
.fbranch { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.fbranch img {
  display: inline-block; height: 26px; width: auto;
  vertical-align: middle; margin-right: 8px;
  background: #fff; border-radius: 3px; padding: 2px;
}
.fbranch strong { color: #fff; font-weight: 500; vertical-align: middle; }
.fbranch p { margin-top: 6px; }
.fbranch a { text-decoration: underline; }
.fbranch a:hover { color: var(--orange-2); }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul li a:hover { color: var(--orange-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--orange-2); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .about-flex { flex-direction: column; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 56px 0 64px; }
  .logo-imgs .lg-js { height: 36px; }
  .logo-imgs .lg-sh { height: 33px; }
  .logo-imgs .lg-sep { height: 28px; }
}
@media (max-width: 760px) {
  .topstrip .wrap .hide-sm { display: none; }
  .site-header .wrap { height: 68px; }
  .logo .name { font-size: 20px; }
  .hamburger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav > a.active::after { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 48px 0; }
  .hero-stats { gap: 22px; }
  .page-banner h1 { font-size: 24px; }
  .logo-imgs { gap: 7px; }
  .logo-imgs .lg-js { height: 30px; }
  .logo-imgs .lg-sh { height: 27px; }
  .logo-imgs .lg-sep { height: 22px; }
}
@media (max-width: 560px) {
  .logo-imgs .lg-js { height: 24px; }
  .logo-imgs .lg-sh { height: 20px; }
  .logo-imgs .lg-sep { display: none; }
}
