.hero-save-contact,
.js-save-contact {
  cursor: pointer;
}

/* The supplied logo uses navy artwork. On navy sections it needs a light
   plate behind it or major parts of the mark visually disappear. */
.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 148px;
  height: 74px;
  object-fit: contain;
}

.hero-logo-plate {
  width: min(88%, 470px);
  padding: 22px 26px;
  border-radius: 26px;
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(0,0,0,.14);
  position: relative;
  z-index: 2;
}

.hero-logo-plate img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.family-visual {
  padding: 40px;
}

.family-brand-card {
  position: relative;
  z-index: 2;
  width: min(92%, 390px);
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(26,38,54,.22);
  text-align: center;
}

.family-brand-card img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.family-brand-card p {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .02em;
}

.footer-logo-plate {
  width: 132px;
  padding: 10px;
  border-radius: 16px;
  background: #fffdf8;
}

.footer-logo-plate img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feedback is displayed on-site; collection/review requests happen through
   ServiceM8 post-job communications rather than public website CTAs. */
.feedback-heading .text-link,
.review-actions {
  display: none !important;
}

.servicem8-feedback-panel {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #f7f9fb;
}

.feedback-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.feedback-heading h3 {
  font-size: 28px;
}

.servicem8-feedback {
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.footer-social {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.76);
}

.footer-social a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .brand img {
    width: 132px;
    height: 66px;
  }
  .footer-social,
  .footer-credit {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 112px;
    height: 58px;
  }
  .hero-logo-plate {
    width: 92%;
    padding: 18px;
  }
  .family-visual {
    padding: 24px;
  }
  .family-brand-card {
    padding: 22px;
  }
  .feedback-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .servicem8-feedback-panel {
    padding: 24px;
  }
  .footer-social {
    flex-wrap: wrap;
  }
}
