.bankpro-sectores {
  background: radial-gradient(circle at center, #23405b 0%, #01070b 100%);
  color: white;
}

.bankpro-sectores h2 {
  color: white;
  font-size: 2rem;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  justify-items: center;
  align-items: center;
}

.hex-front,
.hex-icon {
  background: #296997;
  color: white;
}

.hex-icon {
  width: 6rem;
  aspect-ratio: 1 / 1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: -1rem;
  z-index: 2;
  position: relative;
}

.hex-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 14rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.hex-front {
  position: absolute;
  width: 100%;
  height: 87%;
  padding: 2rem;
  background: #296997;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border-radius: 0.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4rem;
}

.hex-card:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.bankpro-sectores .modal-content {
  background-color: #f8f9fa;
  color: #184e7c;
  border-radius: 0.5rem;
}

.bankpro-sectores .modal-title {
  color: #184e7c;
  font-weight: 600;
  font-size: 1.75rem;
}

.bankpro-sectores .modal-body p {
  color: #303131;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hex-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
  }

  .hex-card {
    max-width: 17rem;
  }

  .hex-icon {
    margin-bottom: 0;
  }

  .hex-front {
    font-size: 1.4rem;
    line-height: 1.8rem;
    padding: 3rem;
  }
}



.powerbi-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 63.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px; /* 16:9 */
}

.powerbi-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
