/* ===========================
   BLOQUE GENERAL
=========================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* ===========================
   BANNER INSTITUCIONAL
=========================== */
.banner-container {
  position: relative;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   BLOQUES PRINCIPALES EN UNA SOLA LÍNEA
=========================== */
.bloques-principales {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;               /* separación horizontal entre los dos grupos */
  margin: 30px auto;
  flex-wrap: wrap;         /* permite que se acomoden en móviles */
}

.bloque {
  text-align: center;
}

.bloque-title {
  color: #003366;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Botones en línea */
.bloque-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background-color: #FFD700;
  color: #003366;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #0055A4;
  color: #FFD700;
  transform: translateY(-3px);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #003366;          /* azul institucional */
  color: #FFD700;               /* amarillo institucional */
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  margin-top: 40px;
}

.footer-container h4 {
  margin: 0 0 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-container p {
  margin: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer-container .icon {
  font-size: 1.2rem;
}

.footer-line {
  border: none;
  border-top: 2px solid #FFD700; /* delineación amarilla */
  margin: 20px auto;
  width: 60%;
}

.footer-rights {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #FFD700;
  opacity: 0.9;
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 768px) {
  .bloques-principales {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .bloque-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .footer {
    font-size: 0.85rem;
    padding: 20px 10px;
  }

  .footer-container h4 {
    font-size: 1.2rem;
  }

  .footer-container p {
    flex-direction: column; /* ícono arriba del texto en móviles */
    gap: 4px;
  }

  .footer-line {
    width: 80%;
  }
}
