.reference-footer {
  background: #081b2c;
  color: #f1f7fc;
  border-top: 2px solid #6cadd3;
  padding: clamp(34px, 6vw, 60px) 0;
}
.footer-reference-columns, .footer-reference-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.footer-column {
  display: grid;
  grid-template-rows: 67px 1fr auto auto;
  min-width: 0;
  padding-inline: 7px;
}
.footer-logo-slot { display: flex; align-items: flex-start; min-width: 0; }
.footer-logo-slot > a { display: inline-flex; align-items: center; min-height: 48px; }
.footer-logo-slot img { height: auto; object-fit: contain; }
.footer-dpd-logo { width: min(100%, 185px); }
.footer-zenith-logo { width: 112px; }
.footer-description { color: #dbe9f2; font-size: .9rem; line-height: 1.62; margin: 0 0 24px; }
.footer-section-label {
  color: var(--pale);
  font-size: .92rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #82a5bd66;
  overflow-wrap: anywhere;
}
.footer-domain { direction: ltr; text-align: start; }
.footer-quick-links, .footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 60px;
  padding-block: 9px;
  font-size: .875rem;
  font-weight: 700;
}
.footer-quick-link:hover, .footer-contact-row > a:hover, .footer-services a:hover { text-decoration: underline; }
.footer-socials { display: flex; align-items: center; gap: 4px; direction: ltr; }
.footer-socials .social { display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; color: white; }
.footer-socials .social:hover { filter: brightness(1.18); }
.footer-socials svg { width: 16px; height: 16px; }
.social-0 { background: #0867c5; }
.social-1 { background: #a52db9; }
.social-2 { background: #0086b8; }
.social-3 { background: #d81723; }
.footer-reference-panels { margin-top: 14px; }
.footer-reference-panel { background: #112d43; border: 1px solid #35536b; border-radius: 10px; min-width: 0; padding: 15px; }
.footer-reference-panel h3 { color: var(--pale); font-size: .93rem; font-weight: 700; line-height: 1.4; margin: 0 0 12px; }
.footer-reference-panel p { color: #dbe9f2; font-size: .88rem; margin-bottom: 13px; }
.footer-enquiry { display: inline-flex; border: 1px solid #8fc9ec; border-radius: 25px; padding: 6px 12px; font-size: .875rem; }
.footer-services { display: grid; gap: 9px; }
.footer-services a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: .85rem; overflow-wrap: anywhere; }
.footer-services a > span:last-child { direction: ltr; }
.footer-subsidiaries { display: block; background: white; border-radius: 5px; padding: 6px; }
.footer-subsidiaries img { width: 100%; height: auto; object-fit: contain; }
.copyright { background: #071827; color: #dbe9f2; font-size: .8rem; }
@media (max-width: 720px) {
  .reference-footer > .wrap { display: flex; flex-direction: column; gap: 16px; width: calc(100% - 36px); }
  .footer-reference-columns, .footer-reference-panels { display: contents; }
  .footer-column { padding-inline: 0; grid-template-rows: 60px auto auto auto; }
  .footer-column:first-child { order: 1; }
  .footer-reference-panel:first-child { order: 2; }
  .footer-column:nth-child(2) { order: 3; margin-top: 18px; }
  .footer-reference-panel:nth-child(2) { order: 4; }
  .footer-column:nth-child(3) { order: 5; margin-top: 18px; }
  .footer-reference-panel:nth-child(3) { order: 6; }
}
