/* =========================================================
   MAJERCI PREMIUM POLISH V718
   Requiere el hero V717 ya instalado
   ========================================================= */

/* ---------- LOGO / BRAND PLATE ---------- */
body.home-v717 #mjr717-nav .mjr717-logo{
  width:286px!important;
  min-width:286px!important;
  height:88px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.985),rgba(244,249,253,.94))!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:
    0 22px 54px rgba(0,0,0,.16),
    0 0 0 1px rgba(10,117,232,.08) inset,
    0 1px 0 rgba(255,255,255,.92) inset!important;
  transform-origin:left center!important;
}
body.home-v717 #mjr717-nav .mjr717-logo::before{
  content:'';
  position:absolute;
  left:18px;
  right:18px;
  bottom:0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:linear-gradient(90deg,transparent,#0a75e8 20%,#65bdff 50%,#0a75e8 80%,transparent);
  box-shadow:0 0 16px rgba(10,117,232,.52);
  opacity:.85;
}
body.home-v717 #mjr717-nav .mjr717-logo::after{
  content:'';
  position:absolute;
  top:-55%;
  bottom:-55%;
  left:-28%;
  width:23%;
  transform:skewX(-15deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.96),transparent);
  animation:mjr718LogoSweep 7.8s 2.2s infinite ease-in-out!important;
  z-index:3;
  pointer-events:none;
}
@keyframes mjr718LogoSweep{
  0%,73%{left:-28%;opacity:0}
  79%{opacity:.85}
  91%{left:115%;opacity:0}
  100%{left:115%;opacity:0}
}
body.home-v717 #mjr717-nav .mjr717-logo img{
  max-width:none!important;
  width:111%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  transform:scale(1.085)!important;
  transform-origin:center center!important;
  filter:drop-shadow(0 2px 2px rgba(11,48,80,.08))!important;
  z-index:2!important;
}

/* ---------- NAVIGATION ---------- */
body.home-v717 #mjr717-nav{
  height:116px!important;
  gap:clamp(25px,2.6vw,46px)!important;
  padding-left:max(30px,calc((100vw - 1460px)/2))!important;
  padding-right:max(30px,calc((100vw - 1460px)/2))!important;
}
body.home-v717 #mjr717-nav .mjr717-links{
  gap:clamp(23px,2.05vw,38px)!important;
}
body.home-v717 #mjr717-nav .mjr717-links a{
  padding:12px 2px!important;
  font-size:12.5px!important;
  letter-spacing:.065em!important;
  transition:
    opacity .2s ease,
    transform .2s ease,
    text-shadow .2s ease!important;
}
body.home-v717 #mjr717-nav .mjr717-links a:hover{
  transform:translateY(-1px)!important;
  text-shadow:0 0 18px rgba(255,255,255,.35)!important;
}
body.home-v717 #mjr717-nav .mjr717-links a::before{
  bottom:4px!important;
  height:2px!important;
  background:linear-gradient(90deg,#0a75e8,#ffffff)!important;
  box-shadow:0 0 15px rgba(10,117,232,.65)!important;
}
body.home-v717 #mjr717-nav.scrolled{
  height:88px!important;
}
body.home-v717 #mjr717-nav.scrolled .mjr717-logo{
  width:234px!important;
  min-width:234px!important;
  height:68px!important;
  border-radius:16px!important;
  box-shadow:0 12px 34px rgba(0,0,0,.16)!important;
}

/* ---------- ICONS ---------- */
body.home-v717 #mjr717-nav .mjr717-icon,
body.home-v717 #mjr717-nav .mjr717-menu-btn{
  width:45px!important;
  height:45px!important;
  background:rgba(5,17,29,.20)!important;
  border-color:rgba(255,255,255,.22)!important;
}
body.home-v717 #mjr717-nav .mjr717-icon svg,
body.home-v717 #mjr717-nav .mjr717-menu-btn svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.home-v717 #mjr717-nav .mjr717-quote{
  padding:13px 19px!important;
}

/* ---------- SCENE COPY ---------- */
body.home-v717 #mjr717-scene-copy{
  width:min(900px,72vw)!important;
  bottom:98px!important;
}
body.home-v717 #mjr717-scene-copy .mjr717-scene-label{
  font-size:12.5px!important;
  letter-spacing:.095em!important;
  margin-bottom:16px!important;
}
body.home-v717 #mjr717-scene-copy .mjr717-scene-label i{
  width:42px!important;
  height:2px!important;
}
body.home-v717 #mjr717-scene-copy h1{
  max-width:890px!important;
  font-size:clamp(52px,5.9vw,92px)!important;
  line-height:.955!important;
  text-wrap:balance;
}
body.home-v717 #mjr717-scene-copy p{
  max-width:760px!important;
  margin-top:19px!important;
  font-size:clamp(17px,1.42vw,22px)!important;
  line-height:1.55!important;
  text-wrap:pretty;
}
body.home-v717 #mjr717-scene-copy .mjr717-actions{
  margin-top:27px!important;
}
body.home-v717 #mjr717-scene-copy .mjr717-btn{
  padding:14px 19px!important;
}

/* ---------- BETTER IMAGE / TEXT CONTRAST ---------- */
body.home-v717 .hero::before{
  background:
    linear-gradient(90deg,
      rgba(1,8,15,.78) 0%,
      rgba(1,8,15,.58) 29%,
      rgba(1,8,15,.29) 55%,
      rgba(1,8,15,.12) 78%,
      rgba(1,8,15,.18) 100%),
    linear-gradient(180deg,
      rgba(1,8,15,.35) 0%,
      rgba(1,8,15,.05) 30%,
      rgba(1,8,15,.10) 62%,
      rgba(1,8,15,.72) 100%)!important;
}
body.home-v717 .majerci-hero-slide img{
  filter:saturate(1.055) contrast(1.065) brightness(.96)!important;
}

/* ---------- IMMERSIVE POINTER LIGHT ---------- */
#mjr718-pointer-light{
  position:absolute;
  inset:0;
  z-index:6;
  pointer-events:none;
  opacity:.38;
  background:
    radial-gradient(
      circle 360px at var(--mjr718-x,68%) var(--mjr718-y,42%),
      rgba(61,164,255,.17),
      rgba(61,164,255,.05) 36%,
      transparent 70%
    );
  transition:opacity .3s ease;
}
.hero:hover #mjr718-pointer-light{opacity:.55}

/* ---------- TRANSITION WAVE ---------- */
#mjr718-transition{
  position:absolute;
  z-index:8;
  inset:-10% -22%;
  pointer-events:none;
  opacity:0;
  transform:translateX(-55%) skewX(-13deg);
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(10,117,232,0) 35%,
      rgba(106,193,255,.18) 48%,
      rgba(255,255,255,.22) 50%,
      rgba(10,117,232,.10) 53%,
      transparent 67%
    );
}
.hero.mjr718-changing #mjr718-transition{
  animation:mjr718Wave 1.25s cubic-bezier(.22,.7,.22,1) both;
}
@keyframes mjr718Wave{
  0%{opacity:0;transform:translateX(-55%) skewX(-13deg)}
  18%{opacity:.9}
  100%{opacity:0;transform:translateX(70%) skewX(-13deg)}
}

/* ---------- SCROLL CUE ---------- */
#mjr718-scrollcue{
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:14;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:rgba(255,255,255,.76);
  font-size:9px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  pointer-events:none;
}
#mjr718-scrollcue .mouse{
  position:relative;
  width:23px;
  height:36px;
  border:1px solid rgba(255,255,255,.50);
  border-radius:999px;
}
#mjr718-scrollcue .mouse::after{
  content:'';
  position:absolute;
  top:7px;
  left:50%;
  width:3px;
  height:6px;
  border-radius:999px;
  transform:translateX(-50%);
  background:#fff;
  animation:mjr718Wheel 1.8s infinite ease-in-out;
}
@keyframes mjr718Wheel{
  0%{opacity:0;transform:translate(-50%,0)}
  28%{opacity:1}
  75%{opacity:0;transform:translate(-50%,11px)}
  100%{opacity:0}
}

/* ---------- PROGRESS ---------- */
body.home-v717 #mjr717-scene-progress{
  bottom:103px!important;
}
body.home-v717 #mjr717-scene-progress .track{
  width:175px!important;
}

/* ---------- TABLET ---------- */
@media(max-width:1180px){
  body.home-v717 #mjr717-nav{
    height:100px!important;
    gap:17px!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
  body.home-v717 #mjr717-nav .mjr717-logo{
    width:220px!important;
    min-width:220px!important;
    height:72px!important;
    border-radius:17px!important;
  }
  body.home-v717 #mjr717-nav .mjr717-links{
    gap:15px!important;
  }
  body.home-v717 #mjr717-nav .mjr717-links a{
    font-size:11px!important;
    letter-spacing:.045em!important;
  }
  body.home-v717 #mjr717-scene-copy{
    width:min(770px,76vw)!important;
  }
}

/* ---------- TABLET PORTRAIT ---------- */
@media(max-width:900px){
  body.home-v717 #mjr717-nav{
    height:86px!important;
    padding:0 16px!important;
  }
  body.home-v717 #mjr717-nav .mjr717-logo{
    width:186px!important;
    min-width:186px!important;
    height:62px!important;
    border-radius:15px!important;
  }
  body.home-v717 #mjr717-nav .mjr717-logo img{
    width:112%!important;
    transform:scale(1.08)!important;
  }
  body.home-v717 #mjr717-scene-copy{
    left:22px!important;
    right:22px!important;
    width:auto!important;
    bottom:128px!important;
  }
  body.home-v717 #mjr717-scene-copy h1{
    font-size:clamp(43px,9vw,68px)!important;
  }
  body.home-v717 #mjr717-scene-copy p{
    max-width:650px!important;
    font-size:17px!important;
  }
  body.home-v717 #mjr717-scene-progress{
    left:22px!important;
    bottom:78px!important;
  }
  #mjr718-scrollcue{display:none}
}

/* ---------- PHONE ---------- */
@media(max-width:560px){
  body.home-v717 #mjr717-nav .mjr717-logo{
    width:164px!important;
    min-width:164px!important;
    height:56px!important;
    border-radius:14px!important;
  }
  body.home-v717 #mjr717-scene-copy{
    bottom:138px!important;
  }
  body.home-v717 #mjr717-scene-copy h1{
    font-size:42px!important;
    line-height:.99!important;
  }
  body.home-v717 #mjr717-scene-copy p{
    font-size:15.5px!important;
  }
  body.home-v717 #mjr717-scene-copy .mjr717-actions{
    margin-top:19px!important;
  }
  #mjr718-pointer-light{display:none}
}

/* ---------- REDUCED MOTION ---------- */
@media(prefers-reduced-motion:reduce){
  #mjr718-transition,
  #mjr718-pointer-light,
  #mjr718-scrollcue,
  body.home-v717 #mjr717-nav .mjr717-logo::after{
    display:none!important;
  }
}
/* FIN MAJERCI PREMIUM POLISH V718 */