:root{
  --bg:#161B24; --surface:#1E2531; --raise:#252E3D; --line:#323C4E;
  --text:#E8EEF6; --muted:#A3AEBF; --cyan:#3FD8FF; --violet:#A48CFF; --wa:#25D366;
  --head:"Familjen Grotesk", system-ui, sans-serif;
  --body:"Atkinson Hyperlegible", system-ui, sans-serif;
  --r-lg:22px; --r-sm:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:76px}
body{margin:0; background:var(--bg); color:var(--text); font:400 1.0625rem/1.6 var(--body); -webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--head); line-height:1.08; margin:0 0 .5em; letter-spacing:-.015em}
h2{font-size:clamp(1.9rem,3.6vw,2.75rem); font-weight:700}
h3{font-size:1.25rem; font-weight:600}
p{margin:0 0 1em}
a{color:inherit}
:focus-visible{outline:3px solid var(--cyan); outline-offset:3px; border-radius:6px}

/* marcadores de datos del cliente */
.ph{background:rgba(164,140,255,.14); outline:1px dashed rgba(164,140,255,.55); border-radius:4px; padding:0 .3em}
.ph-img{display:grid; place-items:center; text-align:center; padding:1rem; color:var(--muted); font-size:.9rem;
  background:repeating-linear-gradient(135deg,#1C2330 0 12px,#202838 12px 24px); border:1px dashed var(--line); border-radius:var(--r-sm)}

/* barra fija */
.bar{position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.8rem clamp(1rem,4vw,3rem); background:rgba(22,27,36,.86); backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.brand{display:flex; align-items:center; gap:.6rem; text-decoration:none; font:700 1.05rem var(--head)}
.logo{display:grid; place-items:center; width:42px; height:42px; border-radius:12px; font-size:.62rem; letter-spacing:.04em;
  color:var(--bg); background:linear-gradient(135deg,var(--cyan),var(--violet))}
nav{display:flex; align-items:center; gap:1.4rem; font-size:.95rem}
nav a{text-decoration:none; color:var(--muted)}
nav a:hover{color:var(--text)}
.lang{font:700 .85rem var(--head); color:var(--text); background:transparent; border:1px solid var(--line); border-radius:8px; padding:.35rem .6rem; cursor:pointer}
.lang:hover{border-color:var(--cyan)}
.btn-sm{color:var(--bg)!important; background:var(--cyan); padding:.5rem .95rem; border-radius:999px; font-weight:700}

/* botones */
.btn{display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:.8rem 1.35rem; border-radius:999px;
  font:700 1rem var(--head); text-decoration:none; transition:transform .15s, background .15s}
.btn:active{transform:translateY(1px)}
.primary{background:var(--cyan); color:#0F1620}
.primary:hover{background:#7DE6FF}
.ghost{border:1.5px solid var(--line); color:var(--text)}
.ghost:hover{border-color:var(--cyan)}

/* hero */
section{padding:clamp(3.5rem,8vw,6.5rem) clamp(1rem,5vw,4rem)}
.hero{display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; max-width:1240px; margin:0 auto; padding-top:clamp(2.5rem,6vw,5rem)}
h1{font-size:clamp(2.4rem,5.4vw,4.3rem); font-weight:700; max-width:14ch}
.lede{font-size:1.15rem; color:var(--muted); max-width:46ch}
.actions{display:flex; flex-wrap:wrap; gap:.8rem; margin:1.8rem 0 2.2rem}
.trust{list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; font-size:.95rem; color:var(--muted)}
.trust li{display:flex; gap:.35em; align-items:baseline}
.trust li::before{content:""; width:8px; height:8px; border-radius:2px; background:var(--cyan); align-self:center}
.trust strong{color:var(--text)}

.scene{position:relative; margin:0}
.scene svg{display:block; width:100%; height:auto; border-radius:28px; box-shadow:0 30px 80px -30px rgba(63,216,255,.25)}
.chip{position:absolute; right:18px; top:18px; display:flex; align-items:center; gap:.5rem; padding:.45rem .85rem; border-radius:999px;
  background:rgba(14,19,27,.85); border:1px solid var(--line); font-size:.85rem}
.dot{width:8px; height:8px; border-radius:50%; background:var(--cyan); box-shadow:0 0 10px var(--cyan)}

/* animación del banner (ciclo de 8 s) */
.pulse path{stroke-dasharray:40 400; stroke-dashoffset:440; animation:run 3.2s linear infinite}
.pulse .p2{animation-delay:.8s}.pulse .p3{animation-delay:1.6s}.pulse .p4{animation-delay:2.4s}
@keyframes run{to{stroke-dashoffset:0}}
.pads circle{animation:blink 3.2s ease-in-out infinite}
@keyframes blink{0%,70%,100%{opacity:.25}80%{opacity:1}}

.lscreen{opacity:0; animation:boot 8s ease-out infinite}
@keyframes boot{0%,8%{opacity:0}16%,92%{opacity:1}100%{opacity:0}}
.ui{transform-box:fill-box; transform-origin:left center; transform:scaleX(0); animation:bar 8s ease-out infinite}
.u2{animation-delay:.15s}.u3{animation-delay:.3s}.u4{animation-delay:.45s}.u5{animation-delay:.6s}.u6{animation-delay:.75s}
@keyframes bar{0%,16%{transform:scaleX(0)}26%,92%{transform:scaleX(1)}100%{transform:scaleX(0)}}
.halo{animation:halo 8s ease-out infinite}
@keyframes halo{0%,10%{opacity:0}22%,90%{opacity:1}100%{opacity:0}}

.phone{animation:float 6s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-12px)}}
.pscreen{opacity:0; animation:pon 8s ease-out infinite}
@keyframes pon{0%,4%{opacity:0}10%,94%{opacity:1}100%{opacity:0}}
.ring{animation:charge 8s ease-in-out infinite}
@keyframes charge{0%,10%{stroke-dashoffset:100}70%,94%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.bolt{animation:blink 1.6s ease-in-out infinite}

.wave{opacity:0; animation:wave 2.4s ease-out infinite}
.w2{animation-delay:.3s}.w3{animation-delay:.6s}
@keyframes wave{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
.led{animation:blink 2.4s ease-in-out infinite}

/* categorías */
.head{max-width:1240px; margin:0 auto 2.4rem}
.head p{color:var(--muted); max-width:56ch}
.shop{background:var(--surface)}
.cats{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem}
.cat{padding:1.5rem; border-radius:var(--r-sm); background:var(--bg); border:1px solid var(--line)}
.cat.big{grid-column:span 2; padding:2rem; border-radius:var(--r-lg); background:linear-gradient(160deg,var(--raise),var(--bg) 70%)}
.cat.big h3{font-size:1.7rem}
.cat p{color:var(--muted); margin:0}
.cat .from{margin-top:1.2rem; color:var(--text); font-weight:700}
.ic{width:42px; height:42px; margin-bottom:1rem; fill:none; stroke:var(--cyan); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.cat.big .ic{width:54px; height:54px}

/* destacados */
.products{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem}
.prod .ph-img{aspect-ratio:1; margin-bottom:.9rem}
.kind{font-size:.85rem; color:var(--cyan); margin:0 0 .2rem}
.prod h3{display:inline-block; font-size:1.1rem; margin-bottom:.4rem}
.price{display:table; font:700 1.15rem var(--head); color:var(--violet); margin:0}

/* ventajas + pasos */
.perks{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:start}
.perk-list{list-style:none; padding:0; margin:1.5rem 0 0; display:grid; gap:1.4rem}
.perk-list li{display:grid; gap:.2rem; padding-left:1.2rem; border-left:3px solid var(--cyan)}
.perk-list strong{font:600 1.15rem var(--head)}
.perk-list span{color:var(--muted)}
.perk-list .ph{color:var(--text)}
.order{padding:2rem; border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line)}
.steps{list-style:none; counter-reset:s; padding:0; margin:1.2rem 0 0; display:grid; gap:1.3rem}
.steps li{counter-increment:s; display:grid; grid-template-columns:2.4rem 1fr; column-gap:.9rem}
.steps li::before{content:counter(s); grid-row:span 2; display:grid; place-items:center; width:2.4rem; height:2.4rem; border-radius:50%;
  border:2px solid var(--violet); color:var(--violet); font:700 1rem var(--head)}
.steps strong{font-family:var(--head)}
.steps span{color:var(--muted); font-size:.95rem}

/* visita */
.visit{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:center}
.map{min-height:320px; border-radius:var(--r-lg)}
.visit-copy p{color:var(--muted)}
.hours{display:grid; grid-template-columns:auto 1fr; gap:.7rem 1.4rem; margin:1.5rem 0 0}
.hours dt{color:var(--muted)}
.hours dd{margin:0; justify-self:start}

/* contacto */
.contact{text-align:center; background:radial-gradient(ellipse at 50% 0,rgba(63,216,255,.12),transparent 60%),var(--surface)}
.contact > p{color:var(--muted); max-width:52ch; margin:0 auto 2rem}
.links{display:flex; flex-wrap:wrap; justify-content:center; gap:.8rem; margin-bottom:2.2rem}
.wa{background:var(--wa); color:#06281A}
.wa:hover{background:#4BE287}
.line{border:1.5px solid var(--line)}
.line:hover{border-color:var(--cyan)}
.details{list-style:none; padding:0; margin:0 auto; display:grid; gap:.8rem; justify-content:center}
.details li{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.5rem}
.details li > span:first-child{color:var(--muted)}
#copy{font:700 .85rem var(--head); color:var(--text); background:var(--raise); border:1px solid var(--line); border-radius:8px; padding:.35rem .7rem; cursor:pointer}
#copy:hover{border-color:var(--cyan)}
#copied{color:var(--cyan); font-size:.9rem; min-width:1ch}

footer{display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; padding:1.6rem clamp(1rem,5vw,4rem) 5.5rem; color:var(--muted); font-size:.9rem; border-top:1px solid var(--line)}

.wa-float{position:fixed; right:18px; bottom:18px; z-index:30; display:grid; place-items:center; width:58px; height:58px; border-radius:50%;
  background:var(--wa); box-shadow:0 10px 30px rgba(0,0,0,.4)}
.wa-float svg{width:30px; height:30px; fill:#fff}

/* responsive */
@media (max-width:960px){
  .hero,.perks,.visit{grid-template-columns:1fr}
  .cats{grid-template-columns:repeat(2,1fr)}
  .products{grid-template-columns:repeat(2,1fr)}
  nav a:not(.btn-sm){display:none}
}
@media (max-width:560px){
  .cat.big{grid-column:span 2}
  .cats{grid-template-columns:1fr 1fr; gap:.7rem}
  .cat{padding:1.1rem}
  .products{gap:.9rem}
  .btn-sm{display:none}
  .actions .btn{flex:1 1 100%}
  .hours{grid-template-columns:1fr; gap:.2rem}
  .hours dd{margin-bottom:.6rem}
  .chip{right:10px; top:10px; font-size:.78rem}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important; transition:none!important}
  .lscreen,.pscreen,.halo,.wave{opacity:1}
  .ui{transform:none}
  .ring{stroke-dashoffset:0}
}
