/* Reset básico y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
  body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  }
  .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  }
  a {
  text-decoration: none;
  color: inherit;
  }
  
  /* Header y Navbar (actualizado) */
  header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-image {
    width: 150px;
    height: 75px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(2px 4px 6px black);
}
.logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
}
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-left: 30px;
    position: relative;
}
nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}
nav ul li a:hover {
    color: #3498db;
}
nav ul li a:hover::after {
    width: 100%;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content li {
    margin: 0;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3498db;
}
.middle-logos {
    display: flex;
    align-items: center;
}
.middle-logo-image {
    width: 80px;
    height: 40px;
    object-fit: contain;
    margin: 0 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.middle-logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
}

/* Estilos responsive */
@media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
    .middle-logos {
      order: 2;
      flex-grow: 1;
      justify-content: center;
  }
    nav {
      display: none;
      order: 4;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #fff;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav.active {
      display: block;
    }
    nav ul {
      flex-direction: column;
      padding: 1rem;
    }
    nav ul li {
      margin: 0;
      padding: 0.5rem 0;
    }
    nav ul li a::after {
      display: none;
    }
    .dropdown-content {
      position: static;
      box-shadow: none;
      display: none;
    }
    .dropdown.active .dropdown-content {
      display: block;
    }
    .footer-section {
      width: 100%;
    }
    .container{
     flex-wrap: wrap;
      margin: 0 auto;
    }
    .menu-toggle{
      display: block;
      order: 3;
     
    }
  }
  
  /* Menú móvil (sin cambios) */
  .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #3498db;
  }

  /* HH CARROUSEL DE INICIO  */
  .HH-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    height: 500px;
    margin-top: 100px;
}

.HH-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    animation: HH-slide 15s infinite;
}

.HH-slide {
    width: 33.33%;
    position: relative;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.HH-slide-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    box-sizing: border-box;
}

.HH-text-container {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 25px 30px;
    border-radius: 4px;
    max-width: 400px;
    transform: translateY(-30px);
}

.HH-slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.HH-slide-description {
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.HH-highlight {
    color: #00e5ff;
    font-weight: 500;
}

/* Animación del slider */
@keyframes HH-slide {
    0%, 30% {
        transform: translateX(0);
    }
    33.33%, 63.33% {
        transform: translateX(-33.33%);
    }
    66.66%, 96.66% {
        transform: translateX(-66.66%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .HH-text-container {
        max-width: 320px;
        padding: 20px 25px;
    }
    
    .HH-slide-title {
        font-size: 1.8rem;
    }
    
    .HH-slide-description {
        font-size: 1rem;
    }
    
    .HH-slider-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .HH-text-container {
        max-width: 280px;
        padding: 15px 20px;
    }
    
    .HH-slide-title {
        font-size: 1.5rem;
    }
    
    .HH-slide-description {
        font-size: 0.9rem;
    }
    
    .HH-slider-container {
        height: 350px;
    }
}
  
  /* Estilos actualizados para la sección de inicio */
  .hero {
  padding: 8rem 0 4rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  }
  
  .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
  animation: gradient 5s ease infinite;
  background-size: 200% 200%;
  }
  
  @keyframes gradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
  }
  
  .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  }
  
  .hero-text {
  text-align: center;
  max-width: 800px;
  }
  
  .hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  }
  
  .hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 50px;
  height: 3px;
  background-color: #3498db;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  }
  
  .hero-text:hover .hero-title::after {
  width: 100px;
  }
  
  .hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
  }
  
  .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #3498db;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
  }
  
  .cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(52, 152, 219, 0.3);
  }
  
  /* Estilos para el slider en el hero */
  .hero-slider {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  }
  
  .hero-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  }
  
  .hero-slide {
  flex: 0 0 100%;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  }
  
  .hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  }
  
  .hero-slide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .hero-slide-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  }
  
  .hero-slide-description {
  font-size: 1rem;
  color: #666;
  }
  
  /* Estilos para la sección de Productos Destacados */
  .productos-destacados {
  padding: 8rem 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  }
  
  .productos-destacados::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
  animation: gradient 5s ease infinite;
  background-size: 200% 200%;
  }
  
  .section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  }
  
  .section-title h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  }
  
  .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 50px;
  height: 2px;
  background-color: #3498db;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  }
  
  .section-title:hover h2::after {
  width: 100px;
  }
  
  .section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  }
  
  .carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  }
  
  .carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  }
  
  .carousel-item {
  flex: 0 0 100%;
  padding: 0 15px;
  }
  
  .producto {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  }
  
  .producto:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .producto-imagen {
  position: relative;
  overflow: hidden;
  height: 250px;
  }
  
  .producto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  }
  
  .producto:hover .producto-imagen img {
  transform: scale(1.1);
  }
  
  .producto-info {
  padding: 1.5rem;
  text-align: center;
  }
  
  .producto-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
  font-weight: 600;
  }
  
  .producto-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  }
  
  .producto-precio {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3498db;
  }
  
  .carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(52, 152, 219, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  }
  
  .carousel-control:hover {
  background-color: rgba(52, 152, 219, 1);
  }
  
  .carousel-control-prev {
  left: 10px;
  }
  
  .carousel-control-next {
  right: 10px;
  }
  
  .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  }
  
  /* Estilos actualizados para la sección "Sobre Nosotros" */
  .about {
  padding: 8rem 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  }
  
  .about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
  animation: gradient 5s ease infinite;
  background-size: 200% 200%;
  }
  
  .about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  }
  
  .about-text {
  flex: 1;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  }
  
  .about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }
  
  .about-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  }
  
  .about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #3498db;
  transition: width 0.3s ease;
  }
  
  .about-text:hover .about-title::after {
  width: 100%;
  }
  
  .about-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
  }
  
  @keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  }
  
  .about-description:nth-child(2) {
  animation-delay: 0.2s;
  }
  
  .about-video {
  flex: 1;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  }
  
  .about-video:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }
  
  .about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  }

  /* Actualización del estilo para el botón de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}
  
  /* Footer (actualizado) */
  footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 4rem 0 2rem;
  }
  .footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  }
  .footer-section {
  width: calc(33.333% - 20px);
  margin-bottom: 2rem;
  }
  .footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
  }
  .footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3498db;
  }
  .footer-section ul {
  list-style: none;
  }
  .footer-section ul li {
  margin-bottom: 0.5rem;
  }
  .footer-section ul li a {
  transition: color 0.3s ease;
  }
  .footer-section ul li a:hover {
  color: #3498db;
  }
  .footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  font-size: 0.9rem;
  color: #bdc3c7;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
  .hero-content, .about-content {
    flex-direction: column;
  }
  .hero-text, .hero-slider, .about-text, .about-video {
    width: 100%;
  }
  }
  
  @media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  nav ul li {
    margin: 0;
    padding: 0.5rem 0;
  }
  nav ul li a::after {
    display: none;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
  .footer-section {
    width: 100%;
  }
  }
  
  @media (max-width: 480px) {
  .section-title h2 {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-description {
    font-size: 1rem;
  }
  .hero-slide-title {
    font-size: 1.2rem;
  }
  .hero-slide-description {
    font-size: 0.9rem;
  }
  }