/* Base */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.scroll-indicator {
  display: none;
}

/* Header */
.page-header {
  background: #eeeeee;
  padding: 24px;
  border-radius: 12px 12px 0 0;
  border-bottom: 4px solid #ef6c00;
}

.page-header h1 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: #777;
  letter-spacing: 1px;
}

/* Cards */
.card {
  background: #fff;
  padding: 24px;
  margin-top: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.card h2 {
  margin-top: 0;
  color: #ef6c00;
  font-size: 20px;
}

.card p {
  margin-bottom: 14px;
}

/* Grid PDCA */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.box {
  background: #fafafa;
  padding: 16px;
  border-radius: 8px;
}

.box h3 {
  margin-top: 0;
  font-size: 16px;
  color: #444;
}

/* Highlight */
.highlight {
  background: #fff7f0;
}

/* Footer */
.footer {
  margin: 30px 0 10px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 20px;
  }

  .card {
    padding: 18px;
  }
}
/* PDCA didáctico */
.pdca {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.pdca-step {
  background: #fafafa;
  border-radius: 12px;
  padding: 18px;
  position: relative;
}

.pdca-step h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

.pdca-step p {
  font-size: 14px;
  color: #555;
}

.pdca-num {
  width: 36px;
  height: 36px;
  background: #ef6c00;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.pdca-note {
  margin-top: 18px;
  font-size: 13px;
  color: #666;
  background: #f2f2f2;
  padding: 12px 16px;
  border-radius: 8px;
}
/* Animación general */
.pdca-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

/* Hover solo en desktop */
@media (hover: hover) and (pointer: fine) {
  .pdca-step:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 2;
  }
}
@media (max-width: 768px) {

  .pdca {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .pdca-step {
     min-width: 88%;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .pdca-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

  }

  /* Ocultar scrollbar */
  .pdca::-webkit-scrollbar {
    display: none;
  }

}

@media (max-width: 768px) {

  .pdca-step:active,
  .pdca-step:focus-within {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }
  .scroll-indicator {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
    margin-top: 6px;
    padding-right: 12px;
  }

  .scroll-indicator .arrow {
    font-size: 16px;
    color: #ef6c00;
    animation: slideArrow 1.2s infinite ease-in-out;
  }

  @keyframes slideArrow {
    0%   { transform: translateX(0); opacity: .4; }
    50%  { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: .4; }
  }


}
.page-title {
  font-weight: 800;      /* bold controlado */
}

body {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f2f2; /* respaldo */
}

/* Imagen de fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/bg-norma.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;           /* 👈 controla la transparencia */
  z-index: -1;
}