
/* RedHawk Defense V6.8.5 - Clean grouped global header
   Goal: keep the badass hawk, keep one-click Home, stop terrifying visitors with 900 links.
*/
:root{
  --rhd-bg:#020306;
  --rhd-red:#e11d2e;
  --rhd-red2:#7d0611;
  --rhd-blue:#287dff;
  --rhd-gold:#ffd166;
  --rhd-text:#f7fbff;
  --rhd-muted:#b8c4d8;
  --rhd-line:rgba(255,255,255,.16);
}
html{scroll-padding-top:130px}
body.rhd-has-global-header{padding-top:106px!important}
body.rhd-has-global-header.rhd-has-context{padding-top:148px!important}

/* The JavaScript header is the only header allowed at the top. */
body.rhd-has-global-header > .ribbon,
body.rhd-has-global-header > .audience-ribbon,
body.rhd-has-global-header > .server-only-banner,
body.rhd-has-global-header > .wrap > header.top,
body.rhd-has-global-header > .wrap > .top,
body.rhd-has-global-header header.topbar,
body.rhd-has-global-header .topbar{
  display:none!important;
}

#rhd-global-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:2147483640!important;
  border-bottom:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 4% 0%, rgba(225,29,46,.46), transparent 34%),
    radial-gradient(circle at 96% 0%, rgba(40,125,255,.26), transparent 36%),
    linear-gradient(90deg, rgba(18,0,7,.99), rgba(2,3,6,.99) 45%, rgba(3,13,30,.99));
  box-shadow:0 18px 70px rgba(0,0,0,.70), 0 0 42px rgba(225,29,46,.20);
  backdrop-filter:blur(14px);
  font-family:Segoe UI,Arial,sans-serif!important;
}
#rhd-global-header *{box-sizing:border-box}

.rhd-nav-wrap{
  width:min(1460px,calc(100% - 28px));
  min-height:96px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(330px, 440px) 1fr auto;
  align-items:center;
  gap:18px;
}
.rhd-brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff!important;
  text-decoration:none!important;
  min-width:0;
}
.rhd-brand-mark{
  width:74px!important;
  height:74px!important;
  flex:0 0 74px!important;
  display:grid;
  place-items:center;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.24);
  background:#020306!important;
  overflow:hidden!important;
  box-shadow:
    0 15px 40px rgba(0,0,0,.62),
    inset 0 0 24px rgba(225,29,46,.30),
    0 0 34px rgba(225,29,46,.27);
}
.rhd-brand-mark img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
}
.rhd-brand-text{
  min-width:0;
}
.rhd-brand-text b{
  display:block;
  font-size:23px;
  line-height:.92;
  letter-spacing:.10em;
  font-weight:1000;
  text-transform:uppercase;
  text-shadow:0 0 26px rgba(225,29,46,.34);
}
.rhd-brand-text .rhd-redhawk-word{color:#ffffff}
.rhd-brand-text .rhd-defense-word{color:#ff6a78}
.rhd-brand-text span{
  display:block;
  margin-top:7px;
  color:#ffd166;
  font-size:10.5px;
  line-height:1.22;
  font-weight:950;
  letter-spacing:.075em;
  text-transform:uppercase;
  max-width:360px;
}

.rhd-primary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
}
.rhd-primary-nav a,
.rhd-lang a,
.rhd-menu-btn,
.rhd-more-btn{
  color:#fff!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.17);
  background:rgba(255,255,255,.07);
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:inset 0 0 18px rgba(255,255,255,.035);
}
.rhd-primary-nav a:hover,
.rhd-lang a:hover,
.rhd-menu-btn:hover,
.rhd-more-btn:hover{
  border-color:#ff6a78;
  box-shadow:0 0 22px rgba(225,29,46,.22);
}
.rhd-primary-nav a.rhd-active,
.rhd-more-btn.rhd-active{
  background:linear-gradient(135deg,rgba(225,29,46,.40),rgba(139,6,18,.26));
  border-color:rgba(255,106,120,.75);
}
.rhd-more-wrap{
  position:relative;
  display:inline-flex;
}
.rhd-more-panel{
  display:none;
  position:absolute;
  top:calc(100% + 13px);
  right:0;
  width:min(780px, calc(100vw - 40px));
  border:1px solid rgba(255,255,255,.15);
  border-radius:24px;
  background:rgba(2,3,6,.98);
  box-shadow:0 30px 80px rgba(0,0,0,.70),0 0 34px rgba(225,29,46,.14);
  padding:18px;
}
.rhd-more-wrap.rhd-open .rhd-more-panel,
.rhd-more-wrap:hover .rhd-more-panel{
  display:block;
}
.rhd-more-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.rhd-more-group{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  border-radius:18px;
  padding:13px;
}
.rhd-more-group b{
  display:block;
  color:#ffd166;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.rhd-more-group a{
  display:block;
  color:#e7f0ff!important;
  text-decoration:none!important;
  padding:8px 7px;
  border-radius:10px;
  font-size:13px;
  font-weight:850;
}
.rhd-more-group a:hover{
  background:rgba(255,255,255,.08);
  color:#fff!important;
}
.rhd-more-group a.rhd-active{
  background:rgba(225,29,46,.19);
  color:#fff!important;
}

.rhd-lang{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.rhd-lang a.rhd-active{
  background:rgba(255,209,102,.18);
  border-color:rgba(255,209,102,.65);
  color:#fff3c6!important;
}
.rhd-menu-btn{
  display:none;
  background:linear-gradient(135deg,var(--rhd-red),var(--rhd-red2));
  border-color:#ff6a78;
}

/* Optional second-row context nav appears only on service-related pages */
.rhd-contextbar{
  display:none;
  width:min(1460px,calc(100% - 28px));
  margin:0 auto 10px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:9px 0 0;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.rhd-contextbar.rhd-show{display:flex}
.rhd-contextbar span{
  color:#ffd166;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.10em;
  margin-right:3px;
}
.rhd-contextbar a{
  color:#dbe7fb!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  line-height:1;
  font-weight:850;
}
.rhd-contextbar a:hover,
.rhd-contextbar a.rhd-active{
  border-color:#ff6a78;
  background:rgba(225,29,46,.18);
  color:#fff!important;
}

.rhd-mobile-panel{
  display:none;
  width:min(1460px,calc(100% - 28px));
  margin:0 auto 12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(2,3,6,.98);
  border-radius:20px;
  padding:12px;
  max-height:calc(100vh - 110px);
  overflow:auto;
}
.rhd-mobile-panel.rhd-open{display:block}
.rhd-mobile-section{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:10px;
  margin:8px 0;
  background:rgba(255,255,255,.035);
}
.rhd-mobile-section b{
  display:block;
  color:#ffd166;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.10em;
  margin:2px 4px 8px;
}
.rhd-mobile-panel a{
  display:block;
  color:#fff!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  border-radius:13px;
  padding:12px;
  font-weight:900;
  margin:6px 0;
}
.rhd-mobile-panel a.rhd-active{
  background:rgba(225,29,46,.20);
  border-color:rgba(255,106,120,.55);
}

.rhd-quick-contact{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:2147483630;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.rhd-quick-contact a{
  color:#fff!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg,#e11d2e,#8b0612);
  border-radius:999px;
  padding:12px 15px;
  font-family:Segoe UI,Arial,sans-serif;
  font-size:13px;
  font-weight:950;
  box-shadow:0 12px 34px rgba(0,0,0,.46),0 0 24px rgba(225,29,46,.24);
}
.rhd-quick-contact a.secondary{background:linear-gradient(135deg,#287dff,#102a75)}

@media(max-width:1220px){
  body.rhd-has-global-header{padding-top:92px!important}
  body.rhd-has-global-header.rhd-has-context{padding-top:92px!important}
  .rhd-nav-wrap{
    display:flex;
    min-height:88px;
  }
  .rhd-primary-nav{display:none}
  .rhd-menu-btn{display:inline-flex}
  .rhd-brand{flex:1}
  .rhd-brand-mark{width:66px!important;height:66px!important;flex-basis:66px!important}
  .rhd-brand-text b{font-size:22px}
  .rhd-contextbar{display:none!important}
}
@media(max-width:720px){
  body.rhd-has-global-header{padding-top:84px!important}
  .rhd-nav-wrap{min-height:82px;width:min(100% - 18px,1460px);gap:10px}
  .rhd-brand-mark{width:58px!important;height:58px!important;flex-basis:58px!important;border-radius:16px!important}
  .rhd-brand-text b{font-size:17px;letter-spacing:.08em}
  .rhd-brand-text span{display:none}
  .rhd-lang a{padding:8px 9px;font-size:12px}
  .rhd-quick-contact{left:10px;right:10px;bottom:10px}
  .rhd-quick-contact a{flex:1;text-align:center}
}
@media(max-width:440px){
  .rhd-brand-text b{font-size:14px}
  .rhd-brand-mark{width:52px!important;height:52px!important;flex-basis:52px!important}
}
@media print{
  #rhd-global-header,.rhd-quick-contact{display:none!important}
  body.rhd-has-global-header{padding-top:0!important}
}
