
/* Imagen principal */
.main-image {
  text-align: center;
  margin: 40px 0 20px;
}
.main-image img {
  max-width: 100%;
  height: auto;
}

/* Texto descriptivo */
.section {
  max-width: 960px;
  margin: auto;
  padding: 0 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
.section h2 {
  color: #1d45ca;
  margin-top: 2rem;
  font-size: 1.5rem;
}
.section strong {
  color: #000;
}

/* Características iguales */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}
.feature {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1 1 280px;
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.feature h3 {
  margin-top: 1rem;
  font-weight: bold;
  color: #222;
}
.feature p {
  color: #444;
  margin: 0.5rem 0 0;
}

/* Carrusel estilo "quienes somos" */
.carousel-container {
  position: relative;
  max-width: 640px;
  margin: 3rem auto;
  overflow: hidden;
  border-radius: 12px;
}
.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.carousel-images img {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1d45ca;
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* CTA */
.cta {
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 600px;
}
.cta h2 {
  color: #222;
  font-size: 1.5rem;
}
.cta p {
  color: #666;
  margin-bottom: 1rem;
}
.btn-compra {
  display: inline-block;
  background: linear-gradient(to right, #5e00ff, #ff0000);
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}
.btn-compra:hover {
  background: linear-gradient(to right, #4500c0, #c40000);
}

/* Responsivo */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}
