/* MADRE SELVA · HERO estático aprobado (30/10/2026) — solo ES. Reemplaza visualmente #ms-hero. */
#ms-hero{display:none!important}
#ms-hero-static{position:relative;background:#0c0a08;color:#ece5d6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;overflow:hidden;container-type:inline-size}
#ms-hero-static *{box-sizing:border-box}
#ms-hero-static .mhs-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ms-hero-static a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
#ms-hero-static a:focus-visible,#ms-hero-static summary:focus-visible,#ms-hero-static button:focus-visible{outline:2px solid #e3c77e;outline-offset:3px}
#ms-hero-static .mhs-crop{position:relative;overflow:hidden;width:100%;display:block}
#ms-hero-static .mhs-crop>img{display:block;max-width:none;height:auto;user-select:none;-webkit-user-drag:none;pointer-events:none}

/* ---------- Escritorio (>=1024): composición completa ---------- */
#ms-hero-static .mhs-desk{aspect-ratio:1671/941;max-height:none}
#ms-hero-static .mhs-desk>img{width:100%;margin:0}
#ms-hero-static .mhs-hit{position:absolute;display:block;z-index:3;transition:box-shadow .25s ease,background-color .25s ease}
#ms-hero-static .mhs-hit:hover{background:rgba(227,199,126,.06)}
#ms-hero-static .mhs-hit--btn{border-radius:999px}
#ms-hero-static .mhs-hit--cta{border-radius:.55cqw}
#ms-hero-static .mhs-hit--cta:hover{box-shadow:0 0 0 1px rgba(255,236,190,.55),0 10px 30px rgba(212,176,116,.28);background:rgba(255,255,255,.06)}
#ms-hero-static .mhs-hit--card{border-radius:1.25cqw}
#ms-hero-static .mhs-hit--card:hover{box-shadow:0 0 0 1px rgba(227,199,126,.75),0 0 28px rgba(227,199,126,.25);background:rgba(255,255,255,.025)}
/* Parche: tapa la navegación incrustada (incl. INICIAR SESIÓN) con el propio fondo desenfocado */
#ms-hero-static .mhs-patch{position:absolute;left:33.81%;top:2.98%;width:47.88%;height:5.53%;overflow:hidden;z-index:2;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 24%,#000 76%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 24%,#000 76%,transparent 100%);mask-composite:intersect}
#ms-hero-static .mhs-patch>img{display:block;max-width:none;width:208.875%;margin-left:-70.625%;margin-top:-3.5%;filter:blur(10px) brightness(.72)}
#ms-hero-static .mhs-nav{position:absolute;left:35.31%;top:2.98%;width:46.4%;height:5.53%;z-index:4;display:flex;align-items:center;gap:3.1cqw;font-size:max(10px,.70cqw);letter-spacing:.17em;text-transform:uppercase}
#ms-hero-static .mhs-nav>a{color:#ddd5c6;padding:.6em 0;position:relative;white-space:nowrap}
#ms-hero-static .mhs-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:.25em;height:1px;background:#e3c77e;transform:scaleX(0);transition:transform .25s ease}
#ms-hero-static .mhs-nav>a:hover{color:#f3e2b5}
#ms-hero-static .mhs-nav>a:hover::after{transform:scaleX(1)}
#ms-hero-static .mhs-lang-slot{margin-left:auto;display:flex;align-items:center;position:relative;padding-left:1.6cqw;border-left:1px solid rgba(227,199,126,.55);letter-spacing:normal;text-transform:none;font-size:max(12px,.78cqw)}

/* Selector de idioma movido (mecanismo existente) */
#ms-hero-static .mhs-lang-slot>*{position:relative!important;top:auto!important;right:auto!important;left:auto!important;margin:0!important;display:block}
#ms-hero-static .mhs-lang-slot details>ul,#ms-hero-static .mhs-lang-slot .msi-panel{right:0;left:auto;z-index:50}
#ms-hero-static .mhs-lang-fallback{display:flex;gap:.9em;font-size:inherit;letter-spacing:.12em}
#ms-hero-static .mhs-lang-fallback a{color:#ddd5c6}
#ms-hero-static .mhs-lang-fallback a[aria-current]{color:#e3c77e}

/* Barra superior real (tablet y celular) */
#ms-hero-static .mhs-bar{display:none}
#ms-hero-static .mhs-mob{display:none}

/* ---------- Tablet (700–1023) ---------- */
@media (max-width:1023.98px){
  #ms-hero-static .mhs-bar{display:flex;align-items:center;gap:18px;padding:12px 20px;background:#0c0a08;border-bottom:1px solid rgba(227,199,126,.22);position:relative;z-index:6}
  #ms-hero-static .mhs-logo{flex:0 0 auto;font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;font-size:17px;letter-spacing:.24em;color:#e3c77e;white-space:nowrap}
  #ms-hero-static .mhs-bar-nav{display:flex;align-items:center;gap:20px;margin-left:auto;font-size:11px;letter-spacing:.15em;text-transform:uppercase}
  #ms-hero-static .mhs-bar-nav>a{color:#ddd5c6;padding:10px 0;white-space:nowrap}
  #ms-hero-static .mhs-bar-nav>a:hover{color:#f3e2b5}
  #ms-hero-static .mhs-bar .mhs-lang-slot{margin-left:0;padding-left:14px;font-size:13px}
  #ms-hero-static .mhs-go{flex:0 0 auto;border:1px solid #d4b074;border-radius:999px;color:#f0dfb2;padding:9px 18px;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
  #ms-hero-static .mhs-go:hover{background:rgba(212,176,116,.12)}
  #ms-hero-static .mhs-menu{display:none}
  #ms-hero-static .mhs-desk{aspect-ratio:1671/851}
  #ms-hero-static .mhs-desk>img{margin-top:-5.386%}
  #ms-hero-static .mhs-desk .mhs-patch,#ms-hero-static .mhs-desk .mhs-nav,#ms-hero-static .mhs-desk .mhs-hit--top{display:none}
  #ms-hero-static .mhs-desk .mhs-hit--cta{top:61.69%!important;height:7.76%!important}
  #ms-hero-static .mhs-desk .mhs-hit--card{top:14.57%!important;height:60.28%!important}
}

/* ---------- Celular (<700): dos encuadres de la misma imagen ---------- */
@media (max-width:699.98px){
  #ms-hero-static .mhs-bar{padding:10px 16px;gap:10px;flex-wrap:wrap}
  #ms-hero-static .mhs-logo{font-size:15px;letter-spacing:.2em}
  #ms-hero-static .mhs-bar>.mhs-bar-nav,#ms-hero-static .mhs-bar>.mhs-lang-slot{display:none}
  #ms-hero-static .mhs-go{margin-left:auto;padding:9px 14px;font-size:10.5px}
  #ms-hero-static .mhs-menu{display:block;position:static}
  #ms-hero-static .mhs-menu>summary{list-style:none;cursor:pointer;width:42px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(227,199,126,.45);border-radius:10px;color:#e3c77e}
  #ms-hero-static .mhs-menu>summary::-webkit-details-marker{display:none}
  #ms-hero-static .mhs-menu>summary svg{width:20px;height:20px}
  #ms-hero-static .mhs-menu-panel{position:absolute;left:0;right:0;top:100%;background:#100d0a;border-bottom:1px solid rgba(227,199,126,.3);padding:6px 16px 14px;display:flex;flex-direction:column;z-index:20;box-shadow:0 18px 30px rgba(0,0,0,.45)}
  #ms-hero-static .mhs-menu-panel>a{padding:13px 2px;border-bottom:1px solid rgba(255,255,255,.07);font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:#e6dece}
  #ms-hero-static .mhs-menu-panel .mhs-lang-slot{border-left:0;padding:12px 2px 0;font-size:14px}
  #ms-hero-static .mhs-desk{display:none}
  #ms-hero-static .mhs-mob{display:block}
  #ms-hero-static .mhs-mob-a{aspect-ratio:520/600}
  #ms-hero-static .mhs-mob-a>img{width:321.35%;margin-left:-59.62%;margin-top:-19.23%}
  #ms-hero-static .mhs-mob-b{aspect-ratio:726/530;margin-top:-1px}
  #ms-hero-static .mhs-mob-b>img{width:230.17%;margin-left:-118.46%;margin-top:-28.24%}
  #ms-hero-static .mhs-mob .mhs-hit--cta{border-radius:10px}
  #ms-hero-static .mhs-mob .mhs-hit--card{border-radius:14px}
}
@media (prefers-reduced-motion:reduce){#ms-hero-static *{transition:none!important}}
