/* Homepage only: floating glass menu button over the hero + full menu overlay. Every class is scoped with .hm- */
.hm-btn { position: fixed; top: 22px; right: clamp(16px, 2.5vw, 28px); z-index: 120; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 999px; cursor: pointer; color: #082238;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 14px 30px -16px rgba(8,34,56,.55), inset 0 0 0 1px rgba(0,163,217,.08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.94); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .35s, box-shadow .2s, background-color .2s; }
.hm-btn.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .15s, transform .55s .15s cubic-bezier(.2,.8,.2,1), visibility 0s, box-shadow .2s, background-color .2s; }
.hm-btn:hover { background: #fff; box-shadow: 0 18px 36px -16px rgba(8,34,56,.6), inset 0 0 0 1px rgba(0,163,217,.2); }
.hm-btn:focus-visible, .hm a:focus-visible, .hm button:focus-visible { outline: 2px solid #00A3D9; outline-offset: 3px; }

.hm-lines { position: relative; display: block; width: 20px; height: 14px; }
.hm-lines i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s, top .3s, width .3s; }
.hm-lines i:nth-child(1) { top: 0; }
.hm-lines i:nth-child(2) { top: 6px; width: 68%; }
.hm-lines i:nth-child(3) { top: 12px; }
.hm-btn:hover .hm-lines i:nth-child(2) { width: 100%; }
.hm-lines.is-x i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hm-lines.is-x i:nth-child(2) { opacity: 0; }
.hm-lines.is-x i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.hm { position: fixed; inset: 0; z-index: 210; display: grid; align-items: start; justify-items: center; padding: 72px 20px 40px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(8,34,56,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.hm[hidden] { display: none; }
.hm.is-open { opacity: 1; }
.hm__panel { position: relative; width: min(1120px, 100%); padding: 26px 28px 24px; border-radius: 26px; background: #fff; box-shadow: 0 40px 90px -40px rgba(8,34,56,.75);
  transform: translateY(-14px) scale(.985); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.hm.is-open .hm__panel { transform: none; }
.hm__head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #E2E8F0; }
.hm__logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hm__logo img:first-child { width: 40px; height: 40px; }
.hm__logo img:last-child { width: 63px; height: auto; }
.hm__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto 0 8px; }
.hm__badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #F3F7F9; border: 1px solid #E2E8F0; font: 600 12px/1 var(--f-body, Inter, sans-serif); color: #334155; }
.hm__badges img { height: 14px; width: auto; }
.hm__close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border-radius: 999px; border: 1px solid #E2E8F0; background: #F3F7F9; color: #082238; cursor: pointer; transition: background-color .2s; }
.hm__close:hover { background: #E6F3FB; }

.hm__grid { display: grid; grid-template-columns: 1.15fr 1.25fr 1.2fr .8fr; gap: 28px; }
.hm-grp__h { display: flex; width: 100%; align-items: center; justify-content: space-between; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: default; text-align: left;
  font: 700 12px/1.2 var(--f-body, Inter, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.hm-grp__h svg { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.hm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hm-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; font: 600 14.5px/1.3 var(--f-body, Inter, sans-serif); color: #082238; transition: background-color .2s, color .2s, transform .2s; }
.hm-list a:hover { background: #EEF6FB; color: #0A6FA8; transform: translateX(2px); }
.hm-list img { flex: none; object-fit: contain; }
.hm-list--sub a { align-items: flex-start; padding-block: 9px; }
.hm-list--sub a > img, .hm-trio { flex: none; width: 34px; height: 34px; padding: 4px; border-radius: 10px; background: #F3F7F9; border: 1px solid #E2E8F0; box-sizing: border-box; }
.hm-trio { display: grid; grid-template-columns: repeat(2, 1fr); place-items: center; gap: 1px; padding: 3px; }
.hm-trio img:last-child { grid-column: 1 / -1; }
.hm-list--sub span:last-child { display: grid; gap: 2px; }
.hm-list--sub b { font-weight: 700; }
.hm-list--sub span:last-child { font: 400 12.5px/1.4 var(--f-body, Inter, sans-serif); color: #64748B; }
.hm-list--sub b { font: 700 14.5px/1.3 var(--f-body, Inter, sans-serif); color: #082238; }
.hm-list--sub a:hover b { color: #0A6FA8; }
.hm-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--bg); color: var(--c); }
.hm-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-list--plain a { font-size: 15px; }
.hm-feat { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(135deg, #0A3D62 0%, #0A6FA8 60%, #00A3D9 100%); color: #fff; box-shadow: 0 16px 30px -20px rgba(10,111,168,.9); transition: transform .2s, box-shadow .2s; }
.hm-feat:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -18px rgba(10,111,168,.95); }
.hm-feat img { flex: none; width: 34px; height: 34px; padding: 4px; border-radius: 10px; background: #fff; box-sizing: border-box; }
.hm-feat span { display: grid; gap: 2px; font: 400 12.5px/1.35 var(--f-body, Inter, sans-serif); color: rgba(255,255,255,.85); }
.hm-feat b { font: 700 16px/1.2 var(--f-display, Manrope, sans-serif); color: #fff; }
.hm-more { display: inline-flex; gap: 6px; margin: 10px 14px 0 0; font: 600 13.5px/1.2 var(--f-body, Inter, sans-serif); color: #0A6FA8; text-decoration: none; }
.hm-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.hm__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #E2E8F0; }
.hm__foot p { margin: 0; font: 400 14px/1.5 var(--f-body, Inter, sans-serif); color: #334155; }
.hm__cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; background: #FFB81C; color: #082238; font: 700 15px/1 var(--f-body, Inter, sans-serif); text-decoration: none; box-shadow: 0 10px 24px -12px rgba(183,121,31,.8); transition: transform .2s; }
.hm__cta:hover { transform: translateY(-1px); }
.hm__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hm-grp { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.hm.is-open .hm-grp { opacity: 1; transform: none; }
.hm.is-open .hm-grp:nth-child(2) { transition-delay: .05s; }
.hm.is-open .hm-grp:nth-child(3) { transition-delay: .1s; }
.hm.is-open .hm-grp:nth-child(4) { transition-delay: .15s; }

@media (max-width: 1080px) {
  .hm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hm-btn { top: 14px; right: 14px; width: 46px; height: 46px; }
  .hm { padding: 0; }
  .hm__panel { min-height: 100%; border-radius: 0; padding: 14px 16px 24px; }
  .hm__head { margin-bottom: 4px; padding-bottom: 14px; }
  .hm__badges { display: none; }
  .hm__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hm-grp { border-bottom: 1px solid #E2E8F0; }
  .hm-grp__h { margin: 0; padding: 17px 0; cursor: pointer; font-size: 13px; color: #082238; }
  .hm-grp__h svg { display: block; }
  .hm-grp.is-x .hm-grp__h svg { transform: rotate(180deg); }
  .hm-grp__body { display: none; padding-bottom: 14px; }
  .hm-grp.is-x .hm-grp__body { display: block; }
  .hm__foot { flex-direction: column; align-items: stretch; }
  .hm__cta { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-btn, .hm, .hm__panel, .hm-grp, .hm-lines i { transition: none !important; }
}
