/* Fondo */
.hero {
  background: url("../images/pag1/img60.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  background: rgba(0, 0, 0, 0.6); /* capa oscura */
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

/* Texto */
.overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.overlay p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.overlay p span {
  color: #50e3c2; /* resalta una palabra */
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s, background 0.3s;
}

.card i {
  font-size: 1.8rem;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 2rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
