.top-promo-banner {
    background-color: #003399; 
    color: white; 
    text-align: center;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

.top-promo-banner p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.promo-highlight {
    color: #FFD200;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.6rem;
}

.promo-highlight-gold {
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    font-size: 1.6rem;
}

.promo-btn {
    background-color: #FFD200;
    color: #003399;
    padding: 6px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.promo-btn:hover {
    background-color: #fff;
}

@media (max-width: 600px) {
    .top-promo-banner {
        font-size: 0.9rem;
        padding: 10px;
    }
    .top-promo-banner p {
        flex-direction: column;
        gap: 8px;
    }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url("/Imagenes/body.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 22, 61, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 90%;
}

.hero-content .hero-subtitle-img {
    max-width: 450px;
    width: 80%;
    display: block;
    margin: -15px auto 0 auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4)); /* Le da un ligero halo blanco para que resalte más */
}

@media (max-width: 600px) {
    .hero-content .hero-subtitle-img {
        max-width: 300px;
    }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(0, 0, 0, 0.6);
}

.hero h1 .blue {
  color: #003399;
}

.hero h1 .yellow {
  color: #FFD200;
}

.hero h2 {
  font-size: 1.4rem;
  margin-top: 15px;
}

.hero-btn {
  display: inline-block;
  margin-top: 25px;
  background-color: #ffd200;
  color: #003399;
  padding: 14px 28px;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-btn:hover {
  background-color: #ffcc00;
  transform: scale(1.05);
  box-shadow: 0 6px 15 px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero {
    height: 100svh; 
  }

  .hero h1 {
    font-size: 2.8rem;
  }

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

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

  .btn {
    width: 80%;
  }
}

.about {
  background: #f9fafc;
  padding: 100px 20px;
  text-align: center;
  border-top: 5px solid #003399;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
}

.about h2 {
  color: #003399;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 60px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.icon-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 5px solid #ffd200;
  border-radius: 12px;
  padding: 30px 25px;
  width: 300px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-box img {
  width: 70px;
  margin-bottom: 15px;
}

.icon-box h3 {
  color: #003399;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.icon-box p {
  color: #555;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .icon-box {
    width: 100%;
    max-width: 320px;
  }
}

.services {
  background-color: #ffffff;
  padding: 100px 20px;
  text-align: center;
  border-top: 5px solid #003399;
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  color: #003399;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.services p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 60px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}

.service-box {
  background: #f9fafc;
  border: 1px solid #e0e0e0;
  border-top: 5px solid #FFD200;
  border-radius: 12px;
  padding: 40px 25px;
  width: 250px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-box img {
  width: 60px;
  margin-bottom: 20px;
}

.service-box h3 {
  color: #003399;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-box p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .service-box {
    width: 100%;
    max-width: 320px;
  }
}

.boton-compra {
  background-color: #25D366;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-compra:hover {
  background-color: #1ebe5d;
}

.footer {
  background-color: #001b44;
  color: #fff;
  text-align: center;
  padding: 40px 10px;
  font-size: 0.95rem;
}

.footer-redes img {
  width: 30px;
  margin-top: -10px;
  transition: transform 0.3s;
}

.footer-redes img:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px; 
  bottom: 25px; 
  right: 25px; 
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center; /* Centra la imagen del logo dentro del círculo */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  text-decoration: none;
}

.whatsapp-float img {
  width: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #1ebe5d;
}

.whatsapp-float .float-text {
  color: white;
  background-color: #1ebe5d;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  right: 100%;
  opacity: 0;
  margin-right: 10px;
  transform: translateY(-50%) translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover .float-text {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.instagram-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 95px; 
  right: 25px;
  background-color: #003399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.instagram-float img {
  width: 32px;
  position: relative; 
  z-index: 2;
}

.instagram-float:hover {
  transform: scale(1.1);
  background-color: #004cbe;
}

.instagram-float .float-text-insta {
  color: white;
  background-color: #004cbe; 
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  
  position: absolute; 
  top: 50%; 
  right: 100%;
  
  opacity: 0;
  margin-right: 10px;
  transform: translateY(-50%) translateX(10px);
  
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.instagram-float:hover .float-text-insta {
  opacity: 1; 
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.compra-section {
  background-color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-top: 5px solid #FFD200; 
}

.compra-section h2 {
  font-size: 2.4rem;
  color: #003399;
  margin-bottom: 20px;
}

.compra-section p {
  font-size: 1.1rem;
  color: #333;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.boton-compra {
  background-color: #25D366;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-compra:hover {
  background-color: #1ebe5d;
}

.map-section {
  background-color: #f9fafc;
  text-align: center;
  padding: 80px 20px;
  border-top: 5px solid #003399;
}

.map-section h2 {
  font-size: 2.2rem;
  color: #003399;
  margin-bottom: 10px;
}

.map-section p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.map-container {
  max-width: 900px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe,
.map-container img {
    display: block; 
    width: 100%;
    height: 100%; 
}

.map-link {
  display: inline-block;
  color: #003399;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #003399;
  border-radius: 30px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.map-link:hover {
  background-color: #003399;
  color: #fff;
}

.productos {
  text-align: center;
  padding: 40px 10px;
  background-color: #ffffff;
}

.productos h2 {
  color: #003366;
  margin-bottom: 30px;
}

.battery-card {
  background: white;
  border: 2px solid #ffcc00;
  border-radius: 12px;
  padding: 15px;
  width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.battery-card:hover {
  transform: translateY(-5px);
}

.battery-card img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.battery-card p {
  margin-top: 10px;
  font-weight: bold;
  color: #003366;
}

.info-grid-section {
    background-color: #ffffff;
    padding: 60px 20px;
    border-top: 5px solid #003399;
}

.info-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center; 
}

.carrusel-col {
    flex: 1; 
    min-width: 0; 
}

.compra-col {
    flex: 1; 
    text-align: left;
    padding-left: 40px;
}

.compra-col h2 {
    font-size: 2.6rem;
    color: #003399;
    margin-bottom: 15px;
}

.compra-col p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
}

.carrusel-col .carousel-wrapper {
    max-width: 100%; 
    padding: 0; 
}

.carrusel-col #heroCarousel .carousel-inner {
    height: 550px;
    border-radius: 12px;
}

.carrusel-col #heroCarousel .carousel-item img {
    height: 100%; 
    width: 100%;  
    object-fit: contain;
    border-radius: 12px; 
}

@media (max-width: 850px) {
    .info-grid-container {
        flex-direction: column;
        text-align: center;
    }
    
    .compra-col {
        text-align: center; 
        margin-top: 30px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .carrusel-col #heroCarousel .carousel-inner {
        height: 350px;
    }

    .carrusel-col #heroCarousel .carousel-item img {
        object-fit: contain; 
        height: auto;
        max-height: 350px;
    }
}

.boton-wrapper {
    text-align: left; 
}

.boton-compra {
    display: inline-block; 
    margin-left: 130px;
}

@media (max-width: 850px) {
    .boton-wrapper {
        text-align: center;
    }

    .boton-compra {
        margin-left: 0; 
    }
}

.productos {
    position: relative;
    text-align: center;
    padding: 40px 0;
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    border-top: 5px solid #ffd200;
}

.productos .productos-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.productos h2 {
    color: #003366;
    margin-bottom: 30px;
    padding: 0 15px; 
}

.battery-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 15px 20px 15px; 
    position: relative;
}

.battery-scroll-container::-webkit-scrollbar {
    display: none;
}

.battery-grid-scrollable {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    gap: 20px;
    padding-bottom: 10px; 
}

.battery-card {
    background: white;
    border: 2px solid #ffcc00;
    border-radius: 12px;
    padding: 15px;
    flex: 0 0 auto; 
    width: 180px;
    scroll-snap-align: start; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.battery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-shrink: 0;
    width: 180px;
}

.battery-card:hover {
    transform: translateY(-5px);
}

.battery-card img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

.battery-card p {
    margin-top: 10px;
    font-weight: bold;
    color: #003366;
}

.battery-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0; 
    width: 30px; 
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none; 
}

@media (max-width: 768px) {
    .battery-card {
        width: 150px; 
    }
    
    .battery-scroll-container::after {
        display: none;
    }
}