/* Shared Valiant site header and footer. */
:root {
  --global-carbon: #09090a;
  --global-coal: #111214;
  --global-gold: #c7a34b;
  --global-gold-soft: #e0c783;
  --global-ivory: #f5f2ec;
  --global-muted: #b7b1a6;
  /* Header height reservation — prevents layout shift when the JS-injected
     sticky header pops in. Keep in sync with .global-header-inner min-height. */
  --header-h: 85px;
  /* Total offset = sticky call bar + global header. Pages without the call
     bar have --valiant-sticky-call-offset defaulting to 0 via the fallback. */
  scroll-padding-top: calc(var(--valiant-sticky-call-offset, 0px) + var(--header-h));
}
@media (max-width: 1080px) { :root { --header-h: 77px; } }
@media (max-width: 760px)  { :root { --header-h: 73px; } }
/* Hide the old site-header immediately so it never paints at its full
   height before global-chrome.js swaps it for the new compact header.
   Using opacity+pointer-events (not display:none) keeps layout stable
   and prevents CLS while the deferred script is still loading. */
header.site-header {
  opacity: 0 !important;
  pointer-events: none !important;
  max-height: var(--header-h) !important;
  overflow: hidden !important;
  transition: none !important;
}
.global-site-header,
.global-site-footer {
  color: var(--global-ivory);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.global-site-header *,
.global-site-footer * { box-sizing: border-box; }
.global-site-header a,
.global-site-footer a { color: inherit; text-decoration: none; }
.global-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.global-site-header {
  position: sticky;
  /* Sit directly below the fixed emergency call bar on pages that have it.
     Falls back to 0 on pages without --valiant-sticky-call-offset. */
  top: var(--valiant-sticky-call-offset, 0px);
  /* Must exceed the old site-header z-index (9990) so the new header
     always renders on top and intercepts scroll correctly. */
  z-index: 9995;
  background: rgba(9, 9, 10, .97);
  border-bottom: 1px solid rgba(199, 163, 75, .24);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .26);
  backdrop-filter: blur(14px);
}
.global-header-inner { min-height: 84px; display: flex; align-items: center; gap: 24px; }
.global-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.global-brand img { width: 48px; height: 48px; object-fit: contain; }
.global-brand-text { display: flex; flex-direction: column; line-height: 1; }
.global-brand-text b { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: .14em; }
.global-brand-text small { margin-top: 7px; color: var(--global-gold); font-size: .62rem; letter-spacing: .34em; }
.global-main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.8vw, 26px); margin-left: auto; }
.global-main-nav a { color: var(--global-muted); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; transition: color .2s ease; }
.global-main-nav a:hover,
.global-main-nav a:focus-visible,
.global-main-nav a[aria-current="page"] { color: var(--global-gold-soft); }
.global-nav-services { position: relative; display: flex; align-items: center; }
.global-services-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--global-muted); background: transparent; border: 0; font: inherit; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s ease; }
.global-services-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.global-nav-services:hover .global-services-toggle,
.global-nav-services.is-open .global-services-toggle,
.global-nav-services.is-current .global-services-toggle,
.global-services-toggle:focus-visible { color: var(--global-gold-soft); }
.global-services-toggle:focus-visible { outline: 2px solid var(--global-gold-soft); outline-offset: 4px; border-radius: 4px; }
.global-nav-services.is-open .global-services-toggle svg { transform: rotate(180deg); }
.global-services-menu { position: absolute; top: calc(100% + 12px); left: 50%; width: min(530px, calc(100vw - 32px)); display: none; padding: 14px; color: var(--global-ivory); background: var(--global-coal); border: 1px solid rgba(199, 163, 75, .46); border-radius: 14px; box-shadow: 0 24px 52px rgba(0, 0, 0, .46); transform: translateX(-50%); }
.global-services-menu::before { content: ""; position: absolute; top: -13px; left: 0; right: 0; height: 14px; }
.global-nav-services.is-open .global-services-menu { display: block; }
.global-main-nav .global-services-all { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 12px; color: var(--global-gold-soft); border-bottom: 1px solid rgba(199, 163, 75, .24); font-size: .76rem; }
.global-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; padding-top: 10px; }
.global-main-nav .global-services-grid a { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; color: var(--global-muted); border-radius: 8px; font-size: .72rem; letter-spacing: .05em; line-height: 1.35; }
.global-main-nav .global-services-grid a:hover,
.global-main-nav .global-services-grid a:focus-visible,
.global-main-nav .global-services-grid a[aria-current="page"] { color: var(--global-ivory); background: rgba(199, 163, 75, .12); }
.global-main-nav .global-services-grid a:focus-visible { outline: 2px solid var(--global-gold-soft); outline-offset: 1px; }
.global-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.global-header-call,
.global-header-book { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 850; }
.global-header-call { min-width: 166px; padding: 8px 16px; color: var(--global-gold-soft); border: 1px solid var(--global-gold); }
.global-header-book { padding: 8px 16px; color: var(--global-carbon); background: var(--global-gold-soft); }
.global-nav-toggle { width: 48px; height: 48px; display: none; place-items: center; padding: 0; color: var(--global-ivory); background: transparent; border: 1px solid rgba(199, 163, 75, .45); border-radius: 10px; cursor: pointer; }
.global-nav-toggle svg { width: 25px; height: 25px; }
.global-site-footer { margin-top: clamp(56px, 8vw, 100px); background: var(--global-carbon); border-top: 1px solid rgba(199, 163, 75, .3); }
.global-footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 42px; padding-block: 56px 42px; }
.global-footer-brand p { max-width: 40ch; margin: 18px 0 0; color: var(--global-muted); line-height: 1.65; }
.global-footer-column h2 { margin: 0 0 16px; color: var(--global-gold-soft); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.global-footer-column ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.global-footer-column li,
.global-footer-column a { color: var(--global-muted); font-size: .92rem; }
.global-footer-column a:hover,
.global-footer-column a:focus-visible { color: var(--global-ivory); }
.global-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.global-socials a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--global-gold-soft); border: 1px solid rgba(199, 163, 75, .36); border-radius: 50%; }
.global-socials svg { width: 19px; height: 19px; }
.global-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; color: #918b81; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; }
@media (max-width: 1080px) {
  .global-header-inner { min-height: 76px; gap: 14px; }
  .global-brand-text { display: none; }
  .global-main-nav { gap: 13px; }
  .global-main-nav a,
  .global-services-toggle { font-size: .7rem; }
  .global-header-call { min-width: 146px; }
  .global-header-book { display: none; }
}
@media (max-width: 760px) {
  .global-wrap { width: min(100% - 28px, 1180px); }
  .global-header-inner { min-height: 72px; justify-content: space-between; }
  .global-brand img { width: 45px; height: 45px; }
  .global-brand-text { display: flex; }
  .global-brand-text b { font-size: 1rem; }
  .global-brand-text small { font-size: .5rem; }
  .global-header-call { min-width: 0; min-height: 44px; padding-inline: 12px; font-size: .88rem; white-space: nowrap; }
  .global-nav-toggle { display: grid; }
  .global-main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 20px 18px; background: rgba(9, 9, 10, .99); border-bottom: 1px solid rgba(199, 163, 75, .3); box-shadow: 0 20px 30px rgba(0, 0, 0, .36); }
  .global-main-nav.is-open { display: flex; }
  .global-main-nav a { min-height: 48px; display: flex; align-items: center; padding-inline: 8px; font-size: .84rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .global-nav-services { display: block; }
  .global-services-toggle { width: 100%; min-height: 48px; justify-content: space-between; padding-inline: 8px; font-size: .84rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .global-services-menu { position: static; width: 100%; padding: 4px 8px 12px; background: #111214; border: 0; border-bottom: 1px solid rgba(199, 163, 75, .3); border-radius: 0; box-shadow: none; transform: none; }
  .global-services-menu::before { display: none; }
  .global-services-grid { grid-template-columns: 1fr; gap: 0; padding-top: 4px; }
  .global-main-nav .global-services-all { min-height: 46px; padding-inline: 10px; font-size: .78rem; }
  .global-main-nav .global-services-grid a { min-height: 44px; padding: 8px 12px; border-bottom: 0; font-size: .76rem; }
  .global-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; padding-block: 44px 34px; }
  .global-footer-brand { grid-column: 1 / -1; }
  .global-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .global-brand-text { display: none; }
  .global-header-actions { gap: 8px; }
  .global-header-call { font-size: .82rem; }
  .global-footer-grid { grid-template-columns: 1fr; }
  .global-footer-brand { grid-column: auto; }
}

.endurance-max-section { width: min(1100px, calc(100% - 32px)); margin: clamp(42px, 7vw, 76px) auto; }
.endurance-max-section > h2 { margin: 0 0 18px; color: var(--global-ivory); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.endurance-max-card { display: flex; align-items: stretch; overflow: hidden; color: var(--global-ivory); background: var(--global-coal); border: 1px solid rgba(199, 163, 75, .42); border-radius: 20px; box-shadow: 0 22px 52px rgba(0, 0, 0, .28); }
.endurance-max-media { flex: 0 0 43%; min-height: 360px; background: #171713; }
.endurance-max-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.endurance-max-copy { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(24px, 4vw, 48px); }
.endurance-max-kicker { margin: 0; color: var(--global-gold-soft); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.endurance-max-copy h3 { margin: 0; color: var(--global-ivory); font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.15; text-wrap: balance; }
.endurance-max-price { display: inline-flex; align-self: flex-start; margin: 0; padding: 8px 12px; color: var(--global-carbon); background: var(--global-gold-soft); border-radius: 999px; font-size: 1.08rem; font-weight: 900; }
.endurance-max-copy > p:not([class]) { margin: 0; color: var(--global-muted); line-height: 1.65; }
.endurance-max-features { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.endurance-max-features li { padding: 7px 10px; color: var(--global-gold-soft); background: rgba(199, 163, 75, .09); border: 1px solid rgba(199, 163, 75, .22); border-radius: 999px; font-size: .82rem; font-weight: 750; }
.endurance-max-note { color: #918b81 !important; font-size: .78rem; }
.endurance-max-cta { min-height: 48px; display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; padding: 10px 18px; color: var(--global-carbon) !important; background: var(--global-gold-soft); border-radius: 10px; font-weight: 900; text-decoration: none !important; }
.endurance-max-cta:hover, .endurance-max-cta:focus-visible { background: var(--global-ivory); }
@media (max-width: 700px) {
  .endurance-max-section { width: min(100% - 28px, 1100px); }
  .endurance-max-card { flex-direction: column; }
  .endurance-max-media { flex-basis: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .endurance-max-copy { padding: 24px 20px 26px; }
}
