.ventajas {
  background: #f7f9fb;
  padding: 2rem 0;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.ventajas-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.ventajas-grid div {
  max-width: 150px;
}

.ventajas-grid img {
  width: 40px;
  margin-bottom: 0.5rem;
}

.curso-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.video-preview {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.video-img {
  width: 100%;
  border-radius: 10px;
}

.btn-play {
  position: absolute;
  top: 40%;
  left: 45%;
  font-size: 2.5rem;
  color: white;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.curso-descripcion h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0a1833;
}

.plazas {
  margin-top: 1rem;
  background: #d4f4d4;
  color: #137c3c;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: 20px;
  font-weight: bold;
}

.acordeon details {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}

.acordeon summary {
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  color: #0a1833;
}

.acordeon p,
.acordeon ul,
.acordeon ol {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

details[open] summary::after {
  content: "▲";
  float: right;
}

summary::after {
  content: "▼";
  float: right;
  transition: 0.3s ease;
}

.ventajas-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.ventajas-grid img.iconos {
  display: block;
  margin-bottom: 8px;
  max-width: 80px; /* Ajusta según tu diseño */
}
