.team-v2-section {
  position: relative !important;
  width: 100% !important;
  background-color: #ffffff !important;
  /* FORCE natural height - no more giant gaps */
  height: auto !important;
  padding: 40px 0 0 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.team-v2-sticky-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  /* Exact height of the card area */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.team-v2-horizontal {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 10vw;
  gap: 40px;
  will-change: transform;
}

.team-v2-slide {
  flex: 0 0 350px;
  width: 350px;
  min-width: 350px;
  height: 350px;
  /* Reduced slightly from 480px as info is gone */
}

.team-v2-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.team-v2-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Photo and Info proportions */
.team-v2-photo {
  position: relative;
  width: 100%;
  height: 100%;
  /* Photo now fills the entire card height */
  overflow: hidden;
}

.team-v2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-v2-pills {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.team-v2-pill {
  padding: 6px 14px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.team-v2-pill-pos {
  background: rgba(5, 96, 58, 0.9);
  /* Primary green from testimonios quotes */
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-pos-nutricionista .team-v2-pill-pos {
  background-color: #a5f4c2;
  color: #004629;
}

.team-pos-psicologa .team-v2-pill-pos {
  background-color: #E8E1FF;
  color: #6938EF;
}

.team-v2-pill-name {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
}

.team-v2-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-v2-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .team-v2-section {
    padding: 40px 0 !important;
  }

  .team-v2-sticky-wrap {
    height: 380px;
  }

  .team-v2-card:hover {
    transform: translateY(-10px);
    box-shadow: unset;
  }
}