/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ESTILOS GENERALES */
body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f4f4;
  color: #333333;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  /* Centramos ambos bloques y damos un gap moderado */
  justify-content: center;
  gap: 2rem; /* <= reducido para que no haya hueco excesivo */
  padding: 2rem;
  background-color: #ffffff;
}

/* HERO-LEFT */
.hero-left {
  /* Dejamos que ocupe un ancho flexible sin pasarse */
  flex: 0 1 auto; 
  max-width: 500px; /* <= Ajusta si quieres más o menos ancho de texto */
  text-align: left;
}

/* Título principal */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  /* Eliminamos margin-right fijo que creaba espacios raros */
  /* margin-right: 150px; */
}

/* Wrapper para la palabra dinámica (espacio fijo para palabras de 5 letras) */
.dynamicWordWrapper {
  display: inline-block;
  min-width: 5.6ch;
}

/* Palabra dinámica */
#dynamicWord {
  display: inline-block;
  color: #5aa8dc;
  margin-right: 0.3rem;
}

/* Subtexto */
.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 2rem;
  max-width: 450px; /* <= Si quieres el párrafo más ancho, sube este valor */
}

/* Botón CTA */
.cta-button {
  display: inline-block;
  background: #5aa8dc;
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background: #428cb7;
}

/* HERO-RIGHT */
.hero-right {
  flex: 0 1 auto; 
  max-width: 600px; /* <= Ajusta si quieres el carrusel más ancho */
  height: 350px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carrusel */
.card-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.card-carousel-track {
  display: flex;
  /* Calcula el ancho total: 6 imágenes de 400px + 5 espacios de 1.5rem */
  width: calc(6 * 400px + 5 * 1.5rem);
  animation: scroll 40s linear infinite alternate;
}

/* Imágenes del carrusel */
.card-carousel-track img {
  width: 400px;
  height: auto;
  margin-right: 1.5rem;
  border-radius: 8px;
  object-fit: cover;
}

/* Keyframes para desplazamiento alternado continuo */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---- MEDIA QUERIES ---- */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    gap: 2rem;
  }
  .hero-left {
    max-width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtext {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
  }
  .hero-right {
    width: 100%;
    height: 250px;
    max-width: 100%;
  }
  .card-carousel-track {
    width: calc(6 * 300px + 5 * 1rem);
    animation: scroll 40s linear infinite alternate;
  }
  .card-carousel-track img {
    width: 300px;
    margin-right: 1rem;
  }
}

/* ----- NUEVA SECCIÓN: Presentación del Producto ----- */
.product-presentation {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  background-color: #f7f7f7; /* Fondo suave para diferenciar la sección */
}

.presentation-image {
  flex: 1;
  max-width: 50%;
}

.presentation-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.presentation-text {
  flex: 1;
  max-width: 50%;
}

.presentation-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333333;
  font-weight: 700;
}

.presentation-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.product-features li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #333333;
}

.product-maintenance p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5aa8dc;
  margin: 0.5rem 0;
}

/* RESPONSIVE para la sección de presentación */
@media (max-width: 768px) {
  .product-presentation {
    flex-direction: column;
    padding: 2rem;
  }
  .presentation-image, .presentation-text {
    max-width: 100%;
  }
  .presentation-text h2 {
    font-size: 2rem;
  }
  .presentation-text p, 
  .product-features li, 
  .product-maintenance p {
    font-size: 1rem;
  }
}

/* ---- SECCIÓN: Why We Do It ---- */
.why-we-do-it {
  background-color: #ffffff;
  padding: 4rem 2rem;
  border-top: 2px solid #e0e0e0;
}

.why-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.why-we-do-it h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333333;
  font-weight: 700;
}

.why-we-do-it p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 1.2rem;
}

.why-we-do-it strong {
  color: #5aa8dc;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .why-we-do-it h3 {
    font-size: 1.6rem;
  }
  .why-we-do-it p {
    font-size: 1rem;
  }
}

.final-cta {
  background-color: #5aa8dc;
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
}

.final-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.final-cta .cta-button {
  background: #ffffff;
  color: #5aa8dc;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.final-cta .cta-button:hover {
  background: #e4e4e4;
}

.quick-summary {
  background-color: #f2f8fc;
  padding: 3rem 2rem;
  text-align: center;
}

.quick-summary h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #333333;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.summary-list li {
  font-size: 1.1rem;
  line-height: 2;
  color: #555555;
}
.mobile-adapted {
  background-color: #f2f8fc;
  padding: 2rem 0 3rem 0;
  display: flex;
  justify-content: center;
}

.mobile-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.mobile-text {
  flex: 1;
  min-width: 280px;
}

.mobile-text h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
}

.mobile-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555555;
}

.mobile-image {
  flex: 1;
  text-align: center;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.mobile-image img {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.mobile-image img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-content {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0 1rem;
  }

  .mobile-text h3 {
    font-size: 1.6rem;
  }

  .mobile-text p {
    font-size: 1rem;
  }

  .mobile-image img {
    transform: none;
    padding: 1rem;
  }
}

.presentation-text-banner {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 100%;
}

.presentation-text-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 0.5rem;
}

.presentation-text-banner .banner-mainline {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 1rem;
}

.presentation-text-banner .banner-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.presentation-text-banner .banner-price .highlight {
  color: #5aa8dc;
  font-weight: 800;
}

.presentation-text-banner .banner-subtext {
  font-size: 1.2rem;
  color: #555555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .presentation-text-banner {
    padding: 2.5rem 1.5rem;
  }

  .presentation-text-banner h2 {
    font-size: 1.8rem;
  }

  .presentation-text-banner .banner-mainline {
    font-size: 1.4rem;
  }

  .presentation-text-banner .banner-price {
    font-size: 1.6rem;
  }

  .presentation-text-banner .banner-subtext {
    font-size: 1rem;
  }
}
