/* eaed73f7 layout untouched; only the contact section background is replaced. */
section.footer-contact-v24, #contact.footer-contact-v24.contact-photo-only {
 background-image:url('/assets/contact-team-notext-1920-20261117.jpg')!important;
 background-image:linear-gradient(to bottom,transparent calc(var(--photo-height) * .68),#041e1a calc(var(--photo-height) * .7956)),image-set(url('/assets/contact-team-notext-1920-20261117.webp') type('image/webp'),url('/assets/contact-team-notext-1920-20261117.jpg') type('image/jpeg'))!important;
}
section.footer-contact-v24::after, #contact.footer-contact-v24.contact-photo-only::after {
 background-image:url('/assets/contact-team-notext-1920-20261117.jpg')!important;
 background-image:image-set(url('/assets/contact-team-notext-1920-20261117.webp') type('image/webp'),url('/assets/contact-team-notext-1920-20261117.jpg') type('image/jpeg'))!important;
}

/* 2026-11-17 floating contact: existing service-card tokens from
   business-two-services-20261116.css:16-25. No HTML or image changes.
   The parent content width is the query basis; subtract the card gutters.
   Keep legacy 1697/2400 coordinate scale for copy/gradient positions. */
:where(#reference-contact, main):has(> #contact.footer-contact-v24) {
 container-type:inline-size;
}
#contact.footer-contact-v24 {
 --contact-card-gutter:24px;
 --photo-height:calc((100cqw - var(--contact-card-gutter) * 2) * 1697 / 2400);
 width:calc(100% - var(--contact-card-gutter) * 2)!important;
 margin:24px var(--contact-card-gutter)!important;
 border-radius:32px!important;
 overflow:hidden;
 box-shadow:0 12px 32px rgba(0,0,0,.18);
}
@media(max-width:767px) {
 #contact.footer-contact-v24 {
  --contact-card-gutter:12px;
  margin-block:16px!important;
  border-radius:20px!important;
 }
}

/* Review 1572161888006176852: restore the 37e4b77b text width.
   Desktop: 40 - 24 = 16px. Mobile: 22 - 12 = 10px.
   768-1000px originally had 22px padding, less than the new 24px gutter;
   preserve that text width with a 2px inner overhang, not negative padding. */
#contact.footer-contact-v24 {padding-inline:16px}
@media(max-width:767px) {
 #contact.footer-contact-v24 {padding-inline:10px}
}
@media(min-width:768px) and (max-width:1000px) {
 #contact.footer-contact-v24 {padding-inline:0}
 #contact.footer-contact-v24 > .footer-consult-inner {
  width:calc(100% + 4px);
  margin-inline:-2px;
 }
}
