.en-header.ba-mast{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:0 12px;padding:4px clamp(12px,3vw,34px) 0;background:#fff;color:#20382f}
.ba-mast .en-logo{width:clamp(88px,22vw,116px);height:40px}
.ba-mast .en-inicio{font-size:14px;padding:10px 0 10px 12px}
.ba-mast-primary{grid-column:1/-1;grid-row:2;display:flex;align-items:stretch;justify-content:space-evenly;border-top:1px solid #e6ebe7;gap:6px}
.ba-mast-primary a{display:flex;align-items:center;min-height:42px;font-weight:600;font-size:clamp(12px,3.25vw,15px);line-height:1.25}
.ba-mast .ba-mast-more{display:block;grid-column:3;grid-row:1;justify-self:end;position:relative;margin:0}
.ba-mast-more>summary{display:flex;gap:4px;width:auto;height:auto;min-height:40px;align-items:center;padding:0 4px;background:transparent;font-size:14px;border-radius:4px}
.ba-mast .ba-mast-caption:before{display:none}
.ba-mast-more[open]>summary svg{transform:rotate(180deg)}
.ba-mast .ba-mast-more nav{left:auto;right:0;min-width:190px;padding:6px 16px 10px;border:1px solid #dce5df;border-radius:10px;z-index:2}
.ba-mast .ba-mast-more nav a{font-size:15px;line-height:1.35}
.ba-mast-more nav a:last-child{border-bottom:0}
.ba-mast a:hover,.ba-mast summary:hover,.ba-mast [aria-current=page]{color:#146846}
.ba-mast :is(a,summary):focus-visible{outline:2px solid #146846;outline-offset:2px}
#diseno-electrico{scroll-margin-top:105px}
@media(min-width:900px){
 .en-header.ba-mast{display:flex;gap:22px;padding:7px clamp(24px,4vw,76px)}
 .ba-mast .en-logo{width:125px;height:44px}
 .ba-mast .en-inicio{font-size:16px}
 .ba-mast-primary{margin-left:auto;border:0;gap:clamp(18px,2vw,36px)}
 .ba-mast-primary a,.ba-mast-more>summary{font-size:15px}
 #diseno-electrico{scroll-margin-top:76px}
}
