body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: #222;
  background-color: #f5f5f5;
}

/* CABECERA */
.cabecera {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 15px 0;
}

.contenedor-cabecera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo {
  height: 50px;
}

/* PIE DE PÁGINA */
.pie {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.pie a {
  color: #f9c53b;
  text-decoration: none;
}

.pie a:hover {
  text-decoration: underline;
}

/* BIENVENIDA */
.bienvenida {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.caja-bienvenida {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  max-width: 800px;
  padding: 40px;
  text-align: justify;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.caja-bienvenida h2 {
  text-align: center;
  color: #001e50;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  background-color: #001e50;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #003c8a;
}

/* LOGIN */
.login-contenedor {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 0;
}

.formulario {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 320px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.formulario h2 {
  text-align: center;
  color: #001e50;
}

.formulario label {
  display: block;
  margin-top: 10px;
}

.formulario input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.formulario button {
  width: 100%;
  background: #000;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  font-weight: bold;
}

.formulario button:hover {
  background: #333;
}

/* TARJETAS */
.panel {
  text-align: center;
  padding: 60px 20px;
}

.tarjetas {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tarjeta {
  background: #fff;
  border-radius: 10px;
  width: 260px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tarjeta img {
  width: 60px;
}

.tarjeta h3 {
  color: #001e50;
}

/* ANIMACIÓN */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
