/* micahierro.com — ajustes del sitio estático (portada que reemplaza a Slider Revolution, menú móvil, 404) */
html{scroll-behavior:smooth}
[id]{scroll-margin-top:90px}

/* ---------- portada ---------- */
.mh-hero{--u:min(1px,calc(100vw / 1640));position:relative;overflow:hidden;height:calc(1000 * var(--u));min-height:560px;background:#fff}
.mh-hero-bg{position:absolute;inset:0;background:url(/wp-content/uploads/2021/04/consultant2-slider-bg.png) center bottom/contain no-repeat}
.mh-hero-in{position:relative;width:calc(1640 * var(--u));max-width:100%;height:100%;margin:0 auto}
.mh-hero-txt{position:absolute;left:calc(81 * var(--u));top:calc(239 * var(--u));bottom:calc(160 * var(--u));width:calc(600 * var(--u));z-index:3;display:flex;flex-direction:column}
.mh-hero h1{font-family:Poppins,sans-serif;font-weight:600;color:#000;font-size:calc(90 * var(--u));line-height:calc(105 * var(--u));letter-spacing:0;margin:0}
.mh-hero-pie{margin-top:auto;display:flex;align-items:center;gap:calc(40 * var(--u))}
.mh-hero-pie p{margin:0;width:calc(320 * var(--u));min-width:220px;font-size:15px;line-height:30px;color:#000}
.mh-red{flex:none;width:60px;height:60px;border-radius:50%;background:#000;color:#f2f2f2!important;display:flex;align-items:center;justify-content:center;font-size:24px;text-decoration:none!important;transition:background .2s}
.mh-red:hover{background:#5b92e5}
.mh-hero-foto{position:absolute;inset:0;z-index:2;pointer-events:none}
.mh-circulo{position:absolute;left:calc(370 * var(--u));top:calc(144 * var(--u));width:calc(230 * var(--u));height:calc(230 * var(--u));border-radius:50%;background:#5b92e5;z-index:-1}
.mh-hero-foto img{position:absolute;bottom:0;left:calc(543.5 * var(--u));width:calc(1313 * var(--u));height:auto;max-width:none}
.mh-hero-txt{pointer-events:auto}
@media (max-width:1239px){
  .mh-hero-txt{bottom:calc(120 * var(--u))}
}
@media (max-width:767px){
  .mh-hero{--u:calc(100vw / 778);height:calc(1050 * var(--u));min-height:0}
  .mh-hero-in{width:100%}
  .mh-hero-txt{left:0;right:0;width:auto;top:calc(150 * var(--u));bottom:auto;padding:0 calc(39 * var(--u));text-align:center;align-items:center}
  .mh-hero h1{font-size:calc(70 * var(--u));line-height:calc(80 * var(--u))}
  .mh-hero-pie{display:none}
  .mh-circulo{left:calc(470 * var(--u));top:calc(68 * var(--u));width:calc(150 * var(--u));height:calc(150 * var(--u))}
  .mh-hero-foto img{left:50%;transform:translateX(-50%);width:calc(500 * var(--u));height:auto}
}

/* ---------- menú móvil (antes lo armaba el JavaScript del tema) ---------- */
#Side_slide{transition:right .3s ease}
html.mh-menu-abierto #Side_slide{right:0!important}
html.mh-menu-abierto #body_overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9999}
#Side_slide .menu_wrapper ul{list-style:none;margin:0;padding:0}
#Side_slide .menu_wrapper li a{display:block;padding:12px 20px;color:#222;border-bottom:1px solid rgba(0,0,0,.08);text-decoration:none}
#Side_slide .menu_wrapper li a:hover{color:#5b92e5}
#Side_slide .menu_wrapper #menu{display:block!important;background:none}

/* acordeón de publicaciones sin el JavaScript de Elementor */
.elementor-accordion .elementor-tab-title{cursor:pointer}
.elementor-accordion .elementor-tab-content{display:none}
.elementor-accordion .elementor-tab-content.elementor-active{display:block}

/* ---------- 404 ---------- */
.mh-404{max-width:640px;margin:0 auto;padding:180px 20px 120px;text-align:center}
.mh-404 h1{font-size:44px;line-height:1.2;margin-bottom:20px}
.mh-kicker{color:#5b92e5;font-weight:600;letter-spacing:2px;text-transform:uppercase;font-size:13px}
.mh-404 .button{margin:8px}
.mh-404 .mh-b2{background:#fff!important;color:#000!important;border:1px solid #000}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}#Side_slide{transition:none}}
