/* ══════════════════════════════════════════
   Redes Sociales — estilos específicos de página
══════════════════════════════════════════ */

@keyframes imgFloat {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-16px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.45; transform: scale(1);    }
  50%       { opacity: 0.70; transform: scale(1.08); }
}

/* ── Sección principal ───────────────────── */
.rs-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 40%, rgba(37,101,165,0.08) 70%, var(--bg-2) 100%);
}

/* ── Fondo con parallax ──────────────────── */
.rs-bg-outer {
  position: absolute;
  inset: 0; top: -10%; height: 120%;
  pointer-events: none; will-change: transform; overflow: hidden;
}
.rs-bg-inner {
  position: absolute; inset: 0;
  background-image: url('../assets/gb-particulas.webp');
  background-size: cover; background-position: center;
  opacity: 0.18;
}

/* ── Utilidad z-index ────────────────────── */
.rs-rel-z1 { position: relative; z-index: 1; }

/* ── Grid 2 columnas ─────────────────────── */
.rs-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Texto ───────────────────────────────── */
.rs-section-sub { max-width: 100%; margin-top: 14px; margin-bottom: 36px; }

/* ── Imagen animada ──────────────────────── */
.rs-img-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.rs-glow {
  position: absolute; width: 72%; height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,101,165,0.55) 0%, transparent 70%);
  filter: blur(48px);
  animation: glowPulse 3.6s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.rs-img-wrap { will-change: transform; width: 100%; }
.rs-img-float {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; display: block;
  animation: imgFloat 4.2s ease-in-out infinite;
  filter: drop-shadow(0 28px 48px rgba(0,0,0,0.55));
}

/* ── Items de servicio ───────────────────── */
.rs-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 20px; border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.rs-item:hover {
  background: rgba(37,101,165,0.07);
  border-color: rgba(37,101,165,0.25);
}
.rs-item-num {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; color: var(--blue); opacity: 0.6;
  margin-top: 3px; flex-shrink: 0; width: 22px;
}
.rs-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  transition: transform 0.25s ease;
}
.rs-item:hover .rs-item-icon { transform: scale(1.1); }
.rs-item-body strong {
  display: block; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 15px; color: #fff; margin-bottom: 6px;
}
.rs-item-body p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin: 0; }

/* ── Colores de íconos ───────────────────── */
.rs-icon--blue  { background: rgba(37,101,165,0.15); color: var(--blue); }
.rs-icon--red   { background: rgba(242,40,29,0.1);   color: #f2281d; }
.rs-icon--green { background: rgba(32,165,72,0.1);   color: #20a548; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .rs-2col { grid-template-columns: 1fr; }
  .rs-img-col { margin-top: 40px; }
}
