/* ═══════════════════════════════════════════════
   equipo.html — hero, perfiles y CTA
════════════════════════════════════════════════ */

.navbar__link--active {
  color: var(--primary-dark) !important;
  font-weight: 700;
}
.navbar__link--active::after {
  left: 0.8rem !important;
  right: 0.8rem !important;
}

/* ── Hero ─────────────────────────────────────── */
.equipo-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  overflow: hidden;
}
@media (min-width: 768px) {
  .equipo-hero {
    min-height: 100vh;
  }
}
.equipo-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(10, 10, 50) 0%, rgb(60, 10, 60) 100%);
}
.equipo-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: calc(var(--navbar-h) + 2rem) 1.5rem 4rem;
  text-align: center;
}
.equipo-hero__title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin: 0;
}
.equipo-hero__accent {
  background: linear-gradient(90deg, var(--light-lavender), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.equipo-hero__break {
  display: none;
}
@media (min-width: 768px) {
  .equipo-hero__break {
    display: block;
  }
}

/* ── Sección equipo ───────────────────────────── */
.equipo-members {
  padding: 8rem 0;
  background: #fff;
}
.equipo-members__header {
  text-align: center;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .equipo-members__header {
    margin-bottom: 7rem;
  }
}
.equipo-members__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  margin: 0;
}
.equipo-members__rule {
  width: 6rem;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--primary-dark),
    var(--primary-blue),
    var(--accent-cyan)
  );
}
.equipo-members__list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
@media (min-width: 768px) {
  .equipo-members__list {
    gap: 10rem;
  }
}

/* ── Perfil ───────────────────────────────────── */
.equipo-profile {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .equipo-profile {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
  .equipo-profile--reverse .equipo-profile__media {
    order: 2;
  }
  .equipo-profile--reverse .equipo-profile__body {
    order: 1;
  }
}
.equipo-profile__media {
  display: flex;
  justify-content: center;
}
.equipo-profile__frame {
  position: relative;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 3 / 4;
  padding: 4px;
  border-radius: 1.5rem;
  background: linear-gradient(
    to top right,
    rgba(75, 0, 130, 0.2),
    rgba(0, 191, 255, 0.2)
  );
  box-shadow: 0 25px 50px -12px rgba(75, 0, 130, 0.15);
  overflow: hidden;
}
.equipo-profile--reverse .equipo-profile__frame {
  background: linear-gradient(
    to top right,
    rgba(65, 105, 225, 0.2),
    rgba(0, 191, 255, 0.2)
  );
  box-shadow: 0 25px 50px -12px rgba(65, 105, 225, 0.15);
}
.equipo-profile__frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f6fb;
}
.equipo-profile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(75, 0, 130, 0.25),
    transparent 55%
  );
  opacity: 0.6;
  pointer-events: none;
}
.equipo-profile--reverse .equipo-profile__overlay {
  background: linear-gradient(
    to top,
    rgba(65, 105, 225, 0.25),
    transparent 55%
  );
}
.equipo-profile__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.equipo-profile__frame:hover .equipo-profile__photo {
  transform: scale(1.05);
}
.equipo-profile__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #ece6f4, #e1f3ff);
}
.equipo-profile__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.equipo-profile__role {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}
.equipo-profile--reverse .equipo-profile__role {
  color: var(--accent-cyan);
}
.equipo-profile__name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin: 0.15rem 0 0;
  line-height: 1.1;
}
.equipo-profile__tagline {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}
.equipo-profile__divider {
  width: 5rem;
  height: 2px;
  margin: 1.25rem 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
}
.equipo-profile--reverse .equipo-profile__divider {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue));
}
.equipo-profile__bio {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 1.5rem;
}
.equipo-profile__highlights {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid #f0f1f5;
}
.equipo-profile__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #374151;
}
.equipo-profile__highlight:last-child {
  margin-bottom: 0;
}
.equipo-profile__check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(65, 105, 225, 0.1);
  color: var(--primary-blue);
}
.equipo-profile__check svg {
  width: 0.75rem;
  height: 0.75rem;
}
.equipo-profile__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(65, 105, 225, 0.3);
  transition: var(--transition);
  width: fit-content;
}
.equipo-profile__linkedin:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(75, 0, 130, 0.4);
}
.equipo-profile__linkedin svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

/* ── CTA ──────────────────────────────────────── */
.equipo-cta {
  position: relative;
  padding: 7rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
}
.equipo-cta__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==");
  pointer-events: none;
}
.equipo-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
}
.equipo-cta__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}
.equipo-cta__desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--light-lavender);
  max-width: 36rem;
  margin: 0 auto 3rem;
}
.equipo-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  background: var(--accent-cyan);
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.4);
  transition: var(--transition);
}
.equipo-cta__btn:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

@media (max-width: 700px) {
  .equipo-members {
    padding: 5rem 0;
  }
  .equipo-members__header {
    margin-bottom: 3.5rem;
  }
  .equipo-members__list {
    gap: 5rem;
  }
  .equipo-cta {
    padding: 5rem 1.25rem;
  }
}
