/*
Theme Name: GeneratePress Child
Theme URI: https://bluehomeimprovement.com
Description: Child theme for Blue Home Improvement — based on GeneratePress
Author: Roberto Pinto
Author URI: https://bluehomeimprovement.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child
*/

/* === DESIGN TOKENS (from colors_and_type.css) === */

:root {
  /* ============ COLOR ============ */
  --bhi-blue:        #2C2CEE;
  --bhi-blue-hover:  #1F1FCC;
  --bhi-blue-soft:   #E9E9FE;
  --bhi-blue-tint:   #F4F4FF;

  --contrast:    #0B0B0B;
  --contrast-2:  #161616;
  --contrast-3:  #272727;
  --contrast-4:  #7B7B7B;
  --contrast-5:  #B2B2B2;
  --base:        #FAF6EE;
  --base-2:      #FFFFFF;
  --cream-deep:  #F2EBDC;

  --bg:        var(--base);
  --bg-card:   var(--base-2);
  --bg-accent: var(--bhi-blue-tint);
  --bg-dark:   var(--contrast-2);

  --fg-1: var(--contrast-2);
  --fg-2: var(--contrast-4);
  --fg-3: var(--contrast-5);
  --fg-on-blue: #FFFFFF;
  --fg-on-dark: #FFFFFF;

  --border-hairline: #E5E5E5;
  --border-strong:   var(--contrast-5);
  --border-focus:    var(--bhi-blue);

  --success:    #2F7D5B;
  --success-bg: #E6F2EC;
  --warning:    #B7791F;
  --warning-bg: #FBF1DC;
  --danger:     #B42318;
  --danger-bg:  #FEE4E2;

  /* ============ TYPE ============ */
  --font-display: 'Rubik', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --type-h1: 64px;
  --type-h2: 42px;
  --type-h3: 26px;
  --type-h4: 20px;
  --type-h5: 17px;
  --type-h6: 15px;

  --type-body:    16px;
  --type-body-sm: 14px;
  --type-nav:     14px;
  --type-small:   13px;
  --type-eyebrow: 13px;

  --w-regular:  400;
  --w-medium:   500;
  --w-semibold: 600;
  --w-bold:     700;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.6;
  --lh-body:   1.8;

  --track-tight:   -0.01em;
  --track-eyebrow: 0.12em;

  /* ============ SPACING ============ */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  40px;
  --s-8:  56px;
  --s-9:  72px;
  --s-10: 96px;
  --s-11: 128px;
  --s-12: 160px;

  --container-max: 1200px;
  --container-tight: 880px;
  --gutter:    24px;
  --gutter-lg: 40px;

  /* ============ RADII ============ */
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  /* ============ SHADOWS ============ */
  --shadow-xs: 0 1px 2px rgba(11, 11, 11, 0.04);
  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.06), 0 1px 1px rgba(11, 11, 11, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 11, 11, 0.12), 0 2px 4px rgba(11, 11, 11, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(11, 11, 11, 0.18), 0 4px 8px rgba(11, 11, 11, 0.06);
  --shadow-focus: 0 0 0 3px rgba(44, 44, 238, 0.25);

  /* ============ MOTION ============ */
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 360ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

/* ============ Semantic element styles ============ */

html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--type-body); line-height: var(--lh-body); color: var(--fg-2); background: var(--bg); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--s-4); color: var(--fg-1); font-family: var(--font-display); font-weight: var(--w-bold); line-height: var(--lh-tight); text-wrap: balance; }
h1 { font-family: var(--font-serif); font-weight: var(--w-semibold); color: var(--fg-1); letter-spacing: -0.015em; line-height: 1.05; }
h1 .accent-blue, h2 .accent-blue { color: var(--bhi-blue); }
h2 { color: var(--bhi-blue); }
.heading-dark { color: var(--fg-1) !important; }
.heading-on-dark { color: #fff !important; }
.heading-blue { color: var(--bhi-blue) !important; }
.heading-serif { font-family: var(--font-serif) !important; font-weight: var(--w-semibold) !important; letter-spacing: -0.015em !important; line-height: 1.05 !important; }
h1 { font-size: var(--type-h1); }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); }
h4 { font-size: var(--type-h4); }
h5 { font-size: var(--type-h5); }
h6 { font-size: var(--type-h6); }
@media (max-width: 768px) {
  h1 { font-size: 42px; }  h2 { font-size: 32px; }
  h3 { font-size: 22px; }  h4 { font-size: 19px; }
  h5 { font-size: 16px; }  h6 { font-size: 14px; }
}

p { margin: 0 0 var(--s-4); font-size: var(--type-body); line-height: var(--lh-body); color: var(--fg-2); text-wrap: pretty; }

small, .small { font-size: var(--type-small); color: var(--fg-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: var(--type-eyebrow);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  color: var(--bhi-blue);
  margin-bottom: var(--s-4);
  line-height: 1.2;
}
.eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: currentColor;
  flex: 0 0 48px;
}
.eyebrow.plain { display: inline-block; }
.eyebrow.plain .eyebrow-line { display: none; }

a { color: var(--bhi-blue); text-decoration: none; transition: color var(--motion-fast) var(--ease-standard); }
a:hover { color: var(--contrast-3); }
a:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-xs); }

button, .btn {
  font-family: var(--font-display);
  font-size: var(--type-body-sm);
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--bhi-blue);
  color: var(--fg-on-blue);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard),
              color var(--motion-fast) var(--ease-standard);
}
button:hover, .btn:hover { background: var(--bhi-blue-hover); }
button:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
button:disabled, .btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-secondary { background: var(--base-2); color: var(--bhi-blue); border-color: var(--bhi-blue); }
.btn-secondary:hover { background: var(--bhi-blue); color: var(--fg-on-blue); }

.btn-tertiary { background: transparent; color: var(--bhi-blue); border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-tertiary:hover { background: transparent; color: var(--contrast-3); text-decoration: underline; }

.btn-on-photo { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }
.btn-on-photo:hover { background: #fff; color: var(--bhi-blue); }

input, textarea, select {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  color: var(--fg-1);
  background: var(--base-2);
  border: 1px solid var(--contrast-5);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}
input::placeholder, textarea::placeholder { color: var(--contrast-5); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--bhi-blue); box-shadow: var(--shadow-focus); }

.card { background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard); }
.card:hover { box-shadow: var(--shadow-md); }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { .container { padding: 0 var(--gutter-lg); } }

.nav-primary { background: var(--bhi-blue); color: var(--base); }
.nav-primary a { color: var(--base); font-size: var(--type-nav); font-weight: var(--w-semibold); }
.nav-primary a:hover { color: var(--contrast-5); }

.stats-bar { background: var(--contrast-2); color: var(--fg-on-dark); }

/* === SITE CHROME (from site.css) === */

/* ===== skip link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 8px 20px;
  background: var(--bhi-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus { top: 0; }

/* ===== shell ===== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { background: var(--base); overflow-x: clip; max-width: 100%; }
section { padding: 80px 0; background: var(--base); }
@media (max-width: 768px) { section { padding: 56px 0; } }
.section-white  { background: var(--base-2); }
.section-cream  { background: var(--base); }
.section-cream-deep { background: var(--cream-deep); }
.section-blue   { background: var(--bhi-blue); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
img { display: block; max-width: 100%; }

/* ===== buttons ===== */
.btn-primary {
  background: var(--bhi-blue); color: #fff; padding: 16px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; text-decoration: none;
  border: 1px solid var(--bhi-blue); cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
  display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.01em; line-height: 1;
}
.btn-primary:hover { background: var(--bhi-blue-hover); color: #fff; border-color: var(--bhi-blue-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: #fff; padding: 16px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.65);
  transition: all var(--motion-fast) var(--ease-standard);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.btn-ghost:hover { background: #fff; color: var(--bhi-blue); border-color: #fff; }
.btn-outline {
  background: transparent; color: var(--bhi-blue); padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; text-decoration: none;
  border: 1px solid var(--bhi-blue);
  transition: all var(--motion-fast) var(--ease-standard);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.btn-outline:hover { background: var(--bhi-blue); color: #fff; }
.btn-white {
  background: #fff; color: var(--bhi-blue);
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; text-decoration: none;
  border: 1px solid #fff;
  transition: all var(--motion-fast) var(--ease-standard);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1; letter-spacing: 0.01em;
}
.btn-white:hover { background: rgba(255,255,255,0.92); color: var(--bhi-blue-hover); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--bhi-blue); font-family: var(--font-display); font-weight: 700; font-size: 14px;
  text-decoration: none; line-height: 1;
}
.btn-link:hover { color: var(--bhi-blue-hover); gap: 9px; }
.btn-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--motion-fast) var(--ease-standard); }
.btn-link:hover svg { transform: translateX(2px); }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07);
  transition: background var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border-hairline);
}
/* Push sticky header below WP admin bar when logged in */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--bhi-blue); line-height: 1; letter-spacing: -0.005em;
}
.main-nav { display: flex; gap: 28px; margin-left: 16px; align-items: center; height: 100%; }
.main-nav > a, .nav-services > button {
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  color: var(--contrast-2); display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; cursor: pointer; padding: 0; line-height: 1;
  height: 100%;
  transition: color var(--motion-fast) var(--ease-standard);
}
.main-nav > a:hover, .nav-services > button:hover { color: var(--bhi-blue); }
.nav-services { position: relative; height: 100%; display: flex; align-items: center; }
.nav-services > button .chev { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--motion-fast) var(--ease-standard); }
.nav-services.open > button .chev { transform: rotate(180deg); }
.services-dd {
  position: absolute; top: calc(100% + 4px); left: -16px;
  width: 320px; background: #fff; border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard), visibility var(--motion-base);
}
.nav-services.open .services-dd { opacity: 1; visibility: visible; transform: translateY(0); }
.services-dd a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--radius-md);
  color: var(--contrast-2); font-family: var(--font-sans); font-size: 14px; font-weight: 600;
}
.services-dd a:hover { background: var(--bhi-blue-tint); color: var(--bhi-blue); }
.services-dd .dd-ic { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 6px; background: var(--base); display: flex; align-items: center; justify-content: center; }
.services-dd .dd-ic svg { width: 16px; height: 16px; stroke: var(--contrast-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.services-dd a:hover .dd-ic svg { stroke: var(--bhi-blue); }
.services-dd .dd-meta { font-size: 11.5px; color: var(--contrast-4); font-weight: 400; margin-top: 2px; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; height: 100%; }
.contact-icons { display: flex; gap: 8px; align-items: center; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--bhi-blue);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bhi-blue); background: transparent;
  transition: all var(--motion-fast) var(--ease-standard);
}
.contact-icon:hover { background: var(--bhi-blue); color: #fff; }
.contact-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.header-cta {
  background: transparent; color: var(--bhi-blue);
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  text-decoration: none; transition: all var(--motion-fast) var(--ease-standard);
  letter-spacing: 0.01em; line-height: 1;
  border: 1px solid var(--bhi-blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
}
/* Fill on hover only on real pointer devices, so touch taps don't leave a
   sticky blue background flash on mobile. */
@media (hover: hover) { .header-cta:hover { background: var(--bhi-blue); color: #fff; } }
@media (max-width: 1080px) { .main-nav { gap: 20px; margin-left: 8px; } }
@media (max-width: 980px) { .main-nav, .contact-icons { display: none; } .nav-right { gap: 12px; } }

/* GeneratePress "Mobile Header" emits an inline rule hiding .site-header at
   ≤768px (it expects GP's own mobile header to take over, which this build
   removed in favor of the custom parts/header.php). Force our header visible
   on mobile. Higher specificity (body .site-header) beats GP's .site-header
   !important regardless of source order. GP DB setting left untouched. */
@media (max-width: 768px) {
  body .site-header { display: block !important; opacity: 1 !important; }
}

@media (max-width: 540px) {
  .header-cta {
    padding: 8px 11px;
    font-size: 12.5px;
    white-space: nowrap;
    letter-spacing: 0;
  }
}

/* ===== mobile nav ===== */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 0; padding: 6px; cursor: pointer;
  margin-left: 4px;
  -webkit-tap-highlight-color: transparent; outline: none;
}
/* .hamburger is a <button>; beat the global button:hover blue background so it
   stays transparent on hover/tap (sticky-hover on mobile). */
.hamburger:hover, .hamburger:focus, .hamburger:active, .hamburger.open { background: transparent; outline: none; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--bhi-blue); border-radius: 2px;
  transition: all var(--motion-base) var(--ease-standard);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) { .hamburger { display: flex; } }

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 48;
  padding: 88px 24px 48px; overflow-y: auto;
  flex-direction: column; gap: 0;
}
.mobile-nav.open { display: flex; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header {
  background: #fff;
  border-bottom-color: var(--border-hairline);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 51;
}
@media (max-width: 980px) {
  .services-dd { display: none !important; }
}
.mobile-nav a {
  font-family: var(--font-sans); font-size: 17px; font-weight: 600;
  color: var(--contrast-2); padding: 16px 0;
  border-bottom: 1px solid var(--border-hairline); text-decoration: none;
  display: block;
}
.mobile-nav a:hover { color: var(--bhi-blue); }
.mobile-nav .mob-services-toggle {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 16px 0; border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--contrast-2);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent; outline: none;
  border-radius: 0; -webkit-border-radius: 0;
}
.mobile-nav .mob-services-toggle .chev { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform var(--motion-fast) var(--ease-standard); }
.mobile-nav .mob-services-toggle.open .chev { transform: rotate(180deg); }
.mobile-nav .mob-services-list {
  display: none; padding: 4px 0 8px 18px;
  flex-direction: column; gap: 0;
  border-bottom: 1px solid var(--border-hairline);
  border-radius: 0;
  background: transparent;
}
.mobile-nav .mob-services-list.open { display: flex; }
.mobile-nav .mob-services-list a {
  font-size: 15.5px; padding: 12px 0; border-bottom: 0;
  color: var(--contrast-3);
  border-radius: 0;
  background: transparent;
}
.mobile-nav .mob-cta {
  margin-top: 12px; background: var(--bhi-blue); color: #fff;
  text-align: center; border-radius: var(--radius-pill); padding: 16px;
  border-bottom: 0; font-size: 15px;
}
.mobile-nav .mob-cta:hover { background: var(--bhi-blue-hover); color: #fff; }
.mob-contact-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px;
}
.mobile-nav .mob-contact-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline);
  text-decoration: none; font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; color: var(--contrast-2);
}
.mobile-nav .mob-contact-btn:hover { border-color: var(--bhi-blue); color: var(--bhi-blue); }
.mobile-nav .mob-contact-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ===== section title pattern ===== */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .eyebrow {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bhi-blue); margin-bottom: 16px;
  background: rgba(44,44,238,0.07);
  border: 1px solid rgba(44,44,238,0.15);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.section-title .eyebrow .eyebrow-line { display: none; }
.section-title h2 {
  margin: 0 auto; max-width: 22ch;
  letter-spacing: -0.015em; font-size: 42px;
  color: var(--bhi-blue);
  font-family: var(--font-serif); font-weight: 600;
}
@media (max-width: 768px) { .section-title h2 { font-size: 30px; } }
.section-title p { max-width: 60ch; margin: 16px auto 0; color: var(--contrast-4); font-size: 16px; }
.section-title h2 em {
  font-style: italic; font-weight: 500; color: var(--bhi-blue);
}

.section-title-asym { text-align: left; margin-bottom: 48px; max-width: 36ch; }
.section-title-asym .eyebrow {
  display: inline-flex; align-items: center;
  background: rgba(44,44,238,0.07);
  border: 1px solid rgba(44,44,238,0.15);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 18px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.section-title-asym h2 {
  font-size: 42px; letter-spacing: -0.015em; color: var(--bhi-blue);
  margin: 0 0 12px;
  font-family: var(--font-serif); font-weight: 600;
}
.section-title-asym h2 em {
  font-style: italic; font-weight: 500; color: var(--bhi-blue);
}
.section-title-asym p { color: var(--contrast-4); font-size: 16px; margin: 0; }
@media (max-width: 768px) { .section-title-asym h2 { font-size: 30px; } }

.why-asym .eyebrow,
.service-areas-grid .eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bhi-blue); margin-bottom: 18px;
  background: rgba(44,44,238,0.07);
  border: 1px solid rgba(44,44,238,0.15);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.bottom-headline .eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); margin-bottom: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

/* ===== lead form ===== */
.lead-form { color: var(--contrast-2); }
.lead-form .form-headline {
  color: var(--bhi-blue);
  font-size: 28px; margin: 0 0 8px;
  letter-spacing: -0.015em; line-height: 1.15;
}
.lead-form .form-sub {
  font-size: 14.5px; color: var(--contrast-4); margin: 0 0 22px; line-height: 1.55;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 12px; color: var(--contrast-3); margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; box-sizing: border-box; padding: 12px 13px;
  border: 1px solid var(--border-hairline); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 14px; color: var(--contrast-2); background: #fff;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}
.form-grid textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.form-grid input:hover, .form-grid select:hover, .form-grid textarea:hover { border-color: var(--contrast-5); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--bhi-blue); box-shadow: var(--shadow-focus); }
.form-submit { margin-top: 18px; width: 100%; justify-content: center; padding: 16px 22px; font-size: 14.5px; }
.form-sla { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--contrast-4); letter-spacing: 0.01em; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success .check { width: 56px; height: 56px; border-radius: 999px; background: var(--bhi-blue-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .check svg { width: 28px; height: 28px; stroke: var(--bhi-blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { color: var(--bhi-blue); margin: 0 0 6px; font-size: 22px; }
.form-success p { color: var(--contrast-4); font-size: 14px; margin: 0; }
form.submitted .form-fields { display: none; }
form.submitted .form-success { display: block; }

/* ===== trust bar ===== */
.trust-bar { background: var(--base); border-bottom: 1px solid var(--border-hairline); padding: 20px 0; }
.trust-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-ic { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--bhi-blue-soft); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.trust-ic svg { width: 18px; height: 18px; stroke: var(--bhi-blue); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.trust-lbl { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--contrast-2); white-space: nowrap; }
@media (max-width: 768px) { .trust-grid { gap: 24px; justify-content: flex-start; } .trust-lbl { font-size: 13px; } }

/* ===== social proof bar ===== */
.social-proof { background: var(--base-2); padding: 16px 0; border-bottom: 1px solid var(--border-hairline); }
.review-bar { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.review-bar .stars { display: flex; gap: 3px; }
.review-bar .stars svg { width: 20px; height: 20px; fill: #F9B125; stroke: none; }
.review-bar .review-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--contrast-2); }
.review-bar .review-text span { font-weight: 400; color: var(--contrast-4); font-family: var(--font-sans); }
.platforms { display: flex; gap: 8px; }
.platform { padding: 4px 10px; border: 1px solid var(--border-hairline); border-radius: 999px; font-size: 12px; font-family: var(--font-display); font-weight: 700; color: var(--contrast-3); }

/* ===== reviews ===== */
.reviews { background: var(--base-2); }
.reviews .review-rating-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 14px;
}
.reviews .stars { display: flex; gap: 2px; }
.reviews .stars svg { width: 18px; height: 18px; fill: #F9B125; stroke: none; }
.reviews .rating-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--contrast-2); }
.reviews .rating-text span { color: var(--contrast-4); font-weight: 400; font-family: var(--font-sans); }

.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rev-grid { grid-template-columns: 1fr; } }

.rev-marquee {
  position: relative; overflow: hidden;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rev-track {
  display: flex; gap: 20px; width: max-content;
  animation: rev-scroll 60s linear infinite;
}
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes rev-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rev-card {
  background: #fff; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: 28px 26px; display: flex; flex-direction: column; position: relative;
  width: 360px; flex: 0 0 auto;
  box-shadow: var(--shadow-sm);
}
.rev-quote-mark {
  position: absolute; top: 16px; right: 22px;
  font-family: Georgia, serif; font-size: 64px; line-height: 1;
  color: var(--bhi-blue); opacity: 0.15;
}
.rev-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.rev-stars svg { width: 14px; height: 14px; fill: #F9B125; }
.rev-quote { font-size: 14.5px; line-height: 1.65; color: var(--contrast-2); margin: 0 0 22px; flex: 1; }
.rev-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-hairline); }
.rev-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--bhi-blue-soft); color: var(--bhi-blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.rev-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--contrast-2); line-height: 1.2; }
.rev-loc { font-size: 12px; color: var(--contrast-4); margin-top: 2px; }
.reviews-foot { text-align: center; margin-top: 36px; }
.review-link { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--bhi-blue); display: inline-flex; align-items: center; gap: 6px; }
.review-link:hover { color: var(--bhi-blue-hover); text-decoration: underline; }
.review-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== scope grid ===== */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scope-card {
  background: #fff; border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.scope-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(0,0,0,0.28); }
.scope-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.scope-body { padding: 22px 24px 26px; }
.scope-body h3, .scope-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--bhi-blue); letter-spacing: -0.01em; margin: 0 0 8px; }
.scope-card .scope-body h3, .scope-card .scope-body h4 { color: var(--bhi-blue); }
.scope-body p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--contrast-4); }
@media (max-width: 980px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scope-grid { grid-template-columns: 1fr; } }

/* ===== FAQ accordion ===== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-hairline); }
.faq-item:first-child { border-top: 1px solid var(--border-hairline); }
/* .faq-q is a <button>, so it inherits the global button{} base (blue bg,
   white text, pill radius). Fully isolate it from that cascade: reset
   appearance/radius and lock background + color across every state so the
   global button rules (incl. button:hover) can never leak in. */
.faq-q {
  width: 100%; text-align: left;
  -webkit-appearance: none; appearance: none;
  background: transparent; border: 0; border-radius: 0; cursor: pointer;
  padding: 24px 56px 24px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--contrast-2);
  position: relative; letter-spacing: -0.005em; line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
.faq-q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px;
  border-right: 2px solid var(--contrast-3); border-bottom: 2px solid var(--contrast-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--motion-base) var(--ease-standard);
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-q:focus { outline: none; }
.faq-q:focus-visible { outline: 2px solid var(--bhi-blue); outline-offset: 2px; }
/* No background or text-colour change on hover / active / focus / open —
   only the chevron rotates. Scoped via .faq-list to beat global button:hover. */
.faq-list .faq-q:hover, .faq-list .faq-q:active,
.faq-list .faq-q:focus, .faq-list .faq-item.open .faq-q {
  background: transparent; color: var(--contrast-2);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--motion-slow) var(--ease-standard), padding var(--motion-base) var(--ease-standard);
  color: var(--contrast-4); font-size: 15.5px; line-height: 1.7;
  padding: 0 56px 0 0;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 24px; }
@media (max-width: 768px) { .faq-q { font-size: 16px; padding: 20px 44px 20px 0; } }

/* ===== process ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; max-width: 1100px; margin: 0 auto;
}
.step {
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard);
}
.step.in-view { opacity: 1; transform: translateY(0); }
.step.in-view:nth-child(2) { transition-delay: 150ms; }
.step.in-view:nth-child(3) { transition-delay: 300ms; }
.step.in-view:nth-child(4) { transition-delay: 450ms; }
.step.in-view:nth-child(5) { transition-delay: 600ms; }
.step-icon {
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--bhi-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 8px var(--base), 0 6px 24px -8px rgba(44, 44, 238, 0.35);
  position: relative;
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.step.in-view .step-icon { animation: step-pop 600ms var(--ease-standard) backwards; }
.step.in-view:nth-child(2) .step-icon { animation-delay: 150ms; }
.step.in-view:nth-child(3) .step-icon { animation-delay: 300ms; }
.step.in-view:nth-child(4) .step-icon { animation-delay: 450ms; }
.step.in-view:nth-child(5) .step-icon { animation-delay: 600ms; }
@keyframes step-pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.step-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 18px; margin: 0 0 10px; color: var(--bhi-blue); letter-spacing: -0.005em; font-weight: 600; }
.step p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--contrast-4); }
.step-line {
  position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--border-hairline); z-index: 0;
  overflow: hidden;
}
.step-line::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--line-progress, 0%);
  background: var(--bhi-blue);
  transition: width 1200ms var(--ease-standard);
}
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding-left: 0;
  }
  .step-line { display: none; }
  .process-steps::before {
    content: '';
    position: absolute;
    left: 36px; top: 36px;
    height: var(--mobile-line-height, calc(100% - 72px));
    width: 2px;
    transform: translateX(-50%);
    background: var(--border-hairline);
    z-index: 0;
  }
  .process-steps::after {
    content: '';
    position: absolute;
    left: 36px; top: 36px;
    width: 2px;
    height: var(--mobile-line-height, calc(100% - 72px));
    transform: translateX(-50%) scaleY(var(--mobile-line-scale, 0));
    transform-origin: top center;
    background: var(--bhi-blue);
    transition: transform 600ms var(--ease-standard);
    z-index: 0;
  }
  .step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 20px;
    padding-bottom: 44px;
    text-align: left;
    position: relative;
    z-index: 1;
  }
  .step:last-child { padding-bottom: 0; }
  .step-icon {
    grid-row: 1 / span 2;
    align-self: start;
    margin: 0;
    box-shadow: 0 0 0 8px var(--base), 0 6px 24px -8px rgba(44,44,238,0.35);
    position: relative;
    z-index: 1;
  }
  .step h3 {
    grid-column: 2;
    align-self: center;
    margin: 0 0 8px;
  }
  .step p {
    grid-column: 2;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .step, .step.in-view, .step .step-icon { opacity: 1; transform: none; animation: none; transition: none; }
  .step-line::after { transition: none; }
}

/* ===== final CTA ===== */
.bottom-cta {
  background: var(--bhi-blue);
  position: relative; overflow: hidden;
  padding: 72px 0;
}
.bottom-cta::before {
  content: ""; position: absolute; pointer-events: none;
  inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%);
}
.bottom-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center; position: relative;
}
.bottom-headline { color: #fff; max-width: 540px; }
.bottom-headline .eyebrow { color: #fff; opacity: 0.85; }
.bottom-headline .eyebrow .eyebrow-line { background: #fff; opacity: 0.6; }
.bottom-headline h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.04;
  letter-spacing: -0.02em; color: #fff;
  margin: 0 0 20px;
}
.bottom-headline h2 em { font-style: italic; font-weight: 500; color: #fff; }
.bottom-headline p {
  font-size: 17px; color: rgba(255,255,255,0.88); margin: 0 0 28px; line-height: 1.65;
  max-width: 44ch;
}
.bottom-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.bottom-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.bottom-meta svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; opacity: 0.95; }
.bottom-form-card {
  background: #fff; color: var(--contrast-2);
  border-radius: var(--radius-xl); padding: 36px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.35);
}
.bottom-form-card .form-headline {
  font-size: 24px; margin: 0 0 6px; color: var(--bhi-blue);
  letter-spacing: -0.015em; line-height: 1.15;
  font-family: var(--font-display); font-weight: 700;
}
.bottom-form-card .form-sub { font-size: 14px; color: var(--contrast-4); margin: 0 0 20px; line-height: 1.55; }
@media (max-width: 980px) {
  .bottom-cta { padding: 56px 0; }
  .bottom-grid { grid-template-columns: 1fr; gap: 40px; }
  .bottom-headline h2 { font-size: 36px; }
  .bottom-form-card { padding: 28px; }
}

/* ===== footer ===== */
footer { background: var(--contrast-2); color: var(--contrast-5); padding: 80px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; align-items: center; }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand .name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-top: 12px; }
.foot-brand p { font-size: 13.5px; line-height: 1.65; color: var(--contrast-5); margin: 10px 0 22px; max-width: 32ch; }
.foot-phone {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; color: #fff;
  letter-spacing: -0.01em; line-height: 1; margin-bottom: 10px;
  text-decoration: none;
}
.foot-phone:hover { color: var(--bhi-blue-soft); }
.foot-email {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 13.5px; margin-bottom: 22px;
}
.foot-email:hover { color: var(--bhi-blue-soft); }
.foot-email svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; transition: all var(--motion-fast) var(--ease-standard); }
.foot-social a:hover { background: var(--bhi-blue); border-color: var(--bhi-blue); }
.foot-social svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.foot-col h6 { color: #fff; font-size: 12px; margin: 0 0 20px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-col a { color: var(--contrast-5); font-family: var(--font-sans); font-size: 13.5px; }
.foot-col a:hover { color: #fff; }
.foot-col li { line-height: 1.4; font-size: 13.5px; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--contrast-5); }
.foot-bottom .legal a { color: var(--contrast-5); margin-left: 22px; }
.foot-bottom .legal a:hover { color: #fff; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-phone { font-size: 24px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== page-to-page fade transition ===== */
html.page-fade body { opacity: 0; transition: opacity 240ms var(--ease-standard); }
html.page-fade body.page-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.page-fade body { opacity: 1 !important; transition: none !important; }
}

/* ===== scroll-triggered fade-in ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard);
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 80ms; }
.fade-in.delay-2 { transition-delay: 160ms; }
.fade-in.delay-3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== home hero ===== */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    var(--hero-img, url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=70'))
    center / cover no-repeat;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  margin-top: -72px;
}
/* Mobile: the stacked hero (content panel + full form card) is so tall that a
   cover-fit photo crops to a low-quality sliver, so drop the image and use a
   clean solid brand-blue field instead. Desktop/tablet keep the photo. */
@media (max-width: 768px) {
  .home-hero { background-image: none; background-color: var(--bhi-blue); }
  .home-hero::before { display: none; }
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(11, 11, 11, 0.62) 0%, rgba(11, 11, 11, 0.28) 55%, rgba(11, 11, 11, 0.10) 100%);
}
.home-hero .hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
}
.hero-content {
  background: rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-xl);
  padding: 44px 44px 40px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  margin-bottom: 22px;
}
.hero-eyebrow .eyebrow-line { width: 38px; height: 1px; background: #fff; opacity: 0.85; display: inline-block; }
.hero-content h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 18px;
  text-wrap: balance;
}
.hero-content h1 em { font-style: italic; font-weight: 500; }
.hero-content h1 .accent-blue { color: var(--bhi-blue-soft); }
.hero-content > p {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.92); margin: 0 0 26px; max-width: 46ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-content .hero-actions .btn-white { padding: 14px 26px; }

.hero-stat-card {
  margin-top: 28px;
  background: rgba(255,255,255,0.88); color: var(--contrast-2);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-pill);
  padding: 12px 18px 12px 14px;
  display: inline-flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.35);
}
.hero-stat-card .avatars { display: flex; }
.hero-stat-card .avatars span {
  width: 28px; height: 28px; border-radius: 999px; border: 2px solid #fff;
  background-size: cover; background-position: center; margin-right: -10px; flex: 0 0 auto;
  background-color: var(--bhi-blue-soft);
}
.hero-stat-card .stat-text {
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.1;
}
.hero-stat-card .stars-mini { display: inline-flex; gap: 1px; }
.hero-stat-card .stars-mini svg { width: 13px; height: 13px; fill: #F9B125; }
.hero-stat-card .stat-num { color: var(--bhi-blue); font-weight: 700; }
.hero-stat-card .stat-divider { width: 1px; height: 14px; background: var(--border-hairline); display: inline-block; margin: 0 4px; }
@media (max-width: 768px) {
  .home-hero { padding: 100px 0 48px; }
}

@media (max-width: 480px) {
  .hero-stat-card {
    flex-wrap: wrap;
    border-radius: var(--radius-xl);
    padding: 12px 14px;
    max-width: 100%;
  }
  .hero-stat-card .stat-text {
    flex-wrap: wrap;
    gap: 6px;
  }
}

.hero-form-card {
  background: #fff; color: var(--contrast-2);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.45);
}
.hero-form-card .form-headline {
  font-size: 22px; line-height: 1.2; margin: 0 0 4px;
  color: var(--bhi-blue); font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-form-card .form-sub { font-size: 13.5px; color: var(--contrast-4); margin: 0 0 18px; line-height: 1.5; }
.hero-form-card .form-grid input,
.hero-form-card .form-grid select,
.hero-form-card .form-grid textarea { padding: 11px 12px; font-size: 14px; }
.hero-form-card .form-grid label { font-size: 11.5px; margin-bottom: 4px; }
.hero-form-card .form-grid textarea { min-height: 72px; }
.hero-form-card .form-submit { margin-top: 14px; padding: 14px 20px; }
.hero-form-card .form-sla { margin-top: 8px; font-size: 11.5px; }

@media (max-width: 1020px) {
  .home-hero { min-height: 100vh; padding: 140px 0 72px; }
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding: 32px 28px 30px; }
  .hero-content h1 { font-size: clamp(34px, 7vw, 52px); }
}

/* ===== asymmetric Why Choose layout ===== */
.why-asym {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start;
}
.why-asym .why-left { padding-right: 8px; }
.why-asym h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  letter-spacing: -0.018em; line-height: 1.05; margin: 0 0 18px;
  color: var(--bhi-blue);
  font-family: var(--font-serif); font-weight: 600;
}
.why-asym h2 em {
  font-style: italic; font-weight: 500; color: var(--bhi-blue);
}
.service-areas-grid h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 42px; letter-spacing: -0.015em; color: var(--bhi-blue); margin: 0 0 12px;
}
.service-areas-grid h2 em { font-style: italic; font-weight: 500; color: var(--bhi-blue); }
@media (max-width: 768px) { .service-areas-grid h2 { font-size: 30px; } }
.why-asym .why-lead {
  font-size: 16.5px; color: var(--contrast-4); line-height: 1.7; margin: 0 0 28px; max-width: 44ch;
}
.why-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 22px 0; max-width: 480px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.why-stat .num {
  font-family: var(--font-serif); font-weight: 600; font-size: 36px;
  color: var(--bhi-blue); line-height: 1; margin-bottom: 6px;
}
.why-stat .label {
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--contrast-4);
  line-height: 1.3;
}
.why-asym .why-right { display: flex; flex-direction: column; gap: 4px; }
.why-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 24px 0; border-bottom: 1px solid var(--border-hairline);
  align-items: start;
}
.why-row:first-child { padding-top: 0; }
.why-row:last-child { border-bottom: 0; }
.why-row .why-ic {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--bhi-blue-soft); color: var(--bhi-blue);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.why-row .why-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-row h4 { font-size: 18px; margin: 4px 0 6px; color: var(--bhi-blue); letter-spacing: -0.005em; }
.why-row p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--contrast-4); }
@media (max-width: 980px) {
  .why-asym { grid-template-columns: 1fr; gap: 44px; }
  .why-asym h2 { font-size: 32px; }
}

/* ===== image card utility ===== */
.img-card {
  display: block; overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 40px -16px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.05);
  background: var(--cream-deep);
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.img-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(0,0,0,0.28), 0 4px 8px rgba(0,0,0,0.06); }

/* ===== inner-page hero ===== */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.30) 60%, rgba(11,11,11,0.55) 100%),
    var(--page-hero-img, url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?auto=format&fit=crop&w=1920&q=70')) center / cover;
  color: #fff; padding: 120px 0;
}
@media (max-width: 768px) { .page-hero { padding: 72px 0; } }
.page-hero h1 {
  color: #fff; font-size: 48px; line-height: 1.05;
  letter-spacing: -0.01em; margin: 0 0 18px;
  max-width: 16ch; text-wrap: balance; font-weight: 700;
}
.page-hero p.lead {
  color: rgba(255,255,255,0.94); font-size: 18px; line-height: 1.55;
  max-width: 50ch; margin: 0 0 28px;
}
.page-hero .eyebrow-on-dark {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px; display: inline-block;
}
@media (max-width: 980px) { .page-hero h1 { font-size: 36px; } }

/* ===== before/after slider ===== */
.ba-slider {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  user-select: none; touch-action: pan-y;
  margin-bottom: 48px;
}
.ba-layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ba-layer-after { z-index: 1; }
.ba-layer-before { z-index: 2; clip-path: inset(0 50% 0 0); transition: none; }
.ba-divider {
  position: absolute; top: 0; left: 50%; height: 100%;
  width: 3px; background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.ba-handle-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.32);
  display: flex; align-items: center; justify-content: center;
  pointer-events: all; cursor: ew-resize; flex-shrink: 0;
  color: var(--bhi-blue);
  border: 2px solid var(--bhi-blue);
}
.ba-handle-glyph {
  display: block; line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 26px; font-weight: 600;
  letter-spacing: 2px;
  color: inherit;
  margin-top: -2px;
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
}
.ba-handle-btn:hover,
.ba-handle-btn:active { background: var(--bhi-blue); color: #fff; }
.ba-tag {
  position: absolute; top: 14px; z-index: 4;
  padding: 4px 10px;
  background: rgba(11,11,11,.72); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius-sm); pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after  { right: 14px; }
.ba-caption {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px;
}
.ba-loc { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--contrast-2); }
.ba-detail { font-size: 13px; color: var(--contrast-4); }

/* ===== asymmetric project photo grid ===== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 230px 230px;
  gap: 20px;
}
.proj {
  border-radius: var(--radius-xl);
  background-size: cover; background-position: center;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.05);
  position: relative; overflow: hidden; text-decoration: none;
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.proj:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(0,0,0,0.28); }
.proj::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.proj .label {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
}
.proj-1 { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.proj-2 { grid-column: 4 / span 3; grid-row: 1; }
.proj-3 { grid-column: 4 / span 2; grid-row: 2; }
.proj-4 { grid-column: 6 / span 1; grid-row: 2; }
@media (max-width: 980px) {
  .proj-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .proj-1 { grid-column: 1 / -1; grid-row: 1; }
  .proj-2 { grid-column: 1; grid-row: 2; }
  .proj-3 { grid-column: 2; grid-row: 2; }
  .proj-4 { grid-column: 1 / -1; grid-row: 3; }
}

/* ===== mid-page CTA banner ===== */
.midpage-cta { background: var(--bhi-blue); padding: 80px 0; text-align: center; }
.midpage-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.midpage-cta h2 {
  font-family: var(--font-serif); color: #fff;
  font-size: 42px; line-height: 1.1; margin: 0;
  max-width: 20ch; text-wrap: balance;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--bhi-blue);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  transition: background var(--motion-base) var(--ease-standard);
}
.btn-white:hover { background: var(--base-2); }
@media (max-width: 768px) { .midpage-cta h2 { font-size: 30px; } }

/* === GeneratePress Reset === */
.site-main { padding: 0 !important; }
.inside-article { padding: 0 !important; }
.entry-content { padding: 0 !important; }
.entry-header { display: none !important; }
.site-content { padding: 0 !important; }
#page { padding: 0 !important; }
.generate-columns-container { margin: 0 !important; }
/* We own header and footer — hide GP's */
.site-header.has-inline-mobile-toggle { display: none !important; }
body > .site-footer { display: none !important; }

/* GP "one-container" body class constrains body to ~1185px and paints it cream;
   our standalone-doc templates need the full viewport. Reset the body shell. */
html {
	background-color: var(--base);   /* cream canvas so the scrollbar gutter never shows the dark-mode canvas */
	color-scheme: light;             /* scrollbars + form controls render light under OS dark mode */
}
body.one-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
/* GP rule `.one-container .container { background: var(--base); color: var(--contrast-4); }`
   paints every .container cream and forces grey body text. Our .container is
   purely a width helper — keep it transparent and inherit color so section
   backgrounds (.bottom-cta blue, .midpage-cta blue, .home-hero photo) and
   section text colors (white on .home-hero, .bottom-cta) cascade correctly. */
.one-container .container,
.one-container .inside-article,
.one-container .page-header,
.one-container .paging-navigation {
	background: transparent !important;
	color: inherit !important;
}

/* ===== Forminator full-form overrides — shared across all form cards =====
   Applies to .hero-form-card, .bottom-form-card, .contact-form-card.
   Field/button/select rules are identical for all three; only card-level
   chrome (padding, headline) differs per card and lives in its own block. */

/* 1. Reorder so submit sits above SLA (SLA is the html-1 row above submit
      in Forminator's source order — flex order flips them visually). */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-ui { display: flex; flex-direction: column; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row-last { order: 2; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field-html { order: 3; }

/* 2. Row rhythm — kill Forminator's ~20px default, force 10px tight gap. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row { margin-bottom: 10px !important; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row:last-child { margin-bottom: 0 !important; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field { margin: 0 !important; padding: 0 !important; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-col { margin: 0 !important; padding: 0 !important; }

/* 3. 2-col grid hold for First/Last + Phone/City (Forminator's default grid
      collapses below 782px; our cards are narrower than that). */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row { display: flex; flex-wrap: wrap; gap: 12px; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-col { flex: 1 1 0; min-width: 0; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-col-12 { flex: 1 1 100%; }

/* 4. Address sub-field — City lives in a nested forminator-row inside an
      address field; strip the inner row's flex so City fills its half-col. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field-address .forminator-row { display: block; margin: 0; gap: 0; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field-address .forminator-col { flex: none; width: 100%; }

/* 5. Hide required asterisks. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-required { display: none; }

/* 6. Label density. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-label {
  font-size: 11px !important; font-weight: 600;
  margin-bottom: 4px; line-height: 1.3;
  color: var(--contrast-3);
  text-transform: none; letter-spacing: 0;
}

/* 7. Inputs / textarea — match hero baseline density. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-input,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-textarea {
  padding: 11px 12px; font-size: 13.5px !important; line-height: 1.4;
  border: 1px solid var(--border-hairline); border-radius: 8px;
  background: #fff; color: var(--contrast-2);
  width: 100%;
}
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-textarea {
  min-height: 72px; max-height: 88px;
  --forminator-textarea-min-height: 72px;
}

/* 8. Submit — pill, brand blue, sans-serif, weight 700, with !important
      to beat Forminator base button styling. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row-last .forminator-col,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-row-last .forminator-field {
  display: flex; justify-content: center; padding: 0;
}
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-button-submit {
  background: var(--bhi-blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  min-width: 220px;
  width: auto !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard);
}
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-button-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(44,44,238,0.45);
}

/* 9. Service Needed — hide Select2; force the native <select> visible with
      maximum specificity to beat Select2's post-init inline styles. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .select2-container { display: none !important; }
body :is(.hero-form-card, .bottom-form-card, .contact-form-card) form select.forminator-select--field,
body :is(.hero-form-card, .bottom-form-card, .contact-form-card) form select.forminator-select--field.select2-hidden-accessible,
body :is(.hero-form-card, .bottom-form-card, .contact-form-card) form select.forminator-select2 {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 11px 36px 11px 12px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  color: var(--contrast-2) !important;
  background-color: #fff !important;
  border: 1px solid var(--border-hairline) !important;
  border-radius: 8px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px !important;
  cursor: pointer !important;
  clip: auto !important;
  clip-path: none !important;
}
:is(.hero-form-card, .bottom-form-card, .contact-form-card) form select.forminator-select--field:focus {
  outline: 2px solid var(--bhi-blue) !important;
  outline-offset: 1px;
  border-color: var(--bhi-blue) !important;
}

/* 10. SLA row — placement + typography. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field-html { margin-top: 6px !important; margin-bottom: 0 !important; }
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-field-html .form-sla {
  margin: 0 !important;
  font-size: 11px !important;
  text-align: center;
  color: var(--contrast-4);
}

/* 11. Hide Forminator's admin-only "Edit form" link on the front-end. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-edit-module,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-edit-link,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) a.forminator-form-edit-link,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) .wpmu-edit-form,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) a[href*="post.php?post=2832"],
:is(.hero-form-card, .bottom-form-card, .contact-form-card) a[href*="forminator"] {
  display: none !important;
}

/* 12. Strip trailing margin/padding on the form so there's no empty gap below
      the submit + SLA stack. */
:is(.hero-form-card, .bottom-form-card, .contact-form-card) form.forminator-ui,
:is(.hero-form-card, .bottom-form-card, .contact-form-card) form.forminator-custom-form {
  margin: 0 !important;
  padding: 0 !important;
}

/* 13. Mobile collapse — drop col-6 to full width at very narrow viewports. */
@media (max-width: 480px) {
  :is(.hero-form-card, .bottom-form-card, .contact-form-card) .forminator-col-6 { flex: 1 1 100%; }
}

/* ===== .contact-form-card — hoisted from page-contact.php for single source =====
   page-contact.php still owns the surrounding contact-section / contact-grid
   layout; this block only owns the form-card chrome. */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 16px 56px -16px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.04);
}
.contact-form-card .form-headline {
  font-size: 24px; margin: 0 0 24px;
  color: var(--bhi-blue); letter-spacing: -0.015em; line-height: 1.15;
  font-family: var(--font-display); font-weight: 700;
}
@media (max-width: 600px) { .contact-form-card { padding: 28px 20px; } }

/* ===== Hero-form-bar — slim Forminator form (id 2833) inline alignment =====
   Forminator renders the 4 fields in one row and the submit button in a
   separate full-width row below, so the button lands on a different plane
   than the inputs. Lay the form on a single line with the button bottom-
   aligned to the inputs. Shared across service / town / about / gallery
   (the inline .hero-form-bar-form rules in those templates predate the
   Forminator swap and don't match Forminator's DOM). Loaded after the
   templates' inline <style>, so these win. */
.hero-form-bar .forminator-ui {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
}
/* Round inputs + submit to match the hero form card (the radius rules above
   are scoped to the card classes only, so the bar needs its own). */
.hero-form-bar .forminator-input,
.hero-form-bar .forminator-textarea { border-radius: 8px; }
.hero-form-bar .forminator-button { border-radius: 999px !important; }
.hero-form-bar .forminator-ui > .forminator-row { margin-bottom: 0 !important; }
.hero-form-bar .forminator-ui > .forminator-row:first-child { flex: 1 1 0%; min-width: 0; }
.hero-form-bar .forminator-ui > .forminator-row-last { flex: 0 0 auto; width: auto; }
.hero-form-bar .forminator-ui > .forminator-row-last .forminator-button { white-space: nowrap; }
@media (max-width: 820px) {
  /* Stack the slim form cleanly: drop the inline-flex layout so each field and
     the submit button go full-width and line up edge-to-edge. Centre the heading. */
  .hero-form-bar-head { text-align: center; }
  .hero-form-bar .forminator-ui { display: block; }
  .hero-form-bar .forminator-ui > .forminator-row { margin-bottom: 12px !important; }
  .hero-form-bar .forminator-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  .hero-form-bar .forminator-button { width: 100% !important; justify-content: center; }
}
