/* Baretti CSS final production hardening — v3.1.2
 * Loaded after the page-specific stylesheet. It restores root-level source
 * tokens lost during selector extraction and fixes global responsive layers.
 */

:root{
  --baretti-red:#ba1319;
  --red-soft:#f7e4e5;
  --container:1180px;
  --go-radius:24px;
  --go-shadow:0 18px 44px rgba(8,38,64,.095);
  --go-shadow-hover:0 26px 64px rgba(8,38,64,.16);
  --baretti-menu-bg:#fff;
  --baretti-menu-border:#dfe7ef;
  --baretti-menu-shadow:0 24px 60px rgba(8,34,58,.18);
  --steel:#d7e0e8;
  --graphite:#0b1b2d;
  --electric:#9fb8cc;
  --deep-shadow:0 24px 70px rgba(6,24,42,.18);
  --content-image-radius:18px;
  --content-image-shadow:0 18px 42px rgba(8,34,58,.12);
  --ultra-radius:20px;
  --ultra-line:#e2ebf3;
  --ultra-shadow:0 18px 44px rgba(8,34,58,.12);
  --ultra-shadow-hover:0 28px 62px rgba(8,34,58,.16);
}

/* Keep global geometry stable inside Elementor containers. */
#bn-body{overflow-x:hidden}
#bn-body .p1-header .container,
#bn-body .p1-top .container,
#bn-body .p1-footer .container{min-width:0}
#bn-body .p1-nav,
#bn-body .p1-nav *{box-sizing:border-box}

/* Canonical desktop root-menu rhythm. The earlier 36px parity declaration is
 * intentionally superseded by the final source value. */
@media (min-width:981px){
  #bn-body .p1-nav>.dropdown>.nav-root-trigger{padding:42px 0}
  #bn-body .menu-btn{display:none!important}
}

/* The extracted CSS hides the desktop nav at <=980px but only exposed the
 * hamburger at <=900px, leaving 901–980px without a usable navigation trigger. */
@media (max-width:980px){
  #bn-body .menu-btn{
    display:block!important;
    flex:0 0 auto;
    min-width:42px;
    min-height:42px;
  }
  #bn-body .nav-actions-mobile{display:flex!important}
  #bn-body .p1-nav>.dropdown>.nav-root-trigger{
    width:100%;
    min-height:48px;
    padding:13px 14px!important;
    justify-content:space-between;
    border-radius:14px;
  }
}

/* Preserve intended layer ordering: header < cookie banner < cookie dialog. */
#bn-body .baretti-cookie-widget{z-index:100000!important}
#bn-body .baretti-cookie-banner{z-index:100001!important}
#bn-body .baretti-cookie-dialog{z-index:100003!important}
#bn-body .baretti-cookie-reopen{z-index:9998!important}

/* Robust wrapping in global/legal blocks without altering desktop geometry. */
#bn-body .p1-top a,
#bn-body .p1-footer a,
#bn-body .bn-parity-office-address,
#bn-body .legal{overflow-wrap:anywhere}

/* Keyboard focus must remain visible after the global menu reset. */
#bn-body .nav-root-trigger:focus-visible,
#bn-body .menu-btn:focus-visible,
#bn-body .search-toggle:focus-visible,
#bn-body .search-icon-btn:focus-visible{
  outline:3px solid rgba(186,19,25,.28)!important;
  outline-offset:3px!important;
}

/* Prevent decorative hover/motion from overriding OS accessibility settings. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  #bn-body *,#bn-body *::before,#bn-body *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
