/* Munica legal modal — 1.7.2 */
.mu-header-legal{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:var(--mu-ink);padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer;transition:background-color .28s ease,color .28s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.mu-header-legal svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mu-header-legal:hover{background:rgba(94,163,249,.11);color:#367de0;transform:translateY(-1px)}
.mu-header-legal:active{transform:scale(.94)}
.mu-header-legal:focus-visible,.mu-legal-close:focus-visible,.mu-legal-card a:focus-visible{outline:2px solid #367de0;outline-offset:3px}
.mu-legal-modal[hidden]{display:none!important}.mu-legal-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;isolation:isolate}.mu-legal-backdrop{position:absolute;inset:0;background:rgba(12,35,66,.18);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);opacity:0;animation:mu-legal-fade .24s ease forwards}.mu-legal-dialog{position:relative;z-index:1;width:min(760px,calc(100vw - 48px));max-height:min(680px,calc(100dvh - 48px));overflow:auto;overscroll-behavior:contain;background:linear-gradient(145deg,rgba(249,252,255,.96),rgba(232,241,252,.92));border:1px solid rgba(255,255,255,.82);border-radius:22px;box-shadow:0 30px 90px -34px rgba(25,60,105,.46),inset 0 1px 0 rgba(255,255,255,.92);padding:34px;color:var(--mu-ink);font-family:var(--main-font);opacity:0;transform:translateY(12px) scale(.985);animation:mu-legal-in .32s cubic-bezier(.2,.8,.2,1) forwards}.mu-legal-dialog::-webkit-scrollbar{width:7px}.mu-legal-dialog::-webkit-scrollbar-thumb{background:#7ca6d345;border-radius:20px}.mu-legal-close{position:absolute;left:20px;top:20px;width:36px;height:36px;border:1px solid rgba(70,117,171,.13);border-radius:999px;background:rgba(255,255,255,.46);color:var(--mu-ink);display:grid;place-items:center;cursor:pointer}.mu-legal-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.mu-legal-dialog-head{padding-left:54px}.mu-legal-dialog-head span{display:block;font-size:11px;color:var(--mu-blue);margin-bottom:8px}.mu-legal-dialog-head h2{font-size:clamp(25px,4vw,37px);line-height:1.6;letter-spacing:-.035em;margin:0;font-weight:600}.mu-legal-dialog-head p{font-size:13px;line-height:1.9;color:var(--mu-muted);margin:8px 0 0}.mu-legal-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:27px}.mu-legal-card{position:relative;min-width:0;padding:22px;border-radius:15px;border:1px solid rgba(108,150,198,.18);background:rgba(255,255,255,.42);text-align:right}.mu-legal-card-number{font-size:10px;color:#7d94b1;margin-bottom:24px}.mu-legal-card h3{font-size:18px;font-weight:600;margin:0 0 9px}.mu-legal-card p{font-size:12px;line-height:2;color:var(--mu-muted);margin:0;min-height:120px}.mu-legal-card a{width:max-content;display:flex;align-items:center;gap:13px;margin-top:19px;padding:8px 0 5px;border-bottom:1px solid rgba(54,125,224,.32);font-size:12px;color:var(--mu-blue);text-decoration:none}.mu-legal-open{overflow:hidden!important}
@keyframes mu-legal-fade{to{opacity:1}}@keyframes mu-legal-in{to{opacity:1;transform:none}}
@media(max-width:900px){.mu-header-legal{width:34px;height:34px}.mu-header-legal svg{width:16px;height:16px}}
@media(max-width:620px){.mu-legal-modal{padding:14px}.mu-legal-dialog{width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:27px 18px 20px;border-radius:18px}.mu-legal-close{left:14px;top:14px;width:34px;height:34px}.mu-legal-dialog-head{padding-left:45px}.mu-legal-dialog-head h2{font-size:25px}.mu-legal-cards{grid-template-columns:1fr;gap:10px;margin-top:20px}.mu-legal-card{padding:18px}.mu-legal-card-number{margin-bottom:12px}.mu-legal-card p{min-height:0}.mu-legal-card a{margin-top:13px}}
@media(max-width:480px){.mu-header-legal{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.mu-legal-backdrop,.mu-legal-dialog{animation:none;opacity:1;transform:none}}


/* 1.7.2 — compact header uses equal visible gaps, not equal-width slots.
   Text labels are wider than the glyph icons, so equal slot centers made شروع/ورود
   look crowded even when the mathematical centers were evenly spaced. */
@media(max-width:620px){
  .header-right{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:18px!important;
    column-gap:18px!important;
  }
  .header-right>.mu-header-phone,
  .header-right>.mu-header-legal,
  .header-right>.mu-header-link,
  .header-right>.header-contact{
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
  }
  .header-right>.mu-header-phone,
  .header-right>.mu-header-legal{
    width:18px!important;
    min-width:18px!important;
    border-radius:999px!important;
  }
  .header-right>.mu-header-link,
  .header-right>.header-contact{
    width:auto!important;
    min-width:0!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .header-right>.header-contact{gap:4px!important}
  .header-right>.header-contact::before{left:0!important;right:0!important;width:auto!important;bottom:4px!important}
}
@media(max-width:390px){
  .header-right{gap:17px!important;column-gap:17px!important}
  .header-right>.mu-header-phone,
  .header-right>.mu-header-legal{width:17px!important;min-width:17px!important}
}
