/* Phase 2: public header/footer, homepage carousel, and Contact page only. */
.bf-site { --bf-ui-navy: #14283f; --bf-ui-gold: #c99a4c; }
.bf-site .ed_header_bottom { background: var(--bf-ui-navy); }
.bf-site .pro_menu ul li:not(:last-child) a {
  position: relative; color: #fff; background: transparent; border: 0; border-radius: 0;
  transition: color .2s; padding: 20px 0;
}
.bf-site .pro_menu ul li:not(:last-child) a::after {
  content: ''; display: block; position: absolute; left: 0; right: 0; top: auto; bottom: 10px; width: 100%; z-index: 1; margin: 0;
  height: 2px; background: var(--bf-ui-gold); opacity: 0; transform: scaleX(.5); transition: opacity .2s, transform .2s;
}
.bf-site .pro_menu ul li:not(:last-child) a:hover,
.bf-site .pro_menu ul li:not(:last-child) a[aria-current="page"] { color: #e5bc78; background: transparent; }
.bf-site .pro_menu ul li:not(:last-child) a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.bf-site .pro_menu ul li:last-child a { background: var(--bf-ui-gold); border-color: var(--bf-ui-gold); }
.bf-site .pro_menu ul li:last-child a[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; }
.bf-site .ed_header_bottom.menu_fixed { top: 0; z-index: 1100; }
/* Fade the installed Bootstrap carousel without introducing another slider library. */
.bf-site .bf-carousel { position: relative; clear: both; background: var(--bf-ui-navy); color: #fff; overflow: hidden; }
.bf-carousel .carousel-inner { height: 620px; }
.bf-carousel .carousel-inner > .item { height: 100%; opacity: 0; transition: opacity .6s ease; }
.bf-carousel .carousel-inner > .active { opacity: 1; }
.bf-carousel .carousel-inner > .next, .bf-carousel .carousel-inner > .prev { position: absolute; top: 0; width: 100%; }
.bf-carousel .carousel-inner > .next.left, .bf-carousel .carousel-inner > .prev.right { opacity: 1; }
.bf-carousel .carousel-inner > .active.left, .bf-carousel .carousel-inner > .active.right { opacity: 0; }
.bf-carousel .carousel-inner > .item { left: 0 !important; transform: none !important; }
.bf-carousel .item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 40 63 / 97%), rgb(20 40 63 / 84%) 44%, rgb(20 40 63 / 30%)); }
.bf-site .bf-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 65% center; }
.bf-site .bf-slide-image--port { object-position: 60% center; }
.bf-site .bf-slide-image--truck { object-position: 70% center; }
.bf-slide-content { position: relative; z-index: 1; padding-top: 78px; }
.bf-site .bf-slide-content h1, .bf-site .bf-slide-content h2 {
  max-width: 760px; margin: 0 0 22px; color: #fff; font-size: clamp(36px, 4.3vw, 60px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em;
}
.bf-site .bf-slide-content h1 span, .bf-site .bf-slide-content h2 span { color: #edc986; }
.bf-site .bf-slide-content > p:not(.bf-eyebrow) { max-width: 580px; margin: 0; color: #e1e7ee; font-size: 17px; line-height: 1.75; }
.bf-site .bf-slide-content .bf-eyebrow { margin-bottom: 22px; color: #edc986; }
.bf-site .bf-carousel .ed_orange, .bf-site .bf-contact-section .ed_orange, .bf-site .bf-contact-cta .ed_orange {
  background: var(--bf-ui-gold); border-color: var(--bf-ui-gold); color: #14283f;
}
.bf-site .bf-carousel .ed_orange:hover, .bf-site .bf-contact-section .ed_orange:hover, .bf-site .bf-contact-cta .ed_orange:hover { background: #e5bc78; border-color: #e5bc78; }
.bf-carousel-toolbar { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; }
.bf-carousel-indicators, .bf-carousel-controls { display: flex; align-items: center; gap: 8px; }
.bf-carousel button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #7e8c9c; border-radius: 4px; color: white; background: rgb(20 40 63 / 75%); }
.bf-carousel button:hover { background: #32475f; }
.bf-carousel-indicators button { border: 0; background: none; }
.bf-carousel-indicators button span { width: 26px; height: 3px; background: #9ca8b5; transition: background .2s; }
.bf-carousel-indicators button[aria-current="true"] span { background: #edc986; }
.bf-carousel-controls button { font-size: 22px; }
.bf-carousel-controls .bf-carousel-pause { font-size: 13px; }
/* Corporate footer. The approved logo has a navy background, preserved as supplied. */
.bf-site .bf-footer { clear: both; float: none; width: 100%; background: #0b1d31; color: #c8d2de; padding: 0; }
.bf-corporate-footer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr); gap: 65px; padding: 56px 0 38px; align-items: start; }
.bf-site .bf-footer-logo { display: inline-block; }
.bf-site .bf-footer .bf-logo--dark { width: 280px; height: auto; }
.bf-site .bf-footer p { color: #c8d2de; line-height: 1.8; margin: 0; font-size: 14px; text-align: left; }
.bf-site .bf-footer .bf-footer-name { color: #fff; font-weight: 700; margin: 18px 0 12px; font-size: 15px; }
.bf-site .bf-footer h2 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 28px; padding: 8px 0 16px; position: relative; }
.bf-footer h2::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 34px; background: var(--bf-ui-gold); }
.bf-site .bf-footer a { color: #dce4ec; text-decoration: none; transition: color .2s; }
.bf-site .bf-footer a:hover { color: #edc986; }
.bf-footer-links ul { list-style: none; margin: 0; padding: 0; }
.bf-footer-links li + li { margin-top: 9px; }
.bf-footer-links a { display: inline-flex; align-items: center; min-height: 30px; gap: 12px; font-size: 14px; }
.bf-footer .fa { color: #d9ad67; }
.bf-footer-detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 22px; font-size: 14px; }
.bf-footer-detail > .fa { flex: 0 0 18px; font-size: 22px; padding-top: 3px; }
.bf-footer-detail > div { min-width: 0; }
.bf-site .bf-email-link { overflow-wrap: anywhere; }
.bf-footer-detail span { display: block; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.bf-site .bf-footer .bf-address { margin: 0; color: #c8d2de; }
.bf-footer-copyright { border-top: 1px solid #2a3c50; padding: 20px 0; }
.bf-site .bf-footer-copyright p { text-align: center; font-size: 12px; }
/* Contact content deliberately avoids legacy map/quotation presentation classes. */
.bf-site .bf-contact-banner { padding: 62px 0 64px; background: #14283f; border-top: 1px solid #304155; }
.bf-site .bf-contact-banner .bf-eyebrow, .bf-site .bf-support-panel .bf-eyebrow { color: #edc986; margin: 0 0 18px; }
.bf-site .bf-contact-banner h1 { color: #fff; font-size: clamp(38px, 4vw, 52px); font-weight: 700; margin: 0 0 18px; }
.bf-site .bf-contact-banner > .container > p:last-child { color: #dce4ee; font-size: 18px; margin: 0; }
.bf-contact-section { padding: 64px 0; background: #f5f7fa; }
.bf-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid #dce3eb; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px rgb(20 40 63 / 7%); }
.bf-support-panel { background: linear-gradient(145deg, #14283f, #224767); padding: 48px; }
.bf-site .bf-support-icon { display: block; font-size: 38px; color: #d5aa66; margin-bottom: 30px; }
.bf-site .bf-support-panel h2 { font-size: 32px; color: #fff; font-weight: 700; margin: 0 0 20px; }
.bf-site .bf-support-panel p { color: #e0e7ef; margin: 0 0 28px; }
.bf-site .bf-support-panel .bf-support-note { color: #c7d3df; font-size: 13px; margin: 30px 0 0; max-width: 320px; }
.bf-contact-details { background: #fff; padding: 48px; min-width: 0; }
.bf-site .bf-contact-details .bf-eyebrow { color: #8b611f; margin: 0 0 14px; }
.bf-site .bf-contact-details h2 { font-size: 32px; font-weight: 700; color: #14283f; margin: 0 0 32px; }
.bf-contact-item { display: flex; align-items: flex-start; gap: 20px; margin-top: 26px; }
.bf-contact-item > .fa { flex: 0 0 24px; color: #a0742b; font-size: 23px; padding-top: 3px; }
.bf-contact-item > div { min-width: 0; }
.bf-site .bf-contact-item h3 { color: #8b611f; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin: 0 0 8px; }
.bf-site .bf-contact-item p, .bf-site .bf-contact-item address { margin: 0; color: #14283f; font-size: 16px; }
.bf-site .bf-contact-item a { color: #14283f; font-size: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bf-site .bf-contact-item .bf-email-link { font-size: 16px; }
.bf-contact-cta { background: #fff; padding: 42px 0 50px; }
.bf-contact-cta > .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.bf-site .bf-contact-cta .bf-eyebrow { color: #8b611f; margin: 0 0 12px; }
.bf-site .bf-contact-cta h2 { color: #14283f; font-size: 30px; font-weight: 700; margin: 0 0 14px; }
.bf-site .bf-contact-cta p { margin-bottom: 0; color: #52647a; }
.bf-contact-cta .btn { flex-shrink: 0; }
@media (max-width: 991px) {
  .bf-site .pro_menu ul li:not(:last-child) a { padding: 14px 0; }
  .bf-site .pro_menu ul li:not(:last-child) a::after { bottom: 7px; right: auto; width: 28px; }
  .bf-corporate-footer { gap: 35px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1fr); }
  .bf-support-panel, .bf-contact-details { padding: 32px; }
  .bf-carousel .carousel-inner { height: 650px; }
  .bf-slide-content { padding-top: 72px; }
}
@media (max-width: 767px) {
  .bf-carousel .carousel-inner { height: 650px; }
  .bf-slide-content { padding-top: 48px; }
  .bf-site .bf-slide-content h1, .bf-site .bf-slide-content h2 { font-size: clamp(33px, 8.5vw, 46px); }
  .bf-site .bf-slide-content > p:not(.bf-eyebrow) { font-size: 16px; }
  .bf-site .bf-slide-content .bf-eyebrow { font-size: 11px; }
  .bf-carousel .item::after { background: linear-gradient(90deg, rgb(20 40 63 / 94%), rgb(20 40 63 / 72%)); }
  .bf-carousel .bf-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .bf-carousel-toolbar { bottom: 20px; }
  .bf-corporate-footer { grid-template-columns: 1fr; gap: 32px; padding: 38px 0 28px; }
  .bf-footer-identity { max-width: 420px; }
  .bf-site .bf-footer h2 { margin-bottom: 20px; }
  .bf-footer-detail:last-child { margin-bottom: 0; }
  .bf-contact-grid { grid-template-columns: 1fr; }
  .bf-site .bf-contact-banner { padding: 42px 0; }
  .bf-contact-section { padding: 32px 0; }
  .bf-support-panel, .bf-contact-details { padding: 30px 24px; }
  .bf-site .bf-support-panel h2, .bf-site .bf-contact-details h2 { font-size: 28px; }
  .bf-support-panel .btn { display: flex; width: 100%; }
  .bf-contact-cta > .container { flex-direction: column; align-items: stretch; }
  .bf-site .bf-contact-cta h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-carousel .carousel-inner > .item, .bf-site .pro_menu a, .bf-site .pro_menu a::after { transition: none !important; }
}

.bf-carousel-toolbar::before, .bf-carousel-toolbar::after,
.bf-contact-cta > .container::before, .bf-contact-cta > .container::after { display: none; }
/* Bootstrap's carousel image rule otherwise resets height to auto. */
.bf-site .bf-carousel .carousel-inner > .item > .bf-slide-image { height: 100%; max-width: none; }
