/* 瑞泉水处理 - 共享基础样式 */
:root {
  --rq-bg: #ffffff;
  --rq-text: #1a1f2c;
  --rq-muted: #5b6473;
  --rq-line: #e6e8ef;
  --rq-radius: 14px;
  --rq-radius-sm: 8px;
  --rq-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  --rq-shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.12);
  --rq-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --rq-title-size: 22px;
  --rq-faq-num-size: 16px;
  --rq-faq-q-size: 16px;
  --rq-faq-a-size: 15px;
  --rq-footer-text: 13px;
  --rq-copy-text: 13px;
  --rq-cont-label: 13px;
  --rq-cont-value: 15px;
  --rq-section-title: 28px;
  --rq-banner-title: 42px;
  --rq-banner-sub: 16px;
  --rq-primary: #0c5cab;
  --rq-primary-deep: #08447f;
  --rq-accent: #16a3a3;
  --rq-soft: #eef4fb;
  --rq-grad-1: #0c5cab;
  --rq-grad-2: #16a3a3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--rq-font);
  color: var(--rq-text);
  background: var(--rq-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rq-primary); }
button { font-family: inherit; cursor: pointer; }

.rq-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 Banner 区 */
.rq-topbar {
  position: relative;
  background:
    linear-gradient(135deg, var(--rq-grad-1) 0%, var(--rq-grad-2) 100%);
  color: #fff;
  overflow: hidden;
}
.rq-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 80% 10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(700px 320px at 10% 90%, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
.rq-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: .55;
}
.rq-topbar-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px 56px;
}
.rq-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.rq-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.rq-logo-main, .rq-logo-sub, .rq-logo-sep {
  font-size: 22px;
  line-height: 1;
}
.rq-logo-sep { opacity: .85; font-weight: 500; }
.rq-logo-main { font-weight: 800; }
.rq-logo-sub { font-weight: 500; opacity: .95; }
.rq-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.rq-city-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}

.rq-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 18px;
}

/* 导航 */
.rq-nav {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 22px auto 0;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  backdrop-filter: blur(6px);
}
.rq-nav a {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: all .25s ease;
  white-space: nowrap;
}
.rq-nav a:hover, .rq-nav a.rq-active {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.rq-banner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.rq-banner-text h1 {
  margin: 0 0 14px;
  font-size: var(--rq-banner-title);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.rq-banner-text h1 span { color: #ffe66d; }
.rq-banner-text p {
  margin: 0 0 22px;
  font-size: var(--rq-banner-sub);
  opacity: .94;
  line-height: 1.85;
}
.rq-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #fff;
  color: var(--rq-primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .25s ease;
}
.rq-banner-cta:hover { transform: translateY(-2px); color: var(--rq-primary); }
.rq-banner-art {
  position: relative;
  height: 280px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.rq-banner-art::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.18) 30deg, transparent 60deg);
  animation: rq-spin 16s linear infinite;
}
.rq-banner-art::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(255,255,255,0.30);
  border-radius: 12px;
}
.rq-banner-icon {
  position: relative;
  z-index: 1;
  font-size: 86px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
@keyframes rq-spin { to { transform: rotate(360deg); } }

/* 通用模块 */
.rq-section {
  padding: 64px 0;
  position: relative;
}
.rq-section-soft { background: var(--rq-soft); }
.rq-section-head {
  text-align: center;
  margin: 0 0 40px;
}
.rq-section-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  background: var(--rq-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.rq-section-title {
  margin: 0 0 10px;
  font-size: var(--rq-section-title);
  font-weight: 800;
  color: var(--rq-text);
}
.rq-section-desc {
  margin: 0;
  color: var(--rq-muted);
  font-size: 14px;
  max-width: 720px;
  margin: 0 auto;
}

/* 关于我们 */
.rq-about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.rq-about-text h3 {
  margin: 0 0 14px;
  font-size: 24px;
  color: var(--rq-primary);
}
.rq-about-text p { margin: 0 0 12px; color: #2a3140; line-height: 1.85; }
.rq-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.rq-stat {
  background: var(--rq-soft);
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 18px 16px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rq-stat:hover { transform: translateY(-3px); box-shadow: var(--rq-shadow); }
.rq-stat-num { font-size: 28px; font-weight: 800; color: var(--rq-primary); }
.rq-stat-label { color: var(--rq-muted); font-size: 13px; margin-top: 4px; }
.rq-about-art {
  position: relative;
  height: 360px;
  border-radius: var(--rq-radius);
  background: linear-gradient(135deg, var(--rq-soft), #fff);
  border: 1px solid var(--rq-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rq-about-art::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(12,92,171,0.10), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(22,163,163,0.10), transparent 50%);
  animation: rq-pulse 8s ease-in-out infinite alternate;
}
@keyframes rq-pulse { from { transform: translate(-2%,-2%); } to { transform: translate(2%,2%); } }
.rq-about-art-icon { position: relative; font-size: 100px; z-index: 1; }

/* 产品 */
.rq-cat { margin-bottom: 38px; }
.rq-cat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rq-text);
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--rq-primary);
}
.rq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rq-card {
  background: #fff;
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.rq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rq-shadow);
  border-color: var(--rq-primary);
}
.rq-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--rq-soft), #fff);
  overflow: hidden;
}
.rq-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.rq-card:hover .rq-card-img img { transform: scale(1.05); }
.rq-card-name {
  padding: 12px 14px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rq-text);
  line-height: 1.45;
}
.rq-card-desc {
  padding: 0 14px 14px;
  font-size: 12.5px;
  color: var(--rq-muted);
  line-height: 1.65;
  flex: 1;
}

/* 应用场景 */
.rq-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rq-scene {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  transition: all .25s ease;
}
.rq-scene:hover {
  transform: translateY(-3px);
  box-shadow: var(--rq-shadow);
  border-color: var(--rq-primary);
}
.rq-scene-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--rq-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--rq-primary);
}
.rq-scene-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.rq-scene-desc { font-size: 13.5px; color: var(--rq-muted); line-height: 1.7; }

/* FAQ */
.rq-faq {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rq-faq-item {
  background: #fff;
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rq-faq-item.rq-open { border-color: var(--rq-primary); box-shadow: var(--rq-shadow); }
.rq-faq-q {
  padding: 16px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--rq-faq-q-size);
  font-weight: 600;
  user-select: none;
}
.rq-faq-num { color: var(--rq-primary); font-weight: 800; }
.rq-faq-arrow {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--rq-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--rq-primary);
  transition: transform .25s ease;
}
.rq-faq-item.rq-open .rq-faq-arrow { transform: rotate(45deg); }
.rq-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.rq-faq-item.rq-open .rq-faq-a { max-height: 320px; }
.rq-faq-a-inner {
  padding: 0 22px 18px;
  color: #2a3140;
  font-size: var(--rq-faq-a-size);
  line-height: 1.85;
}

/* 产品分站 + 城市链接 */
.rq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.rq-pill {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--rq-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--rq-text);
  transition: all .2s ease;
}
.rq-pill:hover {
  border-color: var(--rq-primary);
  color: var(--rq-primary);
  background: var(--rq-soft);
  transform: translateY(-2px);
}

/* 联系方式 */
.rq-contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 28px;
  box-shadow: var(--rq-shadow);
}
.rq-contact-item {
  padding: 16px;
  background: var(--rq-soft);
  border-radius: var(--rq-radius-sm);
  border: 1px solid rgba(12,92,171,0.10);
}
.rq-contact-label {
  font-size: var(--rq-cont-label);
  color: var(--rq-muted);
  margin-bottom: 6px;
}
.rq-contact-value {
  font-size: var(--rq-cont-value);
  font-weight: 600;
  color: var(--rq-text);
  word-break: break-all;
}
.rq-contact-qr { text-align: center; }
.rq-qr {
  width: 130px;
  height: 130px;
  margin: 6px auto 6px;
  border: 1px solid var(--rq-line);
  border-radius: 8px;
  background: #fff;
}
.rq-qr-tip { font-size: 12px; color: var(--rq-muted); }
.rq-phone a { color: var(--rq-primary); font-weight: 800; }

/* 底部 */
.rq-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 28px 0 32px;
  margin-top: 40px;
}
.rq-footer a { color: #93c5fd; }
.rq-footer a:hover { color: #fff; }
.rq-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: var(--rq-footer-text);
  text-align: center;
}
.rq-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 6px 0;
  line-height: 1.85;
}

/* Reveal */
.rq-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.rq-reveal.rq-show { opacity: 1; transform: translateY(0); }

/* 灯箱 */
.rq-lb {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 30, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.rq-lb.rq-show { display: flex; }
.rq-lb-inner {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  background: #fff;
  border-radius: var(--rq-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.rq-lb-inner img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #0a0f1c;
}
.rq-lb-cap {
  padding: 12px 18px;
  background: #fff;
  color: var(--rq-text);
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--rq-line);
}
.rq-lb-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 响应式 */
@media (max-width: 1024px) {
  .rq-grid { grid-template-columns: repeat(3, 1fr); }
  .rq-banner { grid-template-columns: 1fr; }
  .rq-banner-art { height: 220px; }
  .rq-banner-text h1 { font-size: 32px; }
  .rq-about { grid-template-columns: 1fr; }
  .rq-about-art { height: 260px; }
  .rq-scenes { grid-template-columns: repeat(2, 1fr); }
  .rq-contact-card { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rq-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-nav {
    display: none;
    flex-direction: column;
    padding: 8px;
  }
  .rq-nav.rq-open { display: flex; }
  .rq-nav a { text-align: left; }
  .rq-burger { display: inline-flex; align-items: center; justify-content: center; }
  .rq-banner-text h1 { font-size: 26px; }
  .rq-banner-text p { font-size: 14px; }
  .rq-section { padding: 44px 0; }
  .rq-section-title { font-size: 22px; }
  .rq-scenes { grid-template-columns: 1fr; }
  .rq-contact-card { grid-template-columns: 1fr; }
  .rq-logo-main, .rq-logo-sub, .rq-logo-sep { font-size: 18px; }
  .rq-topbar-inner { padding: 16px 16px 40px; }
}
@media (max-width: 480px) {
  .rq-grid { grid-template-columns: 1fr; }
}
