* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.banner {
  width: 100%;
  background-color: #f5f5f5;
}

.banner-container {
  width: 100%;
  margin: 0 auto;
}

/* Bloque principal con altura limitada */
.banner-image {
  width: 100%;
  position: relative;
}

.image-placeholder-dark {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;        /* Cambiado de flex-end a center */
  justify-content: center;
  aspect-ratio: 3 / 2;
  max-height: 750px;
  overflow: hidden;
}

/* Imagen de fondo */
.banner-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Overlay oscuro */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Distribución de subtítulos superpuestos - SUBIDOS */
.banner-stats {
  position: absolute;
  top: 80%;                  /* Cambiado de bottom a top */
  left: 0;
  right: 0;
  transform: translateY(-50%); /* Centra verticalmente */
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
  color: #f5e8a6;
  font-size: 1.2rem !important;
  font-weight: bold;
  line-height: 1.4;
  padding: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-stats {
    flex-direction: column;
    gap: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 1rem;
  }
  
  .stat-item {
    font-size: 0.9rem;
  }
  
  .image-placeholder-dark {
    max-height: 400px;
  }
}