/* Header + footer matched to southjerseyconstruction.biz (ported from its style.css, classes prefixed sjh-) */
.sjh-header, .sjh-footer {
  --white: #ffffff; --navy: #0b2545; --orange: #e86f19; --body: #555555; --border: #e3e6ec; --band: #f3f5f8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--body); letter-spacing: normal; text-transform: none; text-align: left;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.sjh-header *, .sjh-footer * { box-sizing: border-box; }
.sjh-header a, .sjh-footer a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.sjh-header img { max-width: 100%; height: auto; }
html { scroll-padding-top: 190px; }
@media (max-width: 900px) { html { scroll-padding-top: 130px; } }
.sjh-inner, .sjh-footer-inner { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sjh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.06);
}
.sjh-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.sjh-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: 142px;
  text-decoration: none;
}
.sjh-brand img { display: block; width: 142px; max-height: 118px; object-fit: contain; }
.sjh-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}
.sjh-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.sjh-nav a:hover, .sjh-nav a.active { color: var(--orange); }
.sjh-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.sjh-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}
.sjh-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sjh-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sjh-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sjh-footer {
  padding: 58px 0 28px;
  background: var(--band);
  border-top: 1px solid var(--border);
}
@media (max-width: 1100px) {
  .sjh-nav { gap: 14px; }
  .sjh-nav a { font-size: 13px; }
}
@media (max-width: 900px) {
  .sjh-inner { min-height: 74px; gap: 14px; }
  .sjh-brand, .sjh-brand img { width: 112px; }
  .sjh-toggle { display: block; }
  .sjh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 32px rgba(11,37,69,0.12);
  }
  .sjh-nav.is-open { display: flex; }
  .sjh-nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .sjh-inner, .sjh-footer-inner { width: min(100% - 28px, 1120px); }
}
.sjh-brand picture { display: block; }
.sjh-brand img.sjh-logo { width: 128px; height: auto; max-height: none; }
@media (max-width: 900px) {
  .sjh-brand { width: auto; }
  .sjh-brand img.sjh-logo { width: 92px; }
}
@media (max-width: 480px) {
  .sjh-brand img.sjh-logo { width: 84px; }
}
.sjh-inner { min-height: 160px; }
.sjh-brand { width: auto; }
.sjh-brand img.sjh-logo { width: 190px; height: auto; max-height: none; }
@media (max-width: 1100px) {
  .sjh-brand img.sjh-logo { width: 170px; }
}
@media (max-width: 900px) {
  .sjh-inner { min-height: 116px; }
  .sjh-brand { width: auto; }
  .sjh-brand img.sjh-logo { width: 132px; }
}
@media (max-width: 480px) {
  .sjh-brand img.sjh-logo { width: 130px; }
}
@media (max-width: 1000px) {
  .sjh-toggle { display: block; }
  .sjh-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 18px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 18px 32px rgba(11,37,69,0.12); }
  .sjh-nav.is-open { display: flex; }
  .sjh-nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .sjh-inner { min-height: 150px; }
}
@media (max-width: 900px) {
  .sjh-inner { min-height: 116px; }
}
.sjh-info { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding-left: 22px; border-left: 2px solid var(--border); color: var(--navy); line-height: 1.25; }
.sjh-contact { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 650; }
.sjh-contact .sjh-line { white-space: nowrap; }
.sjh-contact a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(11,37,69,.35); text-underline-offset: 3px; }
.sjh-contact a:hover { color: var(--orange); }
.sjh-contact a.sjh-number { font-size: 19px; font-weight: 850; text-decoration: none; }
.sjh-247 { color: var(--orange); font-weight: 850; }
@media (max-width: 1240px) {
  .sjh-inner { gap: 18px; }
  .sjh-info { padding-left: 16px; }
  .sjh-contact { font-size: 14px; }
  .sjh-contact a.sjh-number { font-size: 17px; }
  .sjh-nav { gap: 14px; }
}
@media (max-width: 1000px) {
  .sjh-inner { min-height: 130px; }
  .sjh-toggle { margin-left: auto; }
}
@media (max-width: 900px) {
  .sjh-inner { min-height: 104px; }
}
@media (max-width: 560px) {
  .sjh-inner { gap: 10px; min-height: 92px; }
  .sjh-brand img.sjh-logo { width: 96px; }
  .sjh-info { padding-left: 10px; gap: 3px; }
  .sjh-contact { font-size: 13px; display: flex; flex-direction: column; gap: 1px; }
  .sjh-contact a.sjh-number { font-size: 15px; }
}
@media (max-width: 360px) {
  .sjh-brand img.sjh-logo { width: 84px; }
}
.sjh-info { gap: 0; }
.sjh-contact { gap: 2px; }
.sjh-inner { min-height: 190px; }
.sjh-brand img.sjh-logo { width: 228px; }
@media (max-width: 1100px) {
  .sjh-brand img.sjh-logo { width: 204px; }
}
@media (max-width: 1000px) {
  .sjh-inner { min-height: 156px; }
}
@media (max-width: 900px) {
  .sjh-inner { min-height: 125px; }
  .sjh-brand img.sjh-logo { width: 158px; }
}
@media (max-width: 560px) {
  .sjh-inner { min-height: 110px; }
  .sjh-brand img.sjh-logo { width: 115px; }
}
@media (max-width: 360px) {
  .sjh-brand img.sjh-logo { width: 101px; }
}
@media (max-width: 440px) {
  .sjh-inner { gap: 8px; }
  .sjh-info { padding-left: 8px; }
  .sjh-contact a.sjh-number { font-size: 14px; }
  .sjh-contact .sjh-247 { font-size: 12px; }
  .sjh-contact { font-size: 12.5px; }
}
@media (max-width: 370px) {
  .sjh-contact .sjh-line { white-space: normal; }
}
@media (min-width: 1181px) {
  .sjh-info { flex-shrink: 0; }
}
@media (max-width: 1180px) {
  .sjh-toggle { display: block; margin-left: auto; }
  .sjh-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 18px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 18px 32px rgba(11,37,69,0.12); }
  .sjh-nav.is-open { display: flex; }
  .sjh-nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 1180px) and (min-width: 1001px) {
  .sjh-inner { min-height: 190px; }
}
@media (max-width: 400px) {
  .sjh-contact a.sjh-number { font-size: 13.5px; }
  .sjh-info { padding-left: 7px; }
}
@media (max-width: 1360px) and (min-width: 1181px) {
  .sjh-nav { gap: 13px; }
  .sjh-nav a { font-size: 13px; }
}
.sjh-contact .sjh-addr-line { margin-top: 3px; }
.sjh-contact a.sjh-address { font-size: 13.5px; font-weight: 600; color: var(--body); text-decoration: underline; text-decoration-color: rgba(11,37,69,.25); text-underline-offset: 3px; }
.sjh-contact a.sjh-address:hover { color: var(--orange); }
@media (max-width: 1240px) {
  .sjh-contact a.sjh-address { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .sjh-contact .sjh-addr-line { white-space: normal; margin-top: 1px; }
  .sjh-contact a.sjh-address { font-size: 11px; line-height: 1.25; }
}
.sjh-footer-min { padding: 28px 0 30px; }
.sjh-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.sjh-footer-line { margin: 0; color: var(--body); font-size: 14px; line-height: 1.6; }
.sjh-footer-line a { color: var(--navy); }
@media (max-width: 700px) {
  .sjh-footer-inner { flex-direction: column; align-items: flex-start; }
  .sjh-footer-line { font-size: 13px; }
}
.sjh-contact a.sjh-address { font-size: 10.5px; color: #5a6b82; text-decoration-color: rgba(90,107,130,.35); }
@media (max-width: 1240px) {
  .sjh-contact a.sjh-address { font-size: 10px; }
}
@media (max-width: 560px) {
  .sjh-contact a.sjh-address { font-size: 10px; }
}
.sjh-inner { min-height: 0 !important; padding-block: 8px; align-items: center; }
.sjh-inner .sjh-brand { align-self: flex-start; }
.sjh-inner .sjh-info { align-self: flex-start; justify-content: flex-start; margin-top: 6px; }
@media (max-width: 560px) {
  .sjh-inner .sjh-info { margin-top: 2px; }
}
.sjh-inner { min-height: 0 !important; padding-block: 5px; align-items: center; }
.sjh-inner .sjh-brand { align-self: center; margin: 0; }
.sjh-inner .sjh-info { align-self: flex-start; margin-top: 0; }
@media (max-width: 560px) {
  .sjh-inner { width: calc(100% - 20px); }
  .sjh-inner { gap: 8px; padding-block: 5px; }
  .sjh-brand img.sjh-logo { width: 142px; }
  .sjh-toggle { width: 40px; height: 40px; padding: 8px; }
  .sjh-info { padding-left: 8px; }
  .sjh-contact { font-size: 11.5px; line-height: 1.2; gap: 1px; }
  .sjh-contact a.sjh-number { font-size: 12.5px; }
  .sjh-contact .sjh-247 { font-size: 11px; }
  .sjh-contact a.sjh-address { font-size: 9.5px; line-height: 1.2; }
}
@media (max-width: 400px) {
  .sjh-brand img.sjh-logo { width: 140px; }
  .sjh-contact a.sjh-number { font-size: 12px; }
}
@media (max-width: 370px) {
  .sjh-brand img.sjh-logo { width: 116px; }
}
@media (max-width: 340px) {
  .sjh-brand img.sjh-logo { width: 104px; }
}
.sjh-inner .sjh-info { padding-top: 0; }
.sjh-inner .sjh-brand { align-self: flex-start; }
.sjh-footer.sjh-footer-min { padding: 11px 0; margin: 0; border-top: 0; }
.sjh-footer-min .sjh-footer-inner { display: block; text-align: center; }
.sjh-footer-min .sjh-footer-line { font-size: 11px; line-height: 1.5; color: #6b7686; margin: 0; }
.sjh-footer-min .sjh-footer-line a { color: #6b7686; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) {
  .sjh-footer-min .sjh-footer-line { font-size: 10px; }
}
@media (min-width: 1181px) and (max-width: 1480px) {
  .sjh-nav { gap: 15px; }
  .sjh-nav a { font-size: 13px; }
}
.sjh-contact .sjh-email-line { margin-top: 1px; }
.sjh-contact a.sjh-email { font-size: 10px; font-weight: 600; color: #5a6b82; text-decoration: underline; text-decoration-color: rgba(90,107,130,.35); text-underline-offset: 3px; }
.sjh-contact a.sjh-email:hover { color: var(--orange); }
@media (max-width: 560px) {
  .sjh-contact a.sjh-email { font-size: 9.5px; line-height: 1.2; }
  .sjh-contact .sjh-email-line { white-space: normal; word-break: break-all; }
}
@media (max-width: 560px) {
  .sjh-contact { gap: 0; line-height: 1.15; }
  .sjh-contact .sjh-addr-line, .sjh-contact .sjh-email-line { margin-top: 0; }
  .sjh-contact a.sjh-address, .sjh-contact a.sjh-email { line-height: 1.15; text-underline-offset: 2px; }
  .sjh-contact .sjh-email-line { word-break: normal; overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .sjh-contact .sjh-email-line { white-space: nowrap; overflow-wrap: normal; }
  .sjh-contact .sjh-line:first-child { margin-bottom: 1px; }
}
@media (max-width: 400px) {
  .sjh-brand img.sjh-logo { width: 130px; }
  .sjh-info { padding-left: 7px; }
  .sjh-inner { gap: 7px; }
}
@media (max-width: 370px) {
  .sjh-brand img.sjh-logo { width: 110px; }
  .sjh-contact a.sjh-email { font-size: 9px; }
}
@media (max-width: 340px) {
  .sjh-brand img.sjh-logo { width: 96px; }
}
@media (max-width: 385px) {
  .sjh-brand img.sjh-logo { width: 122px; }
  .sjh-contact a.sjh-email { font-size: 9px; }
}
@media (max-width: 370px) {
  .sjh-brand img.sjh-logo { width: 106px; }
}
@media (max-width: 350px) {
  .sjh-brand img.sjh-logo { width: 86px; }
  .sjh-contact { font-size: 10.5px; }
  .sjh-contact a.sjh-number { font-size: 11px; }
  .sjh-contact .sjh-247 { font-size: 10px; }
  .sjh-contact a.sjh-address { font-size: 9px; }
  .sjh-contact a.sjh-email { font-size: 8.5px; }
  .sjh-toggle { width: 36px; height: 36px; padding: 7px; }
}
.sjh-info .sjh-contact { margin-top: 0; padding-top: 0; }
.sjh-contact .sjh-line:first-child { line-height: 1.05; }
.sjh-inner .sjh-info { align-self: center; justify-content: center; margin: 0; padding-top: 0; padding-bottom: 0; }
.sjh-info .sjh-contact { display: flex; flex-direction: column; gap: 7px; margin: 0; line-height: 1.25; }
.sjh-info .sjh-contact .sjh-line { display: block; margin: 0 !important; line-height: 1.25; }
.sjh-info .sjh-contact a.sjh-address, .sjh-info .sjh-contact a.sjh-email { line-height: 1.25; }
@media (max-width: 1240px) {
  .sjh-info .sjh-contact { gap: 6px; }
}
@media (max-width: 900px) {
  .sjh-info .sjh-contact { gap: 5px; }
}
@media (max-width: 560px) {
  .sjh-info .sjh-contact { gap: 4px; }
  .sjh-info .sjh-contact .sjh-line, .sjh-info .sjh-contact a.sjh-address, .sjh-info .sjh-contact a.sjh-email { line-height: 1.2; }
}
.sjh-info .sjh-contact { gap: 10px; }
@media (max-width: 1240px) {
  .sjh-info .sjh-contact { gap: 9px; }
}
@media (max-width: 1000px) {
  .sjh-info .sjh-contact { gap: 7px; }
}
@media (max-width: 900px) {
  .sjh-info .sjh-contact { gap: 5px; }
}
@media (max-width: 560px) {
  .sjh-info .sjh-contact { gap: 4px; }
}
.sjh-inner .sjh-brand { align-self: center; }
.sjh-info .sjh-contact .sjh-line:nth-child(2), .sjh-info .sjh-contact .sjh-addr-line { margin-bottom: 14px !important; }
@media (max-width: 1240px) {
  .sjh-info .sjh-contact .sjh-line:nth-child(2), .sjh-info .sjh-contact .sjh-addr-line { margin-bottom: 12px !important; }
}
@media (max-width: 900px) {
  .sjh-info .sjh-contact .sjh-line:nth-child(2), .sjh-info .sjh-contact .sjh-addr-line { margin-bottom: 10px !important; }
}
@media (max-width: 560px) {
  .sjh-info .sjh-contact .sjh-line:nth-child(2), .sjh-info .sjh-contact .sjh-addr-line { margin-bottom: 8px !important; }
}
