body {
  font-family: "Roboto", "Open Sans", sans-serif;
  background-color: #f6f7fb;
  color: #00205B;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.landing {
  max-width: 480px;
  width: 90%;
  margin: 40px auto;
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px 20px;
  overflow: hidden;
}

/* Fondo Kaizen */
.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../imagenes/kaisen.png") no-repeat center center;
  background-size: contain;
  opacity: 0.12;
  z-index: 0;
}

.header,
.bloque-5s,
.links-grid,
.qr-print,
.qr-btn {
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */

.header img {
  width: 90px;
  margin-bottom: 6px;
}

.header h1 {
  font-size: 2em;
  margin: 5px 0;
  color: #00205B;
}

.header p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 14px;
}

/* ================= BLOQUE 5S ================= */

.bloque-5s {
  margin-bottom: 22px;
}

.grid-5s {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 26px;
  text-align: left;
}

.s-item {
  display: flex;
  align-items: center;
  font-size: 1em;
}

.s-item .num {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: #FFD100;
  color: #00205B;
  font-weight: 700;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

/* ================= BOTONES ================= */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.card {
  background-color: #00205B;
  color: white;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card:hover {
  background-color: #FFD100;
  color: #00205B;
}

/* ================= BOTÓN QR ================= */

.qr-btn {
  background-color: #00205B;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 10px;
}

.qr-btn:hover {
  background-color: #FFD100;
  color: #00205B;
}

/* ================= QR ================= */

.qr-print {
  display: none;
  flex-direction: column;
  align-items: center;
}

#qr canvas {
  width: 200px;
  height: 200px;
  margin-top: 10px;
}

.qr-print p {
  font-size: 0.9em;
  color: #333;
  margin-top: 8px;
}

/* ================= PRINT ================= */

@media print {
  body { background: white; }
  .landing { box-shadow: none; }
  .qr-print { display: flex !important; }
  .qr-btn { display: none; }
}

