/*
Theme Name: BMB Modern
Theme URI: https://bmb-conception.com/
Description: Modernisation sur mesure du thème Carpenter pour BMB Conception.
Author: PERIFALL
Template: carpenter
Version: 1.0.0
Text Domain: bmb-modern
*/

:root {
  --bmb-orange: #ef7134;
  --bmb-orange-dark: #c94f1d;
  --bmb-ink: #17201c;
  --bmb-forest: #263c32;
  --bmb-sage: #e8eee9;
  --bmb-sand: #f5f1eb;
  --bmb-white: #fff;
  --bmb-muted: #647069;
  --bmb-shadow: 0 20px 55px rgba(23, 32, 28, .12);
  --bmb-radius: 24px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--bmb-ink);
  background: var(--bmb-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body * { box-sizing: border-box; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }

/* En-tête conservant le menu WordPress existant. */
header#main_navbar {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  display: grid !important;
  grid-template-columns: minmax(250px, 390px) 1fr;
  grid-template-rows: 32px 70px;
  align-items: center;
  min-height: 102px;
  width: 100%;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 30px rgba(23, 32, 28, .08);
  backdrop-filter: blur(12px);
}

#main_navbar .top-header {
  position: static !important;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent !important;
}
#main_navbar .top-header .container,
#main_navbar .top-header .row { width: 100%; margin: 0; padding: 0; }
#main_navbar .topbar-left { display: none; }
#main_navbar .topbar-right { width: 100%; padding: 0; text-align: right; }
#main_navbar .contact-shortcode { display: flex; justify-content: flex-end; gap: 24px; margin: 4px 0 0; }
#main_navbar .contact-shortcode li { border: 0; padding: 0; }
#main_navbar .contact-shortcode a { color: var(--bmb-muted) !important; font-size: 12px; font-weight: 650; }
#main_navbar .contact-shortcode i { color: var(--bmb-orange); margin-right: 7px; }

#main_navbar .logo_part {
  position: static !important;
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  width: auto !important;
  height: 100%;
  margin: 0 !important;
  padding: 7px 0 !important;
  background: transparent !important;
}
#main_navbar .logo { width: auto !important; margin: 0 !important; padding: 0 !important; }
#main_navbar .logo,
#main_navbar .logo a {
  display: flex !important;
  align-items: center;
  height: 100%;
}
#main_navbar .logo img {
  display: block;
  position: static !important;
  width: min(320px, 100%);
  max-height: 82px;
  margin: 0 !important;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  #main_navbar .logo img { transform: translateY(10px) !important; }
}

#main_navbar .main-menu {
  position: static !important;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}
#main_navbar .navbar {
  min-height: 0;
  height: auto !important;
  margin: 0;
  border: 0;
  background: transparent !important;
  transform: none !important;
}
#main_navbar #main_nav {
  height: auto !important;
  padding: 0;
  transform: none !important;
}
#main_navbar .navbar-nav { display: flex; align-items: center; gap: 4px; margin: 0; }
#main_navbar .navbar-nav > li { float: none; }
#main_navbar .navbar-nav > li > a {
  height: auto !important;
  padding: 12px 14px !important;
  color: var(--bmb-ink) !important;
  border: 0 !important;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: .02em;
  text-transform: none !important;
  line-height: 1.2 !important;
}
#main_navbar .navbar-nav::after { display: none !important; content: none !important; }
#main_navbar .navbar-nav > li > a:hover,
#main_navbar .navbar-nav > li.active > a,
#main_navbar .navbar-nav > li.current-menu-item > a {
  color: var(--bmb-orange-dark) !important;
  background: rgba(239, 113, 52, .1) !important;
}
#main_navbar .dropdown-menu {
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 28, .08);
  border-radius: 16px;
  box-shadow: var(--bmb-shadow);
}
#main_navbar .dropdown-menu > li > a { padding: 10px 12px; border-radius: 10px; font-size: 13px; }
#main_navbar .dropdown-menu > li > a:hover { color: var(--bmb-orange-dark); background: var(--bmb-sand); }

/* Accueil BMB Modern. */
.bmb-modern-home { overflow: hidden; }
.bmb-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.bmb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--bmb-orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bmb-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bmb-orange); }
.bmb-modern-home h1,
.bmb-modern-home h2,
.bmb-modern-home h3 { margin-top: 0; color: var(--bmb-ink); font-family: inherit !important; font-weight: 760; letter-spacing: -.035em; }
.bmb-modern-home h1 { max-width: 780px; margin-bottom: 20px; color: #fff; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.bmb-modern-home h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.bmb-modern-home h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; }
.bmb-lead { max-width: 680px; color: var(--bmb-muted); font-size: 19px; line-height: 1.65; }

.bmb-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 102px));
  background: linear-gradient(90deg, rgba(13, 24, 19, .88) 0%, rgba(13, 24, 19, .66) 48%, rgba(13, 24, 19, .14) 100%), url("bmb-cover-modern.png") center 54% / cover no-repeat;
}
.bmb-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(to top, rgba(13, 24, 19, .28), transparent); pointer-events: none; }
.bmb-hero .bmb-shell { position: relative; z-index: 2; padding: 96px 0 130px; }
.bmb-hero .bmb-eyebrow { color: #ffb08a; }
.bmb-hero-copy { max-width: 820px; }
.bmb-hero-copy > p:not(.bmb-eyebrow) { max-width: 650px; margin: 0 0 32px; color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.bmb-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bmb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none !important;
}
.bmb-btn-primary { color: #fff !important; background: var(--bmb-orange); box-shadow: 0 12px 30px rgba(239,113,52,.32); }
.bmb-btn-primary:hover { color: #fff !important; background: var(--bmb-orange-dark); transform: translateY(-2px); }
.bmb-btn-light { color: #fff !important; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.bmb-btn-light:hover { color: var(--bmb-ink) !important; background: #fff; transform: translateY(-2px); }

.bmb-trust { position: relative; z-index: 4; margin-top: -72px; }
.bmb-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(23,32,28,.08);
  border-radius: var(--bmb-radius);
  background: #fff;
  box-shadow: var(--bmb-shadow);
}
.bmb-trust-item { display: flex; gap: 16px; align-items: center; min-height: 144px; padding: 28px 34px; }
.bmb-trust-item + .bmb-trust-item { border-left: 1px solid rgba(23,32,28,.09); }
.bmb-trust-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; color: var(--bmb-orange-dark); background: rgba(239,113,52,.12); font-size: 22px; }
.bmb-trust-item strong { display: block; margin-bottom: 2px; font-size: 17px; }
.bmb-trust-item span { color: var(--bmb-muted); font-size: 14px; line-height: 1.4; }

.bmb-section { padding: 110px 0; }
.bmb-intro { background: #fff; }
.bmb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.bmb-photo-stack { position: relative; min-height: 560px; }
.bmb-photo-main,
.bmb-photo-small { position: absolute; overflow: hidden; border-radius: var(--bmb-radius); box-shadow: var(--bmb-shadow); }
.bmb-photo-main { inset: 0 70px 58px 0; }
.bmb-photo-small { right: 0; bottom: 0; width: 48%; height: 46%; border: 8px solid #fff; }
.bmb-photo-main img,
.bmb-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.bmb-checks { display: grid; gap: 13px; margin: 28px 0 34px; padding: 0; list-style: none; }
.bmb-checks li { position: relative; padding-left: 32px; font-weight: 650; }
.bmb-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--bmb-orange); font-size: 13px; }
.bmb-intro .bmb-btn-light,
.bmb-section .bmb-btn-light { color: var(--bmb-ink) !important; border-color: rgba(23,32,28,.18); background: #fff; }
.bmb-intro .bmb-btn-light:hover,
.bmb-section .bmb-btn-light:hover { border-color: var(--bmb-orange); box-shadow: 0 10px 26px rgba(23,32,28,.1); }

.bmb-services { background: var(--bmb-sand); }
.bmb-section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.bmb-section-head > div { max-width: 690px; }
.bmb-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bmb-card { overflow: hidden; border: 1px solid rgba(23,32,28,.08); border-radius: var(--bmb-radius); background: #fff; box-shadow: 0 12px 35px rgba(23,32,28,.07); }
.bmb-card:hover { transform: translateY(-7px); box-shadow: var(--bmb-shadow); }
.bmb-card-media { height: 255px; overflow: hidden; background: var(--bmb-sage); }
.bmb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.bmb-card:hover .bmb-card-media img { transform: scale(1.04); }
.bmb-card-body { padding: 28px; }
.bmb-card-body p { min-height: 78px; color: var(--bmb-muted); }
.bmb-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--bmb-orange-dark) !important; font-weight: 800; text-decoration: none !important; }
.bmb-text-link::after { content: "→"; transition: transform .2s ease; }
.bmb-text-link:hover::after { transform: translateX(4px); }

.bmb-process { background: var(--bmb-forest); }
.bmb-process h2,
.bmb-process h3 { color: #fff; }
.bmb-process .bmb-eyebrow { color: #ffb08a; }
.bmb-process .bmb-lead { color: rgba(255,255,255,.7); }
.bmb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: bmb-step; }
.bmb-step { position: relative; padding: 32px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.05); }
.bmb-step::before { counter-increment: bmb-step; content: "0" counter(bmb-step); display: block; margin-bottom: 34px; color: #ffb08a; font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.bmb-step p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }

.bmb-projects { background: #fff; }
.bmb-gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 250px 250px; gap: 18px; }
.bmb-gallery a { position: relative; overflow: hidden; border-radius: 20px; background: var(--bmb-sage); }
.bmb-gallery a:first-child { grid-row: 1 / 3; }
.bmb-gallery a:nth-child(2) { grid-column: 2 / 4; }
.bmb-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bmb-gallery a:hover img { transform: scale(1.045); }
.bmb-gallery span { position: absolute; right: 16px; bottom: 16px; padding: 9px 14px; border-radius: 999px; color: #fff; background: rgba(13,24,19,.72); font-size: 13px; font-weight: 750; backdrop-filter: blur(8px); }

.bmb-cta { padding: 80px 0; background: var(--bmb-sage); }
.bmb-cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 55px 60px; border-radius: 30px; background: #fff; box-shadow: var(--bmb-shadow); }
.bmb-cta-panel h2 { max-width: 760px; margin-bottom: 12px; }
.bmb-cta-panel p { margin: 0; color: var(--bmb-muted); font-size: 18px; }
.bmb-cta-actions { display: grid; gap: 12px; min-width: 250px; }
.bmb-cta-actions .bmb-btn-light { color: var(--bmb-ink) !important; border-color: rgba(23,32,28,.16); background: #fff; }

.bmb-modern-footer { color: rgba(255,255,255,.72); background: #131c18; }
.bmb-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 70px; padding: 72px 0 52px; }
.bmb-footer-logo { width: min(300px, 100%); margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .94; }
.bmb-modern-footer h3 { margin: 0 0 20px; color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.bmb-modern-footer p { margin: 0 0 12px; }
.bmb-modern-footer a { color: rgba(255,255,255,.78) !important; text-decoration: none !important; }
.bmb-modern-footer a:hover { color: #ff9c6c !important; }
.bmb-footer-links { display: grid; gap: 10px; }
.bmb-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.bmb-mobile-call { display: none; }

/* Modèle moderne partagé par toutes les pages intérieures. */
.bmb-inner-main { background: #fff; }
.bmb-inner-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(15,31,24,.9) 0%, rgba(15,31,24,.64) 56%, rgba(15,31,24,.25) 100%), url("bmb-cover-modern.png") center 54% / cover no-repeat;
}
.bmb-inner-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, rgba(9,19,14,.18)); pointer-events: none; }
.bmb-inner-hero .bmb-shell { position: relative; z-index: 1; padding-block: 82px; }
.bmb-inner-hero .bmb-eyebrow { color: #ffad84; }
.bmb-inner-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none !important;
}
.bmb-inner-intro { max-width: 720px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.bmb-inner-content { padding: 92px 0 105px; background: linear-gradient(180deg, #fff 0%, #fff 72%, #f7f5f1 100%); }
.bmb-page-article { color: var(--bmb-ink); }
.bmb-page-article::after { content: ""; display: table; clear: both; }
.bmb-page-article > .vc_row,
.bmb-page-article .wpb-content-wrapper > .vc_row { margin-bottom: 58px; }
.bmb-page-article .wpb-content-wrapper > .vc_row:last-child { margin-bottom: 0; }
.bmb-page-article .vc_row { margin-left: -15px; margin-right: -15px; }
.bmb-page-article .vc_column-inner { padding-top: 0 !important; }
.bmb-page-article .wpb_wrapper > :last-child { margin-bottom: 0; }
.bmb-page-article .vc_empty_space { height: 30px !important; }
.bmb-page-article .blank-spacer { display: none !important; }
.bmb-page-article h2 {
  position: relative;
  margin: 0 0 34px;
  padding-bottom: 17px;
  color: var(--bmb-ink) !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 780 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-transform: none !important;
}
.bmb-page-article h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; border-radius: 99px; background: var(--bmb-orange); }
.bmb-page-article h3 { margin: 0 0 18px; color: var(--bmb-ink) !important; font-size: clamp(23px, 2.7vw, 31px) !important; font-weight: 730 !important; line-height: 1.2 !important; text-transform: none !important; }
.bmb-page-article p { color: var(--bmb-muted); font-size: 17px; line-height: 1.75; }
.bmb-page-article strong { color: var(--bmb-ink); }
.bmb-page-article a:not(.vc_carousel-control):not(.bmb-btn) { color: var(--bmb-orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bmb-page-article .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper,
.bmb-page-article .vc_col-sm-4 > .vc_column-inner > .wpb_wrapper {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(23,32,28,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(23,32,28,.07);
}
.bmb-page-article .wpb_single_image img,
.bmb-page-article .vc_images_carousel img { border-radius: 18px; }
.bmb-page-article .wpb_single_image img { box-shadow: 0 16px 38px rgba(23,32,28,.11); }
.bmb-page-article .vc_images_carousel { width: 100% !important; overflow: hidden; border-radius: 18px; background: var(--bmb-sage); }
.bmb-page-article .vc_images_carousel .vc_item { height: 390px; }
.bmb-page-article .vc_images_carousel .vc_item img { width: 100%; height: 390px; object-fit: cover; }
.bmb-page-article .vc_carousel-control { width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; color: #fff !important; background: rgba(15,31,24,.72); opacity: 1; backdrop-filter: blur(8px); }
.bmb-page-article .vc_carousel-indicators { bottom: 14px; }
.bmb-page-article .vc_carousel-indicators li { border-color: #fff; }
.bmb-page-article .wpcf7 { padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(23,32,28,.08); border-radius: 24px; background: #fff; box-shadow: var(--bmb-shadow); }
.bmb-page-article .wpcf7 p { margin-bottom: 18px; color: var(--bmb-ink); font-size: 14px; font-weight: 700; }
.bmb-page-article iframe { width: 100%; border: 0; border-radius: 24px; box-shadow: 0 16px 38px rgba(23,32,28,.1); }
.bmb-page-article [class*="google-review"],
.bmb-page-article [class*="wp-google"] { border-radius: 20px !important; }
.bmb-page-article a[href*="g.page"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; color: #fff !important; background: var(--bmb-orange); font-weight: 780; text-decoration: none !important; }
body:not(.home) .header-breadcrumb { display: none !important; }
body:not(.home) > .full > section.footer-top,
body:not(.home) footer:not(.bmb-modern-footer) { display: none !important; }

/* Pages intérieures et formulaires. */
body:not(.home) .header-breadcrumb {
  min-height: 0 !important;
  padding: 72px 0 !important;
  background: linear-gradient(90deg, rgba(22,39,31,.9), rgba(22,39,31,.58)), url("bmb-cover-modern.png") center 54% / cover no-repeat !important;
}
body:not(.home) .header-breadcrumb .container { width: min(1180px, calc(100% - 48px)); }
body:not(.home) .header-breadcrumb .page-cover {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body:not(.home) .header-breadcrumb .page-cover-tittle {
  display: inline-block;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  font-weight: 760;
  letter-spacing: -.035em;
  text-transform: none !important;
}
body:not(.home) .inner-header,
body:not(.home) .inner-banner { min-height: 0; background-color: var(--bmb-forest) !important; }
body:not(.home) .page-content,
body:not(.home) .main-content,
body:not(.home) .content-area { padding-top: 65px; padding-bottom: 80px; }
body:not(.home) .page-fluid > .col-md-12 { padding: 0; }
body:not(.home) .wpb-content-wrapper > .vc_row:not(.features-section) { position: relative; }
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4 { font-family: inherit !important; color: var(--bmb-ink); }

/* Anciens éléments de démonstration du thème Carpenter. */
.page-id-73 .features-section,
.page-id-73 .vc_custom_1580112624003 { display: none !important; }

body:not(.home) > .full > section.footer-top {
  min-height: 0;
  padding: 0;
  background: var(--bmb-sage);
}
body:not(.home) > .full > section.footer-top .emergency-contact { margin: 0; }
body:not(.home) > .full > section.footer-top .left-side { background: var(--bmb-forest) !important; }
body:not(.home) > .full > section.footer-top .left-side > .vc_column-inner { padding: 45px max(26px, calc((100vw - 1180px) / 2)) !important; }
body:not(.home) > .full > section.footer-top .left-side .blank-spacer { display: none; }
body:not(.home) > .full > section.footer-top .left-side h3 { margin: 0 0 8px; color: #fff !important; font-size: 25px; }
body:not(.home) > .full > section.footer-top .left-side a { display: inline-block; margin: 10px 24px 0 0; color: #fff !important; font-weight: 750; }
body:not(.home) > .full > section.footer-top .left-side img[src*="carpenter.weblusive-themes.com"] { display: none !important; }
body:not(.home) > .full > section.footer-top .right-side { overflow: hidden; min-height: 235px; }
body:not(.home) > .full > section.footer-top .right-side .blank-spacer { display: none; }
body:not(.home) > .full > section.footer-top .right-side img { width: 100%; min-height: 235px; object-fit: cover; }

body:not(.home) footer .footer-middle {
  padding: 70px 0 45px !important;
  color: rgba(255,255,255,.72);
  background: #131c18 !important;
}
body:not(.home) footer .footer-middle .widget_title { color: #fff !important; }
body:not(.home) footer .footer-middle .brand_logo { pointer-events: none; }
body:not(.home) footer .footer-middle .brand_logo img { max-width: 290px; filter: brightness(0) invert(1); }
body:not(.home) footer .footer-middle p,
body:not(.home) footer .footer-middle label,
body:not(.home) footer .footer-middle li { color: rgba(255,255,255,.72) !important; }
body:not(.home) footer .footer-middle a { color: rgba(255,255,255,.86) !important; }
body:not(.home) footer .footer-bottom { margin: 0; padding: 20px 0; color: rgba(255,255,255,.6); background: #0d1511 !important; }
body:not(.home) footer .footer-bottom .copyright { margin: 0; color: rgba(255,255,255,.6) !important; }
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23,32,28,.16) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--bmb-ink) !important;
}
.wpcf7 textarea { min-height: 130px; }
.wpcf7 input[type="submit"] { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; color: #fff; background: var(--bmb-orange); font-weight: 750; }

@media (max-width: 991px) {
  header#main_navbar { grid-template-columns: minmax(220px, 310px) 1fr; padding-inline: 22px !important; }
  #main_navbar .navbar-nav > li > a { padding-inline: 9px !important; font-size: 12px !important; }
  .bmb-split { gap: 42px; }
  .bmb-photo-stack { min-height: 470px; }
  .bmb-card-grid { grid-template-columns: 1fr 1fr; }
  .bmb-card:last-child { grid-column: 1 / 3; }
  .bmb-steps { grid-template-columns: 1fr 1fr; }
  .bmb-gallery { grid-template-columns: 1fr 1fr; }
  .bmb-gallery a:first-child { grid-row: auto; }
  .bmb-gallery a:nth-child(2) { grid-column: auto; }
  .bmb-gallery a:last-child { grid-column: 1 / 3; }
  .bmb-footer-grid { gap: 36px; }
}

@media (max-width: 767px) {
  .bmb-shell { width: min(100% - 32px, 1180px); }
  header#main_navbar {
    grid-template-columns: 1fr auto;
    grid-template-rows: 72px auto;
    min-height: 72px;
    padding-inline: 16px !important;
  }
  #main_navbar .top-header { display: none; }
  #main_navbar .logo_part { grid-column: 1; grid-row: 1; padding: 6px 0 !important; }
  #main_navbar .logo img { width: 220px; max-height: 58px; }
  #main_navbar .main-menu { grid-column: 2; grid-row: 1; }
  #main_navbar .navbar-toggle { display: block !important; margin: 0; border: 0; border-radius: 12px; background: var(--bmb-sand) !important; }
  #main_navbar .navbar-toggle .icon-bar { background: var(--bmb-ink); }
  #main_navbar .menu { position: static; }
  #main_navbar #main_nav {
    position: absolute;
    top: 72px;
    right: 12px;
    left: 12px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 12px !important;
    border: 1px solid rgba(23,32,28,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--bmb-shadow);
  }
  #main_navbar #main_nav:not(.in) { display: none !important; }
  #main_navbar #main_nav.in { display: block !important; }
  #main_navbar .navbar-nav { display: block; width: 100%; }
  #main_navbar .navbar-nav > li > a { padding: 12px 14px !important; font-size: 14px !important; }
  #main_navbar .dropdown-menu { position: static; float: none; box-shadow: none; }

  .bmb-hero { min-height: 690px; background-position: 62% center; }
  .bmb-hero .bmb-shell { padding: 82px 0 130px; }
  .bmb-modern-home h1 { font-size: clamp(42px, 13vw, 60px); }
  .bmb-hero-copy > p:not(.bmb-eyebrow) { font-size: 18px; }
  .bmb-actions { display: grid; }
  .bmb-btn { width: 100%; }
  .bmb-trust { margin-top: -86px; }
  .bmb-trust-grid { grid-template-columns: 1fr; }
  .bmb-trust-item { min-height: 0; padding: 22px; }
  .bmb-trust-item + .bmb-trust-item { border-top: 1px solid rgba(23,32,28,.09); border-left: 0; }
  .bmb-section { padding: 78px 0; }
  .bmb-split { grid-template-columns: 1fr; gap: 42px; }
  .bmb-photo-stack { min-height: 430px; }
  .bmb-photo-main { right: 42px; bottom: 48px; }
  .bmb-section-head { display: block; margin-bottom: 30px; }
  .bmb-section-head .bmb-btn { margin-top: 22px; }
  .bmb-card-grid { grid-template-columns: 1fr; }
  .bmb-card:last-child { grid-column: auto; }
  .bmb-card-body p { min-height: 0; }
  .bmb-steps { grid-template-columns: 1fr; }
  .bmb-step::before { margin-bottom: 18px; }
  .bmb-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 250px); }
  .bmb-gallery a:last-child { grid-column: auto; }
  .bmb-cta-panel { grid-template-columns: 1fr; gap: 30px; padding: 36px 24px; }
  .bmb-cta-actions { min-width: 0; }
  .bmb-footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 58px 0 38px; }
  .bmb-footer-bottom { display: block; padding-bottom: 90px; }
  .bmb-inner-hero { min-height: 320px; background-position: 62% center; }
  .bmb-inner-hero .bmb-shell { padding-block: 62px; }
  .bmb-inner-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .bmb-inner-content { padding: 68px 0 78px; }
  .bmb-page-article > .vc_row,
  .bmb-page-article .wpb-content-wrapper > .vc_row { margin-bottom: 38px; }
  .bmb-page-article .vc_col-sm-6 > .vc_column-inner > .wpb_wrapper,
  .bmb-page-article .vc_col-sm-4 > .vc_column-inner > .wpb_wrapper { margin-bottom: 22px; padding: 22px; }
  .bmb-page-article .vc_images_carousel .vc_item,
  .bmb-page-article .vc_images_carousel .vc_item img { height: 280px; }
  .bmb-mobile-call {
    position: fixed;
    z-index: 999;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 999px;
    color: #fff !important;
    background: var(--bmb-orange);
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
  }
  body:not(.home) .header-breadcrumb { padding: 48px 0 !important; }
  body:not(.home) .header-breadcrumb .container { width: min(100% - 32px, 1180px); }
  body:not(.home) > .full > section.footer-top .left-side > .vc_column-inner { padding: 36px 24px !important; }
  body:not(.home) > .full > section.footer-top .right-side { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
