/* Shared navigation icons: logical order follows the Arabic label in RTL. */
.hm-fidelity .hm-nav>a,.hm-fidelity .hm-subnav a,
.hm-fidelity .hm-nav-group>summary>.hm-nav-label {
 display:inline-flex;align-items:center;gap:7px;
}
.hm-fidelity .hm-nav-group>summary>.hm-nav-label {font:inherit;color:inherit}
.hm-fidelity .hm-nav-icon {display:block;width:19px;height:19px;flex:0 0 19px;stroke-width:1.7}
.hm-fidelity .hm-nav .hm-nav-icon {color:#606c70;transition:color .15s ease}
.hm-fidelity .hm-nav a:hover>.hm-nav-icon,
.hm-fidelity .hm-nav a[aria-current]>.hm-nav-icon,
.hm-fidelity .hm-nav-group.is-current>summary .hm-nav-icon,
.hm-fidelity .hm-nav-group>summary:hover .hm-nav-icon {color:var(--arco-red)}
.hm-fidelity .hm-nav-group>summary {gap:5px}
.hm-fidelity .hm-nav-chevron {width:13px;height:13px;flex:0 0 13px;color:var(--arco-red);transition:transform .15s ease}
.hm-fidelity .hm-nav-group[open]>summary>.hm-nav-chevron {transform:rotate(180deg)}
.hm-fidelity .hm-subnav a {display:flex;gap:9px}
.hm-fidelity .hm-subnav .hm-nav-icon {width:18px;height:18px;flex-basis:18px}
.hm-fidelity .hm-tools>.hm-lang {display:inline-flex;align-items:center;gap:5px}
.hm-fidelity .hm-tools>.hm-lang>.hm-nav-icon {width:16px;height:16px;flex-basis:16px}
.hm-fidelity .hm-tools>.hm-button {gap:7px}
.hm-fidelity .hm-footer-bottom {display:flex;justify-content:center;align-items:center;text-align:center;gap:0}
.hm-fidelity .hm-footer-bottom>span {display:block;width:100%;max-width:none;margin:0 auto;text-align:center}
.public-site .footer-bottom,.about-v6-footer-bottom {justify-content:center;align-items:center;text-align:center;flex-direction:column;gap:8px}
@media(min-width:1361px){
 .hm-fidelity .hm-nav-row {gap:16px}
 .hm-fidelity .hm-nav {gap:14px}
 .hm-fidelity .hm-tools {gap:10px}
}
/* Open the compact menu before icon labels can collide with the brand. */
@media(max-width:1360px){
 .hm-fidelity .hm-menu-toggle {display:inline-flex}
 .hm-fidelity .hm-nav {position:absolute;inset:100% 0 auto;padding:14px;background:#fffdfb;box-shadow:0 12px 20px #19272c18;display:none;flex-direction:column;align-items:stretch;gap:0}
 .hm-fidelity .hm-nav.is-open {display:flex;max-height:75vh;overflow-y:auto}
 .hm-fidelity .hm-nav>a {display:flex;padding:14px;gap:10px}
 .hm-fidelity .hm-nav-group {display:block;align-self:stretch}
 .hm-fidelity .hm-nav-group>summary {padding:14px;justify-content:space-between;border-bottom:1px solid #eee8df}
 .hm-fidelity .hm-nav-group.is-current>summary:after {display:none}
 .hm-fidelity .hm-nav-group.is-current>summary {color:var(--arco-red)}
 .hm-fidelity .hm-subnav {position:static;min-width:0;box-shadow:none;border:0;border-inline-start:2px solid #e6b7b6;margin:0 12px 10px 0;padding:5px 8px;background:#faf7f2;border-radius:0}
}
@media(max-width:540px){.hm-fidelity .hm-tools>.hm-lang>.hm-nav-icon {display:none}}
@media(prefers-reduced-motion:reduce){.hm-fidelity .hm-nav-icon,.hm-fidelity .hm-nav-chevron {transition:none}}

/* Reveal the entire original bilingual brand as one lockup, including emblem and name. */
@media (prefers-reduced-motion:no-preference) {
 #hm-site-top .hm-logo .hm-brand {
  -webkit-mask-image:linear-gradient(to left,#000 50%,transparent 65%);
  mask-image:linear-gradient(to left,#000 50%,transparent 65%);
  -webkit-mask-size:300% 100%;mask-size:300% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:100% 0;mask-position:100% 0;
  animation:arco-brand-unveil 4.8s cubic-bezier(.45,0,.55,1) .2s 1 backwards;
 }
}
@keyframes arco-brand-unveil {
 from {opacity:.25;transform:translateY(8px);-webkit-mask-position:0% 0;mask-position:0% 0}
 to {opacity:1;transform:translateY(0);-webkit-mask-position:100% 0;mask-position:100% 0}
}
@media (prefers-reduced-motion:reduce) {
 #hm-site-top .hm-logo .hm-brand {
  animation:none;transform:none;opacity:1;-webkit-mask-image:none;mask-image:none;
 }
}

/* Keep the copyright centered independently of the return-to-top control. */
.hm-fidelity .hm-footer-bottom {position:relative;min-height:76px;padding:20px 62px;display:flex}
.hm-fidelity .hm-footer-bottom .hm-back-top {position:absolute;right:0;left:auto;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:1px solid #d9c9ba;border-radius:50%;color:#d91f2f;background:#fffaf4;transition:background .15s,color .15s}
.hm-fidelity .hm-footer-bottom .hm-back-top:hover {background:#d91f2f;color:#fff;border-color:#d91f2f}
.hm-fidelity .hm-back-top:focus-visible {outline:3px solid #d91f2f;outline-offset:4px}
@media(max-width:540px){.hm-fidelity .hm-footer-bottom{padding:18px 54px;min-height:90px}}
