/* Premium corporate header — all pages, SIRCA branding */

:root {
  --hp-navy: #0F2740;
  --hp-blue: #2B6591;
  --hp-light: #72B3D8;
  --hp-gold: #BCB8A5;
  --hp-white: #FFFFFF;
}

/* Top bar */
.top-bar-pf {
  background: var(--hp-navy) !important;
  padding: 0 !important;
  min-height: auto !important;
  border: none !important;
}
.top-bar-pf .container {
  max-width: 100%;
  padding: 0;
}
.top-bar-pf-inner {
  display: flex;
  align-items: stretch;
  min-height: 36px;
}
.top-bar-pf-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.25rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
  flex-shrink: 0;
}
.top-bar-pf-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--hp-white);
  font-size: 0.8rem;
  font-weight: 400;
}
.top-bar-pf-list a {
  color: var(--hp-white) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}
.top-bar-pf-list a:hover {
  color: var(--hp-gold) !important;
}
.top-bar-pf-list i {
  color: var(--hp-gold) !important;
  font-size: 0.9rem;
}
.top-bar-pf-address span {
  opacity: 0.92;
  line-height: 1.35;
  max-width: 420px;
}
/* Scrolling highlights between address and quote */
.top-bar-pf-ticker {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.top-bar-pf-ticker-viewport {
  width: 100%;
  overflow: hidden;
}
.top-bar-pf-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  animation: topBarTickerScroll 42s linear infinite;
  will-change: transform;
}
.top-bar-pf-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 500;
}
.top-bar-pf-ticker-item i {
  color: var(--hp-gold) !important;
  font-size: 0.82rem;
  flex-shrink: 0;
}
@keyframes topBarTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.top-bar-pf-ticker:hover .top-bar-pf-ticker-track {
  animation-play-state: paused;
}
.top-bar-pf-quote {
  flex-shrink: 0;
  border: none;
  background: var(--hp-white);
  color: var(--hp-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  box-shadow: inset 1px 0 0 rgba(15, 39, 64, 0.06);
}
.top-bar-pf-quote--pulse {
  animation:
    topBarQuoteAttention 2.6s ease-in-out infinite,
    topBarQuoteGlow 2.6s ease-in-out infinite;
}
.top-bar-pf-quote--pulse:hover {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .top-bar-pf-ticker-track { animation: none; }
  .top-bar-pf-quote--pulse { animation: none; }
}
@keyframes topBarQuoteAttention {
  0%, 68%, 100% { transform: translateX(0) scale(1) rotate(0); }
  70% { transform: translateX(-4px) scale(1.05) rotate(-1deg); }
  73% { transform: translateX(4px) scale(1.06) rotate(1deg); }
  76% { transform: translateX(-3px) scale(1.04) rotate(-0.6deg); }
  79% { transform: translateX(3px) scale(1.05) rotate(0.6deg); }
  82% { transform: translateX(-2px) scale(1.03); }
  85% { transform: translateX(2px) scale(1.02); }
  88% { transform: translateX(0) scale(1.04); }
  91% { transform: scale(1); }
}
@keyframes topBarQuoteGlow {
  0%, 68%, 100% { box-shadow: inset 1px 0 0 rgba(15, 39, 64, 0.06); }
  74% { box-shadow: 0 0 0 4px rgba(236, 188, 52, 0.4), 0 0 24px rgba(236, 188, 52, 0.5); }
  80% { box-shadow: 0 0 0 2px rgba(236, 188, 52, 0.25), 0 0 14px rgba(236, 188, 52, 0.35); }
  86% { box-shadow: inset 1px 0 0 rgba(15, 39, 64, 0.06); }
}
.top-bar-pf-quote:hover {
  background: var(--hp-gold);
  color: var(--hp-navy);
}
.top-bar-pf-quote i {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}
.top-bar-pf-quote:hover i {
  transform: translateX(3px);
}

/* Main navigation — gold bar, dark text */
.site-header-pf {
  background: var(--sirca-light-3, #FFEFC2) !important;
  box-shadow: 0 4px 16px rgba(15, 39, 64, 0.08);
  border-bottom: 3px solid var(--sirca-gold, #ECBC34);
}
.site-header-pf .navbar {
  padding: 0.28rem 0;
  min-height: var(--navbar-h);
}
.site-header-pf .brand-logo-pf {
  height: 38px;
  width: auto;
  max-width: 140px;
}
.site-header-pf .navbar-nav {
  gap: 0.15rem;
}
.site-header-pf .nav-link {
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 0.4rem 0.85rem !important;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s ease;
}
.site-header-pf .nav-link .bi-plus-lg {
  font-size: 0.6rem;
  margin-left: 2px;
  font-weight: 700;
  opacity: 0.85;
}
.site-header-pf .nav-link:hover {
  color: var(--sirca-blue, #024FAE) !important;
}
.site-header-pf .nav-link.active {
  color: var(--sirca-blue, #024FAE) !important;
}
.site-header-pf .nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--hp-blue), var(--hp-gold));
  border-radius: 2px;
  transform: none;
  width: auto;
}
.site-header-pf .mega-menu {
  border: 1px solid rgba(43, 101, 145, 0.12);
  box-shadow: 0 16px 48px rgba(15, 39, 64, 0.12);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
}
.site-header-pf .mega-menu-link {
  color: var(--hp-navy);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.site-header-pf .mega-menu-link:hover {
  background: rgba(43, 101, 145, 0.08);
  color: var(--hp-blue);
}
.header-social-pf {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0.5rem;
}
.header-social-pf a {
  color: #0f172a;
  font-size: 1.1rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.header-social-pf a:hover {
  color: var(--sirca-blue, #024FAE);
  transform: translateY(-2px);
}

body:not(.header-scrolled) .site-header-wrap:has(.site-header-pf) {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
body.page-home:not(.header-scrolled) .site-header-wrap:has(.site-header-pf) {
  background: transparent !important;
}
body.header-scrolled .site-header-wrap--sticky {
  box-shadow: 0 4px 20px rgba(15, 39, 64, 0.12);
}
body.header-scrolled .site-header-pf {
  background: var(--sirca-light-3, #FFEFC2) !important;
}

@media (max-width: 991.98px) {
  .top-bar-pf-ticker { display: none; }
  .top-bar-pf-list { flex: 1; flex-wrap: wrap; }
  .top-bar-pf-address { display: none; }
  .top-bar-pf-list { padding: 0.35rem 1rem; gap: 0.75rem 1.25rem; }
}
