.reference-footer {
  padding: 40px 0;
  background: var(--deep);
  border-top: 2px solid #7eb8e1;
  color: #e8f4ff;
  font-size: .875rem;
  line-height: 1.6;
}
.reference-footer-grid {
  width: min(1240px, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-template-rows: auto auto auto auto 1fr;
  gap: 16px clamp(16px, 2.5vw, 36px);
}
.reference-footer-column {
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
}
.reference-footer-logo { display: grid; min-height: 60px; width: 100%; place-items: center; }
.reference-footer-logo img { max-width: min(100%, 210px); width: auto; height: 60px; object-fit: contain; }
.reference-footer-logo .zenith-footer-logo { max-width: min(100%, 115px); }
.reference-footer-description { margin: 0; color: #d8e8f6; }
.reference-footer-heading {
  margin: 5px 0 0;
  border-bottom: 1px solid #6d94b266;
  padding-bottom: 11px;
  font-size: .9375rem;
  font-weight: 700;
  color: #a9d9ff;
  overflow-wrap: anywhere;
}
.reference-footer-heading.website { text-align: center; }
.reference-footer-contact, .reference-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px 12px;
  min-height: 41px;
  font-weight: 600;
}
.reference-social { display: flex; align-items: center; gap: 5px; }
.reference-social a { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; }
.reference-social svg { width: 16px; height: 16px; fill: #fff; }
.social-0 { background: #0867bb; }
.social-1 { background: #a52aa9; }
.social-2 { background: #00799f; }
.social-3 { background: #d51b23; }
.reference-footer-card {
  align-self: start;
  min-width: 0;
  padding: 15px;
  background: #102941;
  border: 1px solid #42627a;
  border-radius: 10px;
}
.reference-footer-card h3 { font-size: .9375rem; margin: 0 0 10px; color: #a9d9ff; }
.reference-footer-card p { margin: 0 0 12px; }
.reference-enquiry { display: inline-block; padding: 5px 12px; color: #c9e8ff; border: 1px solid #8bbce0; border-radius: 20px; font-weight: 600; }
.services-card dl { margin: 0; }
.services-card dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 10px; margin-bottom: 8px; }
.services-card dl > div:last-child { margin: 0; }
.services-card dd { margin: 0; color: #cbebff; overflow-wrap: anywhere; }
.subsidiary-card a { display: block; background: #fff; border-radius: 4px; padding: 8px; }
.subsidiary-card img { width: 100%; height: auto; background: #fff; }
@media (max-width: 760px) {
  .reference-footer-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: none; gap: 34px; }
  .reference-footer-column { grid-row: auto; grid-template-rows: none; gap: 14px; }
  .reference-footer-logo { justify-items: start; }
  .reference-footer-heading.website { text-align: start; }
  .subsidiary-card img { max-width: 380px; margin-inline: auto; }
}
