/* 上海锐驰实验设备有限公司 - 商务稳重风站点样式 */
:root {
  --navy: #14324f;
  --navy-dark: #0d2438;
  --navy-light: #1d4468;
  --steel: #2e6da4;
  --accent: #c8a45c;
  --text: #2b3440;
  --text-light: #6b7684;
  --bg: #ffffff;
  --bg-gray: #f4f6f8;
  --border: #dfe4e9;
  --radius: 6px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.topbar {
  background: var(--navy-dark);
  color: #9fb3c8;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; }

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(13, 36, 56, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text { line-height: 1.25; }
.logo-text .cn { font-size: 18px; font-weight: 700; color: var(--navy); display: block; }
.logo-text .en { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }

.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 15px;
  border-radius: var(--radius);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--navy);
  background: var(--bg-gray);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
}
.hero h1 { font-size: 40px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.hero .sub { font-size: 19px; color: #c9d6e2; max-width: 640px; margin-bottom: 36px; }
.hero .accent-line { width: 64px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 24px; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #3d2f10; }
.btn-primary:hover { background: #d4b273; }
.btn-outline { border: 1px solid rgba(255,255,255,0.5); color: #fff; margin-left: 12px; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section.gray { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 30px; color: var(--navy); margin-bottom: 10px; }
.section-head .en { font-size: 13px; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; }
.section-head p { color: var(--text-light); max-width: 720px; margin: 8px auto 0; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 8px 24px rgba(13,36,56,0.10); transform: translateY(-2px); }
.card-img {
  background: #fff;
  height: 250px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.card-img img { max-height: 100%; object-fit: contain; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body .brand-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  color: var(--steel);
  background: #eaf1f7;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--text-light); flex: 1; }
.card-body .more { margin-top: 14px; font-size: 14px; font-weight: 600; }

/* 品牌区块 */
.brand-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.brand-block:last-child { margin-bottom: 0; }
.brand-block.flip .brand-img { order: 2; }
.brand-img {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; align-items: center; justify-content: center;
}
.brand-img img { max-height: 320px; object-fit: contain; }
.brand-info .brand-origin { font-size: 13px; color: var(--accent); letter-spacing: 2px; margin-bottom: 6px; }
.brand-info h2 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.brand-info p { color: var(--text-light); margin-bottom: 16px; }
.brand-info ul { list-style: none; margin-bottom: 20px; }
.brand-info ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 15px;
}
.brand-info ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--steel);
  border-radius: 3px;
  clip-path: polygon(20% 45%, 42% 68%, 82% 22%, 100% 38%, 44% 96%, 4% 60%);
}

/* 特性块 */
.feature { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.feature .num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.feature h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-light); }

/* CTA 条 */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #c9d6e2; }
.cta-actions { display: flex; align-items: center; gap: 26px; }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.cta-qr img { width: 96px; height: 96px; background: #fff; border-radius: 5px; }
.cta-qr span { font-size: 12px; color: #c9d6e2; line-height: 1; }

/* 页脚 */
.site-footer { background: var(--navy-dark); color: #8fa4b8; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #8fa4b8; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #8fa4b8; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.info-item { margin-bottom: 22px; }
.info-item .label { font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
.info-item .value { font-size: 16px; color: var(--navy); font-weight: 600; }
.qr-box {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 400;
}
.qr-box img { width: 108px; height: 108px; }
.qr-box span { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.qr-box em { font-style: normal; font-size: 12px; color: #9aa5b1; }
.note-box {
  background: #fdf8ee;
  border: 1px solid #eadfbe;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: #7a6330;
  margin-top: 20px;
}

/* 面包屑 */
.breadcrumb { font-size: 13px; color: var(--text-light); padding: 18px 0 0; }
.breadcrumb a { color: var(--text-light); }

/* 页面小 banner */
.page-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-light));
  color: #fff;
  padding: 52px 0;
}
.page-banner h1 { font-size: 30px; }
.page-banner p { color: #c9d6e2; margin-top: 6px; }

/* 表格 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--bg-gray); color: var(--navy); font-weight: 600; }

/* 响应式 */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .brand-block { grid-template-columns: 1fr; }
  .brand-block.flip .brand-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header .container { flex-direction: column; height: auto; padding: 12px 24px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 12px; text-align: center; }
  .topbar .container { justify-content: center; }
  .logo { gap: 8px; }
  .logo-text .cn { font-size: 16px; }
  .logo-text .en { font-size: 9px; letter-spacing: 0; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .qr-box { width: 100%; }
  .qr-box img { width: 96px; height: 96px; }
  .cta-qr img { width: 88px; height: 88px; }
}
