.proyectos {
  background-color: #23495e;
  color: white;
  text-align: center;
	padding-top: 30px

}

.proyectos-encabezado {
  padding: 60px 20px 30px;
}

.proyectos-encabezado h2 {
  font-size: 2.2em;
  font-weight: bold;
}

.proyectos-encabezado h3 {
  color: #e30613;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 10px;
  letter-spacing: 2px;
}

/* Imagen única */
.proyectos-imagen img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Footer inferior */
.proyectos-footer {
  background-color: #23495e;
  padding: 25px 20px;
  font-size: 1.1em;
}





.proyectos-detalle {
  display: flex;
  flex-wrap: wrap;
  background-color: #23495e;
  color: white;
}

.proyecto-col {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proyecto-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.proyecto-info {
  padding: 20px 30px;
}

.proyecto-info h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.proyecto-info span {
  font-weight: normal;
  display: block;
  font-size: 0.9em;
}

.proyecto-info p {
  font-size: 1em;
  margin: 5px 0;
}



.proyecto-separador {
  width: 4px;
  background-color: #b70000;
  flex-shrink: 0;
}



.proyecto-info .metrica2 {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.4em;
	letter-spacing: 3px;
}

.proyecto-info .alianza2 {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.4em;
	letter-spacing: 3px;
}

















.listado-proyectos {
  background: url('../img/PortadaProyecto2.jpg') no-repeat center center / cover;
  position: relative;
  padding: 80px 20px;
}

.listado-overlay {
  background-color: rgba(9, 40, 58, 0.6);
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  color: #fff;
}

.listado-overlay h2 {
  color: #e30813;
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
}

.listado-overlay h2 span {
  display: block;
  color: #fff;
  font-size: 1.1em;
  margin-top: 8px;
}

.proyectos-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proyectos-lista li {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Reusa estilos existentes */
.metrica2 {
  color: #f6b400;
  font-weight: bold;
}

.alianza2 {
  color: #f6b400;
  font-weight: bold;
}



.proyecto-info .inversion {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.2em;
}










/* Mobile-first: base ya está preparado */
@media (max-width: 768px) {

  /* Ajuste general para todo proyectos en móvil */
  .proyectos {
    margin-top: 0;
  }

  .proyectos-encabezado {
    padding: 40px 20px 20px;
  }

  .proyectos-encabezado h2 {
    font-size: 1.8em;
  }

  .proyectos-encabezado h3 {
    font-size: 1.1em;
  }

  .proyectos-imagen img {
    width: 100%;
    height: auto;
  }

  .proyectos-footer {
    padding: 15px 10px;
    font-size: 1em;
  }

  .proyectos-detalle {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .proyecto-col {
    flex: 1 1 100%;
    padding: 20px 15px;
  }

  .proyecto-imagen img {
    width: 100%;
    height: auto;
  }

  .proyecto-separador {
    display: none;
  }

  .proyecto-info {
    padding: 15px 10px;
  }

  .proyecto-info h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .proyecto-info span {
    font-size: 1em;
  }

  .proyecto-info p {
    font-size: 1em;
    margin: 5px 0;
  }

  .proyecto-info .metrica2,
  .proyecto-info .alianza2 {
    font-size: 1.3em;
    letter-spacing: 1px;
  }

  .proyecto-info .inversion {
    font-size: 1.1em;
  }

  /* Ahora los cambios de orden que me pediste */

  /* 1. Arena Domo y Qercia (el primero) => invertir */
  .proyectos-detalle:nth-of-type(2) {
    flex-direction: column-reverse;
  }

  /* 2. Watlow y Qualtia */
  .proyectos-detalle:nth-of-type(5) {
    flex-direction: column-reverse;
  }

  /* 3. Paz 29 y Akbal */
  .proyectos-detalle:nth-of-type(7) {
    flex-direction: column-reverse;
  }

  /* 4. Esfera City y Torre Orvit */
  .proyectos-detalle:nth-of-type(10) {
    flex-direction: column-reverse;
  }

  /* 5. Hospital Cancerología y Torre Adamant */
  .proyectos-detalle:nth-of-type(11) {
    flex-direction: column-reverse;
  }

  /* 6. Torre Tintanium y Fiesta Inn */
  .proyectos-detalle:nth-of-type(12) {
    flex-direction: column-reverse;
  }
}





