:root{
  --yellow:#ffd23f;
  --yellow-dark:#f0b400;
  --blue:#1f6feb;
  --blue-dark:#174ea6;
  --ink:#121826;
  --muted:#5b6472;
  --line:#e5e8ee;
  --bg-soft:#f6f8fb;
  --radius:16px;
  --shadow:0 10px 30px rgba(20,30,60,.08);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  line-height:1.55;
  background:#fff;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
h1{font-size:clamp(1.9rem,4vw,3.1rem);line-height:1.12;font-weight:800}
h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin-bottom:.5rem}
p{color:var(--muted)}

/* BOTONES */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.4rem;border-radius:999px;font-weight:700;font-size:1rem;
  border:none;cursor:pointer;transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn-cta{background:var(--yellow);color:#221a00}
.btn-cta:hover{background:var(--yellow-dark);transform:translateY(-2px);box-shadow:0 8px 20px rgba(240,180,0,.35)}
.btn-ghost{background:#fff;color:var(--blue);border:2px solid var(--blue);padding:.8rem 1.35rem}
.btn-ghost:hover{background:var(--blue);color:#fff}

/* TOPBAR */
.topbar{
  background:var(--ink);color:#f2f4f8;font-size:.85rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:.5rem 5vw;
}
.topbar a{color:var(--yellow);font-weight:600}
.topbar-wa{background:rgba(255,210,63,.12);padding:.3rem .8rem;border-radius:999px}

/* HEADER */
.header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:.9rem 5vw;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.logo{display:flex;align-items:center;gap:.7rem}
.logo-emblem{width:46px;height:46px;display:block;filter:drop-shadow(0 6px 12px rgba(11,47,214,.4));animation:emblemFloat 3.5s ease-in-out infinite;transform-style:preserve-3d}
.logo-emblem svg{width:100%;height:100%}
.logo-text{font-weight:800;font-size:1.28rem;line-height:1.05;display:flex;flex-direction:column}
.logo-text span{color:var(--blue);font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
@keyframes emblemFloat{0%,100%{transform:rotateY(-8deg) translateY(0)}50%{transform:rotateY(8deg) translateY(3px)}}
.nav{display:flex;gap:1.4rem;font-weight:600;color:var(--muted)}
.nav a:hover{color:var(--blue)}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer}
.nav-toggle span{width:24px;height:3px;background:var(--ink);border-radius:2px;transition:.3s}

/* HERO */
.hero{
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(255,210,63,.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31,111,235,.12), transparent 60%),
    linear-gradient(120deg,#fff 40%,#fbf3d6 100%);
  padding:3rem 5vw 3.5rem;position:relative;overflow:hidden;
}
.hero-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.badge{display:inline-block;background:#e6f0ff;color:var(--blue-dark);font-weight:700;padding:.35rem .9rem;border-radius:999px;margin-bottom:1.1rem;font-size:.85rem}
.hero-copy p{margin:1rem 0 1.6rem;max-width:32rem;font-size:1.08rem}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap}
.hero-trust{list-style:none;display:flex;flex-wrap:wrap;gap:.7rem 1.5rem;margin-top:1.8rem}
.hero-trust li{color:var(--ink);font-weight:600;font-size:.95rem}

/* HERO 3D SCENE */
.hero-scene{position:relative;min-height:360px;perspective:1100px;display:flex;align-items:center;justify-content:center}
.scene-glow{
  position:absolute;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,#ffd23f 0%,#ffb300 38%,transparent 62%);
  filter:blur(6px);opacity:.55;
  animation:glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse{0%,100%{transform:scale(.96);opacity:.45}50%{transform:scale(1.06);opacity:.6}}
.scene-float{position:absolute;font-size:2rem;filter:drop-shadow(0 8px 12px rgba(20,30,60,.3));animation:floatUp 6s ease-in-out infinite}
.scene-float.f1{top:14%;left:8%}
.scene-float.f2{bottom:18%;right:6%;animation-delay:1.5s}
.scene-float.f3{top:8%;right:20%;animation-delay:3s;font-size:1.6rem}
@keyframes floatUp{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-18px) rotate(6deg)}}

.battery3d{position:relative;width:190px;height:270px;transform-style:preserve-3d;transform:rotateX(-14deg) rotateY(24deg);animation:spin 14s linear infinite}
@keyframes spin{0%{transform:rotateX(-14deg) rotateY(24deg)}100%{transform:rotateX(-14deg) rotateY(384deg)}}
.b3d-face{position:absolute;background:linear-gradient(135deg,#2f7cff,#0b2fd6);border:2px solid rgba(156,240,255,.5)}
.b3d-front{width:190px;height:150px;transform:translateZ(64px);border-radius:10px;box-shadow:inset -20px -20px 60px rgba(9,30,120,.55),inset 14px 14px 40px rgba(156,240,255,.25)}
.b3d-back{width:190px;height:150px;transform:rotateY(180deg) translateZ(64px);border-radius:10px;box-shadow:inset -20px -20px 60px rgba(9,30,120,.5)}
.b3d-left{width:128px;height:150px;left:31px;transform:rotateY(-90deg) translateZ(64px);background:linear-gradient(180deg,#5a9bff,#0b2fd6)}
.b3d-right{width:128px;height:150px;right:31px;transform:rotateY(90deg) translateZ(64px);background:linear-gradient(180deg,#1a4fe0,#081a7a)}
.b3d-top{width:190px;height:128px;top:11px;transform:rotateX(90deg) translateZ(64px);background:linear-gradient(135deg,#9cf0ff,#2f7cff);border-radius:10px}
.b3d-bottom{width:190px;height:128px;bottom:11px;transform:rotateX(-90deg) translateZ(64px);background:linear-gradient(135deg,#1233a8,#08185f)}
/* terminals */
.battery3d::before,.battery3d::after{content:"";position:absolute;top:-8px;left:50%;width:42px;height:20px;transform:translateX(-50%) rotateX(-90deg);background:linear-gradient(#ffe47a,#f08c00);border-radius:4px;box-shadow:0 4px 8px rgba(0,0,0,.3)}
.battery3d::after{top:auto;bottom:-8px;transform:translateX(-50%) rotateX(90deg)}
/* bolt stripes */
.b3d-bolt{position:absolute;left:50%;background:linear-gradient(#0626a0,#0b2fd6);border-radius:3px;opacity:.85}
.b3d-1{width:26px;height:26px;top:34px;margin-left:-44px;transform:rotate(-45deg)}
.b3d-2{width:26px;height:26px;top:72px;transform:translateX(-50%) rotate(45deg);border-radius:50%;background:radial-gradient(circle,#9cf0ff,#0b2fd6);border:3px solid #ffd23f}
.b3d-3{width:26px;height:26px;top:110px;margin-left:30px;transform:rotate(-45deg)}
.b3d-ring{position:absolute;border:2px solid #ffd23f;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.r1{width:96px;height:96px;opacity:.8}
.r2{width:150px;height:150px;opacity:.5}
.r3{width:205px;height:205px;opacity:.25}

/* PROD CARDS 3D */
.grid{perspective:1400px}
.card{transform-style:preserve-3d;transition:transform .25s ease, box-shadow .25s ease}
.card-img svg{will-change:transform}

/* TRUSTBAR */
.trustbar{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border-top:1px solid var(--line);
}
.datum{background:#fff;text-align:center;padding:1.6rem}
.datum strong{display:block;font-size:1.7rem;color:var(--blue)}
.datum span{color:var(--muted);font-size:.9rem}

/* SECTIONS */
main{max-width:1200px;margin:0 auto;padding:0 5vw 3rem}
.section-head{text-align:center;margin:3rem 0 1.8rem}
.section-head p{max-width:40rem;margin:0 auto}

/* PRODUCT GRID */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.3rem}
.card{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:#fff;transition:transform .18s ease, box-shadow .18s ease;display:flex;flex-direction:column;
}
.card:hover{transform:translateY(-8px) rotateX(3deg) rotateY(-3deg);box-shadow:0 24px 50px rgba(20,40,110,.22)}
.card-img{background:radial-gradient(circle at 30% 20%,#ffffff,#e7edfa 90%);display:flex;align-items:center;justify-content:center;padding:1.2rem;min-height:170px}
.card-img svg{width:120px;height:120px;filter:drop-shadow(0 14px 16px rgba(20,40,110,.25))}
.card-body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.card-body h3{font-size:1.1rem;margin-bottom:.3rem}
.card-body p{font-size:.9rem;flex:1}
.card-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin:.7rem 0 1rem}
.chip{background:var(--bg-soft);border:1px solid var(--line);color:var(--muted);font-size:.72rem;font-weight:700;padding:.25rem .6rem;border-radius:999px}
.card-price{font-size:1.05rem;font-weight:800;margin-bottom:.6rem}
.card-price small{font-weight:600;color:var(--muted);font-size:.75rem}
.wa-mini{display:inline-block;text-align:center;background:var(--blue);color:#fff;font-weight:700;border-radius:999px;padding:.6rem .3rem;font-size:.9rem}
.wa-mini:hover{background:var(--blue-dark)}
.price-tag{color:var(--blue-dark)}

/* WHY */
.why{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:3rem 0}
.why-card{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.why-card span{font-size:1.8rem}
.why-card h3{margin:.4rem 0 .3rem}
.why-card p{font-size:.9rem}

/* ABOUT */
.about{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;margin:3rem 0}
.about-art{
  min-height:300px;border-radius:var(--radius);
  background:
    linear-gradient(#1f6feb,#1f6feb) 30% 0/70% 100% no-repeat,
    linear-gradient(#ffd23f,#ffd23f) 30% 45%/70% 20% no-repeat,
    #eef2fb;
  position:relative;
}
.about-art::after{counter:none}
.about-list{list-style:none;margin-top:1.2rem}
.about-list li{padding:.55rem 0;border-bottom:1px dashed var(--line);color:var(--ink);font-size:.98rem}
.about-list strong{color:var(--blue)}

/* CONTACT */
.contact{padding:2.5rem 0}
.contact-inner{background:var(--ink);color:#fff;border-radius:20px;padding:2.5rem 6vw;text-align:center}
.contact-inner h2{color:#fff}
.contact-inner p{color:#c7cedb;max-width:34rem;margin:0 auto 1.5rem}
.contact-form{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center;max-width:44rem;margin:0 auto}
.contact-form input{
  flex:1 1 180px;padding:.85rem 1rem;border-radius:12px;border:none;font-size:.98rem;background:#fff;
}
.contact-alt{margin-top:1.2rem}
.contact-alt a{color:var(--yellow);font-weight:700}

/* FOOTER */
.footer{background:#0d1320;color:#b8c0cf;padding:3rem 5vw 1.5rem;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.footer h3{color:#fff;font-size:1rem;margin-bottom:.8rem}
.footer-col p{margin:.4rem 0;font-size:.92rem;color:#b8c0cf}
.footer-col a:hover{color:#fff}
.footer .logo-text{color:#fff}
.socials{display:flex;gap:.6rem;margin-top:.8rem}
.socials a{width:38px;height:38px;border-radius:10px;background:#1a2336;display:flex;align-items:center;justify-content:center}
.socials a:hover{background:var(--blue)}
.sv{width:18px;height:18px;display:block}
.sv::before{content:"•";font-weight:bold}
.footer-bottom{grid-column:1/-1;text-align:center;border-top:1px solid #1a2336;padding-top:1.3rem;font-size:.85rem;color:#7f8aa0}

/* RESPONSIVE */
@media(max-width:820px){
  .hero-inner{grid-template-columns:1fr}
  .hero-scene{min-height:290px}
  .battery3d{width:150px;height:215px;animation:none;transform:rotateX(-12deg) rotateY(-16deg)}
  .b3d-ring{display:none}
  .about{grid-template-columns:1fr}
  .footer{grid-template-columns:1fr 1fr}
  .trustbar{grid-template-columns:repeat(2,1fr)}
  .nav{position:fixed;inset:auto 0 0 0;flex-direction:column;background:#fff;border-top:1px solid var(--line);padding:1rem;gap:1rem;transform:translateY(120%);transition:.25s}
  .nav.open{transform:translateY(0)}
  .nav-toggle{display:flex}
  .header .btn-cta{display:none}
}