.concursos {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: "Montserrat", sans-serif;
}

.conc-header {
  text-align: center;
  margin-bottom: 3rem;
}

.conc-header h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.conc-header p {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
  text-align: justify;
}

/* Timeline */
.conc-etapas h3,
.conc-criterios h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.conc-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.conc-step {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.conc-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* LAYOUT PRINCIPAL */
.conc-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

/* COLUMNA CRITERIOS */
.criterios-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.criterio {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #1e3a8a;
}

.titulo2 {
  text-align: center;
  color: #1e3a8a;
}
.criterio h4 {
  margin-bottom: 0.4rem;
  color: #1e3a8a;
  font-weight: 600;
}

/* COLUMNA INFO */
.conc-info {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  gap: 2rem;
}

.conc-info-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.conc-info-box h3 {
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.conc-info-box ul {
  padding-left: 1.2rem;
}

.conc-info-box li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .conc-layout {
    grid-template-columns: 1fr;
  }
}

/* --- RESPONSIVIDAD ADICIONAL --- */

@media (max-width: 768px) {
  .concursos {
    margin: 2rem auto; /* Reduce el margen superior/inferior en tablets */
  }

  .conc-header p {
    font-size: 1rem; /* Ajuste de lectura para pantallas pequeñas */
    text-align: left; /* El justificado suele verse mal en móviles */
  }

  .conc-timeline {
    gap: 1rem; /* Reduce el espacio entre pasos del timeline */
  }

  .conc-info-box {
    padding: 1.5rem; /* Ajusta el espacio interno */
  }
}

@media (max-width: 480px) {
  .conc-header h2 {
    font-size: 1.5rem; /* Título principal más compacto */
  }

  .conc-timeline {
    grid-template-columns: 1fr; /* Una sola columna para el timeline en móviles */
  }

  .conc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .conc-layout {
    gap: 1.5rem; /* Menos separación entre bloques */
  }
}