body {margin:0;font-family:Arial;scroll-behavior:smooth;}

/* HEADER */
/* HEADER APPLE STYLE */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;

  background: rgba(240, 240, 240, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 40px;
}

/* NAV DESKTOP */
nav {
  display: flex;
}

nav a {
  color: #333;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* EFECTO APPLE HOVER */
nav a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #d4002a;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}

/* MOBILE */
@media(max-width:768px){

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);

    display: none;
    flex-direction: column;
    text-align: center;

    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }

  nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .menu-toggle {
    display: flex;
  }

  nav.active {
    display: flex;
  }
}



/* HERO */


.logo{
  height:60px;
}

/* HERO SLIDER */
.hero-slider{
  width:100%;
  height:100vh;
  overflow:hidden;
  position:relative;
}

/* CONTENEDOR */
.slides{
  width:100%;
  height:100%;
  position:relative;
}

/* CADA SLIDE */
.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 1s ease-in-out;
}

/* ACTIVO */
.slide.active{
  opacity:1;
  z-index:1;
}

/* IMAGEN */
.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* OVERLAY OSCURO */
.slide::after{
  content:'';
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;

  
}

/* TEXTO */
/* CONTENIDO BASE */
/* CONTENIDO BASE */
.contenido{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  color:white;
  z-index:2;

  /* background:rgba(0,0,0,0.35); */
  padding:40px 60px;
  border-radius:14px;
  backdrop-filter:blur(8px);
}

/* TEXTO INICIAL OCULTO */
.contenido h1,
.contenido p,
.contenido .btn-cta{
  opacity:0;
  transform:translateY(30px);
}

/* ===== ANIMACIONES SECUENCIALES ===== */

/* TITULO */
.slide.active .contenido h1{
  animation:fadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

/* DESCRIPCIÓN */
.slide.active .contenido p{
  animation:fadeUp 0.8s ease forwards;
  animation-delay: 1.2s;
}

/* BOTÓN */
.slide.active .contenido .btn-cta{
  animation:fadeUp 0.8s ease forwards;
  animation-delay: 1.8s;
}

/* ANIMACIÓN */
@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* TEXTO ESTILO */
.contenido h1{
  font-size:4rem;
  margin-bottom:10px;
  text-shadow:2px 2px 15px rgba(0,0,0,0.8);
}

.contenido p{
  font-size:1.4rem;
  margin-bottom:20px;
  text-shadow:1px 1px 10px rgba(0,0,0,0.8);
}

/* BOTÓN PREMIUM */
.btn-cta{
  display:inline-block;
  padding:12px 28px;
  background:#ff3c3c;
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-weight:600;
  transition:0.3s;
}

.btn-cta:hover{
  background:#ff0000;
  transform:scale(1.05);
}










/* SECCIONES */
section {padding:100px 20px;}

.cards {display:flex;gap:20px;justify-content:center;}

.card {background:#f5f5f5;padding:20px;border-radius:10px;}

/* VALORES */
.valores {background:#d4002a;color:white;}

.valores-grid {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
text-align:center;
}

/* CATÁLOGO */
.grid {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.producto {
background:white;padding:15px;border-radius:10px;
transition:0.3s;
}

.producto img {width:100%;height:180px;object-fit:contain;}

.producto:hover {
transform:translateY(-10px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* CONTACTO */
.contacto {background:#111;color:white;text-align:center;}

/* ANIMACIÓN */
.fade {opacity:0;transform:translateY(40px);}
.fade.visible {opacity:1;transform:translateY(0);transition:1s;}










/* ===== CARD ===== */
.producto{
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:18px;
  text-align:left;

  border:1px solid #eee;
  transition:0.35s;
  overflow:hidden;
}

.producto:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 50px rgba(0,0,0,0.08);
}

/* BADGE */
.badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#ff3c3c;
  color:white;
  font-size:0.7rem;
  padding:4px 8px;
  border-radius:6px;
  font-weight:600;
}

/* IMAGEN */
.producto img{
  width:100%;
  height:160px;
  object-fit:contain;
  margin-bottom:12px;
  transition:0.3s;
}

.producto:hover img{
  transform:scale(1.08);
}

/* TITULO */
.producto h3{
  font-size:1rem;
  margin-bottom:8px;
  color:#222;
}

/* RATING */
.rating{
  color:#ff9900;
  font-size:0.9rem;
  margin-bottom:8px;
}

.rating span{
  color:#777;
  margin-left:5px;
}

/* PRECIO */
.precio{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:5px;
}

.descuento{
  color:#cc0c39;
  font-weight:bold;
  font-size:0.9rem;
}

.actual{
  font-size:1.2rem;
  font-weight:700;
}

/* PRECIO ANTERIOR */
.precio-anterior{
  font-size:0.85rem;
  color:#777;
  text-decoration:line-through;
  margin-bottom:12px;
}

/* BOTON AMAZON */
.btn-agregar{
  width:100%;
  padding:12px;
  border:none;
  border-radius:25px;
  background:#FFD814;
  color:#111;
  font-weight:600;
  cursor:pointer;
  transition:0.25s;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* HOVER */
.btn-agregar:hover{
  background:#F7CA00;
}

/* ACTIVO */
.btn-agregar.agregado{
  background:#28a745;
  color:white;
}



@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}







/* BOTÓN WHATSAPP */
.btn-wa {
  display:inline-block;
  margin-top:10px;
  padding:8px 12px;
  background:#25D366;
  color:white;
  border-radius:20px;
  text-decoration:none;
  font-size:14px;
}




@keyframes slide {
0%{transform:translateX(0);}
33%{transform:translateX(-100%);}
66%{transform:translateX(-200%);}
}

.carrito {
padding:40px;
background:#f5f5f5;
text-align:center;
}

.btn-wa {
background:#25D366;
color:white;
padding:10px;
border:none;
border-radius:20px;
}


/* CARRITO FLOTANTE */
.carrito-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  overflow: hidden;
  font-size: 14px;
}

/* HEADER */
.carrito-header {
  background: #d4002a;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

/* CONTADOR */
#contador {
  background: white;
  color: #d4002a;
  border-radius: 50%;
  padding: 3px 8px;
}

/* LISTA */
#lista {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
}

#lista li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

/* BOTÓN ELIMINAR */
.eliminar {
  color: red;
  cursor: pointer;
}

/* FOOTER */
.carrito-footer {
  padding: 10px;
  text-align: center;
}

.btn-wa {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
}

/* MOBILE */
@media(max-width:768px){
  .carrito-float {
    width: 90%;
    right: 5%;
  }
}


#lista li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}

#lista span {
  margin:0 5px;
  font-size:16px;
}


.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p {
  margin: 5px 0;
  font-size: 14px;
}

.logo-footer {
  width: 150px;
  filter: grayscale(100%) brightness(200%);
  margin-bottom: 10px;
}

/* SOCIAL ICONS */
.socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background: #1e293b;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.socials a:hover {
  background: #d4002a;
}

/* INPUT */
.footer-col input {
  width: 100%;
  padding: 10px;
  border: none;
  margin-bottom: 10px;
  border-radius: 5px;
}

.footer-col button {
  width: 100%;
  padding: 10px;
  background: #d4002a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #1e293b;
  padding-top: 10px;
  font-size: 13px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .footer-container {
    flex-direction: column;
  }
}





.btn-agregar {
  background: #ffd814;
  border: 1px solid #fcd200;
  color: #111;
  padding: 10px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* HOVER */
.btn-agregar:hover {
  background: #f7ca00;
}

/* ACTIVO (cuando ya está en carrito) */
.btn-agregar.activo {
  background: #2ecc71;
  border: 1px solid #27ae60;
  color: white;
}






/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

/* IMAGEN */
.modal-img {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85%;
  animation: zoom 0.3s ease;
}

/* ANIMACIÓN */
@keyframes zoom {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

/* BOTÓN CERRAR */
.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* HOVER EN PRODUCTO */
.producto img {
  cursor: pointer;
  transition: 0.3s;
}

.producto img:hover {
  transform: scale(1.05);
}



/* ===== SECCIÓN ===== */
.nosotros{
  position:relative;
  padding:120px 6%;
  background:#fff;
  overflow:hidden;
}

/* FONDO PREMIUM SUAVE */
.nosotros-bg{
  position:absolute;
  width:100%;
  height:100%;
  background:
    radial-gradient(circle at 20% 30%, #f5f5f7 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #eeeeee 0%, transparent 40%);
  z-index:0;
}

/* CONTENEDOR */
.nosotros-container{
  display:flex;
  align-items:center;
  gap:80px;
  position:relative;
  z-index:1;
}

/* ===== IMAGEN ===== */
.nosotros-img{
  flex:1;
  perspective:1000px;
}

.nosotros-img img{
  width:100%;
  max-width:520px;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,0.15);
  transition:0.5s;
}

/* EFECTO PARALLAX SUAVE */
.nosotros-img img:hover{
  transform:rotateY(5deg) rotateX(2deg) scale(1.03);
}

/* ===== CONTENIDO ===== */
.nosotros-content{
  flex:1;
}

.nosotros-content h2{
  font-size:3.5rem;
  color:#111;
  margin-bottom:20px;
  letter-spacing:-1px;
}

.descripcion{
  font-size:1.15rem;
  color:#555;
  margin-bottom:50px;
  line-height:1.6;
}

/* ===== CARDS ===== */
.cards{
  display:flex;
  gap:25px;
  flex-wrap:wrap;
}

.card{
  flex:1;
  min-width:220px;
  padding:30px;
  border-radius:20px;

  /* GLASS EFFECT */
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(12px);

  box-shadow:0 15px 40px rgba(0,0,0,0.08);

  transition:0.4s;
  position:relative;
  overflow:hidden;
}

/* LUZ INTERNA */
.card::before{
  content:'';
  position:absolute;
  width:200%;
  height:200%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform:rotate(25deg);
  top:-100%;
  left:-100%;
  transition:0.6s;
}

/* HOVER PREMIUM */
.card:hover::before{
  top:100%;
  left:100%;
}

.card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

.card h3{
  color:#111;
  margin-bottom:10px;
}

.card p{
  color:#666;
  font-size:0.95rem;
}



/* OCULTO INICIAL */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

/* CUANDO APARECE */
.reveal.active{
  opacity:1;
  transform:translateY(0);
}









/* SECCIÓN */
.cobertura{
  padding:120px 6%;
  background:#f9f9fb;
}

/* CONTENEDOR */
.cobertura-container{
  display:flex;
  align-items:center;
  gap:80px;
}

/* TEXTO */
.cobertura-info h2{
  font-size:3rem;
  color:#111;
  margin-bottom:20px;
}

.cobertura-info p{
  color:#555;
  margin-bottom:40px;
}

/* ===== KPIs ===== */
.stats{
  display:flex;
  gap:40px;
}

.stat h3{
  font-size:2.5rem;
  color:#ff3c3c;
}

.stat p{
  color:#666;
}

/* ===== MAPA ===== */
.mapa{
  position:relative;
}

.mapa img{
  width:100%;
  max-width:500px;
  filter:grayscale(100%) contrast(1.1);
}

/* PINES */
.pin{
  position:absolute;
  background:#ff3c3c;
  color:white;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  box-shadow:0 10px 20px rgba(255,60,60,0.4);
  animation:pulse 2s infinite;
}

/* POSICIONES (ajústalas según tu imagen) */
.zacatecas{ top:40%; left:35%; }
.aguascalientes{ top:50%; left:45%; }
.slp{ top:60%; left:55%; }

/* ANIMACIÓN PIN */
@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.1);}
  100%{transform:scale(1);}
}


@media(max-width:900px){

  .cobertura-container{
    flex-direction:column;
    text-align:center;
  }

  .stats{
    justify-content:center;
  }

}





/* CONTENEDOR */
.buscador-amazon{
  display:flex;
  align-items:center;
  max-width:700px;
  margin:0 auto 40px auto;

  border-radius:10px;
  overflow:hidden;
  border:1px solid #ccc;

  background:white;
}

/* SELECT */
.buscador-amazon select{
  padding:12px;
  border:none;
  background:#f3f3f3;
  font-size:0.9rem;
  cursor:pointer;
  outline:none;
}

/* INPUT */
.buscador-amazon input{
  flex:1;
  padding:14px;
  border:none;
  outline:none;
  font-size:1rem;
}

/* BOTON */
.buscador-amazon button{
  background:#febd69;
  border:none;
  padding:14px 18px;
  cursor:pointer;
  transition:0.3s;
}

.buscador-amazon button:hover{
  background:#f3a847;
}

/* ICONO */
.buscador-amazon i{
  font-size:1rem;
}



/* WRAPPER */
.input-wrapper{
  position:relative;
  flex:1;
}

/* SUGERENCIAS */
#sugerencias{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:white;
  border:1px solid #ddd;
  border-top:none;
  z-index:10;

  max-height:250px;
  overflow-y:auto;

  display:none;
}

/* ITEM */
.sugerencia{
  padding:12px;
  cursor:pointer;
  transition:0.2s;
  border-bottom:1px solid #f1f1f1;
}

.sugerencia:hover{
  background:#f5f5f5;
}






