/* Floating desktop navigation. Mobile keeps the existing menu and top bar. */
.sc-nav-contact-icon { display: none; }
@media (min-width: 1024px) {
  html { scroll-padding-top: 132px; }
  .wp-site-blocks > header { top: 0; padding-block: 12px; background: linear-gradient(#090b0de8, #090b0d90 75%, transparent); }
  .sc-header {
    position: relative;
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr) 88px;
    align-items: center;
    column-gap: 28px;
    width: min(1440px, calc(100% - 48px));
    min-height: 96px;
    margin-inline: auto;
    padding: 15px 26px;
    border: 1px solid #ffffff20;
    border-top-color: #ffffff35;
    border-radius: 9px;
    background: linear-gradient(115deg, #20262af2, #111619f5 31%, #0d1216f5);
    box-shadow: inset 0 1px #ffffff04, 0 12px 36px #00000040;
    backdrop-filter: blur(22px);
  }
  .sc-header::after {
    content: ''; position: absolute; pointer-events: none;
    bottom: -1px; left: 20px; right: 20px; height: 1px;
    background: linear-gradient(90deg, #ee1c2500, #ee1c2597 18%, #ee1c2510 49%, transparent 85%);
  }
  .sc-header > .sc-topbar { display: contents; }
  .sc-header .sc-brand {
    grid-column: 1; grid-row: 1;
    display: flex; align-items: center;
    min-height: 62px;
    border-right: 1px solid #ffffff16;
    padding-right: 27px;
  }
  .sc-header .sc-brand-image { width: 185px; height: auto; max-width: 100%; max-height: 62px; transition: filter .3s; }
  .sc-header .sc-brand:hover .sc-brand-image { filter: drop-shadow(0 0 15px #ee1c2533); }
  .sc-header-contact { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; gap: 8px; }
  .sc-header-contact > a:nth-child(2) { display: none; }
  .sc-header-contact > a:first-child, .sc-header-contact > .sc-social {
    display: inline-flex!important; justify-content: center; align-items: center;
    width: 40px; height: 40px; flex: none; gap: 0;
    border: 1px solid #ffffff24; border-radius: 50%;
    background: #ffffff03; color: #d1d7dc;
    font-size: 0;
    transition: background .25s, border-color .25s, box-shadow .25s;
  }
  .sc-header-contact > a:first-child .sc-icon { width: 17px; height: 17px; color: #e6e9ec; }
  .sc-header-contact > .sc-social .sc-icon { width: 14px!important; height: 14px!important; color: #a5afb7!important; }
  .sc-header-contact > a:hover { border-color: #ee1c257d; background: #ee1c2514; box-shadow: 0 0 22px #ee1c2517; }
  .sc-navigation { grid-column: 2; grid-row: 1; display: flex; border: 0; background: none; backdrop-filter: none; min-width: 0; }
  .sc-navigation > .sc-nav-links { width: 100%; min-height: 62px; margin: 0; gap: 12px; justify-content: space-between; }
  .sc-nav-links > a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 0; min-height: 44px;
    font-size: 14px; letter-spacing: .35px; color: #b3bec6;
    transition: color .2s, background .25s, box-shadow .25s;
  }
  .sc-nav-links > a:hover, .sc-nav-links > a:focus-visible, .sc-nav-links > a[aria-current=page] { color: #fff; }
  .sc-nav-links > a::before { height: 1px; bottom: 4px; background: #ee1c25; }
  .sc-nav-links > a[aria-current=page]::after { height: 3px; width: 3px; left: calc(50% - 1.5px); bottom: 3px; right: auto; border-radius: 50%; background: #ee1c25; box-shadow: 0 0 7px #ee1c25a0; }
  .sc-nav-links .sc-chevron { display: none; }
  .sc-nav-links > .sc-nav-accent {
    padding: 12px 15px; gap: 8px; border-radius: 4px;
    border: 1px solid #ee1c2548;
    background: linear-gradient(120deg, #ee1c25, #ee1c25);
    box-shadow: inset 0 1px #ffffff1a, 0 5px 24px #ee1c2526;
    color: #fff; letter-spacing: .6px;
  }
  .sc-nav-links > .sc-nav-accent::before { display: none; }
  .sc-nav-links > .sc-nav-accent::after { content: ''; width: 5px; height: 5px; border: 1px solid #ee1c25; transform: rotate(45deg); margin-left: 4px; }
  .sc-nav-links > .sc-nav-accent:hover { background: linear-gradient(120deg, #ee1c25, #ee1c25); box-shadow: 0 5px 28px #ee1c254a; }
  .sc-nav-links > .sc-nav-contact { gap: 7px; color: #f0f2f4; }
  .sc-nav-contact .sc-nav-contact-icon { display: block; width: 14px; height: 14px; color: #ee1c25; transition: transform .25s; }
  .sc-nav-contact:hover .sc-nav-contact-icon { transform: translate(2px, -2px) rotate(-35deg); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sc-header { width: calc(100% - 28px); grid-template-columns: 157px minmax(0,1fr) 38px; column-gap: 12px; padding: 14px 16px; min-height: 88px; }
  .sc-header .sc-brand { padding-right: 12px; min-height: 56px; }
  .sc-header .sc-brand-image { width: 152px; }
  .sc-header-contact > .sc-social { display: none!important; }
  .sc-header-contact > a:first-child { width: 38px; height: 38px; }
  .sc-navigation > .sc-nav-links { gap: 6px; min-height: 56px; }
  .sc-nav-links > a { font-size: 13px; letter-spacing: .05px; }
  .sc-nav-links > .sc-nav-accent { padding-inline: 10px; letter-spacing: .15px; }
  .sc-nav-links > .sc-nav-accent::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-header .sc-brand-image, .sc-nav-contact .sc-nav-contact-icon { transition: none; }
}
