/* -------------------------------------- */
/* ESTILOS GENERALES */
/* -------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Fondo corporativo desenfocado */
body {
  background: url('../res/img/esterilizadora.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 160, 0.55); /* filtro celeste */
  backdrop-filter: blur(8px);
  z-index: 0;
}

/* Contenedor principal */
.container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 20px;
}

/* -------------------------------------- */
/* LOGO Y TÍTULO */
/* -------------------------------------- */
.header-menu {
  display: flex;
  flex-direction: column; /* Logo arriba, título debajo */
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
  position: relative;
  z-index: 1; /* Igual que el contenedor, sin sobresalir */
}

.logo-empresa {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
  border-radius: 10px;
  background: transparent; /* Quitamos el fondo blanco */
}

/* Título */
h1 {
  font-size: 2.3rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  color: #eaf6ff;
  margin-top: 5px;
}

/* -------------------------------------- */
/* TARJETAS / BOTONES */
/* -------------------------------------- */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: rgba(0, 110, 190, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 30px;
  width: 260px;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(0, 160, 255, 0.95);
  box-shadow: 0 6px 25px rgba(0, 150, 255, 0.5);
}

/* Íconos */
.icon {
  font-size: 3rem;
  color: #aee4ff;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.card:hover .icon {
  color: #ffffff;
}

/* Títulos y textos */
.card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #e0f7ff;
}

.card p {
  font-size: 0.95rem;
  color: #d0ecff;
}

/* -------------------------------------- */
/* RESPONSIVE */
/* -------------------------------------- */
@media (max-width: 600px) {
  .card {
    width: 80%;
  }

  h1 {
    font-size: 1.8rem;
  }
}

/* -------------------------------------- */
/* FIN ESTILOS GENERALES */
/* -------------------------------------- */