/* =========================================================
   RD2044 - Equipo web listo para integrar
   Copia la sección HTML y este CSS en tu diseño.
   ========================================================= */

:root {
  --rd-bg: #030a12;
  --rd-panel: #06111c;
  --rd-cyan: #18c8ff;
  --rd-cyan-soft: rgba(24, 200, 255, .72);
  --rd-green: #b4d72f;
  --rd-text: #f5fbff;
  --rd-muted: #7f8a96;
  --rd-line: rgba(255,255,255,.07);
}

* { box-sizing: border-box; }

body22 {
  margin: 0;
  background: #02070d;
  font-family: Arial, Helvetica, sans-serif;
}

.rd2044-team-section {
  position: relative;
  overflow: hidden;
  padding: 86px 38px 72px;
  color: var(--rd-text);
  text-align: left !important;
  background:
    radial-gradient(circle at 20% 8%, rgba(24, 200, 255, .12), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(180, 215, 47, .08), transparent 24%),
    linear-gradient(180deg, #02080f 0%, #03101a 52%, #02070d 100%);
}

.rd2044-team-section * {
  text-align: left !important;
}

.rd2044-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24,200,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,200,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 74%, transparent);
}

.rd2044-team-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 116px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,200,255,.16), transparent);
}

.rd2044-team-container {
  position: relative;
  z-index: 2;
  width: min(1232px, 100%);
  margin: 0 auto;
}

.rd2044-team-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 58px;
}

.rd2044-team-copy h2 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: -.045em;
  font-weight: 900;
  text-align: left !important;
}

.rd2044-team-copy h2 span {
  color: #72bf44;
  text-shadow: 0 0 22px rgba(114, 191, 68, .55);
}

.rd2044-team-copy p {
  width: min(510px, 100%);
  margin: 24px 0 0;
  color: #75808b;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  text-align: left !important;
}

.rd2044-team-btn {
  margin-top: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(180, 215, 47, .26);
  color: #a7cf30;
  background: rgba(0, 0, 0, .18);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 800;
  box-shadow: inset 0 0 20px rgba(180, 215, 47, .035);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.rd2044-team-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 215, 47, .6);
  box-shadow: 0 0 24px rgba(180, 215, 47, .12), inset 0 0 22px rgba(180, 215, 47, .06);
}

.rd2044-team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.rd2044-member-card {
  position: relative;
  height: 412px;
  overflow: hidden;
  border-radius: 14px;
  background: #050d16;
  border: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
  isolation: isolate;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.rd2044-member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(24,200,255,.55), rgba(24,200,255,.08) 28%, rgba(24,200,255,.18)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .28s ease;
}

.rd2044-member-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 52%;
  background: linear-gradient(to top, #020a12 0%, rgba(2,10,18,.92) 26%, rgba(2,10,18,.55) 58%, transparent 100%);
  pointer-events: none;
}

.rd2044-member-card:hover,
.rd2044-member-card.active {
  transform: translateY(-3px);
  border-color: rgba(24,200,255,.4);
  box-shadow: 0 24px 55px rgba(0,0,0,.48), 0 0 28px rgba(24,200,255,.11);
}

.rd2044-member-card:hover::before,
.rd2044-member-card.active::before { opacity: 1; }

.rd2044-member-card.active .rd2044-corner-dot,
.rd2044-member-card:hover .rd2044-corner-dot { opacity: 1; }

.rd2044-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rd2044-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.96) contrast(1.03) brightness(.86);
  transform: scale(1.015);
  transition: transform .38s ease, filter .28s ease;
  will-change: transform, filter;
  backface-visibility: hidden;
}

.rd2044-member-card:hover img,
.rd2044-member-card.active img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.06) brightness(.92);
}

.rd2044-member-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 16px 26px;
  min-height: 105px;
  text-align: left !important;
}

.rd2044-member-info::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 17px;
  height: 1px;
  background: linear-gradient(90deg, rgba(24,200,255,.22), transparent 92%);
}

.rd2044-card-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px 0;
  padding-left: 13px;
  color: #6c7c8b;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-align: left !important;
}

.rd2044-card-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--rd-cyan);
  box-shadow: 0 0 10px rgba(24,200,255,.72);
}

.rd2044-card-label.green::before {
  background: var(--rd-green);
  box-shadow: 0 0 10px rgba(180,215,47,.7);
}

.rd2044-card-label span { color: #627282; }

.rd2044-member-info h3 {
  margin: 0 0 7px;
  color: #f7fbff;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.02em;
  text-align: left !important;
}

.rd2044-member-info p {
  margin: 0;
  color: #aeb6c0;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  text-align: left !important;
}

.rd2044-member-card:nth-child(1) img { object-position: center top; }
.rd2044-member-card:nth-child(2) img { object-position: center top; }
.rd2044-member-card:nth-child(3) img { object-position: center top; transform: scale(1.03); }
.rd2044-member-card:nth-child(3):hover img { transform: scale(1.08); }
.rd2044-member-card:nth-child(4) img { object-position: center top; }
.rd2044-member-card:nth-child(5) img { object-position: center top; }

@media (max-width: 1180px) {
  .rd2044-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd2044-member-card { height: 430px; }
}

@media (max-width: 780px) {
  .rd2044-team-section { padding: 60px 18px; }
  .rd2044-team-header { display: block; margin-bottom: 34px; }
  .rd2044-team-btn { margin-top: 24px; }
  .rd2044-team-grid { grid-template-columns: 1fr; }
  .rd2044-member-card { height: 480px; }
}