/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fff5e3;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 0 0 50px 50px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background-color: #fefee3;
  color: #e74c3c;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  background-color: #fff5e3;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Quiénes Somos Section */
.about {
  padding: 80px 0;
  background-color: #f9f1e6;
  border-radius: 30px;
  margin: 0 20px 60px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #e74c3c;
  font-size: 2.2rem;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #e74c3c;
  border-radius: 2px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  padding: 0 20px;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.2rem;
  line-height: 1.9;
}

/* Marcas Section */
.marcas {
  padding: 80px 0;
  margin-bottom: 60px;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.marca-item {
  background-color: white;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marca-img-container {
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.marca-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.marca-name {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  margin-top: 15px;
}

/* Envíos Section */
.envios {
  background-color: #f9f1e6;
  padding: 80px 0;
  text-align: center;
  border-radius: 30px;
  margin: 60px 20px 0;
}

.envios-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.camion-icon {
  font-size: 5rem;
  color: #e74c3c;
  margin-bottom: 25px;
}

.envios h3 {
  font-size: 2.3rem;
  color: #e74c3c;
  margin-bottom: 20px;
}

.envios p {
  font-size: 1.2rem;
  color: #333;
  max-width: 600px;
  line-height: 1.8;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  z-index: 1000;
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 0 8px #25d366) drop-shadow(0 0 12px #25d366);
  animation: pulse-glow 1.8s infinite ease-in-out;
}

/* Animación de pulso del resplandor */
@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 4px #25d366) drop-shadow(0 0 6px #25d366);
  }
  50% {
    filter: drop-shadow(0 0 12px #25d366) drop-shadow(0 0 20px #25d366);
  }
  100% {
    filter: drop-shadow(0 0 4px #25d366) drop-shadow(0 0 6px #25d366);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .marcas-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .marca-img-container {
    width: 120px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
    border-radius: 0 0 30px 30px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .marcas-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
  }

  .marca-img-container {
    width: 100px;
    height: 80px;
  }
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  font-size: 20px;
  color: #25d366; /* color oficial de WhatsApp */
}

.contact-link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  color: #25d366;
}
.banner-carousel {
  width: 100%;
  overflow: hidden; /* ocultamos el scroll visible */
  background-color: #f8f8f8;
  margin-top: 1.5rem;
}

.carousel-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.carousel-track img {
  display: inline-block;
  margin-right: 5px;
  height: 200px; /* ajustable */
  width: auto; /* mantiene proporción */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
