/* Unified bilingual footer */
.footer{padding:0!important;background:#10283a;color:#e8eef2}.footer .jim-footer{width:min(1200px,calc(100% - 44px));margin:auto;padding:55px 0 25px}.jim-footer-top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.8fr) minmax(210px,.9fr);gap:clamp(24px,5vw,72px);align-items:start}.jim-footer h2,.jim-footer h3{font-family:inherit;letter-spacing:0;line-height:1.3;margin:0 0 14px;font-size:1rem;font-weight:750;color:#fff}.jim-footer h2{font-size:1.36rem}.jim-footer p{margin:0;color:#c4d1d8;line-height:1.7}.jim-footer a{text-decoration:none;color:#e8eef2;overflow-wrap:anywhere}.jim-footer a:hover{text-decoration:underline;text-underline-offset:4px;color:#f1c69d}.jim-footer .jim-footer-links{display:grid;gap:12px}.jim-footer .jim-footer-phone{display:inline-block;margin-top:18px;font-weight:800;font-size:1.12rem}.jim-footer-lower{margin-top:45px;border-top:1px solid #ffffff2b;padding-top:21px;display:flex;justify-content:space-between;gap:28px;align-items:start}.jim-footer-credits{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.81rem;color:#b7c5ce}.jim-footer-credits a{color:#dae5eb}.jim-footer-copy{white-space:nowrap;font-size:.8rem;color:#b7c5ce}.jim-footer-providers{margin-top:14px;font-size:.77rem;color:#a9bbc6;display:flex;flex-wrap:wrap;gap:6px 17px}.jim-footer-providers a{color:#c7d8e0}@media(max-width:760px){.footer .jim-footer{padding:39px 0 25px}.jim-footer-top{grid-template-columns:1fr 1fr;gap:30px 22px}.jim-footer-top>div:first-child{grid-column:1/-1}.jim-footer-lower{flex-direction:column;gap:12px;margin-top:32px}.jim-footer-copy{white-space:normal}}@media(max-width:440px){.jim-footer-top{grid-template-columns:1fr}.jim-footer-top>div:first-child{grid-column:auto}.jim-footer-providers{display:grid;gap:9px}}

/* Header: never let links collide with language and booking controls. */
.header .nav{display:flex;align-items:center;gap:18px;min-width:0}.header .brand{flex:0 0 auto}.header .links{min-width:0;align-items:center;gap:clamp(9px,1.2vw,20px)}.header .nav-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}.header .links a{white-space:nowrap}.header .header-cta{white-space:nowrap}.header .site-logo{width:clamp(125px,13vw,180px);height:auto;max-height:58px}
@media(max-width:1250px){.header .nav{position:relative}.header .menu{display:block!important;background:transparent;border:1px solid #d1d8dc;border-radius:7px;padding:6px 12px;color:#10273d}.header .links{display:none!important;position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:60;background:#fff;border:1px solid #d8e0e5;box-shadow:0 16px 36px #10273d33;border-radius:9px;padding:17px;flex-direction:column;align-items:stretch;gap:2px;max-height:calc(100vh - 105px);overflow:auto}.header .links.open{display:flex!important}.header .links a{display:block;padding:10px 9px;white-space:normal}.header .header-cta{display:inline-flex!important}}
@media(max-width:680px){.header .header-cta{display:none!important}.header .nav{padding:8px 12px;gap:9px}.header .site-logo{width:clamp(108px,30vw,145px)}.header .nav-actions{gap:6px}.header .lang{padding:8px 10px}}
/* Inner pages need space below the fixed navigation, including at anchor targets. */
html{scroll-padding-top:112px}#main-content:not(:has(.hero)){padding-top:96px}@media(max-width:680px){#main-content:not(:has(.hero)){padding-top:86px}}


/* Keep bilingual navigation usable before French labels overflow the header. */
@media(max-width:1500px){
 .header .nav{position:relative;justify-content:space-between;flex-wrap:nowrap;min-width:0}
 .header .brand{flex:0 1 auto;min-width:0}
 .header .nav-actions{margin-left:auto;flex-shrink:0}
 .header .menu{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .header .links{display:none!important;position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:100;background:#fff;border:1px solid #d8e0e5;border-radius:12px;padding:14px;flex-direction:column;align-items:stretch;gap:2px;max-height:min(75vh,650px);overflow-y:auto;box-shadow:0 18px 45px #10273d2e}
 .header .links.open{display:flex!important}
 .header .links a{white-space:normal;padding:10px 12px}
}
@media(max-width:780px){
 .header .header-cta{display:none!important}
 .header .site-logo{width:clamp(112px,27vw,150px)!important;height:auto}
 .header .nav{gap:8px;padding:8px 10px}
}


/* Header hotfix: compact navigation at every viewport width.
   Prevents long French labels, logo and CTA competing for one line. */
.header .nav{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:nowrap!important}
.header .brand{flex:0 1 auto!important;min-width:0!important}
.header .brand .site-logo{display:block;max-width:100%!important;width:clamp(116px,13vw,180px)!important;height:auto!important}
.header .nav-actions{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;margin-left:auto!important}
.header .menu{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px!important;width:44px;min-height:44px;background:#fff;border:1px solid #d8e0e5;border-radius:9px;color:#10273d}
.header .links{display:none!important;position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;z-index:100!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;min-width:0!important;max-height:min(70vh,650px)!important;overflow-y:auto!important;padding:14px!important;border-radius:12px!important;background:#fff!important;border:1px solid #d8e0e5!important;box-shadow:0 18px 45px #10273d2e!important}
.header .links.open{display:flex!important}
.header .links a{display:block!important;padding:11px 12px!important;white-space:normal!important;overflow-wrap:break-word}
.header .header-cta{white-space:nowrap!important}
@media(max-width:780px){.header .header-cta{display:none!important}.header .nav{gap:8px!important;padding:8px 12px!important}}


/* Real New Brunswick map beneath Explore links — EN and fr-CA. */
.jim-footer-map{margin-top:27px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2);min-width:0}
.jim-footer-map h4{margin:0 0 5px;color:#efc07b;font:800 .75rem/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.jim-footer-map p{margin:0 0 14px;color:#d1dee6;font-size:.84rem;line-height:1.5}
.jim-footer-map iframe{display:block;width:100%;height:210px;min-height:180px;background:#c9d9d8;border:1px solid rgba(219,166,77,.45);border-radius:5px}
.jim-footer-map>a{display:inline-block;margin-top:12px;font-weight:800;font-size:.82rem;color:#efc07b;text-underline-offset:4px}
.jim-footer-map>a:hover{text-decoration:underline;color:#fff}
@media(max-width:760px){.jim-footer-map iframe{height:205px}}
@media(max-width:440px){.jim-footer-map{margin-top:25px}.jim-footer-map iframe{height:235px}}


/* November 2026: Elm City-inspired footer hierarchy, shared EN / fr-CA. */
.footer{background:#091e2c!important;color:#f5f7f6!important}
.footer .jim-footer.jim-footer-refined{width:min(1250px,calc(100% - 48px));padding:62px 0 24px}
.jim-footer-refined .jim-footer-top{
  grid-template-columns:minmax(0,1.25fr) minmax(265px,.95fr) minmax(230px,.9fr)!important;
  gap:clamp(24px,4.5vw,75px)!important;
  align-items:start!important;
}
.jim-footer-refined .jim-footer-top>div{min-width:0}
.jim-footer-refined .jim-footer-top>div:first-child{padding-right:clamp(0px,1.4vw,20px)}
.jim-footer-refined h2{font-size:clamp(1.35rem,2vw,1.75rem)!important;font-weight:800!important;letter-spacing:-.04em!important;margin:0 0 20px!important}
.jim-footer-refined h3{font-size:.8rem!important;font-weight:800!important;letter-spacing:.15em!important;text-transform:uppercase;color:#e9bf7f!important;margin:0 0 18px!important}
.jim-footer-refined .jim-footer-top>div:first-child p{max-width:370px;font-size:1.04rem;line-height:1.85;color:#e2e9ed}
.jim-footer-refined .jim-footer-links{display:grid;gap:15px!important}
.jim-footer-refined .jim-footer-links a{font-weight:650;font-size:.91rem;color:#d7e3eb;line-height:1.5}
.jim-footer-refined .jim-footer-links a:hover{color:#efc182}
.jim-footer-refined .jim-footer-contact-intro{margin:0 0 20px!important;color:#bdcfd7;font-size:.94rem;line-height:1.75}
.jim-footer-refined .jim-footer-phone{display:block;margin:0 0 12px!important;font-size:clamp(1.2rem,1.7vw,1.6rem);font-weight:850;letter-spacing:-.035em;color:#fff}
.jim-footer-refined .jim-footer-email{display:block;font-size:.93rem;font-weight:650;line-height:1.6;color:#e9bf7f;overflow-wrap:anywhere}
.jim-footer-refined .jim-footer-local{margin:15px 0 0!important;color:#bdcfd7;font-size:.82rem}
.jim-footer-refined .jim-footer-cta{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:49px;margin-top:25px;padding:13px 17px;
 border-radius:5px;background:#ddb16d;color:#112639!important;
 font-size:.82rem;font-weight:800;text-align:center;text-decoration:none!important;
 transition:background .2s ease,transform .2s ease;
}
.jim-footer-refined .jim-footer-cta:hover{background:#f0c98c;transform:translateY(-2px)}
.jim-footer-refined .jim-footer-map{margin-top:28px;padding-top:22px}
.jim-footer-refined .jim-footer-map iframe{height:190px;min-height:175px;border:1px solid #c9a16c70}
.jim-footer-refined .jim-footer-map h4{font-size:.72rem}
.jim-footer-refined .jim-footer-map a{color:#efc182}
.jim-footer-refined .jim-footer-legal-row{
 display:flex;flex-wrap:wrap;gap:13px 25px;
 padding:27px 0;margin-top:52px;border-top:1px solid rgba(255,255,255,.16);
}
.jim-footer-refined .jim-footer-legal-row a{font-size:.82rem;color:#bbcbd4;text-decoration:none}
.jim-footer-refined .jim-footer-legal-row a:hover{color:#fff;text-decoration:underline}
.jim-footer-refined .jim-footer-lower{
 margin-top:0!important;padding-top:19px!important;
 border-top:1px solid rgba(255,255,255,.12)!important;
 align-items:center!important;
}
.jim-footer-refined .jim-footer-credits{font-size:.78rem;gap:12px 20px}
.jim-footer-refined .jim-footer-copy{font-size:.78rem}
@media(max-width:950px){
 .jim-footer-refined .jim-footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:40px 34px!important}
 .jim-footer-refined .jim-footer-top>div:first-child{grid-column:1/-1}
 .jim-footer-refined .jim-footer-top>div:first-child p{max-width:640px}
}
@media(max-width:550px){
 .footer .jim-footer.jim-footer-refined{width:calc(100% - 36px);padding:47px 0 24px}
 .jim-footer-refined .jim-footer-top{grid-template-columns:1fr!important;gap:36px!important}
 .jim-footer-refined .jim-footer-top>div:first-child{grid-column:auto}
 .jim-footer-refined .jim-footer-map iframe{height:215px}
 .jim-footer-refined .jim-footer-legal-row{margin-top:34px;gap:12px 22px}
 .jim-footer-refined .jim-footer-lower{align-items:flex-start!important}
}
@media(prefers-reduced-motion:reduce){.jim-footer-refined .jim-footer-cta{transition:none}}
