/* Sectores - Card Style Pro */
.sectores {
  background: #f8f9fa;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sector-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: none;
  transition: box-shadow 0.25s, transform 0.22s;
  min-height: 270px;
}

.sector-icon {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #eaf2f7;
}

.sector-icon img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  transition: transform 0.33s, box-shadow 0.3s;
}

.sector-item:hover,
.sector-item:focus-within {
  transform: translateY(-8px) scale(1.022);
  box-shadow: 0 18px 44px rgba(0,114,188,0.12);
}

.sector-item:hover .sector-icon img,
.sector-item:focus-within .sector-icon img {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 28px rgba(0,114,188,0.19);
}

.sector-item h3 {
  margin: 0;
  margin-top: 1.1rem;
  font-size: 1.23rem;
  font-weight: bold;
  color: #222;
  letter-spacing: 0.01em;
  font-family: "Segoe UI", Arial, sans-serif;
}

.sector-item p {
  color: #444;
  margin: 0.7rem 0 1.5rem 0;
  font-size: 1.03rem;
  font-family: "Segoe UI", Arial, sans-serif;
  padding: 0 1.5rem;
}

@media (max-width: 700px) {
  .sectores-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .sector-icon img {
    height: 130px;
  }
}