/* HERO con imagen hero_gesemp.jpg */
.hero {
  background: url('../img/hero_gesemp.jpg') no-repeat center center;
  background-size: cover;
  background-color: #000;   /* fallback si la imagen no carga */
  height: 300px;            /* altura visible sin tapar cards */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
}

/* Barra del logo */
.nav-gesemp {
  background-color: #2ecc71;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.nav-gesemp img {
  width: 80px;
  height: 80px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

/* Bloque institucional */
.login-form {
  text-align: center;
  padding: 2rem;
}

.login-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.login-submit {
  display: inline-block;
  background: #2ecc71;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.login-submit:hover {
  background: #27ae60;
}

/* Footer */
.footer-gesemp {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}