/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: url('./2.png') no-repeat center center;
  background-size: cover;
  line-height: 1.6;
}

/* CARRUSEL */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 6rem auto 0 auto;
  overflow: hidden;
  border: 2px solid #000;
  background-color: #fff;
}

.carousel-track-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-image {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 300px;
}

/* Botones carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 10;
  border-radius: 50%;
  user-select: none;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* ¿Por qué elegirnos? */
.why-title {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 1.1rem;
}

/* Beneficios */
.benefits-list {
  list-style: none;
  margin: 20px auto 0 auto;
  padding: 0;
  max-width: 800px;
  text-align: center;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.benefits-list li {
  color: #0074a8;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.benefits-list li strong {
  color: #00aaff;
  display: block;
}

/* CTA */
.cta-industria {
  text-align: center;
  margin-top: 2rem;
}

.cta-industria p {
  font-family: 'Belleza', sans-serif;
  color: white;
  font-size: 2.2rem;
  font-weight: bold;
}

.cta-button {
  background-color: #0074a8;
  color: white;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 2rem auto 4rem auto;
  position: relative;
  top: 20px;
}

.cta-button:hover {
  background-color: #00aaff;
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background-color: #0074a8;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 1rem;
  margin-top: 40px;
}

footer p {
  margin: 0.2rem 0;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00bcd4;
}

/* RESPONSIVE solo para móviles */
@media (max-width: 768px) {
  .carousel-container {
    max-height: none;
    padding: 5px;
  }

  .carousel-image {
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .carousel-btn {
    font-size: 1.4rem;
    padding: 6px 12px;
  }

  .why-title {
    font-size: 1.8rem;
    margin-top: 1.5rem;
  }

  .benefits-list {
    padding: 10px;
    gap: 15px;
  }

  .benefits-list li {
    font-size: 1rem;
    line-height: 1.4;
    flex-direction: column;
    gap: 5px;
  }

  .cta-industria p {
    font-size: 1.4rem;
    margin: 0 10px;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
    top: 10px;
    width: 90%;
  }
}

/* Extra pequeño */
@media (max-width: 480px) {
  .benefits-list li {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .carousel-btn {
    font-size: 1rem;
    padding: 4px 8px;
  }

  .cta-industria p {
    font-size: 1.2rem;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 8px 16px;
    letter-spacing: 0.5px;

  }
}
