.contact-grid {
  gap: 14px;
  overflow: visible;
  border: 0;
}

.contact-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid #dbe4e7 !important;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #fff 55%, #f4f9fb);
  box-shadow: 0 16px 40px rgba(7, 59, 89, .055);
  text-align: left;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #0a4b70, #8cc6d5);
  opacity: .72;
}

.contact-card-primary {
  background: linear-gradient(145deg, #edf7fa, #fff);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #2c7897 !important;
  background: #e9f4f7;
  letter-spacing: 0 !important;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  color: #2c7897 !important;
}

.contact-card > strong {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.35;
}

.contact-card > small {
  margin-top: auto;
}

.contact-address-details {
  display: grid;
  justify-items: start;
  gap: 3px;
  width: 100%;
  margin-top: 10px !important;
  color: #687b84;
  font-size: 12px !important;
  line-height: 1.45;
  text-align: left;
}

.contact-address-details b {
  color: #365665;
  font-weight: 600;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.contact-actions a,
.contact-single-action {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 59, 89, .16);
  border-radius: 999px;
  color: #073b59;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  transition: .2s;
}

.contact-actions a:hover,
.contact-single-action:hover {
  transform: translateY(-1px);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(7, 59, 89, .12);
}

.contact-actions .contact-action-wa {
  border-color: transparent;
  color: #fff;
  background: #198754;
}

.hours-card ul {
  margin-top: 18px;
  width: 100%;
}

.hours-card li {
  padding: 6px 0;
}

.contact-email {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-single-action {
  justify-content: space-between;
  margin-top: auto;
  padding-inline: 15px;
}

.contact-map {
  margin-top: 18px;
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: 0;
  border-radius: 20px;
  background: #e6f0f2;
}

.contact-map .map-placeholder {
  min-height: 96px;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .contact-grid {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .contact-card {
    min-height: 230px;
  }

  .contact-map iframe {
    height: 240px;
  }
}
