/* Shared English header. Alternate language headers keep their own styles. */
body { --header-admin-offset: 0px; --announcement-height: 32px; --header-height: 108px; padding-top: var(--header-height); }
body.admin-bar { --header-admin-offset: 32px; }
.header-top { position: fixed; top: var(--header-admin-offset); inset-inline: 0; z-index: 10020; background: #fff0e4; color: #56351f; }
.header-utility { width: min(1320px, calc(100% - 64px)); height: var(--announcement-height); margin: auto; display: flex; align-items: center; gap: 24px; font-size: 12px; line-height: 1.4; }
.header-utility [hidden] { display: none !important; }
.announcement-window { flex: 1; min-width: 0; overflow: hidden; }
.announcement-track { display: flex; width: max-content; animation: announcement-scroll var(--announcement-duration, 36s) linear infinite; }
.announcement-group { display: flex; align-items: center; flex: none; gap: 48px; padding-right: 48px; }
.announcement-group > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.announcement-group > span::after { content: ''; width: 4px; height: 4px; flex: none; margin-left: 44px; border-radius: 50%; background: #bb6c35; }
.announcement-group strong { font-weight: 600; }
.header-utility:hover .announcement-track, .header-utility:focus-within .announcement-track, .header-utility.is-paused .announcement-track { animation-play-state: paused; }
.header-utility .announcement-contact { display: inline-flex; flex: none; align-items: center; gap: 8px; color: #56351f; text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-utility .announcement-contact:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-utility .announcement-pause { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #56351f; cursor: pointer; }
.header-utility .announcement-pause:hover { background: #f5dcca; }
.header-utility .announcement-play-icon, .header-utility.is-paused .announcement-pause-icon { display: none; }
.header-utility.is-paused .announcement-play-icon { display: block; }
.header-utility :is(a, button, [tabindex]):focus-visible { outline: 2px solid #a8420a; outline-offset: -2px; }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .announcement-track { animation: none; }
    .announcement-window { overflow-x: auto; scrollbar-width: thin; }
    .announcement-group[aria-hidden="true"] { display: none; }
}
.header { position: fixed; top: calc(var(--announcement-height) + var(--header-admin-offset)); inset-inline: 0; z-index: 10010; background: #fff; border-bottom: 1px solid #e0e5e9; padding: 0; box-shadow: none; }
.header .m-head { box-sizing: border-box; display: flex; align-items: center; gap: 32px; width: min(1320px, calc(100% - 64px)); height: 76px; margin: auto; }
.header .new-logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; width: auto; text-decoration: none; color: #18232d; }
.header .new-logo img { width: 44px; height: 44px; object-fit: contain; }
.header .logo-fragment-1 { font-size: 19px; line-height: 1.2; font-weight: 600; white-space: nowrap; letter-spacing: -.02em; }
.header .logo-fragment-1 b { color: #a8420a; font-weight: 600; }
.header .main-nav { flex: 1; min-width: 0; }
.header .menu { display: flex; align-items: center; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.header .menu-item { position: relative; margin: 0; padding: 0; }
.header .menu-item > a, .header .nav-disclosure { box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 9px; border: 0; border-radius: 5px; background: transparent; color: #283541; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; cursor: pointer; }
.header .menu-item > a:hover, .header .nav-disclosure:hover, .header .is-open > .nav-disclosure { background: #f0f3f5; color: #a8420a; }
.header .nav-disclosure::after, .m-nav-content .nav-disclosure::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.header .is-open > .nav-disclosure::after, .m-nav-content .is-open > .nav-disclosure::after { transform: rotate(225deg); margin-top: 3px; }
.header .submenu { display: none; position: absolute; top: 100%; left: 0; width: 270px; max-height: calc(100dvh - var(--header-height) - var(--header-admin-offset) - 20px); overflow-y: auto; padding: 8px; margin: 0; list-style: none; border: 1px solid #dce2e6; border-radius: 8px; background: #fff; }
.header .menu-item:last-child .submenu { right: 0; left: auto; width: 200px; }
.header .is-open > .submenu { display: block; }
.header .submenu a { display: block; padding: 11px 12px; border-radius: 5px; color: #283541; font-size: 14px; line-height: 1.5; text-decoration: none; }
.header .submenu a:hover, .header .submenu a[aria-current="page"] { background: #f0f3f5; color: #a8420a; }
.header .getQuote { flex-shrink: 0; margin: 0; width: auto; }
.header .getQuote .button, .m-nav-content .mobile-quote { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 7px; background: #ffb077; color: #38200d; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: none; }
.header .getQuote .button:hover, .m-nav-content .mobile-quote:hover { background: #ffc79f; }
.header :is(a, button):focus-visible, .header-top a:focus-visible, .m-nav-content :is(a, button):focus-visible { outline: 2px solid #a8420a; outline-offset: 3px; }
.header-top a:focus-visible { outline-color: #a8420a; }
.header .clearfix, .header .m-nav, .m-nav-content { display: none; }
.header .menu-close-icon { display: none; }
.header .m-nav[aria-expanded="true"] .menu-open-icon { display: none; }
.header .m-nav[aria-expanded="true"] .menu-close-icon { display: block; }
.header .menu-item > a[aria-current="page"] { color: #a8420a; }
/* Preserve form defaults previously declared alongside the header. */
#quotePopup .form-control { font-size: 15px; }
#quotePopup #form_success > h3 { font-weight: bold; font-size: 18px; }
@media (max-width: 1120px) {
    body { --header-height: 100px; }
    .header .m-head { height: 68px; gap: 18px; }
    .header .main-nav { display: none; }
    .header .new-logo { margin-right: auto; }
    .header .m-nav { display: grid; place-items: center; order: 3; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #dce2e6; border-radius: 7px; color: #283541; background: #fff; cursor: pointer; }
    .header .m-nav:hover { background: #f0f3f5; }
    .m-nav-content { box-sizing: border-box; position: fixed; top: calc(var(--header-height) + var(--header-admin-offset)); inset-inline: 0; max-height: calc(100dvh - var(--header-height) - var(--header-admin-offset)); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-bottom: 1px solid #dce2e6; padding: 12px max(24px, calc((100vw - 1000px) / 2)) 24px; z-index: 10005; }
    .m-nav-content.is-open { display: block; }
    .m-nav-content .menu, .m-nav-content .submenu { list-style: none; margin: 0; padding: 0; }
    .m-nav-content .menu-item > a, .m-nav-content .nav-disclosure { box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 14px 4px; border: 0; border-bottom: 1px solid #e5e9ec; background: transparent; color: #283541; font: inherit; font-size: 16px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
    .m-nav-content .submenu { display: none; padding: 8px 12px; background: #f4f6f7; }
    .m-nav-content .is-open > .submenu { display: block; }
    .m-nav-content .submenu a { display: block; min-height: 44px; padding: 10px 4px; color: #394956; font-size: 15px; line-height: 1.5; text-decoration: none; }
    .m-nav-content .submenu a:hover { color: #a8420a; }
    .m-nav-content .mobile-quote { width: 100%; margin-top: 22px; }
}
@media (max-width: 782px) { body.admin-bar { --header-admin-offset: 46px; } }
@media (max-width: 600px) {
    body { --announcement-height: 32px; --header-height: 100px; }
    .header-utility, .header .m-head { width: calc(100% - 32px); }
    .header-utility { gap: 10px; font-size: 12px; }
    .header-utility > a { display: none; }
    .header .getQuote { display: none; }
    .header .new-logo img { width: 40px; height: 40px; }
    .header .logo-fragment-1 { font-size: 18px; }
    body.admin-bar #wpadminbar { position: fixed; }
}
