/* ========== 基础重置 ========== */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
  background: #f6f8fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: #111827; }
button { font-family: inherit; cursor: pointer; }

:root {
  --rq-primary: #1e5fae;
  --rq-primary-dark: #0c3b75;
  --rq-accent: #f59e0b;
  --rq-text: #1f2937;
  --rq-muted: #6b7280;
  --rq-bg: #f6f8fb;
  --rq-card: #ffffff;
  --rq-border: #e5e7eb;
  --rq-radius: 12px;
  --rq-max: 1240px;
}

/* ========== 容器 ========== */
.rq-container { max-width: var(--rq-max); margin: 0 auto; padding: 0 20px; }

/* ========== 导航 ========== */
.rq-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  transition: all 0.3s ease;
}
.rq-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rq-logo { display: flex; align-items: center; gap: 8px; color: #fff; }
.rq-logo-main { font-size: 26px; font-weight: 700; letter-spacing: 1px; }
.rq-logo-divider { font-size: 26px; font-weight: 400; opacity: 0.7; margin: 0 2px; }
.rq-logo-sub { font-size: 26px; font-weight: 600; opacity: 0.95; }
.rq-nav { display: flex; align-items: center; }
.rq-nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.rq-nav-list a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}
.rq-nav-list a:hover { color: #fff; background: rgba(255,255,255,0.15); }
.rq-nav-fixed {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  background: rgba(12, 59, 117, 0.96) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  padding: 12px 0;
}
.rq-nav-fixed .rq-nav-list a:hover { background: rgba(255,255,255,0.18); }

/* ========== Banner ========== */
.rq-banner {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 760px;
  background: linear-gradient(135deg, #0c3b75 0%, #1e5fae 60%, #2563eb 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.rq-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: saturate(1.05);
  animation: rqBgZoom 22s ease-in-out infinite alternate;
}
@keyframes rqBgZoom {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.08) translate(-10px, -10px); }
}
.rq-banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,20,46,0.55) 0%, rgba(6,20,46,0.25) 50%, rgba(6,20,46,0.65) 100%);
}
.rq-banner-inner { position: relative; z-index: 2; width: 100%; color: #fff; padding-top: 60px; }
.rq-banner-eyebrow { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; backdrop-filter: blur(6px); }
.rq-banner h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  max-width: 880px;
}
.rq-banner-sub { font-size: 17px; color: rgba(255,255,255,0.92); max-width: 720px; line-height: 1.8; }
.rq-banner-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.rq-banner-tags span { padding: 8px 16px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; font-size: 13px; backdrop-filter: blur(4px); }
.rq-banner-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.rq-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.rq-btn-primary { background: var(--rq-accent); color: #1f2937; }
.rq-btn-primary:hover { background: #fbbf24; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,158,11,0.4); }
.rq-btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.rq-btn-ghost:hover { background: rgba(255,255,255,0.22); }
.rq-banner-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.rq-banner-wave svg { width: 100%; height: 60px; }

/* ========== 通用 Section ========== */
.rq-section { padding: 72px 0; }
.rq-section-head { text-align: center; margin-bottom: 44px; }
.rq-section-eyebrow { color: var(--rq-primary); font-size: 13px; letter-spacing: 3px; font-weight: 600; }
.rq-section-head h2 { font-size: 32px; color: #111827; margin: 12px 0 14px; }
.rq-section-head p { color: var(--rq-muted); max-width: 720px; margin: 0 auto; font-size: 15px; }
.rq-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rq-reveal.rq-show { opacity: 1; transform: translateY(0); }

/* ========== 关于 ========== */
.rq-about { background: #fff; }
.rq-about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.rq-about-img {
  height: 380px;
  border-radius: var(--rq-radius);
  background: linear-gradient(135deg, var(--rq-primary), var(--rq-primary-dark));
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,42,90,0.18);
}
.rq-about-img::after {
  content: '';
  position: absolute; inset: 0;
  background: url('https://www.sxrq.cn/img/ruiquan.114.jpg') center/cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}
.rq-about-img-num {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  display: flex; gap: 12px;
}
.rq-about-img-num div {
  flex: 1; background: rgba(255,255,255,0.92);
  padding: 12px 14px; border-radius: 10px;
  text-align: center;
}
.rq-about-img-num b { display: block; font-size: 22px; color: var(--rq-primary); }
.rq-about-img-num small { color: var(--rq-muted); font-size: 12px; }
.rq-about-txt h2 { font-size: 30px; margin-bottom: 18px; }
.rq-about-txt p { color: #374151; margin-bottom: 14px; }
.rq-about-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rq-about-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; }
.rq-about-list li::before { content: '✓'; color: var(--rq-primary); font-weight: 700; }

/* ========== 优势 ========== */
.rq-advantage { background: var(--rq-bg); }
.rq-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rq-adv-card {
  background: #fff; border-radius: var(--rq-radius); padding: 28px 22px;
  box-shadow: 0 6px 20px rgba(15,42,90,0.06);
  border: 1px solid var(--rq-border);
  transition: all 0.3s ease;
}
.rq-adv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,42,90,0.12); border-color: var(--rq-primary); }
.rq-adv-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--rq-primary), var(--rq-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.rq-adv-card h4 { font-size: 17px; margin-bottom: 8px; }
.rq-adv-card p { color: var(--rq-muted); font-size: 14px; margin: 0; }

/* ========== 产品 ========== */
.rq-products { background: #fff; }
.rq-cat { margin-bottom: 44px; }
.rq-cat-title { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.rq-cat-bar { width: 6px; height: 22px; background: linear-gradient(180deg, var(--rq-primary), var(--rq-primary-dark)); border-radius: 3px; }
.rq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rq-card { background: #fff; border: 1px solid var(--rq-border); border-radius: var(--rq-radius); overflow: hidden; cursor: zoom-in; transition: all 0.3s ease; }
.rq-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,90,0.12); border-color: var(--rq-primary); }
.rq-card-img { aspect-ratio: 4/3; overflow: hidden; background: #f1f5f9; }
.rq-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rq-card:hover .rq-card-img img { transform: scale(1.06); }
.rq-card-body { padding: 16px 16px 18px; }
.rq-card-body h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.rq-card-body p { color: var(--rq-muted); font-size: 13px; line-height: 1.65; margin: 0 0 10px; min-height: 64px; }
.rq-card-tag { display: inline-block; padding: 3px 10px; background: rgba(30,95,174,0.08); color: var(--rq-primary); border-radius: 999px; font-size: 12px; }

/* ========== 场景 ========== */
.rq-scenes { background: linear-gradient(180deg, #f6f8fb 0%, #eef3fb 100%); }
.rq-scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rq-scene-card { position: relative; height: 220px; border-radius: var(--rq-radius); overflow: hidden; box-shadow: 0 8px 22px rgba(15,42,90,0.1); }
.rq-scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rq-scene-card:hover img { transform: scale(1.08); }
.rq-scene-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,20,46,0.7) 0%, rgba(6,20,46,0) 60%); }
.rq-scene-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 2; }
.rq-scene-cap h4 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.rq-scene-cap p { margin: 0; font-size: 13px; opacity: 0.9; }

/* ========== 案例 ========== */
.rq-cases { background: #fff; }
.rq-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rq-case-card { background: #f6f8fb; border-radius: var(--rq-radius); overflow: hidden; border: 1px solid var(--rq-border); transition: all 0.3s ease; }
.rq-case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,90,0.12); }
.rq-case-img { aspect-ratio: 16/10; overflow: hidden; }
.rq-case-img img { width: 100%; height: 100%; object-fit: cover; }
.rq-case-body { padding: 18px 20px 22px; }
.rq-case-body h4 { font-size: 17px; margin-bottom: 8px; }
.rq-case-body p { color: var(--rq-muted); font-size: 14px; margin: 0; }

/* ========== FAQ ========== */
.rq-faq { background: var(--rq-bg); }
.rq-faq-list { max-width: 920px; margin: 0 auto; }
.rq-faq-item { background: #fff; border-radius: var(--rq-radius); margin-bottom: 14px; border: 1px solid var(--rq-border); overflow: hidden; transition: box-shadow 0.3s ease; }
.rq-faq-item.open { box-shadow: 0 12px 30px rgba(15,42,90,0.08); border-color: var(--rq-primary); }
.rq-faq-q { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; user-select: none; }
.rq-faq-num { flex: 0 0 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--rq-primary), var(--rq-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.rq-faq-qtext { flex: 1; font-size: 16px; font-weight: 500; color: #111827; }
.rq-faq-arr { width: 14px; height: 14px; border-right: 2px solid var(--rq-primary); border-bottom: 2px solid var(--rq-primary); transform: rotate(45deg); transition: transform 0.3s ease; }
.rq-faq-item.open .rq-faq-arr { transform: rotate(-135deg); }
.rq-faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: #4b5563; line-height: 1.8; font-size: 14px; }
.rq-faq-item.open .rq-faq-a { padding: 0 22px 20px; max-height: 600px; }

/* ========== 其他设备站 ========== */
.rq-other-sites { background: linear-gradient(135deg, #0c3b75 0%, #1e5fae 100%); color: #fff; }
.rq-other-sites .rq-section-head h2 { color: #fff; }
.rq-other-sites .rq-section-head p { color: rgba(255,255,255,0.85); }
.rq-other-sites .rq-section-eyebrow { color: #fcd34d; }
.rq-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rq-other-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 22px 24px; border-radius: var(--rq-radius); display: flex; align-items: center; justify-content: space-between; transition: all 0.3s ease; }
.rq-other-item:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.rq-other-item strong { color: #fff; font-size: 17px; }
.rq-other-item span { color: rgba(255,255,255,0.8); font-size: 13px; }

/* ========== 城市链接 ========== */
.rq-cities { background: #fff; }
.rq-city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rq-city-item { padding: 14px 16px; background: #f6f8fb; border: 1px solid var(--rq-border); border-radius: 10px; display: flex; flex-direction: column; align-items: flex-start; transition: all 0.25s ease; }
.rq-city-item:hover { background: var(--rq-primary); color: #fff; border-color: var(--rq-primary); transform: translateY(-2px); }
.rq-city-item:hover small { color: rgba(255,255,255,0.85); }
.rq-city-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rq-accent); margin-bottom: 6px; }
.rq-city-item small { color: var(--rq-muted); font-size: 12px; margin-top: 4px; }

/* ========== 联系 ========== */
.rq-contact-sec { background: linear-gradient(180deg, #f6f8fb 0%, #e9eef7 100%); }
.rq-contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: stretch; }
.rq-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rq-contact-card { background: #fff; border-radius: var(--rq-radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 4px 14px rgba(15,42,90,0.06); border: 1px solid var(--rq-border); }
.rq-contact-ico { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--rq-primary), var(--rq-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.rq-contact-txt label { display: block; font-size: 12px; color: var(--rq-muted); margin-bottom: 4px; }
.rq-contact-txt span { font-size: 15px; color: #111827; font-weight: 500; word-break: break-all; }
.rq-contact-side { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }
.rq-contact-qr { background: #fff; padding: 18px; border-radius: var(--rq-radius); box-shadow: 0 4px 14px rgba(15,42,90,0.08); text-align: center; }
.rq-contact-qr img { width: 180px; height: 180px; border-radius: 8px; }
.rq-contact-qr p { margin: 10px 0 0; color: var(--rq-muted); font-size: 13px; }
.rq-contact-weibo { display: inline-block; padding: 10px 22px; background: #fff; border-radius: 999px; color: var(--rq-primary); font-weight: 500; box-shadow: 0 4px 12px rgba(15,42,90,0.08); }

/* ========== 灯箱 ========== */
.rq-lightbox { position: fixed; inset: 0; background: rgba(6,20,46,0.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 30px; }
.rq-lightbox.open { display: flex; }
.rq-lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.5); }
.rq-lightbox-cap { color: #fff; margin-top: 16px; font-size: 16px; text-align: center; }
.rq-lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.16); border: none; color: #fff; font-size: 28px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }

/* ========== 页脚 ========== */
.rq-footer { background: #0a1a36; color: #cbd5e1; padding: 40px 0 20px; }
.rq-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.rq-footer h5 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.rq-footer p, .rq-footer a { color: #94a3b8; font-size: 13px; line-height: 1.9; }
.rq-footer a:hover { color: #fff; }
.rq-footer-list { list-style: none; padding: 0; margin: 0; }
.rq-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; text-align: center; font-size: 12px; color: #94a3b8; }
.rq-footer-bottom a { color: #94a3b8; }
.rq-footer-bottom a:hover { color: #fff; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .rq-nav-list a { padding: 8px 12px; font-size: 14px; }
  .rq-banner h1 { font-size: 36px; }
  .rq-grid { grid-template-columns: repeat(3, 1fr); }
  .rq-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-scene-grid, .rq-case-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-other-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-city-grid { grid-template-columns: repeat(3, 1fr); }
  .rq-about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rq-header { padding: 12px 0; }
  .rq-logo-main, .rq-logo-sub, .rq-logo-divider { font-size: 20px; }
  .rq-nav-list { display: none; }
  .rq-banner { height: auto; min-height: 480px; padding: 120px 0 80px; }
  .rq-banner h1 { font-size: 28px; }
  .rq-banner-sub { font-size: 15px; }
  .rq-section { padding: 56px 0; }
  .rq-section-head h2 { font-size: 24px; }
  .rq-grid, .rq-adv-grid, .rq-scene-grid, .rq-case-grid, .rq-other-grid { grid-template-columns: 1fr; }
  .rq-city-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-contact-wrap { grid-template-columns: 1fr; }
  .rq-contact-grid { grid-template-columns: 1fr; }
  .rq-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .rq-about-list { grid-template-columns: 1fr; }
}
