/* Surgical client-requested fixes. Scope: ONLY Services, Industries, Testimonials and Contact. */

/* SERVICES: make each block full bleed without changing typography or imagery. */
.services-page .included-heading,
.services-page .included-services,
.services-page .support-section,
.services-page .review-banner {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.services-page .included-heading,
.services-page .included-services { border-radius:0 !important; }
.services-page .review-banner { margin-top:12px !important; margin-bottom:14px !important; }
.services-page .support-section { margin-top:20px !important; }
/* Wave was overlapping the text in a clipped-height panel. Provide enough vertical room. */
.services-page .closing-wave {
  margin-top:0 !important;
  min-height:230px !important;
  height:clamp(230px,19vw,300px) !important;
  overflow:hidden !important;
  border-radius:0 !important;
}
.services-page .closing-message-art {
  top:clamp(73px,6vw,94px) !important;
  left:8% !important;
  width:79% !important;
  max-width:none !important;
  height:auto !important;
  max-height:calc(100% - 90px) !important;
  object-fit:contain !important;
}
@media(max-width:760px){
 .services-page .included-heading,.services-page .included-services,.services-page .support-section,.services-page .review-banner{width:100% !important;margin-left:0 !important;margin-right:0 !important;}
 .services-page .closing-wave{height:185px !important;min-height:185px !important;}
 .services-page .closing-message-art{top:70px !important;left:4% !important;width:88% !important;max-height:calc(100% - 78px) !important;}
}

/* INDUSTRIES: constrain the hand-lettered title to its available column. */
.industries-body .industries-why-copy {min-width:0 !important; overflow:visible !important;}
.industries-body .industries-why-title-text {
  box-sizing:border-box !important;
  max-width:100% !important;
  font-size:clamp(35px,4.05vw,59px) !important;
  padding:10px 15px 13px !important;
  white-space:nowrap !important;
  letter-spacing:-.035em;
}
@media(max-width:1050px){
 .industries-body .industries-why-title-text{font-size:clamp(29px,3.5vw,41px) !important;padding-inline:10px !important;}
}
@media(max-width:650px){
 .industries-body .industries-why-title-text{font-size:clamp(30px,7vw,43px) !important;white-space:normal !important;}
}

/* TESTIMONIALS: balanced, elegant floral corners like the client reference;
   no flowers on top of review text or trust-bar labels. */
.testimonials-body .testimonial-page .flower-bottom-left,
.testimonials-body .testimonial-page .flower-bottom-right {
  width:clamp(95px,11vw,152px) !important;
  height:auto !important;
  max-height:165px !important;
  object-fit:contain !important;
  bottom:-2px !important;
  opacity:1 !important;
  z-index:6 !important;
}
.testimonials-body .testimonial-page .flower-bottom-left {left:0 !important; transform:scaleX(-1) !important;object-position:left bottom !important;}
.testimonials-body .testimonial-page .flower-bottom-right {right:0 !important; transform:none !important;object-position:right bottom !important;}
.testimonials-body .testimonial-page .review-grid {z-index:7 !important;}
.testimonials-body .testimonial-page .trust-footer {z-index:5 !important;}
@media(max-width:760px){
 .testimonials-body .testimonial-page .flower-bottom-left,
 .testimonials-body .testimonial-page .flower-bottom-right {width:65px !important;max-height:85px !important;}
}

/* CONTACT: reveal the complete caption over the photographic hero and protect
   the settings gear's stroked outer teeth from the SVG viewBox. */
body .contact-page .contact-hero-message h1 {max-width:100%;font-size:clamp(42px,5.6vw,88px) !important;}
body .contact-page .contact-hero-message p{overflow-wrap:break-word;}
body .contact-page .contact-hero-image .contact-photo-caption {
  position:absolute;right:1.2%;bottom:7%;z-index:3;
  width:47%;max-width:390px;min-height:60px;
  background:rgba(249,254,247,.97);border-radius:13px;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  padding:10px 13px;
  box-shadow:0 0 0 1px rgba(250,255,250,.2);
  color:#153f36;font:600 clamp(12px,1.3vw,19px)/1.24 Arial,Helvetica,sans-serif;
}
body .contact-page .form-section h2 svg {overflow:visible;}
@media(max-width:850px){
 body .contact-page .contact-hero-image .contact-photo-caption{font-size:clamp(11px,1.8vw,15px);padding:7px 9px;bottom:7%;min-height:48px;}
}
@media(max-width:650px){
 body .contact-page .contact-hero-image .contact-photo-caption{right:2%;width:47%;font-size:11px;min-height:44px;padding:6px 7px;bottom:3%;}
 body .contact-page .contact-hero-message h1{font-size:56px !important;}
}
