.casos-exito {
  min-height:90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.casos-exito h2 {
  color: #1a3b5d;
  font-size: 2.2em;
  margin-bottom: 0.5rem;
  position: relative;
}

.casos-exito h2::after {
  content: "";
  display: block;
  width: 600px;
  height: 1px;
  background: #1f3e54;
  margin: 0.5rem auto 0;
}

.casos-exito .intro {
  color: #555;
  margin-bottom: 30px;
}

.casos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.caso-info, .caso-destacado {
  flex: 1 1 300px;
  max-width: 400px;
}

.caso-info h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.caso-info ul {
  list-style: none;              /* quitamos las viñetas por defecto */
  padding-left: 0;
  margin: 0;
}

.caso-info ul li {
  position: relative;
  padding-left: 1.6rem;          /* espacio para la viñeta */
  margin-bottom: 0.8rem;         /* separación entre ítems */
  line-height: 1.6;              /* interlineado más cómodo */
  font-size: 0.95rem;
  color: #333;
}

/* Viñeta personalizada */
.caso-info ul li::before {
  content: "◆";                  /* diamante, podés usar "•" o un ícono */
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #b8924a;                /* dorado */
  font-size: 0.9rem;
}




/* Ajuste para logos y descripciones en Casos Destacados */
.caso-destacado {
  flex: 1 1 300px;
  max-width: 360px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centramos el contenido */
  justify-content: flex-start;
}

.caso-destacado img {
  width: 200px;          /* tamaño uniforme */
  height: 200px;         /* altura fija */
  object-fit: contain;   /* mantiene proporción sin deformar */
  display: block;
  margin-left: auto;
  margin-right: auto;    /* centrado horizontal */
}

.caso-destacado h4 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 10px;
  align-self: start;
}

.caso-destacado p {
  min-height: 80px;      /* asegura que todas las descripciones queden alineadas */
  margin-bottom: 40px;
  text-align: justify;
}

/* .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3a6b8f;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #1a3b5d;
} */

.btn-proyecto {
  background: #b38b2c;        /* dorado */
  border: 1px solid #d4af37;  /* dorado más oscuro */
  color: #1a3b5d;             /* azul marino */
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
}

.btn-proyecto:hover {
  background: #1a3b5d;        /* azul marino */
  color: #ffffff;             /* texto blanco */
  border-color: #0a1a3c;
}



.preview-rutasur {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.preview-rutasur img {
  width: 100%;
  filter: brightness(0.85);
  transition: transform 0.3s ease;
}

.preview-rutasur:hover img {
  transform: scale(1.05);
}

.preview-rutasur::after {
  content: "Ruta Sur Rentacar";
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Responsive: columnas apiladas en pantallas chicas */
@media (max-width: 768px) {
  .casos-grid {
    flex-direction: column;
    align-items: center;
  }

  .caso-destacado {
    max-width: 100%;
  }
}
