/* Site header + mega menu (replaces the Webflow navbar, 2026-10-08). Markup is generated into every page by
   the build script; behaviour is in assets/js/megamenu.js. Classes are prefixed mm- to stay clear of Webflow's. */
.mm-hdr { --mm-ink: #000; --mm-muted: #6b6b6b; --mm-line: #ececec; --mm-surface: #f5f5f5; --mm-ease: cubic-bezier(.22, 1, .36, 1);
  position: sticky; top: 0; z-index: 9000; margin: 20px; font-family: Neuemontreal, system-ui, sans-serif; color: var(--mm-ink); }
.mm-hdr a { color: inherit; text-decoration: none; }
.mm-hdr ul { margin: 0; padding: 0; list-style: none; }
.mm-hdr p { color: inherit; }
.mm-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; height: 80px; padding: 0 30px 0 50px;
  border-radius: 15px; background: var(--mm-surface); }
.mm-brand { margin-right: auto; font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.mm-nav { display: flex; align-items: center; gap: 2px; }
.mm-top { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--mm-ink); font: inherit; font-size: 16px; line-height: 1; cursor: pointer; transition: background-color .2s ease; }
.mm-top svg { transition: transform .3s var(--mm-ease); }
.mm-top:hover, .mm-top[aria-expanded="true"] { background: #fff; }
.mm-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-top.is-current { background: #fff; }
.mm-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--mm-ink);
  color: #fff !important; font-size: 15px; line-height: 1; white-space: nowrap; transition: background-color .2s ease; }
.mm-cta:hover { background: #262626; }
.mm-hdr :focus-visible { outline: 2px solid var(--mm-ink); outline-offset: 2px; }

/* Panels */
.mm-panel { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: 1fr 300px; gap: 8px;
  padding: 8px; border: 1px solid var(--mm-line); border-radius: 24px; background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.04);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .3s var(--mm-ease), visibility 0s linear .3s; }
.mm-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s var(--mm-ease); }
.mm-panel--compact { left: auto; right: 0; width: 680px; grid-template-columns: 1fr 280px; }
.mm-main { padding: 20px 20px 12px; }
.mm-label { margin: 0 0 12px 12px; font-size: 13px; line-height: 1.3; color: var(--mm-muted); }
.mm-group + .mm-group { margin-top: 18px; }
.mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.mm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-grid--1 { grid-template-columns: 1fr; }
.mm-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background-color .2s ease; }
.mm-item:hover, .mm-item[aria-current="page"] { background: var(--mm-surface); }
.mm-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; }
.mm-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mm-title { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.mm-desc { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--mm-muted); }
.mm-foot { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 12px 0; padding-top: 14px; border-top: 1px solid var(--mm-line); font-size: 15px; }
.mm-foot a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.mm-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mm-feature { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 18px; background: var(--mm-ink); color: #fff; }
.mm-feature--light { background: var(--mm-surface); color: var(--mm-ink); }
.mm-feature__title { margin: 0 0 8px; font-size: 22px; font-weight: 500; line-height: 1.2; }
.mm-feature__text { margin: 0; font-size: 15px; line-height: 1.5; opacity: .8; }
.mm-feature__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 12px; }
.mm-feature__contact { display: grid; gap: 10px; font-size: 15px; }
.mm-hdr .mm-feature__contact a { text-decoration: underline; text-underline-offset: 3px; }
.mm-btn { align-self: flex-start; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--mm-ink) !important; font-size: 15px; }
.mm-feature--light .mm-btn { background: var(--mm-ink); color: #fff !important; }
/* Backdrop sits under the bar (both inside the header stacking context) so it dims the page, not the menu. */
.mm-backdrop { position: fixed; inset: 0; z-index: 0; background: rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.mm-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .25s ease; }

/* Phone and tablet: full-screen drawer with fold-out sections */
.mm-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--mm-ink); cursor: pointer; }
.mm-drawer { display: none; }
@media (max-width: 1100px) {
  .mm-nav, .mm-bar > .mm-cta, .mm-panel { display: none; }
  .mm-burger { display: grid; place-items: center; }
  .mm-bar { padding: 0 16px 0 30px; }
  .mm-drawer { display: block; position: fixed; inset: 0; z-index: 2; overflow-y: auto; padding: 10px; background: #fff;
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s var(--mm-ease), visibility 0s linear .35s; }
  /* clip-path, not transform: an off-screen transformed drawer widened the page on some layouts */
  .mm-drawer.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .35s var(--mm-ease); }
  .mm-drawer__top { display: flex; align-items: center; justify-content: space-between; height: 60px; margin-bottom: 8px; padding: 0 8px 0 20px; border-radius: 15px; background: var(--mm-surface); }
  .mm-drawer__top .mm-burger { display: grid; }
  .mm-acc { border-bottom: 1px solid var(--mm-line); }
  .mm-acc__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 18px 10px; border: 0; background: none;
    color: var(--mm-ink); font: inherit; font-size: 20px; line-height: 1.2; text-align: left; cursor: pointer; }
  .mm-acc__btn svg { transition: transform .3s var(--mm-ease); }
  .mm-acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mm-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--mm-ease); }
  .mm-acc__panel.is-open { grid-template-rows: 1fr; }
  .mm-acc__inner { overflow: hidden; }
  .mm-acc__inner .mm-grid { grid-template-columns: 1fr; padding-bottom: 12px; }
  .mm-acc__inner .mm-item { align-items: center; padding: 8px 10px; }
  .mm-acc__inner .mm-icon { width: 36px; height: 36px; }
  .mm-acc__inner .mm-desc, .mm-acc__inner .mm-label { display: none; }
  .mm-acc__inner .mm-group + .mm-group { margin-top: 0; }
  .mm-acc__link { display: block; padding: 18px 10px; border-bottom: 1px solid var(--mm-line); font-size: 20px; line-height: 1.2; }
  .mm-acc__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
  .mm-drawer .mm-cta { display: flex; justify-content: center; height: 52px; margin-top: 24px; font-size: 16px; }
}
@media (max-width: 767px) {
  .mm-hdr { margin: 10px; }
  .mm-bar { height: 60px; padding: 0 8px 0 20px; }
  .mm-brand { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-panel, .mm-panel.is-open, .mm-backdrop, .mm-drawer, .mm-drawer.is-open, .mm-acc__panel, .mm-top svg, .mm-acc__btn svg { transition: none; }
}
