/* Equipo extendido: una lectura más compacta y con relaciones visibles. */
.team-extended {
  padding-block: 126px 138px;
}

.team-heading {
  grid-template-columns: minmax(165px, 22%) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  margin-bottom: 48px;
}

.team-heading .eyebrow {
  grid-column: auto;
  margin-top: 17px;
}

.team-heading-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 56px;
  align-items: end;
}

.team-heading h2 {
  max-width: 720px;
  font-size: clamp(42px, 4.7vw, 68px);
}

.team-heading-copy {
  max-width: 250px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.team-stage {
  min-height: 630px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 49%, rgba(139, 92, 246, .28), transparent 19%),
    radial-gradient(ellipse 75% 80% at 50% 48%, rgba(99, 225, 255, .045), transparent 67%),
    rgba(11, 11, 18, .86);
}

.team-stage:before {
  width: 416px;
  height: 416px;
  border-color: rgba(154, 120, 255, .36);
  box-shadow: 0 0 48px rgba(139, 92, 246, .06);
}

.team-stage:after {
  width: 604px;
  height: 604px;
  border-color: rgba(99, 225, 255, .16);
}

.team-stage-grid {
  opacity: .6;
  background-size: 28px 28px;
}

.team-stage-hud {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #aaa6b9;
  font: 8px 'DM Mono', monospace;
  letter-spacing: .11em;
}

.team-stage-hud span:last-child {
  color: #d1cee0;
}

.team-stage-hud i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 11px var(--lime);
  animation: team-status-pulse 1.9s ease-in-out infinite;
}

.team-command-line {
  position: absolute;
  z-index: 2;
  top: 93px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  translate: -50% 0;
  color: #aaa6b9;
  font: 8px 'DM Mono', monospace;
  letter-spacing: .1em;
  white-space: nowrap;
}

.team-command-line span:nth-of-type(2),
.team-command-line span:nth-of-type(4) {
  color: #d9d3ee;
}

.team-command-line b {
  color: var(--cyan);
  font: 13px/1 'Manrope', sans-serif;
}

.team-network {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.team-network-line {
  fill: none;
  stroke: rgba(139, 92, 246, .58);
  stroke-width: 1;
  stroke-dasharray: 6 10;
  vector-effect: non-scaling-stroke;
  animation: team-network-flow 4s linear infinite;
}

.team-network-line:nth-of-type(2n) {
  stroke: rgba(99, 225, 255, .43);
  animation-delay: -1.8s;
}

.team-network-node {
  fill: var(--cyan);
  filter: drop-shadow(0 0 5px var(--cyan));
}

.team-core {
  z-index: 3;
  width: 176px;
  height: 176px;
  isolation: isolate;
}

.team-core:before {
  content: "PROJECT CORE";
  position: absolute;
  top: -26px;
  left: 50%;
  translate: -50% 0;
  color: var(--cyan);
  font: 7px 'DM Mono', monospace;
  letter-spacing: .12em;
  white-space: nowrap;
}

.team-core-glow {
  position: absolute;
  z-index: -1;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: rgba(232, 225, 255, .72);
  filter: blur(24px);
  opacity: .42;
  animation: team-core-breathe 3.4s ease-in-out infinite;
}

.team-core-mark {
  position: relative;
  z-index: 1;
}

.team-core small {
  position: relative;
  z-index: 1;
}

.team-pod {
  z-index: 3;
  width: 234px;
  padding: 21px 20px 19px;
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, rgba(42, 38, 59, .9), rgba(15, 15, 24, .88));
}

.team-pod:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 22px 42px rgba(0, 0, 0, .34), 0 0 28px rgba(139, 92, 246, .16);
}

.team-pod>i {
  margin-bottom: 15px;
}

.team-pod p {
  min-height: 32px;
}

.team-pod-strategy,
.team-pod-creative {
  top: 22%;
}

.team-pod-build,
.team-pod-growth {
  bottom: 18%;
}

.team-pod-strategy,
.team-pod-build {
  left: 7.5%;
}

.team-pod-creative,
.team-pod-growth {
  right: 7.5%;
}

.team-pod:after {
  display: none;
}

.team-stage-footer {
  right: 22px;
  bottom: 19px;
  left: 22px;
}

@keyframes team-network-flow {
  to { stroke-dashoffset: -64; }
}

@keyframes team-status-pulse {
  50% { opacity: .45; transform: scale(.75); }
}

@keyframes team-core-breathe {
  50% { opacity: .68; transform: scale(1.14); }
}

@media (max-width: 1000px) {
  .team-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-heading .eyebrow { margin: 0; }

  .team-heading-content { grid-template-columns: minmax(0, 1fr) 240px; }

  .team-pod { width: 210px; }
  .team-pod-strategy, .team-pod-build { left: 4%; }
  .team-pod-creative, .team-pod-growth { right: 4%; }
}

@media (max-width: 700px) {
  .team-extended { padding-block: 90px; }
  .team-heading { margin-bottom: 35px; }
  .team-heading-content { display: block; }
  .team-heading-copy { max-width: 340px; margin-top: 18px; }
  .team-stage { min-height: 875px; }
  .team-stage:before { width: 275px; height: 275px; }
  .team-stage:after { width: 415px; height: 415px; }
  .team-stage-hud { top: 15px; right: 14px; left: 14px; padding-bottom: 11px; font-size: 7px; }
  .team-command-line { top: 71px; gap: 7px; font-size: 7px; }
  .team-command-line b { font-size: 10px; }
  .team-network { display: none; }
  .team-core { top: 49%; width: 138px; height: 138px; }
  .team-core:before { top: -22px; font-size: 6px; }
  .team-pod { width: calc(50% - 20px); padding: 15px; }
  .team-pod-strategy, .team-pod-creative { top: 15%; }
  .team-pod-build, .team-pod-growth { bottom: 82px; }
  .team-stage-footer { right: 14px; bottom: 16px; left: 14px; }
}

@media (max-width: 520px) {
  .team-stage { min-height: 890px; }
  .team-stage-hud span:last-child { display: none; }
  .team-command-line { gap: 5px; }
  .team-pod { width: calc(50% - 17px); padding: 13px; }
  .team-core { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-network-line, .team-stage-hud i, .team-core-glow { animation: none; }
}
