/* Main navigation: white masthead, red accents, accessible disclosure panels. */
#header { background: #fff; height: 66px; box-shadow: 0 3px 18px #39101b0b; border-bottom: 1px solid #f4e7e9; z-index: 1000; }
#header.header-scrolled { height: 66px; background: #fff; box-shadow: 0 4px 24px #39101b14; }
#header > .container { max-width: 1440px; width: 100%; padding: 0 24px; gap: 20px; }
#header .logo { flex-shrink: 0; }
#header .logo img { max-height: 44px; width: auto; max-width: 210px; object-fit: contain; }
#header .logo .navbar-brand { margin: 0; padding: 0; width: auto; }
#header .logo h1 { display: none; }
#header .modern-nav { position: static; padding: 0; }
#header .modern-menu { display: flex; gap: 2px; align-items: center; margin: 0; padding: 0; list-style: none; }
#header .modern-item { position: relative; }
#header .modern-trigger { display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 10px 10px; border: 0; border-radius: 8px; background: transparent; color: #202126; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.4; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .18s, color .18s; }
#header .modern-trigger > i { font-size: 16px; margin: 0; line-height: 1; }
#header .modern-trigger > .bi-chevron-down { font-size: 10px; transition: transform .18s; }
#header .is-current > .modern-trigger, #header .modern-trigger:hover, #header .modern-item.is-open > .modern-trigger { color: #df0027; background: #fff0f2; }
#header .is-open > .modern-trigger > .bi-chevron-down { transform: rotate(180deg); }
#header .modern-trigger:focus-visible, #header .modern-panel a:focus-visible, #header .modern-mobile-toggle:focus-visible { outline: 3px solid #ec345a; outline-offset: 3px; }
#header .modern-panel[hidden] { display: none !important; }
#header .modern-panel { position: absolute; top: calc(100% + 9px); left: 0; width: 295px; padding: 8px; background: #fff; border: 1px solid #f7e7eb; border-radius: 11px; box-shadow: 0 15px 40px #6c102021; z-index: 1010; }
#header .modern-item:nth-last-child(-n+3) .modern-panel { left: auto; right: 0; }
#header .modern-submenu { display: block; position: static; list-style: none; margin: 0; padding: 0; }
#header .modern-submenu li { min-width: 0; }
#header .modern-submenu a { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 9px; color: #24252a; white-space: normal; font-size: 13px; line-height: 1.45; font-weight: 600; text-decoration: none; }
#header .modern-submenu a:hover, #header .modern-submenu a[aria-current] { color: #d90025; background: #fff3f5; }
#header .modern-icon { display: grid; place-items: center; flex: 0 0 25px; color: #f0002b; }
#header .modern-submenu i { font-size: 17px; margin: 0; line-height: 1; }
#header .modern-copy { flex: 1; }
#header .modern-copy small { display: block; color: #656b79; font-size: 11px; font-weight: 400; margin-top: 3px; }
#header .modern-submenu a > i:last-child { font-size: 12px; flex-shrink: 0; margin-left: auto; }
#header .modern-about .modern-panel { display: grid; grid-template-columns: 225px 1fr; gap: 12px; width: min(850px, calc(100vw - 56px)); left: -180px; }
#header .modern-about .modern-submenu { display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-template-columns: 1fr 1fr; gap: 0 8px; align-content: center; }
#header .modern-about .modern-icon { flex-basis: 35px; height: 34px; border-radius: 10px; background: #fff2f3; }
#header .modern-about .modern-icon i { font-size: 20px; }
#header .modern-intro { position: relative; overflow: hidden; background: linear-gradient(140deg, #fff4f5, #ffdfe5); border-radius: 10px; padding: 18px 17px 45px; }
#header .modern-eyebrow { color: #cc0023; font-size: 10px; font-weight: 800; letter-spacing: .6px; }
#header .modern-intro h2 { color: #ca0024; font-size: 20px; font-weight: 750; margin: 10px 0; line-height: 1.2; }
#header .modern-intro p { color: #565e70; font-size: 13px; line-height: 1.55; margin-bottom: 15px; }
#header .modern-intro a { display: inline-flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 7px; color: white; background: linear-gradient(#ff183d, #d80025); font-size: 12px; font-weight: 600; }
#header .modern-intro-art { position: absolute; right: 16px; bottom: -28px; color: #ed294b22; transform: rotate(-10deg); pointer-events: none; }
#header .modern-intro-art i { font-size: 115px; }
#header .modern-mobile-toggle { display: none; border: 0; background: #fff0f2; border-radius: 9px; width: 42px; height: 42px; color: #da0026; font-size: 26px; }
@media (max-width: 1399px) {
 #header > .container { gap: 14px; padding: 0 20px; }
 #header .logo img { max-width: 190px; }
 #header .modern-trigger { padding: 12px 8px; font-size: 12px; gap: 6px; }
 #header .modern-trigger > i { font-size: 16px; }
}
@media (max-width: 1199px) {
 #header, #header.header-scrolled { height: 66px; }
 #header .logo img { max-height: 44px; max-width: 220px; }
 #header .modern-mobile-toggle { display: grid; place-items: center; cursor: pointer; }
 #header .modern-menu { display: none; position: fixed; top: 66px; left: 0; right: 0; max-height: calc(100dvh - 66px); overflow-y: auto; padding: 16px 20px 24px; background: #fff; box-shadow: 0 16px 25px #39101b17; border-top: 1px solid #f3e5e8; }
 #header .modern-nav.mobile-open .modern-menu { display: block; }
 #header .modern-item { margin: 4px 0; }
 #header .modern-trigger { width: 100%; font-size: 14px; padding: 13px 12px; gap: 12px; }
 #header .modern-trigger > .bi-chevron-down { margin-left: auto; }
 #header .modern-panel, #header .modern-about .modern-panel { position: static; width: 100%; padding: 8px; box-shadow: none; margin: 6px 0 12px; border-radius: 10px; }
 #header .modern-about .modern-panel { display: block; }
 #header .modern-intro { display: none; }
 #header .modern-about .modern-submenu { display: block; }
 #header .modern-submenu a { padding: 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { #header .modern-trigger, #header .modern-trigger > .bi-chevron-down { transition: none; } }

@media (min-width: 1200px) {
 #header .modern-panel::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
}
