:root{
  --bg:#0a0a0a;
  --panel:#161616;
  --border:#242424;
  --text:#ffffff;
  --muted:#a8a8a8;
  --neon:#00b8ff;
  --ok:#25d366;
  --radius:18px;
  --max:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:smooth;
}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* SKIP TO MAIN CONTENT */
.skip-to-main{
  position:absolute;
  top:-100px;
  left:20px;
  background:var(--neon);
  color:#000;
  padding:12px 20px;
  border-radius:8px;
  font-weight:700;
  z-index:1000;
  text-decoration:none;
  transition:top .3s;
}
.skip-to-main:focus{
  top:20px;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

/* HEADER */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
  border-bottom:1px solid #141414;
  transition:box-shadow .3s;
}
header.scrolled{
  box-shadow:0 4px 20px rgba(0,0,0,.5);
}
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;gap:16px;
}
.brand{
  display:flex;align-items:center;gap:12px;font-weight:800;
}
.brand img{
  height:85px;
}
.brand span.ev{color:var(--neon)}
.pill{
  border:1px solid #383838;
  background:#4A5568;
  color:#fff;
  padding:6px 14px;border-radius:999px;
  font-size:.8rem;
  display:flex;align-items:center;gap:8px;
}

/* HERO */
.hero{
  background:radial-gradient(circle at center,#1a1a1a 0%,#0a0a0a 70%);
  text-align:center;
  padding:64px 20px 52px;
  border-bottom:1px solid #121212;
}
.hero h1{
  font-size:clamp(2rem,3.5vw,3.1rem);
  font-weight:800;
  margin-bottom:12px;
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease forwards;
}
.hero p{
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease .2s forwards;
}
.hero-ctas{
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease .4s forwards;
}
.hero-nav-bar{
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease .6s forwards;
}
.hero h1 span{color:var(--neon)}
.hero h1 span.dc-ac{
  font-size:0.75em;
  color:var(--text);
}
.hero p{
  max-width:820px;
  margin:0 auto 22px;
  color:var(--muted);
  font-size:1.1rem;
}
.hero-ctas{
  display:flex;justify-content:center;gap:12px;flex-wrap:wrap;
  margin-bottom:32px;
}
.hero-nav-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:#383838;
  border-radius:12px;
  overflow:hidden;
  max-width:1200px;
  margin:32px auto 0;
}
.hero-nav-item{
  background:#4A5568;
  padding:20px 16px;
  text-align:center;
  color:var(--text);
  font-weight:600;
  font-size:.95rem;
  transition:.2s;
  border-top:1px solid #383838;
  border-bottom:1px solid #383838;
}
.hero-nav-item:hover{
  background:#5a6578;
  color:var(--neon);
}
.hero-nav-item.active{
  background:#5a6578;
  color:var(--neon);
  border-color:var(--neon);
}
.btn{
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:.2s;
}
.btn-primary{
  background:#4A5568;
  border:1px solid #383838;
  color:#fff;
}
.btn-secondary{
  border:1px solid #2a2a2a;
  color:#fff;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,184,255,.2);
}
.btn:active{
  transform:translateY(0);
}
.btn:focus-visible{
  outline:2px solid var(--neon);
  outline-offset:2px;
}

/* PRODUCTS */
section{
  padding:48px 0;
  scroll-margin-top:120px;
}
#productos,#adaptador,#cargador-movil,#wall-dc,#contacto{
  scroll-margin-top:120px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:18px;
}
.card{
  background:linear-gradient(180deg,var(--panel),#121212);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  flex-direction:column;
  transition:.2s;
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .6s ease forwards;
}
.card:nth-child(1){animation-delay:.1s}
.card:nth-child(2){animation-delay:.2s}
.card:nth-child(3){animation-delay:.3s}
@keyframes fadeInUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.card:hover{
  border-color:var(--neon);
  transform:translateY(-4px);
}
.card img{
  height:220px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:14px;
  background:#0f0f0f;
}
.card h3{color:var(--neon);margin-bottom:6px}
.subtitle{
  font-size:.8rem;
  color:#777;
  text-transform:uppercase;
  margin-bottom:8px;
  letter-spacing:1px;
}
.description{
  font-size:.95rem;
  color:var(--muted);
  margin-bottom:16px;
  line-height:1.5;
}
.features{
  list-style:none;
  flex:1;
  margin-bottom:16px;
}
.features li{
  display:flex;
  gap:10px;
  margin-bottom:8px;
  color:#d6d6d6;
  font-size:.95rem;
}
.features i{color:var(--neon)}
.btn-ws-container{
  position:relative;
}
.btn-ws{
  background:#4A5568;
  border:1px solid #383838;
  color:#fff;
  text-align:center;
  padding:12px;
  border-radius:12px;
  font-weight:900;
  transition:all .2s;
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  font-family:inherit;
  font-size:inherit;
}
.btn-ws:hover{
  background:#5a6578;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,184,255,.25);
}
.btn-ws:active{
  transform:translateY(0);
}
.btn-ws:focus-visible{
  outline:2px solid var(--neon);
  outline-offset:2px;
}
.btn-ws.active{
  background:#5a6578;
  border-color:var(--neon);
}
.btn-ws.active i{
  transform:rotate(180deg);
}
.btn-ws i{
  transition:transform .3s;
  font-size:.8em;
}
.ws-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:#4A5568;
  border:1px solid #383838;
  border-radius:12px;
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px);
  transition:all .3s;
  z-index:10;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
}
.btn-ws-container.active .ws-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.ws-dropdown a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  color:#fff;
  text-decoration:none;
  transition:all .2s;
  border-bottom:1px solid #383838;
}
.ws-dropdown a:last-child{
  border-bottom:none;
}
.ws-dropdown a:hover{
  background:#5a6578;
  color:var(--neon);
}
.ws-dropdown a i{
  color:var(--ok);
  font-size:1.1em;
}
.btn-ws.loading{
  pointer-events:none;
  opacity:.7;
}
.btn-ws.loading::after{
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  top:50%;
  left:50%;
  margin-left:-8px;
  margin-top:-8px;
  border:2px solid rgba(255,255,255,.3);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin .6s linear infinite;
}
@keyframes spin{
  to{transform:rotate(360deg)}
}

/* TRUST */
.trust{
  background:#000;
  border-top:1px solid #111;
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.trust-item{
  text-align:center;
  padding:22px;
  border:1px solid #1b1b1b;
  border-radius:var(--radius);
  background:#0f0f0f;
}
.trust-item i{
  font-size:2rem;
  color:var(--neon);
  margin-bottom:10px;
}
.trust-item p{color:#888;font-size:.9rem}

/* CONTACT */
.contact{
  background:#0c0c0c;
  border-top:1px solid #111;
}
.contact-box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  background:#111;
  text-align:center;
}
.contact-box h2{
  color:var(--neon);
  margin-bottom:10px;
}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  margin-top:22px;
}
.contact-item{
  background:#0f0f0f;
  border:1px solid #1d1d1d;
  border-radius:16px;
  padding:16px;
}
.contact-item i{
  color:var(--neon);
  font-size:1.3rem;
  margin-bottom:8px;
}
.contact-item a{
  color:inherit;
  transition:color .2s;
}
.contact-item a:hover{
  color:var(--neon);
}

/* FOOTER */
footer{
  border-top:1px solid #111;
  padding:28px 0;
  color:#555;
  font-size:.85rem;
  text-align:center;
}
footer .wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}
.social-share{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.share-label{
  color:#888;
  font-size:.9rem;
}
.social-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#4A5568;
  border:1px solid #383838;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  transition:all .2s;
  font-size:16px;
}
.social-btn:hover{
  background:#5a6578;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,184,255,.2);
}
.social-btn:focus-visible{
  outline:2px solid var(--neon);
  outline-offset:2px;
}

/* WHATSAPP FLOAT */
.ws-float{
  position:fixed;
  bottom:24px;
  right:24px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:var(--ok);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  color:white;
  box-shadow:0 12px 22px rgba(0,0,0,.4);
  z-index:100;
}

/* BOTÓN VOLVER ARRIBA */
.back-to-top{
  position:fixed;
  bottom:100px;
  right:24px;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#4A5568;
  border:1px solid #383838;
  color:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:20px;
  cursor:pointer;
  transition:all .3s;
  z-index:99;
  box-shadow:0 8px 16px rgba(0,0,0,.3);
}
.back-to-top:hover{
  background:#5a6578;
  transform:translateY(-2px);
  box-shadow:0 12px 20px rgba(0,0,0,.4);
}
.back-to-top.visible{
  display:flex;
}

/* CARRUSEL */
.carousel-container{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:14px;
  background:#0f0f0f;
  height:220px;
}
.carousel-slides{
  display:flex;
  transition:transform 0.5s ease;
  height:100%;
}
.carousel-slide{
  min-width:100%;
  height:100%;
  position:relative;
}
.carousel-slide img,
.carousel-slide video{
  width:100%;
  height:100%;
  object-fit:cover;
  cursor:pointer;
  border-radius:14px;
}
.carousel-slide video{
  background:#000;
}
.carousel-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.75);
  border:2px solid rgba(255,255,255,.3);
  color:#fff;
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  transition:all .3s;
  font-size:18px;
  backdrop-filter:blur(4px);
  box-shadow:0 2px 8px rgba(0,0,0,.5);
}
.carousel-nav:hover{
  background:rgba(0,0,0,.9);
  border-color:var(--neon);
  color:var(--neon);
  box-shadow:0 4px 12px rgba(0,184,255,.3);
  transform:translateY(-50%) scale(1.1);
}
.carousel-nav.prev{
  left:10px;
}
.carousel-nav.next{
  right:10px;
}
.carousel-indicators{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:10;
}
.carousel-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:all .3s;
  padding:0;
}
.carousel-dot.active{
  background:#4A5568;
  border:1px solid #383838;
  width:24px;
  border-radius:4px;
}

/* LIGHTBOX */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.95);
  z-index:1000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.lightbox.active{
  display:flex;
}
.lightbox-content{
  position:relative;
  max-width:90vw;
  max-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-content img,
.lightbox-content video{
  max-width:90vw;
  max-height:90vh;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.8);
}
.lightbox-media{
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-close,.lightbox-nav{
  position:absolute;
  background:var(--panel);
  border:1px solid var(--border);
  color:var(--text);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.3s;
  z-index:1001;
}
.lightbox-close{
  top:20px;
  right:20px;
  width:44px;
  height:44px;
  font-size:28px;
}
.lightbox-close:hover{
  background:#4A5568;
  border:1px solid #383838;
  color:#fff;
  transform:rotate(90deg);
}
.lightbox-nav{
  width:56px;
  height:56px;
  font-size:28px;
  top:50%;
  transform:translateY(-50%);
}
.lightbox-nav.prev{
  left:20px;
}
.lightbox-nav.next{
  right:20px;
}
.lightbox-nav:hover{
  background:#4A5568;
  border:1px solid #383838;
  color:#fff;
}

/* TABLETS (768px - 1024px) */
@media(max-width:1024px) and (min-width:769px){
  .hero h1{
    font-size:clamp(1.8rem,4vw,2.8rem);
  }
  .hero-nav-bar{
    grid-template-columns:repeat(2,1fr);
    gap:2px;
  }
  .hero-nav-item{
    padding:16px 12px;
    font-size:.9rem;
  }
  .grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }
  .card{
    padding:16px;
  }
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* MÓVILES (hasta 768px) */
@media(max-width:768px){
  .hero{
    padding:48px 20px 40px;
  }
  .hero h1{
    font-size:clamp(1.6rem,6vw,2.2rem);
  }
  .hero p{
    font-size:1rem;
  }
  .hero-ctas{
    flex-direction:column;
    align-items:stretch;
  }
  .btn{
    width:100%;
    justify-content:center;
  }
  .hero-nav-bar{
    grid-template-columns:repeat(2,1fr);
    gap:2px;
    margin-top:24px;
  }
  .hero-nav-item{
    padding:14px 10px;
    font-size:.85rem;
  }
  .grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .card h3{
    font-size:1.1rem;
  }
  .contact-grid{
    grid-template-columns:1fr;
  }
}

/* MÓVILES PEQUEÑOS (hasta 600px) */
@media(max-width:600px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .brand img{
    height:70px;
  }
  .hero{
    padding:40px 16px 32px;
  }
  .hero-nav-bar{
    grid-template-columns:1fr;
    gap:2px;
  }
  .hero-nav-item{
    padding:12px;
    font-size:.8rem;
  }
  .card{
    padding:14px;
  }
  .carousel-container{
    height:200px;
  }
  .lightbox-nav{
    width:48px;
    height:48px;
    font-size:24px;
  }
  .lightbox-nav.prev{
    left:10px;
  }
  .lightbox-nav.next{
    right:10px;
  }
  .ws-float{
    width:56px;
    height:56px;
    font-size:30px;
    bottom:16px;
    right:16px;
  }
  .back-to-top{
    bottom:90px;
    width:44px;
    height:44px;
    font-size:18px;
    right:16px;
  }
  .social-share{
    flex-direction:column;
    gap:8px;
  }
  .share-label{
    font-size:.8rem;
  }
  .social-btn{
    width:32px;
    height:32px;
    font-size:14px;
  }
}

