/* Equipo / propuesta visual 02: estudio de radio contemporáneo.
   Capa visual únicamente; no altera datos, filtros ni modal. */

:root {
  --team-ink: #06111f;
  --team-panel: #0b1b2d;
  --team-line: rgba(159, 213, 230, 0.16);
  --team-cyan: var(--brand-cyan);
  --team-blue: var(--primary-blue);
}
body:has(.team-hero-band) {
  background: var(--team-ink);
}
body.light-theme:has(.team-hero-band) {
  background: var(--bg-gradient);
}

.team-hero-band {
  min-height: auto;
  padding: 118px 5% 132px;
  background:
    linear-gradient(
      90deg,
      rgba(3, 13, 26, 0.96) 0%,
      rgba(3, 18, 33, 0.9) 53%,
      rgba(4, 38, 55, 0.88) 100%
    ),
    radial-gradient(
      circle at 86% 50%,
      rgba(118, 232, 255, 0.22),
      transparent 26%
    ),
    #06111f;
}
.team-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.23;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 6px,
    rgba(255, 255, 255, 0.045) 7px 8px
  );
  mask-image: linear-gradient(90deg, transparent, black 43%, transparent);
}
.team-hero-band::after {
  width: 600px;
  height: 600px;
  top: 4%;
  right: 6%;
  background: radial-gradient(
    circle,
    rgba(118, 232, 255, 0.13) 0 2%,
    transparent 2.5% 100%
  );
  background-size: 22px 22px;
  opacity: 0.5;
}
.team-hero-inner {
  max-width: 1280px;
}
.team-hero-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 54px;
}
.team-hero-band .roster-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.team-live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 212, 255, 0.34);
  border-radius: 999px;
  color: var(--band-accent);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 123, 255, 0.1);
}
.team-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--team-cyan);
  box-shadow: 0 0 14px var(--team-cyan);
}
.team-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
}
.team-hero-copy {
  position: relative;
  z-index: 1;
}
.team-overline {
  margin-bottom: 20px;
  color: var(--band-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.team-hero-band h1 {
  max-width: 720px;
  margin: 0 0 23px;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: none;
}
.team-hero-band h1 em {
  color: var(--band-accent);
  font-style: normal;
}
.team-hero-description {
  max-width: 420px;
  margin-bottom: 34px;
  color: var(--band-text-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.team-toggle {
  gap: 0;
  padding: 4px;
  border: 1px solid var(--team-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}
.team-toggle-option {
  min-width: 118px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--band-text-soft);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.team-toggle-option::after {
  display: none;
}
.team-toggle-option.is-active {
  color: var(--team-ink);
  background: var(--team-cyan);
}
.team-toggle-sep {
  display: none;
}
.team-hero-aside {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(118, 232, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(118, 232, 255, 0.13),
    rgba(255, 255, 255, 0.035)
  );
  box-shadow:
    0 22px 65px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.1);
}
.team-hero-aside::before {
  content: "FM 99.9";
  display: block;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.team-signal-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(118, 232, 255, 0.2),
    transparent 64%
  );
}
.team-signal-mark span {
  width: 5px;
  height: 25%;
  border-radius: 6px;
  background: var(--team-cyan);
  box-shadow: 0 0 12px rgba(118, 232, 255, 0.8);
  animation: team-signal 1.5s ease-in-out infinite alternate;
}
.team-signal-mark span:nth-child(2),
.team-signal-mark span:nth-child(6) {
  height: 60%;
  animation-delay: -0.3s;
}
.team-signal-mark span:nth-child(3),
.team-signal-mark span:nth-child(5) {
  height: 86%;
  animation-delay: -0.6s;
}
.team-signal-mark span:nth-child(4) {
  height: 45%;
  animation-delay: -0.9s;
}
@keyframes team-signal {
  to {
    transform: scaleY(0.35);
    opacity: 0.55;
  }
}
.team-signal-label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.team-stats div {
  padding: 15px;
  border: 1px solid var(--team-line);
  border-radius: 10px;
  background: rgba(3, 13, 26, 0.22);
}
.team-stats strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.team-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-panel {
  position: relative;
  isolation: isolate;
  max-width: 1280px;
  margin: -54px auto 0;
  padding: 30px clamp(24px, 4vw, 64px) 92px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(11, 35, 56, 0.84),
    rgba(5, 17, 31, 0.72)
  );
  box-shadow:
    0 -22px 70px rgba(0, 0, 0, 0.28),
    0 24px 80px rgba(0, 123, 255, 0.08),
    inset 0 1px 0 rgba(118, 232, 255, 0.11);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}
.team-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -28%;
  left: 12%;
  width: 76%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(0, 212, 255, 0.13),
    transparent 68%
  );
  filter: blur(28px);
  pointer-events: none;
}
.team-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -35%;
  width: 48%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(0, 123, 255, 0.16),
    transparent 68%
  );
  filter: blur(34px);
  pointer-events: none;
}
.team-panel.is-visible {
  opacity: 1;
  transform: none;
}
.team-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 37px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--team-line);
}
.team-panel-eyebrow,
.team-panel-note {
  margin: 0;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.team-panel-eyebrow {
  color: var(--team-cyan);
}
.team-panel-note {
  color: rgba(255, 255, 255, 0.42);
}
.team-panel-note span {
  margin-left: 8px;
  color: var(--team-cyan);
}
.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 26px;
  counter-reset: team-card;
}
.team-card {
  position: relative;
  padding: 0 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  counter-increment: team-card;
  transition: transform 0.25s var(--ease-out);
}
.team-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--team-line), transparent 85%);
}
.team-card::before {
  content: "0" counter(team-card);
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.7);
}
.team-card:hover {
  transform: translateY(-4px);
}
.team-card-media {
  max-width: none;
  aspect-ratio: 1/0.96;
  margin-bottom: 20px;
  border-radius: 0;
}
.team-card-media::after {
  background: linear-gradient(
    180deg,
    transparent 55%,
    color-mix(in srgb, var(--member-accent, var(--team-cyan)) 72%, transparent)
      100%
  );
}
.team-card-media img {
  filter: grayscale(0.72) contrast(1.08);
}
.team-card:hover .team-card-media img {
  filter: grayscale(0) contrast(1.04);
}
.team-card-name {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}
.team-card-name::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--member-accent, var(--team-cyan));
  opacity: 0.5;
  transition: right 0.3s var(--ease-out);
}
.team-card:hover .team-card-name::after {
  right: 0;
}
.team-card-role {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.team-card-desc {
  min-height: 62px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.team-card-link {
  padding-bottom: 5px;
  border-bottom-color: var(--team-cyan);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.light-theme .team-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.84),
    rgba(236, 247, 251, 0.78)
  );
  box-shadow:
    0 -18px 60px rgba(6, 17, 31, 0.1),
    0 24px 70px rgba(0, 123, 255, 0.08),
    inset 0 1px 0 rgba(0, 123, 255, 0.12);
}
body.light-theme .team-card {
  background: transparent;
}
body.light-theme .team-panel-heading {
  border-color: rgba(6, 17, 31, 0.14);
}
body.light-theme .team-panel-note,
body.light-theme .team-card-desc {
  color: #607080;
}
body.light-theme .team-card::before {
  color: rgba(6, 17, 31, 0.78);
  text-shadow: 0 1px 9px rgba(255, 255, 255, 0.7);
}
body.light-theme .team-hero-aside {
  border-color: rgba(4, 18, 28, 0.22);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.2)
  );
  box-shadow:
    0 22px 65px rgba(4, 18, 28, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.5);
}
body.light-theme .team-hero-aside::before,
body.light-theme .team-signal-label,
body.light-theme .team-stats span {
  color: rgba(4, 18, 28, 0.6);
}
body.light-theme .team-stats div {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(4, 18, 28, 0.18);
}
body.light-theme .team-stats strong {
  color: #04121c;
}
body.light-theme .team-hero-band {
  background: linear-gradient(
    100deg,
    var(--brand-cyan) 0%,
    #5be0ff 55%,
    var(--brand-cyan) 100%
  );
}
body.light-theme .team-hero-band::before {
  opacity: 0.1;
}
body.light-theme .team-hero-band::after {
  background: radial-gradient(
    circle,
    rgba(4, 18, 28, 0.08) 0 2%,
    transparent 2.5% 100%
  );
  background-size: 22px 22px;
  opacity: 0.4;
}
body.light-theme .team-toggle {
  border-color: rgba(4, 18, 28, 0.2);
  background: rgba(255, 255, 255, 0.3);
}
body.light-theme .team-live-status {
  border-color: rgba(4, 18, 28, 0.28);
  background: rgba(255, 255, 255, 0.35);
}
body.light-theme .team-live-status i {
  background: var(--band-accent);
  box-shadow: 0 0 14px rgba(4, 18, 28, 0.4);
}
body.light-theme .team-toggle-option.is-active {
  color: #f0fbff;
  background: var(--band-accent);
}
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
  }
}
@media (max-width: 850px) {
  .team-hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .team-hero-aside {
    max-width: 430px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}
@media (max-width: 560px) {
  .team-hero-band {
    padding: 103px 6% 110px;
  }
  .team-hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 45px;
  }
  .team-hero-band h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }
  .team-toggle-option {
    min-width: 105px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .team-panel {
    margin-top: -42px;
    padding: 23px 5% 70px;
    border-radius: 14px;
  }
  .team-panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-signal-mark span,
  .team-card,
  .team-panel {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
