/* ============================================================
   style-responsive.css — 响应式网站（独立布局：三屏圆环 + 设备矩阵）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：三屏圆环 ---------- */
.rs-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.rs-hero::before {
  content: "";
  position: absolute;
  left: -240px; top: -240px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.rs-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.rs-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.rs-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.rs-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.rs-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.rs-devices { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.rs-device {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.rs-device:hover { border-color: var(--ink); transform: scale(1.06); }
.rs-device svg { color: var(--ink); }
.rs-device b { font-size: 13px; color: var(--ink); margin-top: 6px; font-weight: 700; }
.rs-device.d1 { left: 0; top: 40px; width: 170px; height: 170px; }
.rs-device.d2 { right: 0; top: 0; width: 130px; height: 130px; }
.rs-device.d3 { right: 60px; bottom: 0; width: 100px; height: 100px; }
.rs-device.d3 b { display: none; }
.rs-device::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  animation: rsSpin 40s linear infinite;
}
@keyframes rsSpin { to { transform: rotate(360deg); } }

/* ---------- 三端一致 ---------- */
.rs-trio { background: var(--gray-50); overflow: hidden; position: relative; }
.rs-trio::before {
  content: "";
  position: absolute;
  right: -160px; bottom: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.rs-trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.rs-trio-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center; transition: all var(--transition); }
.rs-trio-card:nth-child(2) { transform: translateY(28px); }
.rs-trio-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.rs-trio-card:nth-child(2):hover { transform: translateY(-4px); }
.rs-trio-ico {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--transition);
}
.rs-trio-card:hover .rs-trio-ico { background: var(--ink); color: #fff; }
.rs-trio-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.rs-trio-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- 特性 ---------- */
.rs-feat { background: var(--white); position: relative; overflow: hidden; }
.rs-feat::after {
  content: "";
  position: absolute;
  left: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.rs-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.rs-feat-card { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px 24px; background: var(--gray-50); transition: all var(--transition); }
.rs-feat-card:hover { border-color: var(--ink); transform: translateX(6px); }
.rs-feat-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.rs-feat-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.rs-feat-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- CTA（本页专属） ---------- */
.rs-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.rs-sec-cta::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -260px;
  transform: translateX(-50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.rs-sec-cta::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -180px;
  transform: translateX(-50%);
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
  pointer-events: none;
}
.rs-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.rs-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.rs-sec-cta .cta-contact a { color: #fff; }
.rs-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .rs-hero { padding-top: 148px; }
  .rs-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .rs-devices { width: min(340px, 72vw); height: min(340px, 72vw); }
  .rs-trio-grid { grid-template-columns: 1fr; }
  .rs-trio-card:nth-child(2) { transform: none; }
  .rs-feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rs-hero { padding: 132px 0 56px; }
}
