/* Brave Homes redesign – global header & footer (prefix bhr-) */
:root{--bhr-navy:#080E73;--bhr-orange:#FD5001;--bhr-green:#22C55E;--bhr-text:#4B5563}
/* hide Flatsome header/footer */
#header,.header-wrapper,#footer,.footer-wrapper,.absolute-footer{display:none!important}
body{font-family:'Roboto',Arial,sans-serif}
.bhr-wrap{max-width:1280px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.bhr-top,.bhr-head,.bhr-foot{font-family:'Roboto',Arial,sans-serif;box-sizing:border-box}
.bhr-top *,.bhr-head *,.bhr-foot *{box-sizing:border-box}
.bhr-top svg,.bhr-head svg,.bhr-foot svg{width:18px;height:18px;fill:currentColor;flex:0 0 auto}

/* top bar */
.bhr-top{background:var(--bhr-navy);color:#fff}
.bhr-top__in{display:flex;justify-content:space-between;align-items:center;min-height:72px;gap:20px}
.bhr-top__l{display:flex;gap:34px;align-items:center}
.bhr-top__item{display:inline-flex;gap:10px;align-items:center;color:#fff!important;font-size:16px;text-decoration:none}
.bhr-top__cta{display:inline-flex;align-items:center;gap:18px;color:#fff!important;font-weight:700;text-transform:uppercase;font-size:17px;letter-spacing:.3px;text-decoration:none}
.bhr-top__cta i{width:48px;height:48px;border-radius:50%;background:var(--bhr-green);display:inline-flex;align-items:center;justify-content:center;transition:transform .2s}
.bhr-top__cta:hover i{transform:scale(1.08)}
.bhr-top__cta svg{width:22px;height:22px}

/* main header */
.bhr-head{background:#F7F8FB;border-bottom:1px solid #E5E7EF;position:sticky;top:0;z-index:999;transition:box-shadow .2s}
.admin-bar .bhr-head{top:32px}
.bhr-head.is-stuck{box-shadow:0 6px 20px rgba(8,14,115,.08);background:#fff}
.bhr-head__in{display:flex;justify-content:space-between;align-items:center;min-height:98px}
.bhr-logo img{width:218px;height:auto;display:block}
.bhr-nav ul{list-style:none;margin:0;padding:0}
.bhr-nav>ul{display:flex;gap:6px;align-items:center}
.bhr-nav li{position:relative;margin:0}
.bhr-nav a{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;color:var(--bhr-text)!important;font-size:17.5px;font-weight:500;text-decoration:none;white-space:nowrap}
.bhr-nav a:hover{color:var(--bhr-navy)!important}
.bhr-nav a.is-current{color:var(--bhr-navy)!important;font-weight:700}
.bhr-caret{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid currentColor}
.bhr-sub{position:absolute;top:100%;left:0;min-width:240px;background:#fff;border:1px solid #E5E7EF;border-radius:8px;box-shadow:0 12px 30px rgba(8,14,115,.12);padding:8px 0!important;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s}
.bhr-sub a{display:block;padding:9px 18px;font-size:15.5px}
.bhr-sub a:hover{background:#F6F7FA}
.bhr-has-sub:hover>.bhr-sub,.bhr-has-sub:focus-within>.bhr-sub{opacity:1;visibility:visible;transform:none}
.bhr-nav__mcta{display:none}
.bhr-burger{display:none;background:none;border:0;padding:8px;cursor:pointer;margin:0;min-height:0}
.bhr-burger span{display:block;width:28px;height:3px;background:var(--bhr-navy);margin:5px 0;border-radius:2px}

/* footer */
.bhr-foot{background:linear-gradient(180deg,#0A0F6E 0%,#050838 100%);color:#fff;border-top:5px solid var(--bhr-orange)}
.bhr-foot__grid{display:grid;grid-template-columns:1.6fr .8fr 1.1fr 1.1fr 1.2fr;gap:30px;padding-top:70px;padding-bottom:60px}
.bhr-foot__brand img{width:300px;max-width:100%;height:auto;margin-bottom:24px}
.bhr-foot__brand p{color:#E6E8FF;font-size:16px;line-height:1.55;margin:0;max-width:320px}
.bhr-foot h4{font-family:'Roboto',Arial,sans-serif;color:#fff;font-size:22px;font-weight:600;margin:0 0 20px;text-transform:none;letter-spacing:0}
.bhr-foot ul{list-style:none;margin:0;padding:0}
.bhr-foot li{margin:0 0 10px}
.bhr-foot a,.bhr-foot span{color:#E6E8FF!important;font-size:16px;text-decoration:none}
.bhr-foot a:hover{color:#fff!important;text-decoration:underline}
.bhr-foot__contact a,.bhr-foot__contact span{display:inline-flex;gap:10px;align-items:flex-start;line-height:1.5}
.bhr-social{display:flex;gap:22px;margin-top:22px}
.bhr-social svg{width:28px;height:28px}
.bhr-foot__bottom{background:#020317;padding:24px 0}
.bhr-foot__bottomin{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.bhr-foot__bottom span,.bhr-foot__bottom a{font-size:15px;color:#E6E8FF!important}

/* responsive */
@media(max-width:1240px){.bhr-nav a{padding:10px 8px;font-size:16px}}
@media(max-width:1023px){
  .bhr-top__l .bhr-top__item:first-child{display:none}
  .bhr-top__in{min-height:52px}
  .bhr-top__cta{font-size:13px;gap:10px}.bhr-top__cta i{width:36px;height:36px}
  .bhr-head__in{min-height:72px}
  .bhr-logo img{width:170px}
  .bhr-burger{display:block}
  .bhr-nav{position:fixed;inset:0 0 0 auto;width:min(340px,88vw);background:#fff;box-shadow:-10px 0 30px rgba(0,0,0,.15);padding:80px 10px 30px;overflow-y:auto;transform:translateX(100%);transition:transform .25s;z-index:1000}
  .bhr-nav.is-open{transform:none}
  .bhr-nav>ul{flex-direction:column;align-items:stretch;gap:0}
  .bhr-nav a{width:100%;justify-content:space-between;padding:14px 16px;font-size:18px;border-bottom:1px solid #EEF0F6}
  .bhr-sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;padding:0 0 0 12px!important}
  .bhr-has-sub.is-open>.bhr-sub{display:block}
  .bhr-nav__mcta{display:block;margin-top:20px}
  .bhr-nav__mcta a{background:var(--bhr-orange);color:#fff!important;justify-content:center;border-radius:4px;font-weight:700;border:0}
  body.bhr-noscroll{overflow:hidden}
  .bhr-burger{position:relative;z-index:1001}
  .bhr-foot__grid{grid-template-columns:1fr 1fr;gap:34px}
  .bhr-foot__brand{grid-column:1/-1}
}
@media(max-width:782px){.admin-bar .bhr-head{top:46px}}
@media(max-width:600px){.admin-bar .bhr-head{top:0}} /* the WP admin bar scrolls away on phones */
.bhr-s{display:none}
@media(max-width:600px){
  .bhr-foot__grid{grid-template-columns:1fr}
  .bhr-top__l .bhr-top__item{font-size:14px;white-space:nowrap}
  .bhr-l{display:none}.bhr-s{display:inline}
  .bhr-top__cta{white-space:nowrap}
  /* keep content clear of the floating "Call Now" button (Call Now Button plugin) */
  body{padding-bottom:72px}
}

/* quick quote pop-up */
.bhm{position:fixed;inset:0;z-index:100002;background:rgba(5,8,56,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);display:flex;align-items:center;justify-content:center;padding:60px 20px 30px;overflow-y:auto;transition:background .35s ease,backdrop-filter .35s ease}
.bhm[hidden]{display:none}
.bhm.is-open{background:rgba(5,8,56,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.bhm__box{position:relative;width:100%;max-width:520px;background:#E8E8EA;border-radius:14px;box-shadow:0 30px 80px rgba(3,6,50,.45);margin:auto;opacity:0;transform:translateY(28px) scale(.96);transition:opacity .35s ease,transform .45s cubic-bezier(.2,.9,.25,1.15)}
.bhm.is-open .bhm__box{opacity:1;transform:none}
.bhm__x{position:absolute;top:12px;right:12px;z-index:3;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.12)!important;border:0!important;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0!important;margin:0!important;min-height:0!important;transition:background .2s,transform .25s}
.bhm__x:hover{background:rgba(255,255,255,.24)!important;transform:rotate(90deg)}
.bhm__x svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
.bhm__badge{position:absolute;left:-62px;top:-46px;width:132px;height:auto;z-index:2;filter:drop-shadow(0 8px 18px rgba(0,0,0,.3));opacity:0;transform:scale(.4) rotate(-40deg);transition:opacity .3s ease .15s,transform .6s cubic-bezier(.3,1.6,.5,1) .15s}
.bhm.is-open .bhm__badge{opacity:1;transform:none}
.bhm__head{background:#080E73;color:#fff;text-align:center;border-radius:14px 14px 0 0;padding:30px 52px 26px 76px}
.bhm__head h3{font:700 26px/1.25 'Roboto',Arial,sans-serif!important;color:#fff!important;margin:0 0 12px!important;text-transform:none!important;letter-spacing:0!important}
.bhm__head p{margin:0!important;color:#fff;font:400 16px/1.4 'Roboto',Arial,sans-serif}
.bhm__body{padding:28px 44px 30px}
.bhm__form>*,.bhm__ok{opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .4s ease}
.bhm.is-open .bhm__form>*,.bhm.is-open .bhm__ok{opacity:1;transform:none}
.bhm.is-open .bhm__form>:nth-child(1){transition-delay:.12s}.bhm.is-open .bhm__form>:nth-child(2){transition-delay:.17s}.bhm.is-open .bhm__form>:nth-child(3){transition-delay:.22s}.bhm.is-open .bhm__form>:nth-child(4){transition-delay:.27s}.bhm.is-open .bhm__form>:nth-child(5){transition-delay:.32s}.bhm.is-open .bhm__form>:nth-child(n+6){transition-delay:.37s}
.bhm__f{display:block;position:relative;margin:0 0 16px!important}
.bhm__f input,.bhm__f select{display:block;width:100%;height:58px!important;border:1.5px solid transparent!important;border-radius:8px!important;background:#fff!important;padding:0 20px!important;margin:0!important;font:400 18px 'Roboto',Arial,sans-serif!important;color:#111827!important;box-shadow:0 1px 2px rgba(8,14,115,.06)!important;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;appearance:none}
.bhm__f input::placeholder{color:#5B6475;opacity:1}
.bhm__f input:focus,.bhm__f select:focus{outline:0;border-color:#FD5001!important;box-shadow:0 0 0 4px rgba(253,80,1,.14)!important}
.bhm__f select{color:#5B6475!important;cursor:pointer;padding-right:44px!important}
.bhm__f select.has-val{color:#111827!important}
.bhm__f--sel::after{content:"";position:absolute;right:22px;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:7px solid #5B6475;pointer-events:none;transition:transform .2s}
.bhm__f--sel:focus-within::after{transform:rotate(90deg)}
.bhm__f.is-bad input{border-color:#DC2626!important}
.bhm__err{display:block;font:500 13px/1.3 'Roboto',Arial,sans-serif;color:#DC2626;font-style:normal;margin-top:5px}
.bhm__err:empty{display:none}
.bhm__note{background:#EDC8B5;border-radius:8px;padding:12px 18px;margin:4px 0 18px!important;text-align:center;font:400 16px/1.5 'Roboto',Arial,sans-serif;color:#2b2b2b}
.bhm__note b{font-weight:700}
.bhm .bhm-hide{display:none!important}
.bhm .bhm__cf7 .mdc-layout-grid{padding:0!important}
.bhm .bhm__cf7 .mdc-layout-grid__inner{display:block!important}
.bhm .bhm__cf7 .cf7md-item{margin:0!important;padding:0!important}
.bhm .bhm__cf7 .g-recaptcha,.bhm .bhm__cf7 [class*="recaptcha"]{display:flex;justify-content:center;margin:0 0 16px;border:0!important;padding:0!important;background:none!important}
.bhm .bhm__cf7 .wpcf7-response-output{margin:0 0 16px!important;padding:10px 14px!important;border-radius:8px!important;font-size:14px;text-align:center;border-width:1.5px!important}
.bhm .bhm__cf7 .wpcf7-response-output:empty{display:none}
.bhm .bhm__cf7 .wpcf7-spinner{display:none!important}
.bhm__go{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:60px;border:0!important;border-radius:8px!important;background:#FD5001!important;color:#fff!important;font:700 20px 'Roboto',Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;margin:0!important;padding:0 20px!important;overflow:hidden;box-shadow:0 8px 20px rgba(253,80,1,.3);transition:transform .2s,box-shadow .2s,background .2s}
.bhm__go:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(253,80,1,.38);background:#ff5f12!important}
.bhm__go:active{transform:translateY(0)}
.bhm__go::before{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);animation:bhm-shine 3.2s ease-in-out 1s infinite}
@keyframes bhm-shine{0%{left:-60%}35%,100%{left:130%}}
.bhm__go i{display:none;width:20px;height:20px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:bhm-spin .8s linear infinite}
.bhm.is-sending .bhm__go{pointer-events:none;opacity:.85}
.bhm.is-sending .bhm__go i{display:inline-block}
@keyframes bhm-spin{to{transform:rotate(360deg)}}
.bhm__ok{text-align:center;padding:14px 0 6px}
.bhm__okic{display:inline-flex;width:72px;height:72px;border-radius:50%;background:#22C55E;align-items:center;justify-content:center;margin-bottom:14px;animation:bhm-pop .5s cubic-bezier(.3,1.6,.5,1)}
.bhm__okic svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bhm__ok h4{font:700 26px 'Roboto',Arial,sans-serif!important;color:#080E73!important;margin:0 0 8px!important;text-transform:none!important}
.bhm__ok p{margin:0!important;font-size:16px;color:#374151}
@keyframes bhm-pop{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
#bhm .bhm__cf7 .wpcf7-form-control-wrap.recaptcha{border:0!important;padding:0!important;background:none!important}
body.bhr-noscroll #callnowbutton{opacity:0!important;pointer-events:none!important;transition:opacity .2s}
.bhm .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(prefers-reduced-motion:reduce){.bhm,.bhm__box,.bhm__badge,.bhm__form>*,.bhm__ok{transition:none!important}.bhm__go::before{animation:none}}
@media(max-width:600px){.bhm{padding:56px 14px 20px;align-items:flex-start}.bhm__badge{left:-6px;top:-42px;width:96px}.bhm__head{padding:26px 46px 20px 92px;text-align:left}.bhm__head h3{font-size:20px!important;margin-bottom:8px!important}.bhm__head p{font-size:14px}.bhm__body{padding:20px 16px 22px}.bhm__f input,.bhm__f select{height:52px!important;font-size:16px!important}.bhm__go{height:56px;font-size:18px!important}.bhm__note{font-size:14px}.bhm .bhm__cf7 .g-recaptcha{transform:scale(.92);transform-origin:center}}
