/* Home-specific measured corrections: BV vs test, desktop 1667/1707 × 1218. */
/* Do not affect the smaller mobile H1 breakpoint. */
@media (min-width: 1200px) {
  #main .bv-GOEdW [data-bv-name="Hero"] h1.s6 {
    --bv-font-size: 64px;
    --bv-line-height: 1.08em;
    --bv-letter-spacing: -.02em;
  }
}
/* BV's text style preset 'Small Label' is 14.08px InterSite, not 16px InterSite. */
#main .bv-GOEdW section p.bv-styles-preset-rlg7e0 {
  --bv-font-family: "InterSite Regular", "InterSite Regular", sans-serif;
  --bv-font-size: 14.08px;
  --bv-line-height: 1.2em;
  font-family: "InterSite Regular", "InterSite Regular", sans-serif;
  font-size: 14.08px;
  line-height: 16.896px;
  letter-spacing: normal;
}
/* The desktop BV nav has five 32px link gaps then 16px before Contact. */
@media (min-width: 1200px) {
  #main .site-nav .nav-links { gap: 32px; }
  #main .site-nav .nav-links > a:not(:last-child),
  #main .site-nav .nav-links .services-menu > button {
    letter-spacing: -.04em;
  }
  #main .site-nav .nav-links .services-menu > button { width: 81px; }
  #main .site-nav .nav-links > a:last-child {
    margin-left: -16px;
    width: 90px;
    height: 36px;
    padding: 12px;
    font-size: 14.08px;
    line-height: 18.304px;
    letter-spacing: -.04em;
  }
}
/* 16 closed FAQ rows in BV: 58.31px vs 57.31px in the test copy. */
#main .bv-GOEdW [data-bv-name="FAQ"] .bv-QXEuM[data-faq] {
  min-height: 58.312px;
}

#main .bv-GOEdW #project-estimate-form.bv-dzwolk {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Home navbar: vertically center the Contact label like the BV button.
   Append to the END of the CURRENT dist/home-layout-measured.css.
   Do not replace the existing stylesheet. */
@media (min-width: 810px) {
  #main .site-nav .nav-links > a:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}


/* Home Hero: single-element NovaGlow. */
#main .bv-GOEdW .bv-1ozrzuf > a.bv-home-optimized-nova {
  box-sizing:border-box;height:56px;display:inline-flex;align-items:center;justify-content:center;
  position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:8px;
  background:#070711;color:#fff;box-shadow:none;
  font:400 16px/1 'InterSite Regular',sans-serif;text-decoration:none;
  transition:transform .22s ease,box-shadow .22s ease;
}
@media(max-width:809.98px){
  #main .bv-GOEdW .bv-1ozrzuf > a.bv-home-optimized-nova{width:100%;height:56px}
  #main .bv-GOEdW .bv-1ozrzuf > a.bv-1d5di5m{width:100%;box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){#main .bv-home-optimized-nova,#main .bv-home-optimized-nova::after{transition:none}}

/* Pricing buttons share the Hero NovaGlow layers. */
#main a.s124.bv-home-optimized-nova {box-sizing:border-box;border:0;border-radius:8px;box-shadow:none;overflow:hidden;clip-path:none;-webkit-clip-path:none}
@media(max-width:809.98px){#main .bv-mc7abe-container:has(> .s123 > a.s124.bv-home-optimized-nova){width:100%}#main a.s124.bv-home-optimized-nova{width:100%;box-sizing:border-box}}

@media (max-width:809.98px) {
  #main .bv-mc7abe-container:has(> .s123 > a.s124.bv-home-optimized-nova) { height:56px; }
  #main a.s124.bv-home-optimized-nova { height:56px; }
}

/* Home Hero: align the inner background and outline with the button radius. */
#main .bv-GOEdW .bv-1d5di5m .bv-tx0il3,
#main .bv-GOEdW .bv-1d5di5m .bv-tx0il3::after { border-radius:8px; }

/* BV home recommendation inline link: restore BV link preset */
#main .bv-uh01a7 a.bv-styles-preset-10ulta8 {
  --bv-link-text-color: #4f46e5;
  --bv-link-text-decoration: underline;
}


/* BV section anchors v1 */
/* Keep Pricing paragraphs on the H2's left edge, preserving their max-width. */
#main #pricing .bv-19jly7c > .bv-c9ahal {align-items:flex-start;}

/* BV contact visual polish v1 — home trust card only. */
#main .bv-GOEdW #contact .bv-xpbfu7 {
  background-color:var(--token-763874f1-38be-41ae-a18a-46f330249f37,#0f0f0f);
  border-radius:16px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
  padding:24px;
}
#main .bv-GOEdW #contact .bv-xpbfu7 > .bv-6bi17i {
  background:transparent;
  padding:0;
  border-radius:0;
}
#main .bv-GOEdW #contact .bv-xpbfu7 > .bv-6bi17i::after {
  border:0;
}


/* BV Home mobile Services CTA visibility v1 */
@media (max-width: 809.98px) {
  #main main#hero > #serviices > .bv-16x61jj > .bv-lqoafm-container.s89 {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* BV mobile CTA width v1: match recommendation's available content width. */
@media (max-width:809.98px) {
  #main .bv-GOEdW #serviices .bv-16x61jj {width:100%!important;max-width:100%!important;}
  #main .bv-GOEdW .bv-cbx03t-container,
  #main .bv-GOEdW .bv-16206u2-container,
  #main .bv-GOEdW .bv-my8muu-container,
  #main .bv-GOEdW .bv-lqoafm-container,
  #main .bv-GOEdW .bv-3pmlrc-container,
  #main .bv-GOEdW .bv-1oapemq-container,
  #main .bv-GOEdW .bv-1hu3amg-container,
  #main .bv-GOEdW .bv-47f85l-container,
  #main .bv-GOEdW .bv-ymrqcq-container,
  #main .bv-GOEdW .bv-1mbmsn6-container {width:min(100%,calc(100vw - 40px))!important;max-width:100%!important;box-sizing:border-box;}
  #main .bv-GOEdW :is(a.bv-blue-sweep,a.bv-OU5wE):not(.bv-home-optimized-nova) {width:100%!important;max-width:100%!important;box-sizing:border-box;}
  #main .bv-GOEdW a.bv-blue-sweep > [data-bv-name="Wrapper"] {width:100%!important;box-sizing:border-box;justify-content:center!important;}
}


/* BV Home CTA height 56 v1: content CTAs only, all breakpoints. */
#main .bv-GOEdW :is(a.bv-blue-sweep,a.bv-home-optimized-nova,a.bv-OU5wE,button.bv-N9JE5) {
  box-sizing:border-box!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;
  align-items:center!important;
}
#main .bv-GOEdW a.bv-blue-sweep > [data-bv-name="Wrapper"] {
  box-sizing:border-box!important;height:100%!important;min-height:0!important;max-height:100%!important;
  padding-block:0!important;align-items:center!important;
}
#main .bv-GOEdW a.bv-blue-sweep > .bv-blue-sweep-copy {padding-block:0!important;}
#main .bv-GOEdW a.bv-OU5wE {padding-block:0!important;}


/* BV Home desktop Services CTA visibility v1 */
@media (min-width: 810px) {
  #main main#hero > #serviices > .bv-16x61jj > .bv-lqoafm-container.s89 {
    opacity: 1 !important;
    transform: none !important;
  }
}
