/* =========================================================
   MAJERCI ULTRA IMMERSIVE V719
   Capa premium sobre V717 + V718
   ========================================================= */

:root{
  --mjr719-accent:#1688ff;
  --mjr719-accent-rgb:22,136,255;
  --mjr719-speed:8.6s;
  --mjr719-x:72%;
  --mjr719-y:38%;
}

body.home-v719{
  background:#06111d;
}

/* HERO */
body.home-v719 .hero{
  min-height:720px!important;
  background:#06111d!important;
}

body.home-v719 .majerci-hero-slide{
  transition:
    opacity 1.55s cubic-bezier(.22,.61,.36,1),
    filter 1.35s ease!important;
}

body.home-v719 .majerci-hero-slide img{
  inset:-1%!important;
  width:102%!important;
  height:102%!important;
  filter:saturate(1.065) contrast(1.07) brightness(.96)!important;
  transform:scale(1.025)!important;
}

body.home-v719 .majerci-hero-slide.active img{
  animation:mjr719Scene var(--mjr719-speed) cubic-bezier(.18,.72,.2,1) both!important;
}

@keyframes mjr719Scene{
  0%{transform:scale(1.025) translate3d(0,0,0)}
  42%{transform:scale(1.055) translate3d(var(--mjr719-mid-x,.35%),var(--mjr719-mid-y,-.20%),0)}
  72%{transform:scale(1.077) translate3d(var(--mjr719-end-x,-.30%),var(--mjr719-end-y,-.42%),0)}
  100%{transform:scale(1.095) translate3d(var(--mjr719-final-x,-.60%),var(--mjr719-final-y,-.55%),0)}
}

/* CONTRASTE CINEMATOGRAFICO */
body.home-v719 .hero::before{
  background:
    radial-gradient(circle at 74% 45%,rgba(var(--mjr719-accent-rgb),.12),transparent 33%),
    linear-gradient(90deg,
      rgba(1,7,13,.82) 0%,
      rgba(1,7,13,.63) 27%,
      rgba(1,7,13,.37) 49%,
      rgba(1,7,13,.17) 72%,
      rgba(1,7,13,.12) 100%),
    linear-gradient(180deg,
      rgba(1,7,13,.46) 0%,
      rgba(1,7,13,.08) 28%,
      rgba(1,7,13,.10) 58%,
      rgba(1,7,13,.78) 100%)!important;
}

body.home-v719 .hero::after{
  opacity:.11!important;
  background-size:5px 5px!important;
}

/* ATMOSFERA REACTIVA */
#mjr719-atmosphere{
  position:absolute;
  inset:0;
  z-index:7;
  pointer-events:none;
  opacity:.52;
  background:
    radial-gradient(circle 420px at var(--mjr719-x) var(--mjr719-y),
      rgba(var(--mjr719-accent-rgb),.17),
      rgba(var(--mjr719-accent-rgb),.055) 38%,
      transparent 72%),
    linear-gradient(115deg,transparent 34%,rgba(255,255,255,.025) 50%,transparent 66%);
  mix-blend-mode:screen;
  transition:opacity .35s ease,background .55s ease;
}

/* NAV */
body.home-v719 #mjr717-nav{
  height:126px!important;
  gap:clamp(24px,2.5vw,44px)!important;
  padding-left:max(32px,calc((100vw - 1500px)/2))!important;
  padding-right:max(32px,calc((100vw - 1500px)/2))!important;
  background:
    linear-gradient(180deg,rgba(2,10,18,.64) 0%,rgba(2,10,18,.22) 48%,rgba(2,10,18,0) 100%)!important;
}

body.home-v719 #mjr717-nav.scrolled{
  height:88px!important;
  background:rgba(4,15,25,.88)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(20px) saturate(1.18)!important;
}

/* LOGO COMPLETO: NO RECORTA ICONOS NI TEXTO */
body.home-v719 #mjr717-nav .mjr717-logo{
  width:292px!important;
  min-width:292px!important;
  height:112px!important;
  padding:7px 12px!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.985),rgba(242,248,253,.955))!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:
    0 24px 58px rgba(0,0,0,.18),
    0 0 0 1px rgba(var(--mjr719-accent-rgb),.08) inset,
    0 1px 0 rgba(255,255,255,.96) inset!important;
}

body.home-v719 #mjr717-nav .mjr717-logo::before{
  left:18px!important;
  right:18px!important;
  height:2px!important;
  background:linear-gradient(90deg,transparent,var(--mjr719-accent) 24%,#8fd2ff 50%,var(--mjr719-accent) 76%,transparent)!important;
  box-shadow:0 0 18px rgba(var(--mjr719-accent-rgb),.48)!important;
}

body.home-v719 #mjr717-nav .mjr717-logo img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  filter:drop-shadow(0 2px 2px rgba(13,52,88,.08))!important;
}

body.home-v719 #mjr717-nav.scrolled .mjr717-logo{
  width:232px!important;
  min-width:232px!important;
  height:78px!important;
  padding:5px 10px!important;
  border-radius:15px!important;
}

/* MENU */
body.home-v719 #mjr717-nav .mjr717-links{
  gap:clamp(22px,2vw,36px)!important;
}

body.home-v719 #mjr717-nav .mjr717-links a{
  position:relative;
  padding:15px 1px!important;
  font-size:12.5px!important;
  letter-spacing:.075em!important;
  font-weight:800!important;
  color:rgba(255,255,255,.91)!important;
  text-shadow:0 2px 14px rgba(0,0,0,.24);
}

body.home-v719 #mjr717-nav .mjr717-links a:hover,
body.home-v719 #mjr717-nav .mjr717-links a.active{
  color:#fff!important;
  transform:translateY(-1px)!important;
}

body.home-v719 #mjr717-nav .mjr717-links a::before{
  bottom:5px!important;
  height:2px!important;
  border-radius:99px;
  background:linear-gradient(90deg,var(--mjr719-accent),#fff)!important;
  box-shadow:0 0 16px rgba(var(--mjr719-accent-rgb),.66)!important;
}

body.home-v719 #mjr717-nav .mjr717-icon,
body.home-v719 #mjr717-nav .mjr717-menu-btn{
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  background:rgba(3,13,23,.28)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.10)!important;
  backdrop-filter:blur(10px)!important;
}

body.home-v719 #mjr717-nav .mjr717-icon:hover,
body.home-v719 #mjr717-nav .mjr717-menu-btn:hover{
  background:rgba(255,255,255,.13)!important;
  border-color:rgba(255,255,255,.38)!important;
}

body.home-v719 #mjr717-nav .mjr717-quote{
  padding:14px 21px!important;
  color:#071522!important;
  background:linear-gradient(180deg,#fff,#edf7ff)!important;
  border:1px solid rgba(255,255,255,.86)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.14)!important;
}

/* COPY */
body.home-v719 #mjr717-scene-copy{
  left:max(38px,calc((100vw - 1500px)/2))!important;
  bottom:128px!important;
  width:min(930px,72vw)!important;
  z-index:18!important;
}

body.home-v719 #mjr717-scene-copy .mjr717-scene-label{
  margin-bottom:17px!important;
  color:rgba(255,255,255,.94)!important;
  font-size:12.5px!important;
  letter-spacing:.11em!important;
  text-shadow:0 2px 16px rgba(0,0,0,.38);
}

body.home-v719 #mjr717-scene-copy .mjr717-scene-label i{
  width:46px!important;
  height:2px!important;
  background:linear-gradient(90deg,var(--mjr719-accent),#9ad7ff)!important;
  box-shadow:0 0 16px rgba(var(--mjr719-accent-rgb),.62);
}

body.home-v719 #mjr717-scene-copy h1{
  max-width:930px!important;
  margin:0!important;
  font-size:clamp(55px,6.1vw,94px)!important;
  line-height:.94!important;
  letter-spacing:-.047em!important;
  font-weight:900!important;
  color:#fff!important;
  text-wrap:balance;
  text-shadow:
    0 2px 2px rgba(0,0,0,.20),
    0 14px 42px rgba(0,0,0,.34)!important;
}

body.home-v719 #mjr717-scene-copy p{
  max-width:770px!important;
  margin-top:20px!important;
  font-size:clamp(17px,1.35vw,21px)!important;
  line-height:1.55!important;
  color:rgba(245,250,255,.91)!important;
  text-wrap:pretty;
  text-shadow:0 2px 18px rgba(0,0,0,.44);
}

body.home-v719 #mjr717-scene-copy.changing{
  opacity:.30!important;
  transform:translateY(8px)!important;
  filter:blur(2px);
}

body.home-v719 #mjr717-scene-copy{
  transition:opacity .34s ease,transform .40s ease,filter .34s ease!important;
}

/* CTAs */
body.home-v719 #mjr717-scene-copy .mjr717-actions{
  margin-top:28px!important;
  gap:10px!important;
}

body.home-v719 #mjr717-scene-copy .mjr717-btn{
  min-height:48px;
  padding:13px 20px!important;
  border-radius:999px!important;
  font-size:13px!important;
  letter-spacing:.015em;
  font-weight:850!important;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease!important;
}

body.home-v719 #mjr717-scene-copy .mjr717-btn.primary{
  color:#fff!important;
  background:linear-gradient(135deg,var(--mjr719-accent),#0567d0)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:
    0 16px 38px rgba(var(--mjr719-accent-rgb),.26),
    0 0 0 1px rgba(255,255,255,.08) inset!important;
}

body.home-v719 #mjr717-scene-copy .mjr717-btn.secondary{
  color:#fff!important;
  background:rgba(5,17,29,.30)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  backdrop-filter:blur(12px)!important;
}

body.home-v719 #mjr717-scene-copy .mjr717-btn:hover{
  transform:translateY(-2px)!important;
}

/* PROGRESS */
body.home-v719 #mjr717-scene-progress{
  left:max(40px,calc((100vw - 1500px)/2))!important;
  right:auto!important;
  bottom:47px!important;
  z-index:19!important;
}

body.home-v719 #mjr717-scene-progress .track{
  width:150px!important;
  background:rgba(255,255,255,.20)!important;
}

body.home-v719 #mjr717-scene-progress .fill{
  background:linear-gradient(90deg,var(--mjr719-accent),#b5e4ff)!important;
  box-shadow:0 0 13px rgba(var(--mjr719-accent-rgb),.62)!important;
}

/* SCENE RAIL */
#mjr719-rail{
  position:absolute;
  left:50%;
  bottom:26px;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  max-width:min(790px,58vw);
  padding:6px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(3,13,23,.22);
  box-shadow:0 14px 34px rgba(0,0,0,.15);
  backdrop-filter:blur(13px) saturate(1.12);
  transform:translateX(-50%);
}

#mjr719-rail button{
  display:flex;
  align-items:center;
  gap:7px;
  height:34px;
  padding:0 10px;
  border:0;
  border-radius:999px;
  color:rgba(255,255,255,.70);
  background:transparent;
  cursor:pointer;
  font:inherit;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  white-space:nowrap;
  transition:color .22s ease,background .22s ease,transform .22s ease;
}

#mjr719-rail button .dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  box-shadow:0 0 0 0 rgba(var(--mjr719-accent-rgb),0);
  transition:.22s ease;
}

#mjr719-rail button:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

#mjr719-rail button.active{
  color:#fff;
  background:rgba(255,255,255,.11);
}

#mjr719-rail button.active .dot{
  background:var(--mjr719-accent);
  box-shadow:0 0 14px rgba(var(--mjr719-accent-rgb),.86);
}

/* CONTROLS */
body.home-v719 #mjr717-controls{
  right:max(30px,calc((100vw - 1500px)/2))!important;
  bottom:32px!important;
  z-index:22!important;
}

body.home-v719 #mjr717-controls button{
  width:46px!important;
  height:46px!important;
  border-color:rgba(255,255,255,.25)!important;
  background:rgba(4,15,25,.28)!important;
  backdrop-filter:blur(12px)!important;
}

/* V718 SCROLL CUE: sustituido por rail V719 */
body.home-v719 #mjr718-scrollcue{display:none!important}

/* SEARCH */
body.home-v719 #mjr717-search{
  top:112px!important;
  right:max(28px,calc((100vw - 1500px)/2))!important;
  border:1px solid rgba(255,255,255,.70)!important;
  box-shadow:0 28px 72px rgba(0,0,0,.24)!important;
}

/* TABLET */
@media(max-width:1180px){
  body.home-v719 #mjr717-nav{
    height:104px!important;
    gap:17px!important;
    padding:0 20px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-logo{
    width:238px!important;
    min-width:238px!important;
    height:92px!important;
    padding:6px 10px!important;
    border-radius:17px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-links{
    gap:15px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-links a{
    font-size:11px!important;
    letter-spacing:.045em!important;
  }
  #mjr719-rail{max-width:52vw}
  #mjr719-rail button{padding:0 8px;font-size:9px}
}

/* TABLET PORTRAIT */
@media(max-width:1020px){
  body.home-v719 #mjr717-nav{
    height:94px!important;
    padding:0 17px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-links{display:none!important}
  body.home-v719 #mjr717-nav .mjr717-menu-btn{display:grid!important}
  body.home-v719 #mjr717-nav .mjr717-logo{
    width:220px!important;
    min-width:220px!important;
    height:84px!important;
  }
  body.home-v719 #mjr717-scene-copy{
    left:24px!important;
    right:24px!important;
    bottom:142px!important;
    width:auto!important;
  }
  body.home-v719 #mjr717-scene-copy h1{
    max-width:800px!important;
    font-size:clamp(47px,8.7vw,72px)!important;
  }
  body.home-v719 #mjr717-scene-copy p{
    max-width:680px!important;
    font-size:17px!important;
  }
  body.home-v719 #mjr717-scene-progress{
    left:24px!important;
    bottom:53px!important;
  }
  #mjr719-rail{
    max-width:56vw;
    bottom:31px;
  }
  #mjr719-rail button .label{display:none}
  #mjr719-rail button{width:31px;padding:0;justify-content:center}
  #mjr719-rail button .dot{width:7px;height:7px}
  body.home-v719 #mjr717-controls{
    right:20px!important;
    bottom:34px!important;
  }
}

/* PHONE */
@media(max-width:640px){
  body.home-v719 .hero{
    min-height:700px!important;
    height:100dvh!important;
    max-height:none!important;
  }
  body.home-v719 #mjr717-nav{
    height:82px!important;
    padding:0 13px!important;
    gap:9px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-logo{
    width:174px!important;
    min-width:174px!important;
    height:70px!important;
    padding:5px 8px!important;
    border-radius:14px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-icon.account{display:none!important}
  body.home-v719 #mjr717-nav .mjr717-icon{
    width:42px!important;
    height:42px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-quote{display:none!important}
  body.home-v719 #mjr717-scene-copy{
    left:17px!important;
    right:17px!important;
    bottom:142px!important;
  }
  body.home-v719 #mjr717-scene-copy .mjr717-scene-label{
    margin-bottom:11px!important;
    font-size:10.5px!important;
  }
  body.home-v719 #mjr717-scene-copy .mjr717-scene-label i{
    width:25px!important;
  }
  body.home-v719 #mjr717-scene-copy h1{
    font-size:clamp(39px,11.3vw,51px)!important;
    line-height:.98!important;
    letter-spacing:-.04em!important;
  }
  body.home-v719 #mjr717-scene-copy p{
    margin-top:13px!important;
    font-size:15px!important;
    line-height:1.48!important;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  body.home-v719 #mjr717-scene-copy .mjr717-actions{
    margin-top:18px!important;
    gap:8px!important;
  }
  body.home-v719 #mjr717-scene-copy .mjr717-btn{
    min-height:44px;
    padding:11px 14px!important;
    font-size:12px!important;
  }
  body.home-v719 #mjr717-scene-progress{
    left:17px!important;
    bottom:73px!important;
  }
  body.home-v719 #mjr717-scene-progress .track{
    width:92px!important;
  }
  #mjr719-rail{
    left:50%;
    bottom:23px;
    max-width:none;
    gap:1px;
    padding:4px;
  }
  #mjr719-rail button{
    width:27px;
    height:28px;
    padding:0;
    justify-content:center;
  }
  #mjr719-rail button .label{display:none}
  #mjr719-rail button .dot{width:6px;height:6px}
  body.home-v719 #mjr717-controls{
    right:14px!important;
    bottom:67px!important;
  }
  body.home-v719 #mjr717-controls button{
    width:40px!important;
    height:40px!important;
  }
  body.home-v719 #mjr717-search{
    top:78px!important;
    right:12px!important;
    width:calc(100vw - 24px)!important;
  }
  #mjr719-atmosphere{display:none}
}

/* SMALL PHONE */
@media(max-width:420px){
  body.home-v719 #mjr717-nav .mjr717-logo{
    width:156px!important;
    min-width:156px!important;
    height:64px!important;
  }
  body.home-v719 #mjr717-nav .mjr717-icon.search{display:none!important}
  body.home-v719 #mjr717-scene-copy h1{
    font-size:38px!important;
  }
  body.home-v719 #mjr717-scene-copy .mjr717-actions{
    flex-wrap:wrap!important;
  }
}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce){
  body.home-v719 .majerci-hero-slide.active img{
    animation:none!important;
    transform:scale(1.025)!important;
  }
  #mjr719-atmosphere{display:none!important}
  #mjr719-rail button{transition:none!important}
}

/* FIN MAJERCI ULTRA IMMERSIVE V719 */
