/* Reference-inspired floating menu for Notary by Myrah. */
.myrah-menu-header {
  position: fixed; z-index: 40; top: 5px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 48px)); min-height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 6px 23px; color: #eee7ee; border: 1px solid #b9b1c132;
  border-radius: 999px; background: linear-gradient(105deg,#211923de,#33313edb);
  box-shadow: inset 0 1px 0 #ffffff08; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.myrah-menu-brand { display: flex; flex-direction: column; flex-shrink: 0; align-items: center; line-height: 1; gap: 3px; padding: 2px 0; }
.myrah-menu-brand img { display: block; height: 38px; width: auto; }
.myrah-menu-brand>span { font-family: var(--serif); font-size: 27px; letter-spacing: -.04em; }
.myrah-menu-brand>small { color: #ff8fbd; font-size: 7px; font-weight: 600; letter-spacing: .25em; margin-left: .25em; }
.myrah-menu-links { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: auto; }
.myrah-menu-links>a,.myrah-service-menu>summary { color: #d1cbd2; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; padding-block: 9px; transition: color .2s; }
.myrah-menu-links>a[href]:hover,.myrah-service-menu>summary:hover { color: #fff; }
.myrah-menu-links>a[aria-disabled="true"] { cursor: default; }
.myrah-service-menu { position: relative; }
.myrah-service-menu>summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.myrah-service-menu>summary::-webkit-details-marker { display: none; }
.myrah-service-menu>summary>span { font-size: 20px; line-height: 1; transition: transform .2s; }
.myrah-service-menu[open]>summary>span { transform: rotate(90deg); }
.myrah-service-dropdown { position: absolute; top: calc(100% + 12px); left: -20px; min-width: 220px; padding: 10px; border: 1px solid #b9b1c132; border-radius: 16px; background: #2c2431; box-shadow: 0 16px 40px #0003; }
.myrah-service-dropdown>a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: #eee7ee; }
.myrah-service-dropdown>a:hover { background: #ffffff0d; color: #ff8fbd; }
.myrah-menu-controls { display: flex; align-items: center; flex-shrink: 0; gap: 14px; }
.myrah-language-switch { display: flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border: 1px solid #ffffff26; border-radius: 999px; background: #ffffff09; }
.myrah-language-switch>button,.myrah-language-switch>span { display: grid; place-items: center; min-width: 31px; height: 28px; padding: 0 8px; border: 0; border-radius: 999px; color: #c4bdc8; font: 600 11px var(--sans); background: transparent; }
.myrah-language-switch>button:disabled { cursor: default; opacity: .8; }
.myrah-language-switch>span { background: #ff3e91; color: white; box-shadow: 0 0 14px #ff3e9159; }
.myrah-menu-header .menu-toggle { display: none; }
.myrah-mobile-menu[hidden] { display: none; }
.myrah-hero { min-height: 100svh; }
.myrah-hero-content { padding-top: 132px; }
.myrah-menu-header :focus-visible,.myrah-mobile-menu :focus-visible { outline: 2px solid #ff8fbd; outline-offset: 4px; }
#home,#online-service,#mobile-service,#apostille-service { scroll-margin-top: 90px; }
@media (max-width: 960px) {
  .myrah-menu-header { width: calc(100% - 32px); top: 12px; padding-inline: 20px; }
  .myrah-menu-links { display: none; }
  .myrah-menu-header .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 24px; height: 40px; border: 0; background: transparent; padding: 0; }
  .myrah-menu-header .menu-toggle span { display: block; width: 24px; height: 1.5px; background: #f4edf3; }
  .myrah-mobile-menu { position: fixed; z-index: 39; top: 80px; left: 16px; right: 16px; padding: 16px 24px; border: 1px solid #b9b1c132; border-radius: 24px; background: #28202df5; color: #eee7ee; box-shadow: 0 20px 50px #0003; backdrop-filter: blur(18px); }
  .myrah-mobile-menu>a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-size: 15px; border-bottom: 1px solid #ffffff12; }
  .myrah-mobile-menu>a:last-child { border-bottom: 0; }
  .myrah-mobile-menu>a>small { font-size: 10px; color: #bcaec3; }
  .myrah-mobile-menu>a[aria-disabled="true"] { cursor: default; color: #bcaec3; }
  .myrah-hero { min-height: 100svh; }
}
@media (max-width: 600px) {
  .myrah-menu-header { width: calc(100% - 24px); top: 10px; min-height: 58px; padding-inline: 17px; gap: 12px; }
  .myrah-menu-brand>span { font-size: 25px; }
  .myrah-menu-brand img { height: 32px; }
  .myrah-menu-brand>small { font-size: 7px; }
  .myrah-hero { min-height: 100svh; }
  .myrah-hero-content { padding-top: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .myrah-menu-header * { transition: none; }
}

/* "Services" opens the slide-in panel (panel.js); styled like the other nav links. */
.myrah-menu-links>.myrah-service-open { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 0; color: #d1cbd2; font: 600 14px var(--sans); white-space: nowrap; cursor: pointer; transition: color .2s; }
.myrah-menu-links>.myrah-service-open:hover { color: #fff; }
.myrah-menu-links>.myrah-service-open>span { font-size: 20px; line-height: 1; transition: transform .2s; }
.myrah-menu-links>.myrah-service-open:hover>span { transform: translateX(3px); }
.myrah-menu-header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.myrah-menu-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.myrah-menu-header .menu-toggle span { transition: transform .3s; }
