/* ===== Our People (white section) ===== */
.bb-people{
  background: #fff;
  padding: clamp(40px, 6vw, 90px) 0;
}

.bb-people__wrap{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top grid */
.bb-people__top{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.bb-people__title{
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 14px;
}

.bb-people__lead{
  font-size: 16px;
  line-height: 1.75;
  color: rgba(15, 23, 42, .78);
  margin: 0 0 16px;
  max-width: 56ch;
}

.bb-people__desc{
  font-size: 15px;
  line-height: 1.75;
  color: rgba(15, 23, 42, .65);
  margin: 0;
  max-width: 64ch;
}

/* Hero image */
.bb-people__hero{
  border-radius: 22px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
  border: 1px solid rgba(15, 23, 42, .08);
}

.bb-people__hero img{
  width: 100%;
  height: clamp(260px, 32vw, 360px);
  object-fit: cover;
  display: block;
}

/* Bottom cards */
.bb-people__bottom{
  margin-top: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(14px, 2.4vw, 24px);
  align-items: start;
}

/* Card base - VERSIÓN FINAL */
.bb-people__card{
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
  transform: translateZ(0);
  line-height: 0;
  font-size: 0;
  position: relative;
  background: transparent; /* Eliminamos el fondo gris */
}

.bb-people__card img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border-radius: 22px; /* El borde redondeado ahora está en la imagen */
}

/* Contenedor con altura fija */
.bb-people__card--left{
  transform: translateY(18px);
  height: clamp(210px, 26vw, 300px);
}

.bb-people__card--center{
  height: clamp(240px, 30vw, 360px);
}

.bb-people__card--right{
  transform: translateY(10px);
  height: clamp(210px, 26vw, 300px);
}

/* Efecto de borde usando box-shadow en lugar de border */
.bb-people__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
  pointer-events: none;
  z-index: 2;
}

/* Reveal defaults (para animación) */
.bb-people .js-reveal,
.bb-people .js-card{
  opacity: 0;
  transform: translateY(18px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px){
  .bb-people__top{
    grid-template-columns: 1fr;
  }
  
  .bb-people__hero img{
    height: 320px;
  }
  
  .bb-people__bottom{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .bb-people__card--right{
    display: none;
  }
  
  .bb-people__card--left,
  .bb-people__card--center {
    height: 240px;
    transform: none;
  }
}

@media (max-width: 480px){
  .bb-people__card--left,
  .bb-people__card--center {
    height: 200px;
  }
}

/* ===== AOS smoothing ===== */
.bb-people img[data-aos]{
  will-change: transform, opacity;
}