/* SYNARIQ — Equipo en burbujas (team.html) */
.snq-team-orbit {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(0, 143, 90, 0.1), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 72%, rgba(0, 143, 90, 0.07), transparent 55%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 45%, #f3f7f5 100%);
}

.snq-team-orbit::before,
.snq-team-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.snq-team-orbit::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  border: 1px solid rgba(0, 143, 90, 0.12);
  animation: snqBubbleDrift 18s ease-in-out infinite;
}

.snq-team-orbit::after {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -60px;
  border: 1px solid rgba(0, 143, 90, 0.1);
  animation: snqBubbleDrift 22s ease-in-out infinite reverse;
}

.snq-team-orbit > .container {
  position: relative;
  z-index: 1;
}

.snq-team-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 36px;
  padding: 20px 0 10px;
}

.snq-team-bubble {
  --size: 200px;
  width: var(--size);
  text-align: center;
  animation: snqBubbleFloat 5.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.snq-team-bubble.is-lg,
.snq-team-bubble.is-md,
.snq-team-bubble.is-sm {
  --size: 200px;
}

.snq-team-bubble-link {
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.snq-team-bubble-visual {
  position: relative;
  display: block;
  width: var(--size);
  height: var(--size);
  min-width: 148px;
  min-height: 148px;
  margin: 0 auto 18px;
}

.snq-team-bubble-ring {
  position: absolute;
  display: block;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 143, 90, 0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease, box-shadow 0.45s ease;
}

.snq-team-bubble-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 143, 90, 0.28);
  animation: snqRingSpin 28s linear infinite;
}

.snq-team-bubble-photo {
  position: absolute;
  display: block;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #dfe8e3;
  box-shadow:
    0 18px 40px rgba(16, 40, 30, 0.14),
    0 0 0 6px rgba(255, 255, 255, 0.92),
    0 0 0 8px rgba(0, 143, 90, 0.18);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.snq-team-bubble-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.04);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.snq-team-bubble-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 143, 90, 0.28), transparent 70%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.snq-team-bubble-meta {
  display: block;
}

.snq-team-bubble-meta strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #121212;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.snq-team-bubble-meta em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 143, 90, 0.9);
}

.snq-team-bubble-link:hover .snq-team-bubble-photo,
.snq-team-bubble-link:focus-visible .snq-team-bubble-photo {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 28px 55px rgba(16, 40, 30, 0.2),
    0 0 0 7px rgba(255, 255, 255, 0.95),
    0 0 0 11px rgba(0, 143, 90, 0.45);
}

.snq-team-bubble-link:hover .snq-team-bubble-photo img,
.snq-team-bubble-link:focus-visible .snq-team-bubble-photo img {
  transform: scale(1.1);
  filter: saturate(1.08);
}

.snq-team-bubble-link:hover .snq-team-bubble-ring,
.snq-team-bubble-link:focus-visible .snq-team-bubble-ring {
  transform: scale(1.08);
  border-color: rgba(0, 143, 90, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 143, 90, 0.12);
}

.snq-team-bubble-link:hover .snq-team-bubble-glow,
.snq-team-bubble-link:focus-visible .snq-team-bubble-glow {
  opacity: 1;
}

.snq-team-bubble-link:hover .snq-team-bubble-meta strong,
.snq-team-bubble-link:focus-visible .snq-team-bubble-meta strong {
  color: rgb(0, 143, 90);
}

@keyframes snqBubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes snqBubbleDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-18px, 14px);
  }
}

@keyframes snqRingSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snq-team-bubble,
  .snq-team-orbit::before,
  .snq-team-orbit::after,
  .snq-team-bubble-ring::before {
    animation: none !important;
  }
}

@media screen and (max-width: 992px) {
  .snq-team-bubble,
  .snq-team-bubble.is-lg,
  .snq-team-bubble.is-md,
  .snq-team-bubble.is-sm {
    --size: 170px;
  }

  .snq-team-bubbles {
    gap: 24px 22px;
  }
}

@media screen and (max-width: 575px) {
  .snq-team-bubble,
  .snq-team-bubble.is-lg,
  .snq-team-bubble.is-md,
  .snq-team-bubble.is-sm {
    --size: 148px;
  }

  .snq-team-bubble-meta strong {
    font-size: 15px;
  }

  .snq-team-bubble-meta em {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}
