/* General */
.agenda-header, .agenda-features {
  width: 80%;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Encabezado */
.agenda-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}

.agenda-header-img {
  width: 200px;
  height: 200px;
}

.agenda-header-text {
  max-width: 600px;
}

.agenda-title {
  font-size: 2.8rem;
  margin: 0;
  color: #25476a;
}

.agenda-description {
  font-size: 1.2rem;
  color: #151515;
  margin-top: 10px;
}

.agenda-divider {
  margin: 30px auto;
    width: 80px;
    height: 4px;
    background-color: #25476a;
    border: none;
}

.agenda-subtitle {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 50px;
  color: black;
}

/* Características */
.agenda-wrapper {
  display: flex;
  align-items: stretch;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}

.agenda-img {
  flex: 0 0 600px;
  margin: 60px 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-right: 20px;
}

.agenda-img img {
  width: auto;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.agenda-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  max-width: 100%;
}

.feature {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: start;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  background-color: #fff;
  transition: all 0.4s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.feature-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.feature-title {
  font-size: 1.5rem;
  margin: 0;
  color: #25476a;
}

.feature-description {
  font-size: 1rem;
  color: #151515;
  margin-top: 8px;
}

.feature-text {
  max-width: 600px;
}

/* Responsive: imagen de la izquierda desaparece en pantallas más pequeñas */
@media screen and (max-width: 1279px) {
  .agenda-img {
    display: none;
  }

  .agenda-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .agenda-features {
    align-items: center;
    max-width: 90%;
  }
}

/* Responsive: tarjetas con imagen centrada en vertical */
@media screen and (max-width: 1024px) {
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-img {
    margin-bottom: 10px;
  }

  .feature-text {
    max-width: 100%;
  }

  .agenda-header-content {
    flex-direction: column;
    text-align: center;
  }

  .agenda-header-text {
    max-width: 100%;
  }

  .agenda-header-img {
    margin-bottom: 10px;
  }
}

/* Animación opcional */
@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-10px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}