/* Portada de europemagicwand.es: hero «Ondas». Fichero suelto, no pasa por Vite. */
.hero-ondas{
  --tinta:#052B45;--tinta-2:#0A3F61;--campo:#CDEEFA;
  --cabezal-x:61%;--cabezal-y:37%;
  --suave:cubic-bezier(.23,1,.32,1);
  position:relative;isolation:isolate;overflow:hidden;background:var(--campo);color:var(--tinta);
  min-height:clamp(640px,calc(100svh - 72px),880px);display:flex;
}
.hero-ondas__escena{position:absolute;inset:0;z-index:-1}
.hero-ondas__anillos{position:absolute;left:var(--cabezal-x);top:var(--cabezal-y);width:2800px;height:2800px;margin:-1400px 0 0 -1400px;overflow:visible;max-width:none}
.hero-ondas__varita-giro{position:absolute;left:var(--cabezal-x);top:var(--cabezal-y);width:0;height:0;will-change:transform}
.hero-ondas__varita-entra{position:absolute;left:0;top:0;animation:ondas-varita 1.1s var(--suave) both}
.hero-ondas__varita-enlace{display:block}
.hero-ondas__varita{display:block;max-width:none;height:auto;width:clamp(640px,54vw,940px);
  transform-origin:9.8% 50%;transform:translate(-9.8%,-50%) rotate(14deg);
  filter:drop-shadow(0 18px 22px rgba(5,43,69,.16))}
@keyframes ondas-varita{from{opacity:0;transform:translate(90px,26px)}to{opacity:1;transform:none}}

.hero-ondas__dentro{width:100%;max-width:1280px;margin:0 auto;padding:clamp(28px,3.4vh,44px) 20px clamp(28px,3.6vh,44px);
  display:grid;grid-template-columns:minmax(0,600px) minmax(0,1fr);grid-template-rows:1fr auto;column-gap:32px;row-gap:14px;align-items:end;pointer-events:none}
.hero-ondas__copia{pointer-events:auto;grid-row:1/3;align-self:center;display:flex;flex-direction:column;gap:clamp(14px,2vh,22px);animation:ondas-sube .7s var(--suave) both}
.hero-ondas__logo{width:clamp(170px,15vw,220px);height:auto;align-self:flex-start;margin-left:-6px}
.hero-ondas__titulo{font-family:var(--font-display,inherit);font-weight:900;font-size:clamp(2.4rem,4.3vw,4.15rem);line-height:1.03;letter-spacing:-.03em;margin:0;color:var(--tinta);text-wrap:balance}
.hero-ondas__sub{font-size:clamp(1rem,1.12vw,1.1rem);line-height:1.55;margin:0;max-width:34em;color:var(--tinta-2);text-wrap:pretty}
.hero-ondas__botones{display:flex;flex-wrap:wrap;gap:12px}
.hero-ondas__boton{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 28px;border-radius:999px;font-weight:800;font-size:1rem;text-decoration:none;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .25s ease,transform .16s var(--suave)}
.hero-ondas__boton--lleno{background:var(--tinta);color:#fff}
.hero-ondas__boton--lleno svg{transition:transform .22s var(--suave)}
.hero-ondas__boton--linea{box-shadow:inset 0 0 0 2px var(--tinta);color:var(--tinta)}
.hero-ondas__boton:active{scale:.97}
.hero-ondas :focus-visible{outline:3px solid var(--tinta);outline-offset:3px;border-radius:6px}
.hero-ondas__boton:focus-visible{border-radius:999px}
.hero-ondas__sellos{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hero-ondas__sellos li{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;font-size:.84rem;font-weight:700;background:rgba(255,255,255,.42);
  transition:background-color .2s ease,transform .22s var(--suave)}
.hero-ondas__sellos svg{flex:none;transition:transform .3s var(--suave)}
.hero-ondas__aviso{margin:0;font-size:.82rem;line-height:1.5;max-width:40em;color:var(--tinta-2)}

.hero-ondas__movil{grid-column:2;grid-row:1/3;align-self:end;justify-self:start;position:relative;width:226px;margin:0 0 -68px clamp(16px,4vw,70px);display:none;pointer-events:auto;animation:ondas-movil 1s .15s var(--suave) both}
.hero-ondas.vivo .hero-ondas__movil{display:block}
.hero-ondas__senal{position:absolute;left:50%;bottom:calc(100% + 2px);width:96px;height:45px;margin-left:-48px;overflow:visible}
.hero-ondas__senal path{fill:none;stroke:var(--tinta);stroke-width:5;stroke-linecap:round;opacity:.3}
.hero-ondas__movil-marco{position:relative;padding:9px;border-radius:38px;background:var(--tinta);box-shadow:0 34px 50px -18px rgba(5,43,69,.62),inset 0 0 0 1.5px rgba(255,255,255,.2);transform-origin:50% 90%;will-change:transform;transition:box-shadow .25s ease}
.hero-ondas__movil-marco::before,.hero-ondas__movil-marco::after{content:"";position:absolute;width:3px;border-radius:2px;background:var(--tinta)}
.hero-ondas__movil-marco::before{right:-3px;top:112px;height:58px}
.hero-ondas__movil-marco::after{left:-3px;top:92px;height:36px}
.hero-ondas__pantalla{display:flex;flex-direction:column;gap:10px;padding:10px 12px 74px;border-radius:30px;background:#fff;color:var(--tinta)}
.hero-ondas__estado{position:relative;display:flex;align-items:center;justify-content:center;min-height:24px}
.hero-ondas__camara{width:58px;height:17px;border-radius:999px;background:var(--tinta)}
.hero-ondas__conectado{display:inline-flex;position:absolute;left:0;right:0;top:28px;justify-content:center;align-items:center;gap:6px;font-size:.74rem;font-weight:700;color:var(--tinta-2)}
.hero-ondas__conectado::before{content:"";width:7px;height:7px;border-radius:50%;background:#1FB67A}
.hero-ondas__onda-app{display:block;width:100%;height:50px;margin-top:22px;border-radius:12px;background:var(--campo)}
.hero-ondas__onda-app path{fill:none;stroke:#0A7DBB;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.hero-ondas__mando{border:0;margin:0;padding:0;min-width:0}
.hero-ondas__mando legend{padding:0;font-weight:800;font-size:.8rem;line-height:1.2;margin-bottom:7px;color:var(--tinta)}
.hero-ondas__iconos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.hero-ondas__mando label{position:relative;display:block;cursor:pointer}
.hero-ondas__mando input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.hero-ondas__iconos span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:70px;padding:6px 2px;border-radius:14px;background:#EDF7FC;font-weight:700;font-size:.74rem;color:var(--tinta);transition:background-color .18s ease,color .18s ease,transform .16s var(--suave)}
.hero-ondas__iconos svg{width:38px;height:24px;overflow:visible}
.hero-ondas__iconos path,.hero-ondas__parar path{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hero-ondas__parar{margin-top:6px}
.hero-ondas__parar span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;box-shadow:inset 0 0 0 1.5px rgba(5,43,69,.28);font-weight:700;font-size:.82rem;color:var(--tinta);transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .16s var(--suave)}
.hero-ondas__parar svg{width:16px;height:16px}
.hero-ondas__mando label:active span{transform:scale(.96)}
.hero-ondas__mando input:checked+span{background:var(--tinta);color:#fff;box-shadow:none}
.hero-ondas__mando input:focus-visible+span{outline:3px solid #0A7DBB;outline-offset:2px}
.hero-ondas__nota{margin:0;font-size:.75rem;line-height:1.35;color:var(--tinta-2)}
@keyframes ondas-movil{from{opacity:0;transform:translateY(70px)}to{opacity:1;transform:none}}
.hero-ondas__apps{grid-column:2;grid-row:2;align-self:end;justify-self:end;pointer-events:auto;animation:ondas-sube .7s .2s var(--suave) both}
.hero-ondas__apps>div>div{margin:0;justify-content:flex-end}
@keyframes ondas-sube{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

@media (hover:hover) and (pointer:fine){
  .hero-ondas__varita-enlace{cursor:pointer}
  .hero-ondas__boton--lleno:hover{background:#0A5C8F;box-shadow:0 14px 28px -12px rgba(5,43,69,.7)}
  .hero-ondas__boton--lleno:hover svg{transform:translateX(5px)}
  .hero-ondas__boton--linea:hover{background:var(--tinta);color:#fff}
  .hero-ondas__sellos li:hover{background:#fff;transform:translateY(-3px)}
  .hero-ondas__sellos li:hover svg{transform:scale(1.2) rotate(-6deg)}
  .hero-ondas__iconos label:hover input:not(:checked)+span{background:#D5EEF9}
  .hero-ondas__parar:hover input:not(:checked)+span{box-shadow:inset 0 0 0 1.5px var(--tinta)}
  .hero-ondas__movil:hover .hero-ondas__movil-marco{box-shadow:0 44px 60px -18px rgba(5,43,69,.72),inset 0 0 0 1.5px rgba(255,255,255,.28)}
}
@media (hover:none){.hero-ondas__varita-enlace{pointer-events:none}}

@media (max-height:780px) and (min-width:1101px){
  .hero-ondas__movil{width:214px;margin-bottom:-60px}
  .hero-ondas__pantalla{gap:6px;padding-bottom:30px}
  .hero-ondas__onda-app{height:36px}
  .hero-ondas__iconos span{min-height:60px}
  .hero-ondas__parar span{min-height:36px}
}
@media (max-width:1100px){
  .hero-ondas{--cabezal-x:64%;--cabezal-y:190px;min-height:0}
  .hero-ondas__varita{width:clamp(560px,66vw,720px)}
  .hero-ondas__dentro{grid-template-columns:minmax(0,1fr);grid-template-rows:none;padding-top:340px;row-gap:24px}
  .hero-ondas__copia,.hero-ondas__apps{grid-column:1;grid-row:auto;justify-self:start}
  .hero-ondas__copia{max-width:560px}
  .hero-ondas__movil{grid-column:1;grid-row:auto;order:-1;width:min(100%,430px);margin:0}
  .hero-ondas__movil-marco::before{right:auto;left:70px;top:-3px;width:42px;height:3px}
  .hero-ondas__movil-marco::after{left:128px;top:-3px;width:26px;height:3px}
  .hero-ondas__senal{left:70%;width:80px;height:37px;margin-left:-40px}
  .hero-ondas__pantalla{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(0,1.15fr);gap:10px;padding:10px 12px 10px 8px;align-items:stretch}
  .hero-ondas__estado{min-height:0}
  .hero-ondas__camara{width:15px;height:44px}
  .hero-ondas__conectado{display:none}
  .hero-ondas__onda-app{height:100%;min-height:96px;margin-top:0}
  .hero-ondas__iconos span{min-height:56px}
  .hero-ondas__parar span{min-height:38px}
  .hero-ondas__nota{grid-column:2/4}
  .hero-ondas__mando legend{font-size:.76rem;margin-bottom:5px}
}
@media (max-width:760px){
  .hero-ondas{--cabezal-x:24%;--cabezal-y:calc(30px + 17vw)}
  .hero-ondas__anillos{width:1700px;height:1700px;margin:-850px 0 0 -850px}
  .hero-ondas__varita{width:104vw}
  .hero-ondas__dentro{padding-top:calc(74px + 43vw)}
  .hero-ondas__movil{width:100%}
  .hero-ondas__copia{max-width:none}
  .hero-ondas__titulo{font-size:clamp(2.05rem,9.4vw,3rem)}
  .hero-ondas__boton{flex:1 1 auto;justify-content:center}
  .hero-ondas__boton--lleno{flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){
  .hero-ondas *{animation:none!important}
  .hero-ondas__movil-marco,.hero-ondas__boton,.hero-ondas__sellos li,.hero-ondas__sellos svg,.hero-ondas__boton svg{transition-property:background-color,color,opacity!important}
}
