/* Optima FlexPay — one header for every page (site-nav.css + site-nav.js) */
/* Hide each page's old header so only the shared one shows */
nav:has(.nav-links), nav:has(.hamburger), nav:has(.nav-cta), .mobile-menu, body > .hamburger { display: none !important; }
.ofn, .ofn * { box-sizing: border-box; }
.ofn { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; height: 64px; font-family: 'Plus Jakarta Sans', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: rgba(255, 255, 255, .98); border-bottom: 1px solid #e6ebf3; box-shadow: 0 1px 0 rgba(0, 30, 80, .04); transition: box-shadow .2s; backdrop-filter: saturate(1.4) blur(8px); }
.ofn.ofn-sc { box-shadow: 0 8px 28px rgba(0, 30, 80, .12); }
.ofn-in { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 18px; }
.ofn-logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.ofn-logo img { width: 134px; height: 48px; object-fit: cover; display: block; background: #fff; }
.ofn-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.ofn-links > a, .ofn-dd > button { position: relative; color: #1d2b45; text-decoration: none; font-size: 15px; font-weight: 600; padding: 9px 13px; border-radius: 10px;
  background: none; border: 0; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 5px; transition: background .15s, color .15s; white-space: nowrap; }
.ofn-links > a:hover, .ofn-dd > button:hover, .ofn-dd.open > button { background: #f1f5fc; color: #004595; }
.ofn-links > a.on, .ofn-dd.on > button { color: #004595; }
.ofn-links > a.on::after, .ofn-dd.on > button::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; border-radius: 3px; background: #F5AF19; }
.ofn-car { font-size: 9px; opacity: .55; transition: transform .2s; }
.ofn-dd { position: relative; }
.ofn-dd.open .ofn-car { transform: rotate(180deg); }
.ofn-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; background: #fff; border-radius: 16px; padding: 8px;
  border: 1px solid #e6ebf3; box-shadow: 0 18px 50px rgba(0, 30, 80, .18); opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s; }
.ofn-menu::before { content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; border-left: 1px solid #e6ebf3; border-top: 1px solid #e6ebf3; }
.ofn-dd.open .ofn-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ofn-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 11px; text-decoration: none; color: #1a2433; }
.ofn-menu a:hover, .ofn-menu a.on { background: #f1f5fc; }
.ofn-menu .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #eef3fb; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.ofn-menu a:hover .ic { background: #fff3d6; }
.ofn-menu b { display: block; font-size: 14.5px; color: #003070; font-weight: 700; }
.ofn-menu small { display: block; font-size: 12.5px; color: #66748a; line-height: 1.35; margin-top: 1px; }
.ofn-right { display: flex; align-items: center; gap: 10px; flex: none; }
.ofn-call > button { display: flex; align-items: center; gap: 8px; color: #1d2b45; background: none; border: 0; border-radius: 10px;
  padding: 7px 10px; font-size: 14.5px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; text-align: left; }
.ofn-call > button:hover, .ofn-call.open > button { background: #f1f5fc; }
.ofn-call .ph { width: 30px; height: 30px; border-radius: 50%; background: #eef3fb; color: #004595; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.ofn-call .num small { display: block; font-size: 11px; font-weight: 600; color: #7a8696; margin-bottom: 2px; }
.ofn-call .ofn-menu { left: auto; right: 0; transform: translate(0, 6px); min-width: 270px; }
.ofn-call .ofn-menu::before { left: auto; right: 40px; transform: rotate(45deg); }
.ofn-call.open .ofn-menu { transform: translate(0, 0); }
.ofn-call .ofn-menu .hd { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: #8a96a8; padding: 8px 12px 4px; }
.ofn-call .ofn-menu .hrs { font-size: 12px; color: #66748a; padding: 8px 12px 6px; border-top: 1px solid #eef1f6; margin-top: 4px; }
.ofn-wa { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(37, 211, 102, .3); transition: transform .15s; flex: none; }
.ofn-nowa .ofn-wa { display: none; }
/* One WhatsApp button per page: the left social bar goes (the social links are in the footer and the phone menu) */
.social-float { display: none !important; }
.ofn-wa:hover { transform: scale(1.07); }
.ofn-wa svg { width: 22px; height: 22px; fill: #fff; }
.ofn-cta { background: #F5AF19; color: #002a63 !important; font-weight: 800; font-size: 15px; padding: 11px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 175, 25, .35); transition: transform .15s, box-shadow .15s; display: flex; align-items: center; gap: 6px; }
.ofn-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(245, 175, 25, .5); }
.ofn-burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: #eef3fb; border: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ofn-burger span { display: block; width: 20px; height: 2px; background: #004595; border-radius: 2px; transition: .25s; }
.ofn-burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .ofn-burger.x span:nth-child(2) { opacity: 0; } .ofn-burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile drawer */
.ofn-ov { position: fixed; inset: 0; background: rgba(0, 20, 50, .45); z-index: 1190; opacity: 0; visibility: hidden; transition: .2s; }
.ofn-dr { position: fixed; top: 64px; border-top: 1px solid #e6ebf3; right: 0; bottom: 0; width: min(380px, 100%); background: #fff; z-index: 1195; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 14px 16px 28px;
  font-family: 'Plus Jakarta Sans', 'IBM Plex Sans', system-ui, sans-serif; }
.ofn-open .ofn-ov { opacity: 1; visibility: visible; } .ofn-open .ofn-dr { transform: none; }
.ofn-dr .grp { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: #8a96a8; margin: 14px 6px 6px; }
.ofn-dr a.it { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: #1a2433; font-weight: 600; font-size: 15px; }
.ofn-dr a.it .ic { width: 34px; height: 34px; border-radius: 10px; background: #eef3fb; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ofn-dr a.it.on, .ofn-dr a.it:hover { background: #f1f5fc; color: #003070; }
.ofn-dr .acts { display: grid; gap: 8px; margin-top: 18px; }
.ofn-dr .acts a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 15px; }
.ofn-dr .a1 { background: #F5AF19; color: #002a63; } .ofn-dr .a2 { background: #25d366; color: #fff; } .ofn-dr .a3 { background: #eef3fb; color: #003070; }
.ofn-dr .nums { margin-top: 10px; font-size: 13.5px; color: #44536a; text-align: center; line-height: 1.8; } .ofn-dr .nums a { color: #003070; font-weight: 700; text-decoration: none; }
.ofn-dr .soc { display: flex; justify-content: center; gap: 14px; margin-top: 14px; } .ofn-dr .soc a { width: 38px; height: 38px; border-radius: 50%; background: #f1f5fc; display: flex; align-items: center; justify-content: center; }
.ofn-dr .soc svg { width: 19px; height: 19px; }
@media (max-width: 1180px) { .ofn-call .num { display: none; } .ofn-call > button { padding: 7px; } }
@media (max-width: 1040px) { .ofn-links, .ofn-call { display: none; } .ofn-burger { display: flex; } .ofn-right { margin-left: auto; } }
@media (max-width: 480px) { .ofn-in { padding: 0 12px; gap: 10px; } .ofn-logo img { width: 112px; height: 40px; } .ofn-cta { padding: 9px 13px; font-size: 14px; } .ofn-wa { width: 36px; height: 36px; } }
@media (max-width: 360px) { .ofn-cta { display: none; } }
@media print { .ofn, .ofn-dr, .ofn-ov { display: none !important; } }
