/* Shared, in-flow site chrome. Its namespace keeps page styles independent. */
.fm-header { position: relative; z-index: 100; background: #080916; color: #fff; }
.fm-header-inner { max-width: 1440px; min-height: 80px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 44px); display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.fm-header a, .fm-header summary, .fm-header button { color: inherit; font: inherit; }
.fm-brand { flex: 0 0 auto; color: #fff; font-weight: 700 !important; font-size: 17px !important; white-space: nowrap; text-decoration: none; }
.fm-navigation { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fm-nav-list, .fm-footer-services { list-style: none; margin: 0; padding: 0; }
.fm-nav-list { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 23px); }
.fm-nav-list > li { position: relative; white-space: nowrap; }
.fm-nav-list a, .fm-submenu summary { display: block; text-decoration: none; cursor: pointer; font-size: 14px; }
.fm-submenu summary { display: list-item; list-style-position: inside; }
.fm-nav-list a:hover, .fm-submenu summary:hover { color: #a8d7f4; }
.fm-submenu-panel { position: absolute; top: 100%; left: -16px; min-width: 245px; padding: 10px; background: #fff; color: #132338; box-shadow: 0 12px 30px #0003; border-radius: 8px; }
.fm-submenu-panel a { color: #132338; white-space: normal; padding: 10px; border-radius: 4px; }
.fm-submenu-panel a:hover { color: #143e60; background: #e8f5fc; }
.fm-header-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.fm-header-action { border: 1px solid #c8d6e3; border-radius: 999px; padding: 10px 16px; text-decoration: none; font-size: 14px !important; }
.fm-header-action:hover { background: #e8f5fc; color: #132338; }
.fm-menu-toggle { display: none; }
.fm-header :focus-visible, .fm-footer :focus-visible { outline: 3px solid #49b5ed; outline-offset: 3px; }
.fm-footer { background: #f4f9fc; color: #25384b; font-size: 15px; line-height: 1.65; }
.fm-footer a { color: #245b80; text-decoration: none; }
.fm-footer a:hover { text-decoration: underline; }
.fm-footer-main { max-width: 1200px; margin: auto; padding: 56px 24px 48px; display: grid; grid-template-columns: 1fr 1.5fr .75fr; gap: clamp(32px, 5vw, 70px); }
.fm-footer h2 { color: #132338; font-size: 21px; line-height: 1.25; margin: 0 0 16px; }
.fm-footer p { margin: 0; }
.fm-footer-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.fm-footer-bottom { border-top: 1px solid #cedde6; max-width: 1200px; margin: auto; padding: 24px; display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; font-size: 14px; }
.fm-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fm-footer-bottom p { white-space: nowrap; }
@media (max-width: 999px) {
  .fm-header-inner { min-height: 72px; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .fm-header[data-fm-enhanced] .fm-menu-toggle { display: block; border: 1px solid #b6cddd; background: transparent; border-radius: 6px; padding: 8px 14px; cursor: pointer; }
  .fm-navigation { display: block; flex: 0 0 100%; align-items: stretch; padding: 8px 0 24px; }
  .fm-header[data-fm-enhanced] .fm-navigation { display: none; }
  .fm-header[data-fm-enhanced] .fm-navigation.is-open { display: block; }
  .fm-nav-list, .fm-header-actions { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .fm-nav-list > li { border-top: 1px solid #ffffff26; }
  .fm-nav-list a, .fm-submenu summary { padding: 12px 0; font-size: 16px; }
  .fm-submenu-panel { position: static; min-width: 0; padding: 0 0 8px 16px; background: transparent; color: #fff; box-shadow: none; }
  .fm-submenu-panel a { color: #e1f2fc; padding: 8px; }
  .fm-header-actions { flex-direction: row; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
  .fm-footer-main { grid-template-columns: 1fr; gap: 32px; padding: 44px 24px; }
  .fm-footer-bottom { flex-direction: column; }
}

@media (min-width: 1000px) and (max-width: 1100px) {
  .fm-header-actions a[href^="tel:"] { display: none; }
}
