/* Header for both ministries: same layout, each in its own brand. */
.site-header { --hdr-accent: #b3262a; --hdr-accent-ink: #fff; --hdr-font: 'Montserrat', sans-serif; position: relative; z-index: 6; color: #fff; }
.site-header--soi { --hdr-accent: #F5A1A0; --hdr-accent-ink: #2b1c1c; --hdr-font: 'Aboreto', serif; }
.site-container[data-hero="1"] > .site-header { position: absolute; left: 0; right: 0; background: linear-gradient(to bottom, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 70%, rgba(0,0,0,0) 100%); }
.site-container:not([data-hero="1"]) > .site-header { background: var(--page-bg, #0b0b0b); }

.site-header__bar { display: flex; align-items: center; gap: 28px; max-width: 1320px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 40px); }
.site-header__logo { display: block; flex: 0 0 auto; line-height: 0; }
.site-header__logo img { height: 64px; width: auto; display: block; }
.site-header__logo.is-wide img { height: 34px; }

.site-header__nav { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.site-header__nav a {
  position: relative; color: rgba(255,255,255,.86); text-decoration: none !important; white-space: nowrap;
  font-family: 'Cabin', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .02em; padding: 6px 0;
  transition: color .2s ease;
}
.site-header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hdr-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: #fff; }
.site-header__nav a:hover::after, .site-header__nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.hdr-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-family: 'Cabin', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.hdr-btn:hover { transform: translateY(-1px); }
.hdr-btn--solid { background: var(--hdr-accent); color: var(--hdr-accent-ink) !important; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.hdr-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.hdr-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }

.site-header__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.site-header__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.site-header__toggle span:nth-child(1) { top: 16px; }
.site-header__toggle span:nth-child(2) { top: 22px; }
.site-header__toggle span:nth-child(3) { top: 28px; }
.is-open .site-header__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-open .site-header__toggle span:nth-child(2) { opacity: 0; }
.is-open .site-header__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.site-header__toggle:focus-visible, .hdr-btn:focus-visible, .site-header__nav a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.site-header__panel { display: none; }

@media (max-width: 1080px) {
  .site-header__nav, .site-header__actions { display: none; }
  .site-header__toggle { display: block; }
  .site-header__bar { padding-block: 14px; }
  .site-header__logo img { height: 52px; }
  .site-header__logo.is-wide img { height: 26px; }
  .site-header__panel:not([hidden]) {
    display: flex; flex-direction: column; position: fixed; inset: 0; top: 0; z-index: -1;
    padding: 128px 24px 32px; background: #0b0b0b; overflow-y: auto;
    animation: hdr-panel .28s ease-out;
  }
  .site-header--soi .site-header__panel:not([hidden]) { background: #1c1a1a; }
  .site-header__panel nav { display: flex; flex-direction: column; }
  .site-header__panel nav a {
    color: #fff; text-decoration: none !important; font-family: var(--hdr-font); font-size: 28px; line-height: 1.2;
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-header--soi .site-header__panel nav a { letter-spacing: .03em; }
  .site-header__panel nav a[aria-current="page"] { color: var(--hdr-accent); }
  .site-header__panel-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .site-header__panel-actions .hdr-btn { min-height: 54px; font-size: 17px; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .is-open.site-header { background: transparent !important; }
}
@keyframes hdr-panel { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header__panel:not([hidden]) { animation: none; } }
