/* ESTILOS ESPECÍFICOS DE CERTIFICACIONES ISO */

body { 
  font-family: Arial, sans-serif; 
  background-color: #f4f6f9; 
  margin: 0; 
  padding: 0; 
  opacity: 0; 
  animation: fadeInPagina 0.8s ease-out forwards; 
}

.encabezado { 
  background-color: #0d1b3e; 
  color: #ffffff; 
  padding-bottom: 25px; 
}

.titulo-categoria-header { 
  text-align: center; 
  padding-top: 15px; 
  margin: 0; 
}

.titulo-categoria-header h1 { 
  font-size: 2rem; 
  color: #ffffff; 
  margin: 0; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}

.container-pagina { 
  max-width: 1000px; 
  margin: 40px auto; 
  padding: 30px; 
  background: #fff; 
  border-radius: 8px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

h2 { 
  color: #001e5e; 
  border-bottom: 3px solid #001e5e; 
  padding-bottom: 10px; 
  margin-top: 0; 
}

/* GALERÍA/GRID ISO CON EFECTO HOVER */
.grid-iso { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px; 
  margin-top: 25px; 
}

.tarjeta-iso { 
  background: #f8f9fa; 
  border-left: 4px solid #001e5e; 
  padding: 15px; 
  border-radius: 0 8px 8px 0; 
  text-align: center; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.tarjeta-iso:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tarjeta-iso img { 
  width: 100%; 
  height: 140px; 
  object-fit: contain; 
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

.tarjeta-iso:hover img {
  transform: scale(1.1);
}

.tarjeta-iso h3 { 
  margin: 0; 
  color: #001e5e; 
  font-size: 1.1rem; 
}

/* BOTÓN DE WHATSAPP */
.boton {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 55px;
}

.boton a {
  display: inline-block;
  background-color: #001e5e;
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(0, 30, 94, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.boton a:hover {
  background-color: #25d366;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* PIE DE PÁGINA */
.pie {
  background-color: #0d1b3e;
  color: #ffffff;
  text-align: center;
  padding: 25px 20px;
  margin-top: 0;
}

.pie a {
  color: #64ffda;
  text-decoration: none;
}

/* ANIMACIONES */
@keyframes fadeInPagina { 
  from { opacity: 0; transform: translateY(10px); } 
  to { opacity: 1; transform: translateY(0); } 
}

.revelar { 
  opacity: 0; 
  transform: translateY(25px); 
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
  will-change: opacity, transform; 
}

.revelar.activo { 
  opacity: 1; 
  transform: translateY(0); 
}